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
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
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
the_fiddler
d2270f8eef
Reverted to 0.3.12 way of handling input events.
2007-11-10 18:26:05 +00:00
the_fiddler
ffcf353c4c
Enabled VSyncing by default.
2007-11-08 15:57:10 +00:00
the_fiddler
865f8ffd08
Corrected some warnings.
2007-11-06 13:37:19 +00:00
the_fiddler
e0c804a456
Updated to work with the new bindings.
2007-11-04 15:41:10 +00:00
the_fiddler
1c2e6c55a1
Split up lines that were longer than 100 characters.
2007-11-01 23:28:31 +00:00
the_fiddler
6c76aa72e0
Cleaned up warnings. Updated documentation. Cleaned up some functions.
2007-10-26 15:54:35 +00:00
the_fiddler
bc2eac92c1
GameWindow.Exit() now throws an exception that is caught inside GameWindow.Run() to signal end of execution. Simplifies code and removes some ugly conditionals.
2007-10-20 14:22:39 +00:00
the_fiddler
ac2d5046b8
The Resize event is now fired before the Load event.
2007-10-20 10:28:02 +00:00
the_fiddler
6559df8533
GameWindow constructor now creates a window. Made CreateWindow private. Added InputDriver.
2007-10-19 20:03:53 +00:00
the_fiddler
f0e5cbb8aa
Major update! Updated timing routines. Added documentation. Added VSync property.
2007-10-15 11:12:56 +00:00
the_fiddler
96b6ccebd8
Big update: added timing information. Improved update and render frequency limiting algorithms (they extremely accurate now!) Added VSync property and VSyncMode enum. Adaptive VSync not available yet.
2007-09-30 12:44:42 +00:00
the_fiddler
9aaa45ace2
Added Unload event.
2007-09-26 23:13:57 +00:00
the_fiddler
40b6f1040f
Added NotImplementedException to Visible property.
2007-09-26 15:43:28 +00:00
the_fiddler
8138033b2a
Improved documentation. Split On*** event methods between On***Internal and On***, to protect user's from forgetting to call base.On*** (no need to call that now). Improved Resize event handling (goes through OnUpdateFrameInternal now, removes duplicate events).
2007-09-26 11:50:44 +00:00
the_fiddler
42c1affe34
Added X11 Mouse support. X11 Keyboard support is faster now.
...
Made GameWindow.Dispose() virtual.
2007-09-25 16:45:12 +00:00
the_fiddler
80f541bd17
Fixed renderFrequency and updateFrequency (they were render_frequency and update_frequency respectively).
2007-09-23 12:39:15 +00:00
the_fiddler
700393b688
Added GameWindow.SwapBuffers(). Fixed T02_Vertex_Array_Cube to 60Hz.
2007-09-23 12:37:07 +00:00
the_fiddler
a696bbc765
Added constant and variable time-step update logic to GameWindow. Updated examples to use the new GameWindow UpdateFrame and RenderFrame events.
2007-09-23 12:09:42 +00:00
the_fiddler
e361e4c10b
Added timing information to UpdateFrame.
...
Removed T02_Resizable_Window.cs and added T02_Vertex_Array_Cube.cs
Added Shapes/Cube.cs to Examples.
2007-09-22 22:01:43 +00:00
the_fiddler
e277e3b272
Windows raw input now works.
2007-09-22 13:13:17 +00:00
the_fiddler
55a84c70c7
Added licensing information. Added Close() call on failed initialization of W01_First_Window. Moved GLContext to OpenTK namespace.
2007-09-09 16:07:39 +00:00
the_fiddler
a813684176
Merged with Bind. Added GLU bindings. Corrected OpenGL overload trimming.
2007-09-02 22:52:00 +00:00
the_fiddler
b25edb985d
Improved the Disposable pattern (finalizer was not needed).
...
Removed Dispose() call from glWindow_Destroy function.
Added obsolete warning to the Create and OnCreate events/methods.
2007-09-02 00:13:52 +00:00
the_fiddler
df70c0c531
Corrected a bug where GL.LoadAll wasn't called on time in X11GLNative.
...
Moved MakeCurrent call to X11GLNative and WinGLNative, instead of GameWindow.
2007-08-21 12:21:01 +00:00
the_fiddler
7cf8aa3d95
Added AdjustWindowRect to Windows.API. The client are in WinGLNative is now correctly specified.
2007-08-21 12:04:01 +00:00
the_fiddler
3b5d61a337
Improved exception handling in GameWindow
...
X11GLContext now requests formats with alpha channels. Removed debug output from X11 SwapBuffers.
Corrected X11GLNative window creation (context is now made current). Beautified X11GLNative.cs
2007-08-20 13:47:14 +00:00
the_fiddler
2254388903
Merged with bind branch.
2007-08-20 12:25:48 +00:00
the_fiddler
7efeeda3ca
2007-08-20 10:46:37 +00:00
the_fiddler
2256864b92
Improved shutdown sequence in WinGLNative and GameWindow
2007-08-10 16:55:24 +00:00
the_fiddler
c67859d7ca
Keyboard handling now plays well with normal event handling on X11.
...
One more issue to go: GLControl on X11 throws when calling MakeCurrent.
2007-08-06 12:13:50 +00:00
the_fiddler
863a8e9557
Added Create and Destroy events to NativeGLWindow.
2007-08-06 11:22:18 +00:00
the_fiddler
f30e7f6df8
Major updates to shutdown sequence (should correct bug where GameWindow hangs on exit). Enhanced the IGameWindow interface by adding the Keyboard and IsExiting properties.
...
Fully implemented keyboard on X11. Renamed some OpenTK keys.
2007-08-06 09:22:04 +00:00
the_fiddler
1c8b39d20a
Added X11 structs and functions from Mono's x11 bindings. Updated several items to use these bindings. Debugging crash on XCheckIfEvent callback.
2007-08-05 23:09:05 +00:00
the_fiddler
6ccbfb266e
Hooked up Keyboard event handling in X11Input
...
Added ProcessEvents() function to IInputDriver. Does nothing on WinRawInput, but is needed by X11Input
2007-08-05 18:26:14 +00:00
the_fiddler
04bbcf03d8
Corrected the OnCreate infinite loop between X11GLNative and X11Input.
2007-08-05 17:54:11 +00:00
the_fiddler
b630d84add
Added IWindowInfo.cs, X11/WindowInfo.cs and Windows/WindowInfo.cs, which hold information regarding a platform specific window object.
...
Updated everything to not use raw window handles, but rather WindowInfo objects.
Added code that (hopefully) creates an invisible input window for X11.
2007-08-05 13:42:31 +00:00
the_fiddler
6812739418
Renamed InputDevices.cs to InputDriver.cs.
...
Added IMouseDriver.cs and WinRawMouse.
2007-08-04 13:28:16 +00:00
the_fiddler
f9ab9f5242
Updated T10_GLSL_Cube to explicitly create a render window.
...
Added input driver to W01_First_Window. Works perfectly!
Added a debug message to GameWindow.cs, when accessing the opengl Context before creating a render window (this forces render window creation).
2007-08-04 12:17:30 +00:00
the_fiddler
59b503b3c3
Bumped version numbers.
...
WinRawInput now correctly subclasses WinGLNative or WinGLControl. WinRawKeyboard now correctly responds to events.
Removed T10_GLSL_Cube.cs which was erroneously moved outside the Examples/Tutorial directory.
Updated INativeWindow, IGameWindow and IGLControl interfaces.
Updated examples to use the new GameWindow interface.
Added documentation to GameWindow.
Improved GameWindow error handling. More defensive programming.
2007-08-04 12:09:58 +00:00
the_fiddler
2f64fb372e
Major updates to keyboard input. The infrastructure (drivers etc) is ready. Windows raw input works (now implementing multiple devices). The examples need updating for the new input methods.
...
Updated the ExampleLauncher to not process exceptions. Updated the IExample interface to contain the Launch method. Updated examples and the ExampleLauncher according to the IExample interface.
Synced with gl3 branch.
2007-08-03 00:14:31 +00:00
the_fiddler
8f159aef72
IKeyboard is now public. Updated the GameWindow to not create the Keyboard itself (it is done further up).
...
Added all Raw Input structs, functions and enums in Windows.API.
WinRawKeyboard implements IKeyboard using Raw Input on Windows.
2007-07-27 01:20:55 +00:00
the_fiddler
7f9fe25e3a
IKeyboard interface. Updated Keyboard.cs and the examples to use the new interface.
...
Major additions to Windows.API: Implemented all functions and structures for Raw Input.
2007-07-26 22:56:55 +00:00
the_fiddler
b4f122ad57
'Merged' windowing branch. Ugly, but it seems to have worked.
2007-07-23 00:15:18 +00:00