4a14f60a4eadded a child window to one demo, added different menus attached to different mouse buttons, for testing Also added missing post redisplay to keep animation going
dcnieho
2012-07-21 14:15:39 +00:00
233d93d550can now also handle the case where menus is opened, client area of window with menu is clicked and then user switches to another window.
dcnieho
2012-07-21 04:04:45 +00:00
e32b8f09fbbetter test of menus: one window now has right and left click menus
dcnieho
2012-07-21 03:58:04 +00:00
ec9b01736efixes two cases of menu's not closing when they should: 1. open a menu in one of the freeglut windows, then activate another app (or the console window) by clicking on that. The freeglut menu doesn't close, and as it is topmost, it shines through everything. 2. open a menu in one of the freeglut windows, then click on the non-client area of another freeglut window (e.g. the title bar): menu doesn't close
dcnieho
2012-07-21 03:11:57 +00:00
622479f8b4When having submenu open in one window and activating its root menu in another window, submenu didn't close and root menu's activate state wasn't reset. Fixed.
dcnieho
2012-07-21 02:32:58 +00:00
2f1b14fb21small addition to debug msg handy for testing
dcnieho
2012-07-20 08:07:52 +00:00
a8ab2ae562need to check for NULL as well....
dcnieho
2012-07-20 06:48:05 +00:00
dd8e935408removed SetFocus that was added to WM_MOUSEMOVE to handle keyboard focus with subwindows Now using a solution similar to GLUT's, when receiving input, check if mouse is actually on a child of the window passed in by the event, and process as if event was on that window instead
dcnieho
2012-07-20 06:35:38 +00:00
8e6d6e4f5cit was in 2003 that his compiler didn't recognize this symbol, lets assume its fine by now on anything we support
dcnieho
2012-07-20 05:44:05 +00:00
f910836158cannot use //-style comments in shader source, doesn't work on nVidia cards (it seems, samples size is only one nVidia and one AMD card)
dcnieho
2012-06-18 06:14:32 +00:00
afbdd37121added bunch of error checks to shapes demo
dcnieho
2012-06-15 05:54:44 +00:00
1bca835536as per Ioannis Petikas' suggestion on the mailing list, set NeedToResize to false before calling fghReshapeWindow
dcnieho
2012-06-15 05:47:32 +00:00
ad98f1af5fbit of documentation
dcnieho
2012-06-12 09:33:25 +00:00
7b5697d690Integrate and reference Android documentation
beuc
2012-06-11 21:46:43 +00:00
9641fb9d0dFixing mouse wheel bug in Windows per e-mail from Ioannis Petikas dated 5/9/12 at 1:02 PM.
fayjf
2012-06-10 20:41:45 +00:00
9165411c7aFixing the situation in which the special-key-up callback is called twice when Ctrl, Alt, or Shift is released.
fayjf
2012-06-10 19:35:13 +00:00
6a9df93b5fReference myself in AUTHORS
beuc
2012-06-10 09:06:45 +00:00
79911c4228Fixing the warning message when "glutGetModifiers" is called from within the special key callback; also removing some unused key codes in the special key processing code.
fayjf
2012-06-09 19:43:44 +00:00
807d5b9e49Call Pause/Resume callbacks from Android
beuc
2012-06-09 18:02:33 +00:00
6ea4bc321eMake glutInitContextFunc/glutPauseFunc/glutResumeFunc names definitive (+ reference them in the .def)
beuc
2012-06-09 17:49:27 +00:00
4d5e90860dFix compilation of demos/shapes
beuc
2012-06-09 17:38:24 +00:00
1c26c70ea9Add pointers to discussion on multi-touch
beuc
2012-06-09 17:29:58 +00:00
21409fddf2Add pointers to discussion on multi-touch
beuc
2012-06-09 17:29:10 +00:00
fb12dc9887Mark FREEGLUT_VERSION_2_0 as deprecated as per ML discussion 'FREEGLUT_VERSION_2_0' on 2012-03-15
beuc
2012-06-09 17:26:06 +00:00
e05409ce5aMark FREEGLUT_VERSION_2_0 as deprecated as per ML discussion 'FREEGLUT_VERSION_2_0' on 2012-03-15 (see website documentation)
beuc
2012-06-09 17:25:34 +00:00
45daf31758README.mingw_cross: Clarify + remove autotools instructions since autotools support was removed
beuc
2012-06-09 17:23:07 +00:00
ef625ea1a3shapes demo can now test shader based drawing as well, added glmatrix helpers mostly written by John T.
dcnieho
2012-06-09 14:56:58 +00:00
f0278c8e7aadded d suffix for debug builds of demos as well, MSVC only
dcnieho
2012-06-07 13:52:23 +00:00
299a491ae2Clarify why check for XInput
beuc
2012-05-29 18:33:22 +00:00
5f34ac1c5aPrecision about Unix installation (XInput)
beuc
2012-05-29 18:32:51 +00:00
c8f74743dbspaceball demo is only meaningful on unix, don't build on other platforms
dcnieho
2012-05-25 01:35:06 +00:00
ce8d4a2137on windows+MSVC, debug builds of the library now have a 'd' suffix. freeglutdll.def was edited to no longer include the name of teh library that would clash with this and freeglut_std.h was edited to specify linking to the right library when building in debug mode
dcnieho
2012-05-25 01:31:25 +00:00
0065de7ac6note about teapot rendering, front facing polygons have clockwise winding
dcnieho
2012-05-24 15:05:34 +00:00
5f3a0d5411fixed C++ code in multi-touch demo (thanks Geoff McLane!)
dcnieho
2012-05-21 10:17:55 +00:00
6afd5d5a83no longer using sinf/cosfsqrtf in fg_geometry, no need for all this extra boilerplate
dcnieho
2012-05-21 09:36:23 +00:00
0b0d17fa8eAdd link to OpenGL wikibook, as discussed on the list
beuc
2012-05-14 17:41:15 +00:00
352ff3e7ecmulti-touch sample: use FG2.8 (reversed) prototype for now
beuc
2012-05-13 09:14:27 +00:00
88512756e5Fix extra CRLF
beuc
2012-05-13 09:13:46 +00:00
fae6135480Multi-touch: fix CMake: Xi and XInput2.h detection wasn't ported from autoconf, effectively disabling multi-touch
beuc
2012-05-13 09:08:35 +00:00
4f3b46e046Android: warn on resume if no callback for InitContext is defined
beuc
2012-05-13 09:05:55 +00:00
6c8a620bd5Applied Thomas Bastiani's patch fixing the behaviour of freeglut under X11 when operating without a window manager. Adds a fake ConfigureNotify event to make sure reshape callbacks are called at least once as specified.
jtsiomb
2012-05-10 18:50:52 +00:00
57532197ddMulti-touch test program
beuc
2012-05-08 17:09:38 +00:00
f36e176d61CMake: add note about library versioning
beuc
2012-05-05 19:11:41 +00:00
66fb02ae56More documentation on MultiTouch
beuc
2012-05-05 12:49:32 +00:00
d696dabdaaUpdate documentation on MultiTouch
beuc
2012-05-05 11:32:05 +00:00
3a8112fd78removed the useless and unmaintained .spec and .lsm files
jtsiomb
2012-05-05 06:06:09 +00:00
c9c45b04a1docs and cosmetics in fg_geometry, should be a finished product now, except for more testing of the OGL2+ path
dcnieho
2012-05-05 03:12:43 +00:00
edd278df3cslight formatting in CMake file, just cosmetic
dcnieho
2012-05-05 00:52:45 +00:00
e85d2865b2Add new callback to reload context, pending propername
beuc
2012-05-04 22:18:54 +00:00
528e867587Implement a few missing enums in fgPlatformGlutDeviceGet/fgPlatformGlutGet
beuc
2012-05-02 17:28:52 +00:00
ff0a894fdcUse fgWarning for android joystick stubs
beuc
2012-05-02 16:47:45 +00:00
df8fe9c476Explain why fgPlatformSleepForEvents is no-op under Android
beuc
2012-05-02 16:45:21 +00:00
7f845a72dcCHECK_FUNCTION_EXISTS for sinf/cosf/sqrtf actually fails not because of missing math.h, but because of missing -lm. Fixed.
beuc
2012-05-02 16:44:40 +00:00
ae35d72efdfg_geometry: GL2 fixed: glDrawElements' indices is byte offset, not element offset
beuc
2012-05-01 22:16:33 +00:00
9b1a6ab1ddfg_geometry: pass number of vertices to fgDrawWire*; start adapting GL2 code to recent GL1 changes (GL2 code doesn't produce proper results yet)
beuc
2012-05-01 21:28:28 +00:00
628d9b7a7eDetect sinf/cosf/sqrtf presence with CMake (instead of relying on __cpluscplus)
beuc
2012-05-01 14:14:54 +00:00
0629737fa2Initialize OpenGL 2.0 after OpenGL context is created (otherwise initialization fails under mswin)
beuc
2012-05-01 13:13:14 +00:00
104a238a57fg_geometry: remove GLES-specific #ifdefs (in code and headers), update Android test-case. GL2 code compiles but does not work yet.
beuc
2012-05-01 10:37:06 +00:00
45b71f41a9now using the Koch Snowflake (from fractals.dat) instead of Cantor dust for fractals and fractals_random demo (changed built-in data). Looks better Also removed copying of fractals.dat to build dir from CMake file
dcnieho
2012-04-30 15:19:59 +00:00
c04a82ac47drawing code for solid and wired now shared for all objects
dcnieho
2012-04-29 04:16:07 +00:00
a01a0426e7torus ported. All shapes drawn with glDrawArrays and glDrawElements now. Next is to use the same drawing functions for all shapes, all those with circles still have their own now
dcnieho
2012-04-28 17:01:44 +00:00
93e05f42deless repetition of vertices for triangle strip
dcnieho
2012-04-28 16:35:39 +00:00
21268d0831Wire Torus now ported solid torus now as triangle strips, but still need to finish port
dcnieho
2012-04-28 13:29:49 +00:00
fe89b94fc4porting torus: split off vertex generation fixed drawing to work with this
dcnieho
2012-04-28 10:57:40 +00:00
5fbbc35cb5Mention we can have a look at Pygame Subset for Android
beuc
2012-04-22 17:35:14 +00:00
8bd75d7761added 'r' toggle to shapes demo to also animate rotation around object x-axis, to get a better view of the model
dcnieho
2012-04-22 16:39:47 +00:00
b5cfa418b6one more small cleanup
dcnieho
2012-04-22 16:32:29 +00:00
98ca02122bcylinder also ported little bit of cleanup in Cone and Sphere code (fixed normals of top of cone, no longer generating too many indices for wire frame)
dcnieho
2012-04-22 16:30:19 +00:00