Elias Naur
250a87767f
Removed Controller
2005-01-18 15:32:13 +00:00
Elias Naur
fbcd19698b
Moved Mouse.getNativeCursorCaps() to Cursor.getCapabilities()
...
Renamed Pbuffer.getPbufferCaps() to Pbuffer.getCapabilities()
2005-01-18 12:34:36 +00:00
Elias Naur
78e665d773
Win32: hardened getAvailableDisplayModes
2005-01-16 11:12:57 +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
2d62731a3d
Win32: Fix pbuffer context sharing
2005-01-14 13:56:51 +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
d1f039a1b0
Win32: Compile fixes
2005-01-11 14:05:14 +00:00
Elias Naur
925139bc7d
Added a Pbuffer argument to the Pbuffer constructor to enable sharing between pbuffers when the display is not created. Moved Pbuffer native methods into DisplayImplementation.
2005-01-11 13:53:12 +00:00
Elias Naur
28aff73635
Win32: Fixes for previous commit
2005-01-10 09:21:35 +00:00
Elias Naur
e31b1ee12d
I've discovered that at least one Win XP configuration doesn't support the DirectInput cooperative level NONEXCLUSIVE | FOREGROUND for mouse devices. Fortunately, we don't really need that coop level anyway, so I have replaced it with Unacquire/Acquire.
2005-01-10 08:48:13 +00:00
Elias Naur
323a317658
Win32: Clean up mouse error handling
2005-01-06 13:07:30 +00:00
Elias Naur
7d5528e02c
Win32: Clean up mouse error handling
2005-01-06 13:06:41 +00:00
Elias Naur
68c3c8629b
More debug output
2005-01-06 11:41:49 +00:00
Elias Naur
a07ab9069e
Added debugging
2005-01-06 09:18:25 +00:00
Elias Naur
da186e5057
Added debugging
2005-01-06 08:56:31 +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
Brian Matzon
df870c3861
case insensitive key lookup, reported by zhuzheng
2004-12-07 23:07:03 +00:00
Brian Matzon
3ae8c81129
only generate events if mouse is actually alive
2004-11-27 10:17:15 +00:00
Elias Naur
2577ffd377
Split up Sys.openURL into the platform specific DisplayImplementation
2004-11-22 21:22:30 +00:00
Elias Naur
9ec94cb364
Move getPbufferCaps to DisplayImplementation. Mac OS X pbuffer support
2004-11-18 12:10:28 +00:00
Brian Matzon
426ec81c3c
changed String handling to use proper localizing method
2004-11-14 10:42:19 +00:00
Elias Naur
bf5249da86
Win32: Make isFocused false at window creation to stop the message loop from running appActivate(false) when the window is being initially activated
2004-11-14 01:18:56 +00:00
Elias Naur
de41972b2e
*** empty log message ***
2004-11-13 22:27:19 +00:00
Brian Matzon
1bda864efd
changed String handling to use proper localizing method
2004-11-13 21:06:38 +00:00
Elias Naur
95e7c3d3ff
Win32 part of absolute mouse coordinates
2004-11-12 15:32:20 +00:00
Elias Naur
78fc29c3cb
Cursor fixup
2004-11-11 13:42:26 +00:00
Elias Naur
5b1b513aab
Moved native cursors to DisplayImplementation
2004-11-11 13:27:59 +00:00
Elias Naur
8c41a9b7be
Reverted accidental debug changes
2004-11-09 11:17:28 +00:00
Elias Naur
f02e90eb7e
*** empty log message ***
2004-11-09 11:00:49 +00:00
Elias Naur
e8f91ccefc
Reset event queue on mouse grab
2004-11-08 12:10:26 +00:00
Caspian Rychlik-Prince
a5d83e735b
Removed redundant code.
2004-11-07 16:39:54 +00:00
Caspian Rychlik-Prince
810d495a83
Fixes to focus / minimize handling. Now should cope with windows popping up behind.
2004-11-07 16:36:36 +00:00
Elias Naur
6351f2efa3
Win32Display
2004-11-02 13:15:59 +00:00
Brian Matzon
1ded6146e0
fixed cr/lf - couldn't compile!
2004-10-26 20:07:24 +00:00
Elias Naur
8dbce4dfde
Win32: Don't pretend we're minimized when we're just inactive
2004-10-24 17:29:24 +00:00
Elias Naur
32f7016171
Win32: Support accented characters better
2004-10-18 20:29:52 +00:00
Elias Naur
4c631207c5
Fix win32 mouse event deltas too
2004-09-27 13:43:34 +00:00
Elias Naur
3c5a231ec7
Win32: reset/restore display mode when activated/deactivated
2004-09-22 18:21:28 +00:00
Elias Naur
8da3656540
Fix native mouse issues
2004-09-22 17:54:27 +00:00
Elias Naur
38ebcf5fb3
Updated win32 to report Mouse deltas
2004-09-22 15:06:27 +00:00
Brian Matzon
da867ff28a
support for setLocation
2004-09-15 17:07:06 +00:00
Elias Naur
483f03a4ec
Implemented default AWT implementation of Sys.getClipboard()
2004-08-12 15:22:48 +00:00
Caspian Rychlik-Prince
7f28edb980
Implemented getClipboard on Win32
2004-08-12 14:54:39 +00:00
Caspian Rychlik-Prince
f0954a9a70
Put getClipboard back.
2004-08-12 14:30:13 +00:00
Caspian Rychlik-Prince
00848a6cc7
Removed clipboard stuff. Elias got a headache
2004-08-12 14:22:25 +00:00
Elias Naur
b0c4fa8df8
Fixed Sys.setClipboard native stub naming
2004-08-12 12:27:14 +00:00
Caspian Rychlik-Prince
dd0886851a
*** empty log message ***
2004-08-11 15:37:40 +00:00
Elias Naur
3f4e6edbb8
Added isMinimized = true on a WA_INACTIVE
2004-08-09 16:08:51 +00:00
Elias Naur
b88624e608
Add a public DisplayMode constructor
2004-08-09 11:55:48 +00:00
Elias Naur
250bbea979
Removed shared context ability from Pbuffer (win32)
2004-08-02 14:47:52 +00:00
Elias Naur
89a482e9ce
Typo
2004-07-28 22:26:29 +00:00
Elias Naur
12cfc58472
Fixed a neverending loop in findPixelFormatARBFromBPP
2004-07-26 19:37:43 +00:00
Elias Naur
a04133fe8a
Revert the Pbuffer "find singe buffered pixel format" behaviour in the Display context shared path.
2004-07-26 19:13:02 +00:00
Elias Naur
7c949a1325
Fix comment in Mouse.cpp
2004-07-26 18:59:40 +00:00
Elias Naur
0aea2bccd0
Simplify cursor position in Mouse even more - get rid of hairy window rect code
2004-07-26 18:57:18 +00:00
Elias Naur
f89c212848
Simplify Mouse cursor positions and replace display_hwnd global variable with getCurrentHWND() (Win32)
2004-07-26 17:01:56 +00:00
Elias Naur
0d1e84752a
Win32 part of single-buffered Pbuffers
2004-07-26 14:27:34 +00:00
Elias Naur
1aee4598a9
Win32 part of ByteBuffer handles for Pbuffer and Cursor
2004-07-25 14:51:28 +00:00
Elias Naur
c17a6fe481
Avoid ARB_pixel_format in Display whereever possible. Must try the path once though, to increase the chance of getting a pbuffer compatible context. If it fails, the normal path context is kept, in hope that it will support pbuffers. If not, only unique context pbuffers will be available.
2004-07-24 22:06:43 +00:00
Elias Naur
79813c8f5a
Win32 part of fast Pbuffer
2004-07-24 21:19:08 +00:00
Elias Naur
a2680adb77
Fix DisplayMode.equals
2004-07-22 07:38:56 +00:00
Elias Naur
2951ef02cc
Win32: Mouse native cursor fixes
2004-07-15 16:07:13 +00:00
Elias Naur
eed273405e
Win32: Disable ARB pixel format path unless needed (samples > 0)
2004-07-07 09:40:48 +00:00
Elias Naur
8632dce58c
Win32 fix
2004-07-07 08:06:57 +00:00
Elias Naur
d9ea16fbf7
Win32: Mouse native cursor fixes
2004-07-06 09:13:35 +00:00
Elias Naur
f661aaa22b
Undo GLContext.cpp split
2004-07-06 08:06:16 +00:00
Elias Naur
19b7f16291
Win32: Make pbuffer creation independent of display context
2004-07-06 07:50:33 +00:00
Elias Naur
39c06a14ab
LINUX: Made pbuffer creation independent of the Display context
2004-07-05 14:57:02 +00:00
Elias Naur
1827f0efd4
Implemented reference counted loading of gl library in java
2004-07-05 14:34:47 +00:00
Elias Naur
b7e4214a1a
Moved openal native stub loading to java
2004-07-04 09:13:19 +00:00
Elias Naur
8585d8b2a5
Make sure the GL11 native stubs are unloaded too.
...
Throw exception when wglMakeCurrent fails
2004-07-04 08:39:09 +00:00
Elias Naur
2cc7e0d02f
*** empty log message ***
2004-07-03 17:45:26 +00:00
Elias Naur
ba01e888fb
*** empty log message ***
2004-07-03 17:06:56 +00:00
Elias Naur
1fd7d36188
*** empty log message ***
2004-07-03 16:38:02 +00:00
Elias Naur
0b07bb7afb
*** empty log message ***
2004-07-03 16:07:52 +00:00
Elias Naur
d4aa34e4f5
*** empty log message ***
2004-07-03 16:07:00 +00:00
Elias Naur
2d5ff5d23d
*** empty log message ***
2004-07-03 14:41:06 +00:00
Elias Naur
48f01cf614
Split WGL out to extgl_wgl.cpp/h
2004-07-03 14:39:29 +00:00
Elias Naur
fa45b4dc78
Win32 part of Display/Window merge
2004-07-03 11:29:44 +00:00
Elias Naur
86ddd2a579
*** empty log message ***
2004-07-03 11:16:59 +00:00
Elias Naur
0ea7ab410f
Win32 part of Display/Window merge
2004-07-03 10:42:29 +00:00
Elias Naur
475d22e73b
WIN32: Pbuffer pixel format must be single buffered
2004-07-03 10:36:26 +00:00
Elias Naur
e59ed5d906
Win32 part of Display/Window merge
2004-07-03 10:16:28 +00:00
Elias Naur
84110e9c13
Linux part:
...
Merged Window and Display into org.lwjgl.Display
Added support for persistent context. This will enable LWJGL games
to avoid recreating the context resources like textures and display
lists when switching between windowed and fullscreen and/or context
dimensions.
Added PixelFormat class instead of individual parameters to Display.create
and Pbuffer constructor.
2004-07-02 19:02:00 +00:00
Elias Naur
d03916ebec
Added InitWGL after creating Anti Aliased context
2004-07-02 12:34:33 +00:00
Brian Matzon
4cea3e191b
header unification
2004-06-12 20:28:34 +00:00
Brian Matzon
3a7df43117
removed obsolete getPlatform
2004-06-09 19:45:15 +00:00
Caspian Rychlik-Prince
7593877a42
No longer uses ARB pixel formats when samples == 0
2004-05-26 14:41:12 +00:00
Brian Matzon
9ed3aa45e2
only get driver once
2004-05-23 13:54:55 +00:00
Elias Naur
0786d857f8
Potential fix for the titlebar issue on win2k
2004-05-14 12:52:39 +00:00
Elias Naur
25c8f8c313
Removed C++ exception handlers
2004-05-10 08:55:09 +00:00
Caspian Rychlik-Prince
b697fb3ecf
Removed Sys.setTime(), Sys.getPlatform()
...
Changed Sys.getTime()
Added Display.sync()
2004-05-05 14:28:40 +00:00
Caspian Rychlik-Prince
3bb53392f6
Added some win32 timing tweaks
2004-05-05 13:26:21 +00:00
Elias Naur
e1656b862b
Win32: Added missing throwException in Controller.cpp
2004-05-05 11:30:51 +00:00
Elias Naur
7bd59ed27d
Split global DirectInput interface into 3 interfaces in Mouse, Keyboard and Controller
2004-05-05 09:53:53 +00:00
Elias Naur
8099826ab7
Throw exception when win32 can't create DirectInput for some reason
2004-05-04 18:58:09 +00:00
Elias Naur
054e1f9f29
Attempt fix for out of focus mouse bug in win32
2004-05-04 18:47:47 +00:00
Brian Matzon
a9506354ee
fixed mouse issues, setGrabbed & native cursor now works (afaik ;))
2004-04-12 14:46:18 +00:00