dcnieho
eb835cc833
Added support for rotation so an app can be rotated and FG will resize and manage the window in the background Additional documentation explaining why certain functions are implemented in the manner they are Changed QNX macro to a non deprecated one
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1670 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:33:57 +00:00
dcnieho
b817a1d976
Added (though commented out) support for setting window position
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1669 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:33:38 +00:00
dcnieho
f3f7e54713
Placeholder for window sizes Prevent navigator event 0x0 to show as unknown (though it is unknown... it's not defined in navigator.h)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1668 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:33:23 +00:00
dcnieho
2f2185d930
Added full support for WindowStatus App status is now based on actual app status instead of window visibility
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1667 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:33:07 +00:00
dcnieho
318f0d5ad9
Fixed bug where if statement didn't have parenthesis, causing it to just exit
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1666 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:32:52 +00:00
dcnieho
52db42d186
Implemented a small work around for no current window being set while executing the event handler
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1665 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:32:39 +00:00
dcnieho
54bc3439c4
Added support for the scroll wheel when using the simulator
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1664 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:29:59 +00:00
dcnieho
8fbcdd5aa9
Forgot to reset modifiers once done with modifiers.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1663 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:29:44 +00:00
dcnieho
2de675c752
Added support for key modifiers
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1662 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:29:30 +00:00
dcnieho
0d49bc62ac
Added ability to get mouse button count or touch ID count.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1661 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:29:17 +00:00
dcnieho
b6cc0103c8
Added ability to get screen size of display
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1660 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:29:03 +00:00
dcnieho
8d50a81c9e
Restructuring of when screen context and events are started stopped, created and destroyed
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1659 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:28:48 +00:00
dcnieho
4a08e95c50
Added keyboard states for BlackBerry
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1658 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:28:29 +00:00
dcnieho
c41c6b60de
Added two more navigator states (that might be implemented) for BlackBerry
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1657 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:28:14 +00:00
dcnieho
887d9f033e
Prevented case where no window was set when waiting for events.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1656 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:27:59 +00:00
dcnieho
fd1435ccb7
Converted the odd double spaces into 4 space tabs
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1655 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:27:43 +00:00
dcnieho
80d9609256
Minor order change in Android/BlackBerry CMake, one comment for BlackBerry window
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1654 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:27:24 +00:00
dcnieho
9c4f07fcd3
Added a couple event cases for BlackBerry that are common to prevent them being listed as unknown events.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1653 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:27:08 +00:00
dcnieho
ee3500875c
Removed fg_main_blackberry.h. It wasn't needed
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1652 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:26:52 +00:00
dcnieho
5f5513a01e
Made sure that windows created on BlackBerry are registered as fullscreen, for now. Added more logging in fgPlatformProcessSingleEvent on BlackBerry. Better handling of key repeats on BlackBerry by taking into account global and window settings.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1651 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:26:37 +00:00
dcnieho
9999328177
Can use input devices from x11 (serial input... unlikely to ever be used, but you never know) Fixed bug in fg_window_egl:fgPlatformSetWindow where a NULL window may be passed and cause a segfault Fixed bug where navigator events were never started Take into account DisplayMode when creating window buffers Proper fgPlatformSystemTime implementation (from fg_main_x11) Added support for mutlitouch (from fg_main_windows)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1650 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:26:20 +00:00
dcnieho
6d5f2582ee
Minor change so that OpenGL ES 1.x can be used for BlackBerry
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1649 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:26:00 +00:00
dcnieho
7b34b7be39
Implemented BlackBerry main (initial version)
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1648 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:25:47 +00:00
dcnieho
1357eb9fcf
Final commit before implementing main loop. All other code is implemented to the same level as Android.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1647 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:25:29 +00:00
dcnieho
8dba97d8a1
Implemented fg_window_blackberry.c to initialize and cleanup windows Implemented a BlackBerry specific fg_init so that bps can be started and stopped.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1646 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:25:10 +00:00
dcnieho
51b44c767f
Android and BlackBerry have a fair amount of overlap, for now.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1645 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:24:45 +00:00
dcnieho
11b3e1b393
Initial commit of BlackBerry implementation. It compiles, but doesn't have required functions implemented.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1644 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-24 10:24:23 +00:00
dcnieho
9b0e63e8da
-sync command line option now causes X server to operate in synchronized/blocking mode
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1643 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-23 02:28:02 +00:00
dcnieho
f6a11225ad
should be using GetKeyState not GetAsyncKeyState to check for modifier keys as we care which modifiers were active at the time of the key/mouse press we are processing
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1642 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-22 12:06:59 +00:00
dcnieho
e8d8bdf9e3
implement handling of GLDebugSwitch: we use glutReportErrors to check for errors in each iteration of the glut mainloop if requested
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1641 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-22 10:09:57 +00:00
jtsiomb
2b5292bb4f
Applied Bruce Merry's patch fixing bug #206 (segfault on shutdown in the AMD/ATI fglrx driver).
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1640 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-21 10:52:53 +00:00
jtsiomb
65e227d03d
fixed timer.c: wouldn't compile in C89 mode due to recent change which added two
...
for loops with a loop variable declared in the statement itself.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1639 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-21 10:50:05 +00:00
dcnieho
2bbf66ef98
Fixed CMake UNIX config when building only "freeglut_static" or only the shared library
...
- was setting a property on "freeglut" while "FREEGLUT_BUILD_SHARED_LIBS" was "OFF"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1638 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-18 01:57:14 +00:00
dcnieho
0be6109313
timer demo now has a menu to:
...
- set flicker tempo
- test whether menus can be modified in the callback (there was a regression with this in freeglut 2.8.1 that was perchance already fixed in r1583, but make sure we're testing this from now on)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1637 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-17 16:18:46 +00:00
dcnieho
5757433d2a
add small note: closing menu before executing callback is also important so that the callback can actually modify the menu
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1636 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-17 16:18:35 +00:00
dcnieho
bf2ff7171a
add another call for forking and helping out implementing new features
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1635 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-17 13:40:47 +00:00
dcnieho
cef8d0ce5c
add 10bit display formats to todo list
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1634 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-17 13:40:35 +00:00
dcnieho
1acb96bfe4
putting BB10 in progrss list
...
updating links now that sf.net project is upgraded to new interface
putting word out for github clone and request pull requests there
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1633 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-17 13:27:15 +00:00
dcnieho
3ca229e04c
Creade readme for git repo on github.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1632 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-16 02:07:29 +00:00
dcnieho
792de931b7
note about using near far variable names
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1631 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-15 03:22:37 +00:00
dcnieho
de5b5ddf74
Created or replaced branch /trunk from /trunk:1627
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1630 7f0cb862-5218-0410-a997-914c9d46530a
2014-01-11 04:56:50 +00:00
dcnieho
2715e0929e
Fixing problem with non-client area becoming unresponsive on Windows due to mouse capture that isn't released. Thanks Philipp Kutin (on list!) for figuring this out and proposing a solution.
...
-> It appears GetAsyncKeyState's return can be non-zero even when the queried key is not pressed
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1627 7f0cb862-5218-0410-a997-914c9d46530a
2013-11-09 05:33:02 +00:00
jtsiomb
855c10d908
Applied James DeLisle's patch adding EWMH _NET_WM_PID support.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1626 7f0cb862-5218-0410-a997-914c9d46530a
2013-08-28 14:33:07 +00:00
beuc
925f7446b7
Find this kind of bug is definitely out of my juridiction - please, PLEASE maintain a list of changes to apply on each port. Having negative elapsed time messed the animations so weird that you can't guess where that came from.
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1625 7f0cb862-5218-0410-a997-914c9d46530a
2013-05-19 17:04:04 +00:00
beuc
ad7b684681
Update SVN instructions
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1624 7f0cb862-5218-0410-a997-914c9d46530a
2013-05-19 15:13:27 +00:00
beuc
57176e0bcd
Make Android work again - adapt to recent changes and fix use of GL-nonES function
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1623 7f0cb862-5218-0410-a997-914c9d46530a
2013-05-19 15:05:39 +00:00
beuc
8ff008e3d7
Identify Android thread in the logs
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1622 7f0cb862-5218-0410-a997-914c9d46530a
2013-05-19 15:02:32 +00:00
beuc
2f2ee68986
Fix random crash
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1621 7f0cb862-5218-0410-a997-914c9d46530a
2013-05-19 15:01:33 +00:00
beuc
efa4318cca
Fix compilation warning about unused variables and functions
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1620 7f0cb862-5218-0410-a997-914c9d46530a
2013-05-19 14:57:13 +00:00
beuc
7d21c989bf
Document the need to install MESA-GLES development files
...
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1619 7f0cb862-5218-0410-a997-914c9d46530a
2013-05-19 14:54:55 +00:00