dcnieho
622479f8b4
When 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.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1351 7f0cb862-5218-0410-a997-914c9d46530a
2012-07-21 02:32:58 +00:00
dcnieho
2f1b14fb21
small addition to debug msg handy for testing
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1350 7f0cb862-5218-0410-a997-914c9d46530a
2012-07-20 08:07:52 +00:00
dcnieho
a8ab2ae562
need to check for NULL as well....
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1349 7f0cb862-5218-0410-a997-914c9d46530a
2012-07-20 06:48:05 +00:00
dcnieho
dd8e935408
removed 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
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1348 7f0cb862-5218-0410-a997-914c9d46530a
2012-07-20 06:35:38 +00:00
dcnieho
8e6d6e4f5c
it was in 2003 that his compiler didn't recognize this symbol, lets
...
assume its fine by now on anything we support
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1347 7f0cb862-5218-0410-a997-914c9d46530a
2012-07-20 05:44:05 +00:00
dcnieho
f910836158
cannot use //-style comments in shader source, doesn't work on nVidia
...
cards (it seems, samples size is only one nVidia and one AMD card)
also removed //-style comments from C source
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1346 7f0cb862-5218-0410-a997-914c9d46530a
2012-06-18 06:14:32 +00:00
dcnieho
afbdd37121
added bunch of error checks to shapes demo
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1345 7f0cb862-5218-0410-a997-914c9d46530a
2012-06-15 05:54:44 +00:00
dcnieho
1bca835536
as per Ioannis Petikas' suggestion on the mailing list, set NeedToResize
...
to false before calling fghReshapeWindow
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1344 7f0cb862-5218-0410-a997-914c9d46530a
2012-06-15 05:47:32 +00:00
dcnieho
ad98f1af5f
bit of documentation
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1343 7f0cb862-5218-0410-a997-914c9d46530a
2012-06-12 09:33:25 +00:00
beuc
7b5697d690
Integrate and reference Android documentation
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1342 7f0cb862-5218-0410-a997-914c9d46530a
2012-06-11 21:46:43 +00:00
fayjf
9641fb9d0d
Fixing mouse wheel bug in Windows per e-mail from Ioannis Petikas dated 5/9/12 at 1:02 PM.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1341 7f0cb862-5218-0410-a997-914c9d46530a
2012-06-10 20:41:45 +00:00
fayjf
9165411c7a
Fixing the situation in which the special-key-up callback is called twice when Ctrl, Alt, or Shift is released.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1340 7f0cb862-5218-0410-a997-914c9d46530a
2012-06-10 19:35:13 +00:00
beuc
6a9df93b5f
Reference myself in AUTHORS
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1339 7f0cb862-5218-0410-a997-914c9d46530a
2012-06-10 09:06:45 +00:00
fayjf
79911c4228
Fixing 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.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1338 7f0cb862-5218-0410-a997-914c9d46530a
2012-06-09 19:43:44 +00:00
beuc
0f6399c878
Document Android callbacks
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1337 7f0cb862-5218-0410-a997-914c9d46530a
2012-06-09 18:02:53 +00:00
beuc
807d5b9e49
Call Pause/Resume callbacks from Android
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1336 7f0cb862-5218-0410-a997-914c9d46530a
2012-06-09 18:02:33 +00:00
beuc
6ea4bc321e
Make glutInitContextFunc/glutPauseFunc/glutResumeFunc names definitive (+ reference them in the .def)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1335 7f0cb862-5218-0410-a997-914c9d46530a
2012-06-09 17:49:27 +00:00
beuc
4d5e90860d
Fix compilation of demos/shapes
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1334 7f0cb862-5218-0410-a997-914c9d46530a
2012-06-09 17:38:24 +00:00
beuc
1c26c70ea9
Add pointers to discussion on multi-touch
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1333 7f0cb862-5218-0410-a997-914c9d46530a
2012-06-09 17:29:58 +00:00
beuc
21409fddf2
Add pointers to discussion on multi-touch
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1332 7f0cb862-5218-0410-a997-914c9d46530a
2012-06-09 17:29:10 +00:00
beuc
fb12dc9887
Mark FREEGLUT_VERSION_2_0 as deprecated as per ML discussion 'FREEGLUT_VERSION_2_0' on 2012-03-15
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1331 7f0cb862-5218-0410-a997-914c9d46530a
2012-06-09 17:26:06 +00:00
beuc
e05409ce5a
Mark FREEGLUT_VERSION_2_0 as deprecated as per ML discussion 'FREEGLUT_VERSION_2_0' on 2012-03-15 (see website documentation)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1330 7f0cb862-5218-0410-a997-914c9d46530a
2012-06-09 17:25:34 +00:00
beuc
45daf31758
README.mingw_cross: Clarify + remove autotools instructions since autotools support was removed
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1329 7f0cb862-5218-0410-a997-914c9d46530a
2012-06-09 17:23:07 +00:00
dcnieho
ef625ea1a3
shapes demo can now test shader based drawing as well, added glmatrix
...
helpers mostly written by John T.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1328 7f0cb862-5218-0410-a997-914c9d46530a
2012-06-09 14:56:58 +00:00
dcnieho
9f5bdabbbd
fixed warnings
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1327 7f0cb862-5218-0410-a997-914c9d46530a
2012-06-08 01:03:12 +00:00
dcnieho
f0278c8e7a
added d suffix for debug builds of demos as well, MSVC only
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1326 7f0cb862-5218-0410-a997-914c9d46530a
2012-06-07 13:52:23 +00:00
beuc
299a491ae2
Clarify why check for XInput
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1325 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-29 18:33:22 +00:00
beuc
5f34ac1c5a
Precision about Unix installation (XInput)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1324 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-29 18:32:51 +00:00
dcnieho
c8f74743db
spaceball demo is only meaningful on unix, don't build on other
...
platforms
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1323 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-25 01:35:06 +00:00
dcnieho
ce8d4a2137
on 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
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1322 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-25 01:31:25 +00:00
dcnieho
0065de7ac6
note about teapot rendering, front facing polygons have clockwise
...
winding
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1321 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-24 15:05:34 +00:00
dcnieho
5f3a0d5411
fixed C++ code in multi-touch demo (thanks Geoff McLane!)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1320 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-21 10:17:55 +00:00
dcnieho
6afd5d5a83
no longer using sinf/cosfsqrtf in fg_geometry, no need for all this
...
extra boilerplate
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1319 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-21 09:36:23 +00:00
beuc
0b0d17fa8e
Add link to OpenGL wikibook, as discussed on the list
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1318 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-14 17:41:15 +00:00
beuc
352ff3e7ec
multi-touch sample: use FG2.8 (reversed) prototype for now
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1317 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-13 09:14:27 +00:00
beuc
88512756e5
Fix extra CRLF
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1316 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-13 09:13:46 +00:00
beuc
fae6135480
Multi-touch: fix CMake: Xi and XInput2.h detection wasn't ported from autoconf, effectively disabling multi-touch
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1315 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-13 09:08:35 +00:00
beuc
4f3b46e046
Android: warn on resume if no callback for InitContext is defined
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1314 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-13 09:05:55 +00:00
jtsiomb
6c8a620bd5
Applied 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.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1313 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-10 18:50:52 +00:00
beuc
eadc9b790a
Multi-touch precisions
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1312 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-08 17:28:38 +00:00
beuc
57532197dd
Multi-touch test program
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1311 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-08 17:09:38 +00:00
beuc
f36e176d61
CMake: add note about library versioning
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1310 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-05 19:11:41 +00:00
beuc
66fb02ae56
More documentation on MultiTouch
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1309 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-05 12:49:32 +00:00
beuc
d696dabdaa
Update documentation on MultiTouch
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1308 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-05 11:32:05 +00:00
jtsiomb
3a8112fd78
removed the useless and unmaintained .spec and .lsm files
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1307 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-05 06:06:09 +00:00
dcnieho
c9c45b04a1
docs and cosmetics in fg_geometry, should be a finished product now,
...
except for more testing of the OGL2+ path
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1306 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-05 03:12:43 +00:00
dcnieho
edd278df3c
slight formatting in CMake file, just cosmetic
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1305 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-05 00:52:45 +00:00
beuc
e85d2865b2
Add new callback to reload context, pending propername
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1304 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-04 22:18:54 +00:00
beuc
5807ec617c
android: add code to display multi-touch events
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1303 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-04 19:59:36 +00:00
beuc
1659102712
typo
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1302 7f0cb862-5218-0410-a997-914c9d46530a
2012-05-04 14:57:02 +00:00