Commit graph

665 commits

Author SHA1 Message Date
Elias Naur
395cf797cb Linux: Added alpha mask support to Display.setIcon 2008-04-01 19:46:20 +00:00
Elias Naur
abd3f75d6c Removed 2D OpenGL initialization code from Display. It messes with the implicit, but well-defined, opengl default state and doesn't fit well with multiple context types (gl3 and d3d) 2008-03-23 15:51:10 +00:00
Elias Naur
65309d759c Added notes to Mouse.poll() and Keyboard.poll() that Display.processMessages() (or Display.update()) must be called to receive new input state 2008-03-02 18:16:39 +00:00
Elias Naur
59f5ed712e Added AWTInputAdapter.isCreated() requested by kevglass 2008-02-01 12:02:54 +00:00
Elias Naur
a877b0c1f1 javadoc fixes 2008-01-21 22:20:25 +00:00
Elias Naur
31669b02ec javdoc fixes 2008-01-21 22:15:12 +00:00
Elias Naur
df9e7af261 Moved org.lwjgl.opengl.glu to org.lwjgl.util.glu 2008-01-21 20:38:04 +00:00
Elias Naur
5e3956d358 Moved translation of ogl error codes from GLU to Util, to prepare for glu to be moved to lwjgl_utils 2008-01-21 20:28:53 +00:00
Elias Naur
e9a3b7a556 Display: Removed display_impl.update() from isCloseRequested(), isVisible(), isDirty() and isActive() since it can be an expensive call on at least linux. Display.update() is now required to be called to update the internal state. 2008-01-21 20:21:21 +00:00
Elias Naur
fa4bc30097 Only let Display.update() call display_impl.update() once 2008-01-19 09:53:14 +00:00
Elias Naur
8e2233167d Linux: Fixed test for XkbSetDetectableAutoRepeat success 2008-01-19 08:57:20 +00:00
Elias Naur
e448bb0c29 Removed OS message polls from mouse and keyboard poll() and read(), since they can be quite expensive 2008-01-19 08:49:10 +00:00
Elias Naur
8f677f1585 Linux: use XkbSetDetectableAutoRepeat to detect repeated key events more reliably 2008-01-07 18:29:04 +00:00
Elias Naur
4bf0703eb1 Windows: Pulled DefWindowProc calling to java side 2007-12-13 09:29:36 +00:00
Brian Matzon
21b2cc0c21 cleaning imports 2007-10-20 21:31:52 +00:00
Elias Naur
07ae6b0513 Fixed GLU compile error 2007-10-17 08:24:07 +00:00
Elias Naur
a9f9a38c4c Mac OS X: Release and clear the context from the drawable in the correct order 2007-08-30 18:27:12 +00:00
Elias Naur
bc09bd11e3 Don't let Display.sync* sleep with the global lock held 2007-08-30 12:34:56 +00:00
Elias Naur
7e05654cd2 Made Display.timeNow local 2007-08-30 12:19:34 +00:00
Elias Naur
473eb61c60 Mac OS X: Mapped the option key to Keyboard.KEY_LWIN and Keyboard.KEY_RWIN instead of KEY_*META like the alt key 2007-08-28 07:38:20 +00:00
Elias Naur
9fc5b5273b Linux: Don't close the static Display connection, to avoid crashes with some dri drivers 2007-08-26 22:07:24 +00:00
Elias Naur
1c935179f3 Windows: Don't do SYSRQ hackery on WM_SYSKEYDOWN 2007-08-17 06:14:40 +00:00
Elias Naur
c443696e24 Reverted 2877 2007-08-17 06:12:59 +00:00
Brian Matzon
26a040a7d2 handle alt+space (windows system menu) 2007-08-16 20:29:01 +00:00
Elias Naur
02d119d76e Windows: Handle WM_SYSCHAR 2007-08-16 09:46:45 +00:00
Elias Naur
15cf41553c Don't allow switching to fullscreen when a custom display mode is in effect. This is a change from before, where the current mode was simply overwritten with the initial (desktop) mode 2007-08-16 08:55:06 +00:00
Elias Naur
03749c312c Revert 2872 2007-08-16 08:49:14 +00:00
Elias Naur
9851b06009 Windows: Make cursor visible when grabbed and not focused 2007-08-16 08:38:20 +00:00
Brian Matzon
e809c1f7f0 fix: make sure that we return to the same display mode that was set in windowed mode when toggling between fullscreen and windowed mode 2007-08-15 20:14:29 +00:00
Elias Naur
e76fd53950 Windows: Fixed cursor clipping when loosing focus 2007-08-12 23:33:25 +00:00
Elias Naur
1a13e010a6 Windows: Mapped VK_OEM_8 to KEY_GRAVE to match lwjgl 1.0 behaviour 2007-07-29 19:55:06 +00:00
Elias Naur
7a49d5ce8f Windows: Mapped VK_SNAPSHOT to KEY_SYSRQ and added workaround to a windows bug where WM_KEYDOWN is never generated for VK_SNAPSHOT 2007-07-29 19:43:36 +00:00
Elias Naur
659a1cf4c7 Windows: Added key mapping to KEY_EQUALS for VK_OEM_PLUS to match lwjgl1.0 with US keyboard layout 2007-07-29 19:24:17 +00:00
Elias Naur
3f21f95b2f Windows: Don't be too aggressive in clipping the cursor. Fixes a problem where the window is moved out of the screen when clicking the title bar while having the mouse grabbed 2007-07-28 21:19:58 +00:00
Elias Naur
8bb3e5aec0 Windows: Removed an unused parameter from WindowsDisplay.clipCursor 2007-07-28 20:46:17 +00:00
Elias Naur
436cd2e39c Disable MacOSXDisplay.setIcon since there are no window icons on Mac OS X 2007-07-20 21:24:03 +00:00
Elias Naur
83ac2f22d0 Linux: Don't use seperate Display connections to switch display modes 2007-06-15 06:58:38 +00:00
Elias Naur
befe34e32d Removed unused, private Display.getContext() 2007-06-06 13:56:03 +00:00
Elias Naur
a183367860 Added gl extension/core aliases in BaseReferences 2007-06-06 12:27:40 +00:00
Elias Naur
ddfae1512d Don't use GL13 and ARB_vertex_shader constants in BaseReferences if they're not supported 2007-06-06 12:07:45 +00:00
Elias Naur
1986b75e82 Removed dead code from WindowsKeyboard 2007-06-06 09:01:09 +00:00
Elias Naur
6446f28cda Fixed svn properties on WindowsKeycodes.java 2007-06-05 16:52:01 +00:00
Elias Naur
31d821941e Mac OS X: When grabbing the mouse, skip the next event to avoid bogus deltas 2007-05-31 22:09:46 +00:00
Elias Naur
52b5958191 Mac OS X: Synchronized access to grabbed state 2007-05-31 21:11:34 +00:00
Elias Naur
710d56fe55 Mac OS X: Track grabbed state in MacOSXMouseEventQueue 2007-05-31 21:04:52 +00:00
Elias Naur
2d436e3231 Windows: Fix repeated character codes 2007-05-31 08:52:55 +00:00
Elias Naur
6939f9170a Windows: Fix up WindowsContextImplementation.nSetSwapInterval 2007-05-27 15:32:25 +00:00
Elias Naur
985d0973a8 Linux: Move input grab update from createWindow to when MapNotify is received. This avoid any input grabbing being ignored because the window is not yet mapped 2007-05-27 13:17:35 +00:00
Elias Naur
748c826af4 Display: Add GL error check after initial makeCurrent() (for real this time) 2007-05-27 13:09:48 +00:00
Elias Naur
1ccab9e810 Display: Add GL error check after initial makeCurrent() 2007-05-27 07:48:43 +00:00