Commit graph

120 commits

Author SHA1 Message Date
the_fiddler
019cf966e3 Renamed IGLContext to IGraphicsContext. 2008-01-31 13:17:42 +00:00
the_fiddler
56cbbb8cbb Added setter to GLContext.CurrentContext and all implementations, so that the user can clear the context of any thread.
Updated GameWindow and its implementations to use GraphicsFormat instead of the obsolete DisplayMode.
Updated license.
Updated some docs.
Fixed CLSCopmliant warnings in XRamExtension.cs
2008-01-31 13:15:17 +00:00
the_fiddler
9623d405c3 Fixed fullscreen mode size. 2008-01-27 15:59:43 +00:00
the_fiddler
c6dbce69e8 Renamed OpenTK.Platform.Windows.DisplayDevice to OpenTK.Platform.Windows.WindowsDisplayDevice. 2008-01-27 10:23:02 +00:00
the_fiddler
c6d9dd5df3 Added fadeout and fadein effect. 2008-01-26 14:02:58 +00:00
the_fiddler
7f1309a796 Changed IDisplayDeviceDriver.RestoreResolution method to IDisplayDeviceDriver.TryRestoreResolution.
DisplayDevice now correctly reports original resolution.
2008-01-26 11:01:20 +00:00
the_fiddler
8630edaaf6 Clarified what the DisplayDevice constructor does. 2008-01-25 10:20:44 +00:00
the_fiddler
442a873a5f Add docs to static constructor. 2008-01-25 10:01:23 +00:00
the_fiddler
3a026d5d5e Fullscreen mode changes now work! 2008-01-24 12:36:40 +00:00
the_fiddler
a4fe343d73 WinDisplayDevice is now multiple-monitor aware.
Added SelectResolution function to DisplayDevice.
Updated test to change settings on all available monitors.
2008-01-24 10:50:39 +00:00
the_fiddler
e9b811de17 Fixed DisplayDevice enumeration. 2008-01-24 09:30:49 +00:00
the_fiddler
dde5892197 Removed implementation of GetDisplayModes() 2008-01-24 09:14:24 +00:00
the_fiddler
c64c449a8f Added DisplayDevice driver for Windows. 2008-01-24 09:14:08 +00:00
the_fiddler
4e05a1082b Fixed capitalization of Texture2D (was Texture2d) 2008-01-24 09:13:08 +00:00
the_fiddler
7e8595f7a5 Added DisplayDevice struct, ChangeDisplaySettingsEnum and ChangeDisplaySettingsEx. 2008-01-24 09:12:47 +00:00
the_fiddler
1a100aaff3 Updated everything to use plain (int width, int height parameters) instead of DisplayMode.Width/.Height. 2008-01-23 14:17:09 +00:00
the_fiddler
5b44be105c Don't use obsolete DisplayMode.Width/Height anymore. 2008-01-23 13:26:14 +00:00
the_fiddler
827fda8e58 Added a couple of #region directives. 2008-01-23 12:42:27 +00:00
the_fiddler
6f8d2970c6 Removed unused summary. 2008-01-23 00:26:47 +00:00
the_fiddler
731034414c Updated SupportsExtension functions. 2008-01-23 00:19:42 +00:00
the_fiddler
568d3fecb7 Internal Device getter. 2008-01-23 00:19:22 +00:00
the_fiddler
448e3a476f Refactored extension loading to remove duplicate code. The logic is now contained in OpenTK/Platform/Utilities.cs 2008-01-22 23:58:50 +00:00
the_fiddler
40f32f4867 Documentation updates. Getting rid of all remaining warnings in debug build. 2008-01-20 19:29:42 +00:00
the_fiddler
3d2bc15a84 Documentation updates. Getting rid of warnings. 2008-01-20 19:00:03 +00:00
the_fiddler
50f6bd2807 Changed the INativeGLWindow.CreateWindow interface to return an IGLContext instead of a GLContext. 2008-01-15 10:48:48 +00:00
the_fiddler
33d0193e7f Refactored context creation to be done inside the *GLNative classes, instead of the GameWindow class. Should refactor in the next version. 2008-01-15 10:31:03 +00:00
the_fiddler
159bc4b427 Internal to public. 2008-01-15 00:43:51 +00:00
the_fiddler
8c5ac32840 Disabled CLSCompliant attribute not checked warnings. 2008-01-15 00:43:23 +00:00
the_fiddler
3a44869fd2 Updated with the latest generator. Disabled missing XML doc warnings. 2008-01-15 00:42:29 +00:00
the_fiddler
828fa2ebc2 Fixed window destruction. 2008-01-15 00:10:56 +00:00
the_fiddler
762ea8f1bb Set window on top during creation. 2008-01-15 00:02:58 +00:00
the_fiddler
5498022742 Fixed an issue where WMInput did not detach on the Destroy message, causing the application to stay open. 2008-01-14 23:44:22 +00:00
the_fiddler
42c205db00 Fixed a GameWindow exit bug, where the GameWindow didn't send the destroy message on GameWindow.Exit(). 2008-01-14 23:43:56 +00:00
the_fiddler
c11735a22f Got rid of some warnings. 2008-01-11 20:54:06 +00:00
the_fiddler
1c6c2c4776 Major update. Explicitly implemented internal interfaces. 2008-01-11 20:24:48 +00:00
the_fiddler
589e6ad813 Now uses GLContext directly, instead of WinGLContext. 2008-01-11 20:24:20 +00:00
the_fiddler
e439322f18 Minor cosmetic change. 2008-01-06 10:40:50 +00:00
the_fiddler
8609b7dc39 Fixed GetRawInputData call. 2008-01-06 02:35:57 +00:00
the_fiddler
3f705cba4b Implemented mouse and keyboard driver. 2008-01-06 02:28:51 +00:00
the_fiddler
fabd24a6ea Fixed starting coordinates (should now report position in absolute coordinates.) Updated data packet handling. 2008-01-06 02:28:27 +00:00
the_fiddler
8505d5801e Moved KeyMap from WinRawKeyboard to its own class. 2008-01-06 02:27:03 +00:00
the_fiddler
335664ff74 Changed all public items to internal. 2008-01-06 02:26:11 +00:00
the_fiddler
2f4afe34f5 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
3740766589 Changed all public items to internal. 2008-01-06 02:24:49 +00:00
the_fiddler
4ddc6222f5 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
107951c4d1 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
a1fb128a70 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
c13f33d6bd Reverted to 0.3.12 way of handling input events. 2007-11-10 18:25:33 +00:00
the_fiddler
092eb36a07 Commented out some unused code. 2007-11-06 13:36:47 +00:00
the_fiddler
d5df9715b7 Corrected a few warnings. 2007-11-06 13:35:40 +00:00