Commit graph

137 commits

Author SHA1 Message Date
Elias Naur
9bcaa18c3d Implemented Pbuffers on win32 and linux (render to texture will be done later)
Implemented native cursor caps (one bit transparancy, alpha translucency and animations)
2003-05-20 12:20:13 +00:00
Elias Naur
e886d95122 Native cursors implemented 2003-05-16 18:39:46 +00:00
Brian Matzon
985c601df9 fix: Controller now works again (window.h was being included, and setting dx version to 3, which doesn't support joysticks) 2003-05-08 21:30:30 +00:00
Brian Matzon
06cf180b71 fix: increased buffersize to correct size (buffering + translation can increase needed size to 200 bytes at most) 2003-05-07 17:17:23 +00:00
Elias Naur
b705ea51d0 Removed makeContexCurrent and releaseContext 2003-04-26 06:54:32 +00:00
Brian Matzon
609cdda985 Using EnumDisplaySettingsEx now, to force monitor comparing 2003-04-14 18:17:29 +00:00
Elias Naur
3018edde4c Added Sys.NULL constant 2003-04-03 20:20:29 +00:00
Elias Naur
97bc650a22 Minor win32 fix 2003-03-30 19:53:39 +00:00
Elias Naur
d58c8b767b I like those makeContextCurrent/releaseContext... 2003-03-30 19:40:35 +00:00
Elias Naur
bc33d3ff2b Linux/win32 changes for 0.6 2003-03-30 19:26:39 +00:00
Caspian Rychlik-Prince
920a67b1ac Stuff for 0.6 2003-03-29 21:52:14 +00:00
Caspian Rychlik-Prince
157e7673cc Big changes for the new 0.6 LWJGL release 2003-03-28 23:16:15 +00:00
Caspian Rychlik-Prince
16d8c3c053 Fixed 2003-03-28 21:04:43 +00:00
Caspian Rychlik-Prince
4924c564d5 *** empty log message *** 2003-03-28 19:02:24 +00:00
Caspian Rychlik-Prince
895c751ec6 New Window class, and major changes to Display 2003-03-28 01:30:34 +00:00
Caspian Rychlik-Prince
419da83107 New Window class, and major changes to Display 2003-03-28 01:28:04 +00:00
Elias Naur
5ac3ea26e8 Fixed mouse clamping 2003-03-23 20:08:49 +00:00
Brian Matzon
95075c3492 fix: VM crash when using > 4 button mouse 2003-03-23 20:00:28 +00:00
Caspian Rychlik-Prince
0cf93ebe93 Fixed nasty bug in Win9x display mode enumeration 2003-03-22 21:39:52 +00:00
Caspian Rychlik-Prince
c6a231cf43 New getPlatform() method added 2003-03-21 17:08:26 +00:00
Caspian Rychlik-Prince
8575ae0496 New getPlatform() method added 2003-03-21 16:57:56 +00:00
Caspian Rychlik-Prince
c1fd8957df New getPlatform() method added 2003-03-21 16:53:19 +00:00
Elias Naur
0d620e9125 Reverted display mode selection 2003-03-19 12:41:28 +00:00
Caspian Rychlik-Prince
df1d611624 Fixed JNI error 2003-03-18 16:38:31 +00:00
Brian Matzon
0060b68efd fix: dragging of window doesn't work, when returning directly from unhandled WM_SYSCOMMAND - so let's not do that! 2003-03-17 18:40:56 +00:00
Caspian Rychlik-Prince
c6c2cdcafc Tweaked but little else 2003-03-07 16:01:27 +00:00
Brian Matzon
e78cdd5029 fix: removed GlobalRef
fix: now sets fields to JNI_TRUE/JNI_FALSE respectively
2003-03-07 15:23:58 +00:00
Caspian Rychlik-Prince
0f88a2131b *** empty log message *** 2003-03-06 22:55:13 +00:00
Brian Matzon
310526a254 wip fix: buttons array now being ref'ed from native side to avoid GC'ing 2003-03-06 20:55:13 +00:00
Brian Matzon
ccba1c3f79 fix: won't be needing hashmaps from native side 2003-03-04 06:08:53 +00:00
Brian Matzon
02aa0e7a1a fix: small beautification 2003-03-03 21:51:13 +00:00
Brian Matzon
12b7c4dd85 fix: now enumerates multiple displaydevices, if available 2003-03-03 21:49:46 +00:00
Brian Matzon
db7b3a9cf5 fix: no longer fatal to not acquire input 2003-03-01 21:39:31 +00:00
Elias Naur
4677a35556 Fixed a buffer overflow problem in d�z 2003-02-20 15:13:37 +00:00
Elias Naur
eeef8c62ed replaced PeekMessage() -> handleMessages() 2003-02-13 15:32:15 +00:00
Elias Naur
68045ce08f Don't allow the mouse to drift when failing poll 2003-02-12 12:11:05 +00:00
Elias Naur
dcaaccc138 Don't allow to show the window menu 2003-02-12 12:07:50 +00:00
Elias Naur
a36f15cc0e Don't return -1 on keyboard read failure 2003-02-12 11:27:48 +00:00
Elias Naur
eb7e142b67 Don't return -1 on keyboard read failure 2003-02-12 09:55:17 +00:00
Elias Naur
e44b4f43f0 added check for software only modes 2003-02-12 09:33:11 +00:00
Elias Naur
1e8061c22d replaced wglSwapLayerBuffers -> SwapBuffers 2003-02-12 09:29:07 +00:00
Brian Matzon
3a28d769a7 fix: releasing device context for window, as per msdn docs 2003-02-10 22:13:46 +00:00
Brian Matzon
eb21d12e86 fix: using own DI instance since we've been horking the one created from display, which when not horked cannot be used, since it does not work with dx3+
fix: changed to use firstime initialization logic like mouse
2003-02-09 19:54:04 +00:00
Brian Matzon
facd783e4f fix: behave with Controller 2003-02-09 19:51:53 +00:00
Brian Matzon
3eaca27fd7 mod: some formatting
fix: allow creation of mouse more than one time
2003-02-09 19:18:31 +00:00
Brian Matzon
8cd9882280 fix: moved handleMessages to its rightfull place 2003-02-08 23:25:11 +00:00
Brian Matzon
9a9406dc7e add: close button enabled 2003-02-08 23:01:58 +00:00
Brian Matzon
ac29cf9acd mod: renaming of most methods/fields due to name clashes with Mouse
fix: check for DIERR_NOTACQUIRED when loosing focus
fix: check for controller failed, and would crash VM if no controller could be found
2003-02-08 19:31:19 +00:00
Brian Matzon
7c2dac8ebd fix: make mouse actually behave! 2003-02-08 19:30:53 +00:00
Brian Matzon
956968e092 new Mouse implementation, rewritten to better fit Controller structure 2003-02-08 19:30:23 +00:00