Commit Graph

13 Commits

Author SHA1 Message Date
Elias Naur 8bb3e5aec0 Windows: Removed an unused parameter from WindowsDisplay.clipCursor 2007-07-28 20:46:17 +00:00
Elias Naur 649822f65b Windows: Use TranslateMessage and WM_CHAR to receive character input instead of manual translation. This change fixes composed characters. 2007-04-24 14:41:17 +00:00
Elias Naur 23701fdf75 Windows: Remove dependency on DirectInput for WindowsMouse used by WindowsDisplay. Keyboard conversion coming up. Reasons:
1. DirectInput is deprecated (http://en.wikipedia.org/wiki/DirectInput). Specifically, Microsoft recommends using regular windows messages for keyboard and mouse input.
2. Not using DirectInput enable us to use the Raw Input JInput plugin to access multiple mice (and keyboards).
3. We're already using windows messages for features DirectInput never supported, so by removing DirectInput dependency, we get rid of some special case code.
4. When we're only using windows messages for input, we're (theoretically) more compatible than with a dependency on a properly working DirectInput.
2007-04-24 09:30:03 +00:00
Elias Naur 403fd47e2e Windows: Fixed NULL check in native setupCursorClipping 2007-04-23 20:50:44 +00:00
Elias Naur 97db4ca4b2 Windows: Don't use UpdateWindow after all. Instead, don't use a background brush at all to avoid windows clearing windows with non OpenGL drawing commands. Hopefully this will improve compatibility (The NeHe tutorials also don't specify a background brush). 2007-01-04 14:00:45 +00:00
Elias Naur 0234336feb Windows: Re-add UpdateWindow to make sure fullscreen windows are cleared faster 2007-01-04 13:44:23 +00:00
Elias Naur d4ea142f89 Windows: Make window visible after pixel format selection and move code from native WindowsDisplay.nCreate to java side. 2006-12-22 10:45:39 +00:00
Elias Naur 26f2014516 Windows: Don't discard messages from other windows in the message handler 2006-09-19 11:06:02 +00:00
Elias Naur bd474ceaa9 Windows: Replace _WIN32 macro with _MSC_VER since the conditionals are really for the MSVC compiler, not for the windows platform in general. Code cleanup. 2006-07-15 21:01:11 +00:00
Elias Naur 008c59a301 Windows: Move more of Display.getVersion to java 2006-07-15 19:25:13 +00:00
Elias Naur f15c904fce Windows: Fixed setCursorPosition. 2006-07-14 10:38:31 +00:00
Elias Naur bb8dcf3996 Windows: Rename Win32* files to Windows* 2006-07-12 18:32:58 +00:00
Elias Naur 7815607e09 Windows: move natives from src/native/win32 to src/native/windows because the source really is bitness neutral, not 32 bit specific. 2006-07-12 18:09:11 +00:00
Renamed from src/native/win32/org_lwjgl_opengl_Display.c (Browse further)