Commit graph

161 commits

Author SHA1 Message Date
the_fiddler
2e1837b8f0 CreateWindow now takes a GLContext. 2008-01-11 20:23:17 +00:00
the_fiddler
201f88552d Split items that should be internal in different interfaces, for explicit implementations. 2008-01-11 20:22:46 +00:00
the_fiddler
94043ee334 Updated INativeGLWindow.CreateWindow to accept a GLContext as argument. 2008-01-11 20:22:08 +00:00
the_fiddler
315daee7ce Documentation update. 2008-01-11 20:21:32 +00:00
the_fiddler
b257b57494 Fixed NRE on mode.ToString(). 2008-01-06 11:02:38 +00:00
the_fiddler
2ab661a472 Minor cosmetic change. 2008-01-06 10:40:50 +00:00
the_fiddler
df7d4f9508 Fixed GetRawInputData call. 2008-01-06 02:35:57 +00:00
the_fiddler
ababd601cd Added PointToClient and PointToScreen placeholders. 2008-01-06 02:29:14 +00:00
the_fiddler
b71519eac5 Implemented mouse and keyboard driver. 2008-01-06 02:28:51 +00:00
the_fiddler
8d6872f8b8 Fixed starting coordinates (should now report position in absolute coordinates.) Updated data packet handling. 2008-01-06 02:28:27 +00:00
the_fiddler
9a50727029 Moved KeyMap from WinRawKeyboard to its own class. 2008-01-06 02:27:03 +00:00
the_fiddler
22dfa79f08 Changed all public items to internal. 2008-01-06 02:26:11 +00:00
the_fiddler
3fbd780097 Added PointToClient and PointToScreen functions. Changed default input driver implementation from RawInput to WMInput due to invalid RawInput data. 2008-01-06 02:25:56 +00:00
the_fiddler
b9104e1879 Added PointToClient and PointToScreen functions. 2008-01-06 02:25:33 +00:00
the_fiddler
ab69227070 Changed all public items to internal. 2008-01-06 02:24:49 +00:00
the_fiddler
1413de464a Changed all public classes to internal. Added missing WM_* mouse events. Added functions to get mouse position. Updated the RawInput structures. 2008-01-06 02:24:33 +00:00
the_fiddler
938b2b8519 Hooks for garbage-collectable OpenGL resources.
the [...]GLNative classes now use GLContext instead of the platform-specific [...]GLContext implementations.
Updated the IGLContext interface with functions to query the current context.
2007-12-09 18:15:51 +00:00
the_fiddler
815eb7ef55 Fixed shutdown sequence in Windows, so that GameWindow.Exit() and pressing the 'close' button behave the same. 2007-11-11 20:23:25 +00:00
the_fiddler
42e36a31c6 Removed a couple of unused lines of code. 2007-11-11 20:22:51 +00:00
the_fiddler
6dc133d9eb Fixed shutdown sequence on Linux. GameWindow.Exit() and clicking the 'close' button now produce the same result. 2007-11-11 20:10:08 +00:00
the_fiddler
b81fdbe630 X11GLContext plays better with Windows.Forms. 2007-11-11 19:28:55 +00:00
the_fiddler
25946dc406 Reverted to 0.3.12 way of handling input events. 2007-11-10 18:25:33 +00:00
the_fiddler
acc916a734 Reverted to 0.3.12 way of handling input events. Added Close button press handling (X no longer crashes). 2007-11-10 18:25:16 +00:00
the_fiddler
c375a71603 Reverted to 0.3.12 way of handling input events. 2007-11-10 18:24:56 +00:00
the_fiddler
260353f37a Re-added IInputDriver property. 2007-11-10 18:24:30 +00:00
the_fiddler
bf939a4e10 Removed some warnings. 2007-11-06 13:37:04 +00:00
the_fiddler
8d8842ea62 Commented out some unused code. 2007-11-06 13:36:47 +00:00
the_fiddler
eac6aaa72a Corrected a few warnings. 2007-11-06 13:35:40 +00:00
the_fiddler
3727da3a91 Removed InputDriver. 2007-11-04 15:38:39 +00:00
the_fiddler
abb087314f Now initializes GL class. Slight layout improvements. Removed useless constructors. 2007-11-04 15:37:41 +00:00
the_fiddler
db3b1d52c9 Added check to disable swap control, if the relevant extension is not supported. 2007-11-04 15:35:31 +00:00
the_fiddler
f2fadfe890 Removed Wgl.Ext.SupportsExtension. Updated code to use the new naming conventions. 2007-11-04 15:34:54 +00:00
the_fiddler
85f3be4365 Bindings (with new naming conventions) re-generated with Bind 0.9.9 2007-11-04 15:28:20 +00:00
the_fiddler
8bf372af28 Regenerated using the latest Bind version. 2007-10-31 17:44:45 +00:00
the_fiddler
99d516b153 Took care of a couple of warnings. 2007-10-26 15:51:07 +00:00
the_fiddler
71f5efc5c9 Added GdiCharset enum. Not used for now. 2007-10-20 13:40:55 +00:00
the_fiddler
91b52b5143 Added WMInput driver. 2007-10-19 20:02:34 +00:00
the_fiddler
c8f6708acc Removed the InputDriver from the INativeGLWindow interface. It now resides lower, in the GameWindow class. 2007-10-19 20:00:45 +00:00
the_fiddler
2922a8c054 VSync now responds to changes. Contains a true DisplayMode. New constructor. 2007-10-15 11:16:20 +00:00
the_fiddler
cfd383fd03 Now loads GL and Glu functions. 2007-10-15 11:14:41 +00:00
the_fiddler
f647ae14d8 INativeGLWindow no longer inherits from IGLcontrol. Fixes build problems, too. 2007-10-15 11:11:38 +00:00
the_fiddler
fa5e22da79 Removed loading of GL and Glu functions. This now happens lower in the hierarchy, inside GameWindow. 2007-10-15 11:06:58 +00:00
the_fiddler
8eb779558c Disabled support for multiple devices to minimize memory and CPU usage. 2007-10-15 11:02:14 +00:00
the_fiddler
65e2c7830c Constructor now throws ArgumentNullException instead of ArgumentException. 2007-10-05 06:54:36 +00:00
the_fiddler
5467bc9567 Fixed issue with multiple GLControls becoming invisible. Simplified GLControl, the platform dependent code now resides in GLContext and WindowInfo - GLControl itself is platform independent, just like GameWindow. This allowed to remove IGLControl.cs, WinGLControl.cs, X11GLControl.cs and DummyGLControl.cs 2007-10-05 06:52:40 +00:00
the_fiddler
b8ce1d4818 Fixed a warning. 2007-09-30 12:42:43 +00:00
the_fiddler
f86e6583e3 Added Wgl.EXT.SupportsExtension and optimized Wgl.ARB.SupportsExtension function. Fixed a bug in Wgl.Load() function, where wglGetProcAddress was never called. 2007-09-29 15:26:39 +00:00
the_fiddler
34d3a715a5 Added VSync property to IGLContext. 2007-09-29 15:24:55 +00:00
the_fiddler
1c1f5a8d98 Fix build on Mono 1.2.4 2007-09-27 00:40:28 +00:00
the_fiddler
9aaa45ace2 Added Unload event. 2007-09-26 23:13:57 +00:00