Commit Graph

44 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 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 c77c8069d6 Windows: Fix Windows sometimes marking LWJGL apps as "not responding" 2006-06-17 23:46:59 +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
Elias Naur 07da99cd7d Win32: Moved getGammaRampLength to java side 2005-12-27 13:47:25 +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
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
Elias Naur 98c7a3a54f Win32: Compile fixes 2005-04-29 15:20:19 +00:00
Elias Naur fdcf050747 Win32: Fix Mouse.setCursorLocation() 2005-04-29 15:08:16 +00:00
Elias Naur cc8cff2d42 Win32: Ignore SC_*MENU messages (triggered on ALT and F10 and made LWJGL apps appear to hang) 2005-04-18 07:31:07 +00:00
Elias Naur 958029a667 Win32: Always sepcify WS_CLIPCHILDREN | WS_CLIPSIBLINGS in window style flags, since it is required for SetPixelFormat to work (according to MSDN docs) 2005-03-30 10:46:21 +00:00
Elias Naur 67c4634992 Win32: Handle all Windows messages, and ignore those with inappropriate HWNDs 2005-03-22 12:34:58 +00:00
Elias Naur 80676667a3 Win32: Confine cursor to fullscreen window to prevent native cursors to stray outside borders in multi-monitor setups 2005-03-16 10:58:58 +00:00
Elias Naur c96dc98b63 Clean out commented code 2005-02-23 11:42:04 +00:00
Elias Naur 62e561cddf Win32 part of refactor and AWTGLCanvas 2005-02-21 14:46:47 +00:00
Elias Naur 2d5c4cf934 Moved platform specific opengl extension flags into the platform specific files 2005-02-17 12:39:33 +00:00
Caspian Rychlik-Prince 543e0ee5e2 *** empty log message *** 2005-02-16 13:31:47 +00:00
Elias Naur dfd7f8f804 Win32: More fulscreen improvements 2005-02-02 14:51:43 +00:00
Elias Naur 11d70f42a6 Win32: Remove debug :) 2005-02-02 13:19:49 +00:00
Elias Naur 6727345514 Win32: Fix isActive() and isVisible() 2005-02-02 13:16:50 +00:00
Elias Naur ba0b020caa Win32: Improve fullscreen task switching 2005-02-02 11:05:25 +00:00
Elias Naur b1c183235c Win32: Improve fullscreen task switching 2005-02-02 10:44:38 +00:00
Elias Naur 074175fa89 Win32: Fix multisample pixel formats 2005-01-31 22:33:27 +00:00
Elias Naur 63da8a93e4 Win32: Better Sys.alert fix 2005-01-29 10:17:56 +00:00
Elias Naur e446883a7f Renamed org.lwjgl.opengl.Window.allowSoftwareOpenGL to org.lwjgl.opengl.Display.allowSoftwareOpenGL 2005-01-27 21:26:46 +00:00
Ioannis Tsakpinis dd312b492b createARBContextAndPixelFormat didn't return true when ok 2005-01-15 23:52:53 +00:00
Elias Naur ed3acebaa5 Win32: Fix Pbuffer.getPbufferCaps() 2005-01-15 15:45:54 +00:00
Elias Naur 0e15025879 Win32: Fix native crash when no suitable pixel format is found. 2005-01-14 11:20:04 +00:00
Elias Naur 859204c4a0 Don't make context current in DisplayImplementation.createWindow(), but let Display do it explicitly to increase native call granularity 2005-01-14 09:24:59 +00:00
Elias Naur 46967b394c Converted win32 specific native source from C++->C (removes the strange debug flag behaviour exhibited by SourceLimitTest.java) 2004-12-09 15:36:13 +00:00
Renamed from src/native/win32/org_lwjgl_opengl_Display.cpp (Browse further)