Commit graph

438 commits

Author SHA1 Message Date
Elias Naur
c208833e25 Windows: Moved gamma and display modes settings and more boolean state to java side. 2006-07-08 21:57:20 +00:00
Elias Naur
4e68c787b3 Added Keyboard.getEventNanoseconds() and Mouse.getEventNanoseconds() 2006-07-04 17:07:13 +00:00
Elias Naur
cbe41294a5 Linux: Moved most input related stuff from native to java 2006-07-03 18:07:44 +00:00
Elias Naur
33540d8195 Windows: Fixed compile error 2006-07-01 05:33:14 +00:00
Elias Naur
744fbdd26f Windows: Fixed Display.setIcon memory leak 2006-06-30 19:08:20 +00:00
Elias Naur
0f12ecee3b Windows: Generalize getMin/MaxCursorSize to one native GetSystemMetrics 2006-06-27 11:11:37 +00:00
Elias Naur
d7ba837de9 Windows: Moved isUndecorated from global to local variable 2006-06-26 14:28:52 +00:00
Elias Naur
da1b81a57d Windows: Moved is_dirty from native to java 2006-06-26 14:24:45 +00:00
Elias Naur
c2dfea3214 Windows: moved closerequested from native to java 2006-06-26 14:05:42 +00:00
Elias Naur
6cf49718db Windows: LWJGL didn't work well with jinput, but compatibility could be greatly improved if LWJGL used DirectInput 8 (like jinput). This can't be done unconditionally, since we need the DX3 support for older versions of windows. So, I've moved most Mouse and Keyboard stuff from native to java side and generalized DirectInput access through an abstract base class, with two concrete subclasses, one for dx3 and one for dx8. 2006-06-26 13:50:48 +00:00
Elias Naur
e99b357a1b Windows: Cleanup of native input code 2006-06-23 16:45:21 +00:00
Elias Naur
72c0fc81b8 Windows: Make sure the DirectInput even buffer is properly flushed before switching to grabbed state. 2006-06-18 09:08:55 +00:00
Elias Naur
d7542e3a71 Windows: Fixed spurious mouse button events after a Mouse.setGrabbed(true) 2006-06-18 08:51:03 +00:00
Elias Naur
c77c8069d6 Windows: Fix Windows sometimes marking LWJGL apps as "not responding" 2006-06-17 23:46:59 +00:00
Elias Naur
5b18caad92 windows: cleanup 2006-06-15 15:08:06 +00:00
Elias Naur
cf56cfacbb windows: Add support for WGL_ATI_pixel_format_float 2006-06-15 15:03:29 +00:00
Elias Naur
ca4ffed1b1 Win32: Fixed exception message when the ARB pixel format path is selected, but the dummy pixel format is -1. 2006-06-12 14:17:42 +00:00
Elias Naur
c68a8ed314 Win32: Make sure the ARB pixel format path is selected when floating point formats are required 2006-06-12 14:09:49 +00:00
Elias Naur
9c4ce2845b Windows implementation of floating point pixel formats 2006-06-12 13:28:56 +00:00
Elias Naur
9f41ecaedb Removed Keyboard.isStateKeySet() - it is easily replaced by Toolkit.getLockingKeyState() 2006-06-10 20:42:26 +00:00
Elias Naur
7c34e2cddb Win32: Track directinput mouse buttons in the windows message state array. This should avoid some problems when switching from grabbed to non-grabbed 2006-05-30 08:48:16 +00:00
Elias Naur
cce631748d Win32: Updated various native string handling to use the new _s "secure" variants. 2006-05-18 12:11:37 +00:00
Elias Naur
cc028c9c2e Win32: Made the message processing more friendly to potential foreign windows created on the same thread (and thus sharing message queue with LWJGL). Now handleMessages() in Display.c only processes messages for the current lwjgl window. 2006-02-22 10:47:14 +00:00
Elias Naur
2bc1b89772 Win32: Made the window message proc static 2006-02-22 10:30:35 +00:00
Elias Naur
2ba1f053f9 Made handleMessages() in Display.c static 2006-02-22 09:51:25 +00:00
Caspian Rychlik-Prince
5c1b5517c3 *** empty log message *** 2006-01-20 23:25:05 +00:00
Elias Naur
00292ddf75 Win32: Don't accumulate scroll wheel deltas if Dinput is grabbed 2006-01-17 07:18:02 +00:00
Elias Naur
53ca29e9f7 Win32: More experimental directinput stuff 2006-01-16 23:51:57 +00:00
Elias Naur
51466773f4 Win32: Quick test to see if we can get more accurate polling data from the mouse when not grabbed 2006-01-16 23:09:58 +00:00
Elias Naur
c26ebafa62 OpenAL: Split platform dependent code from extal.c into platform subdirs. Made nCreate take a path instead of an array of paths. 2006-01-16 15:54:50 +00:00
Elias Naur
5faf661f04 Added setSwapInterval to Display and AWTGLCanvas 2006-01-01 19:50:06 +00:00
Elias Naur
1d521cf604 Win32: Removed stale declaration from display.h 2005-12-27 13:48:27 +00:00
Elias Naur
07da99cd7d Win32: Moved getGammaRampLength to java side 2005-12-27 13:47:25 +00:00
Elias Naur
ad1987d748 Win32: Moved handleMessages to java side (update()) 2005-12-27 13:40:21 +00:00
Elias Naur
6aed933999 Win32: display.c: Make initDisplay use the same API as getAvailableDisplayModes 2005-12-27 11:21:46 +00:00
Elias Naur
7861e281c3 Win32: Adder createDisplayMode helper function to display.c 2005-12-27 11:12:53 +00:00
Elias Naur
cbf850fc5e Win32: Removed unused cruft from display.c 2005-12-27 11:03:33 +00:00
Elias Naur
918e87b154 Win32: Zero out the devmode struct in display.c 2005-12-27 08:54:56 +00:00
Elias Naur
55aacdac01 Win32: Commented multi-monitor stuff out from display.c, since we don't really support multiple monitors anyway. Now we only operate on the default (DISPLAY_DEVICE_PRIMARY_DEVICE) device, which should scale to multi monitor setups. Needs thorough testing, of course. 2005-12-26 21:52:12 +00:00
Elias Naur
42e1a8a8c0 Win32: Added debug to dispaly mode switching and removed the DM_DISPLAYFLAGS flag 2005-12-26 15:06:45 +00:00
Elias Naur
747f0850a0 Added support for native formatted exception messages 2005-11-24 11:31:26 +00:00
Elias Naur
42406fcf8f Win32: Removed unused variable from context.c 2005-11-24 10:28:32 +00:00
Elias Naur
39cb1c580d Win32: Moved some Win32Display.getVersion code to java 2005-09-23 10:39:56 +00:00
Elias Naur
77412a26a2 Win32: Moved some registry access code to java (for Win32Display.getAdapter()) 2005-09-23 10:25:24 +00:00
Elias Naur
f72013defa Win32: Fixed SIS/VIA crashes 2005-08-08 16:00:15 +00:00
Kevin Glass
ab19f4722e Fix for alpha based icons under win32. 2005-07-16 11:27:58 +00:00
Kevin Glass
8d51cf81a1 Fix win32 icon alpha mask 2005-07-16 10:30:16 +00:00
Kevin Glass
fe139192ec Fix native code to work with RGBA rather than RBGR. 2005-07-10 20:16:53 +00:00
Kevin Glass
513fd74301 Updated to actually convert the passed int buffer 2005-07-05 22:08:55 +00:00
Kevin Glass
bb0fe5ea3a Added function to set the window icon on win32 2005-07-05 21:45:02 +00:00