Commit graph

311 commits

Author SHA1 Message Date
the_fiddler
caf9a991b4 Cast to obtain Context.Mode (which is an internal interface now). 2008-01-11 20:36:43 +00:00
the_fiddler
5b999d7ecf Resolved crash on second context creation. Explicitly implemented internal interfaces. 2008-01-11 20:31:59 +00:00
the_fiddler
a522ce47bb Major update. Explicitly implemented internal interfaces. 2008-01-11 20:24:48 +00:00
the_fiddler
f50c0b06c2 Now uses GLContext directly, instead of WinGLContext. 2008-01-11 20:24:20 +00:00
the_fiddler
ba36c8ba3a Hacks to get the visual before creating a context. 2008-01-11 20:23:41 +00:00
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
c84bbb48dd Deleted some whitespace. 2008-01-11 20:20:42 +00:00
the_fiddler
59456c6a6f Initial commit of OpenTK.OpenAL. 2008-01-11 20:13:18 +00:00
the_fiddler
b257b57494 Fixed NRE on mode.ToString(). 2008-01-06 11:02:38 +00:00
the_fiddler
da376d14f5 Bumped version number. 2008-01-06 10:58:05 +00:00
the_fiddler
2ab661a472 Minor cosmetic change. 2008-01-06 10:40:50 +00:00
the_fiddler
4d7c6b2a31 Updated documentation. 2008-01-06 10:38:44 +00:00
the_fiddler
df7d4f9508 Fixed GetRawInputData call. 2008-01-06 02:35:57 +00:00
the_fiddler
289dbe63cd Force DoubleBuffered attribute to false. 2008-01-06 02:30:12 +00:00
the_fiddler
ef1ee1386f GameWindow.Exit() now works when called from a different thread. 2008-01-06 02:29:54 +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
03feb5b512 Use System.Drawing.Point to hold mouse coords internally. Add property to get mouse position as a System.Drawing.Point. 2008-01-06 02:22:16 +00:00
the_fiddler
b1b321bb3b Changed internal IPrinterImplementation.cs interface to facilitate non-cached rendering. 2008-01-06 02:19:53 +00:00
the_fiddler
844d262df2 Fixed GetShader to use the new enums. Added PointParameter helper overload. 2008-01-04 17:16:43 +00:00
the_fiddler
45a0bb7c7d Updated bindings with specific enums. 2008-01-04 17:07:58 +00:00
the_fiddler
e5b5dba183 Update VboTextPrinter to use the updated Buffer Object enums. 2008-01-02 01:06:03 +00:00
the_fiddler
b05f8728aa Fixed Perspective implementation. 2007-12-31 12:16:39 +00:00
the_fiddler
ecb325683c Glu.ErrorString overloaded to accept the OpenGL ErrorCode enum.
Minor cosmetic fixes.
2007-12-09 19:55:34 +00:00
the_fiddler
394d65b6d7 GL.Color3 and GL.Color4 overloaded to accept Vector3 and Vector4 structs. 2007-12-09 19:54:47 +00:00
the_fiddler
a70754da07 Clarified KeyboardDevice.KeyRepeat documentation. 2007-12-09 19:54:08 +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
f535256e1e Fixed TextPrinter.Begin() and TextPrinter.End() not restoring matrices. 2007-12-01 16:51:30 +00:00
the_fiddler
f23bafa6a4 Added instructions on how to disable warning on OpenTK.GameWindowExitException when running under the Visual Studio debug process. 2007-11-12 19:21:45 +00:00
the_fiddler
088194bf1a Fix for flickering GLControl reported by Per and confirmed by bobbypowers. 2007-11-12 08:33:24 +00:00
the_fiddler
180fb083b9 Some comments. 2007-11-12 07:45:34 +00:00
the_fiddler
726ddbf0c2 Added TextPrinter.Draw() for dynamic text. Not implemented yet. 2007-11-12 07:39:56 +00:00
the_fiddler
8db2411038 Added ITextPrinter.Begin()/End() functions to speed up font rendering. Updated Fonts and Text examples. 2007-11-12 07:36:34 +00:00
the_fiddler
e020c2f55f Added a call to StopWatch.Reset() to avoid starting the timers before their time. 2007-11-11 23:32:58 +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
67da07e7a7 X11GLContext plays better with Windows.Forms. 2007-11-11 19:28:43 +00:00
the_fiddler
d1e7e6a351 Use GameWindowExitException to exit GameWindow now. No need for the GameWindow.Exit(); return; idiom any more. 2007-11-11 19:28:13 +00:00