Commit graph

243 commits

Author SHA1 Message Date
the_fiddler
1d72cb7ab9 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
e8ec478237 Updated examples to reflect namespace change of DisplayMode and ColorMode.
Renamed T03_RotatingCube.cs to T03_Immediate_Mode_Cube.cs.
Renamed T07_DisplayLists_Cube.cs to T07_Display_Lists_Flower.cs.
Renamed Cube.cs to W02_Immediate_Mode_Cube.cs
Updated colors in T10_GLSL_Cube and T03_Immediate_Mode_Cube
Add S03_Stack_Imbalance.cs test.
Add T01_Simple_Window.cs and T02_Resizable_Window.cs tutorials.
2007-09-02 00:07:40 +00:00
the_fiddler
ac4bde2a2d Moved ColorDepth and DisplayMode to the /OpenTK directory (where under /OpenTK/Platform).
Renamed ColorDepth to ColorMode, to avoid clash with System.Windows.Forms.ColorDepth
Updated examples to use the new namespace for DisplayMode and ColorMode.
2007-09-02 00:04:34 +00:00
the_fiddler
034c4f6a50 Example names are now more readable (ExampleLauncher.Load())
ExampleLauncher behavior is now more consistent when launching GameWindow and WinForm examples. The launcher becomes invisible, and the launched examples exist in the same thread as the launcher.
Better documentation for IExample.cs
2007-09-02 00:02:10 +00:00
the_fiddler
61048d6ae1 Wgl structs now reside in the OpenTK.Platform.Windows namespace, notin OpenTK.Platform.Windows.API. 2007-09-01 23:59:47 +00:00
the_fiddler
4356601d21 Corrected a couple of compiler warnings. 2007-08-31 16:10:38 +00:00
the_fiddler
b9c9c88083 Prepare for release. 2007-08-22 16:41:09 +00:00
the_fiddler
b2459933b2 Corrected bug affecting the GL.Load and Wgl.Load functions, where the delegates where not retrieved by the GetFields call. 2007-08-22 16:13:41 +00:00
the_fiddler
0dbf3c04b2 Added IDisposable to all input drivers.
Updated Cube.cs to use System.Drawing.Colors.
Improved DefRawInputProc in windows API.cs
2007-08-22 00:30:16 +00:00
the_fiddler
3b6b8853c4 Updated todo items. 2007-08-21 13:27:59 +00:00
the_fiddler
03ff49ae04 Prepare for release. 2007-08-21 12:36:10 +00:00
the_fiddler
951f14f459 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
fcc621c9e5 Added AdjustWindowRect to Windows.API. The client are in WinGLNative is now correctly specified. 2007-08-21 12:04:01 +00:00
the_fiddler
0b5a0b4e1f Improved X11GLControl compatibility - now sets a safe DisplayMode.
Added utility that control's whether xplatui should throw exceptions on X11 errors.
2007-08-21 10:48:32 +00:00
the_fiddler
022b37e3cc Fixed a CLSCompliance issue. 2007-08-21 09:43:50 +00:00
the_fiddler
2e94140592 Fixed CLS-Compliance. 2007-08-21 09:34:05 +00:00
the_fiddler
c47893dae6 Corrected critical bug in X11/API.cs: VisualInfo.visualid was int where it should have been IntPtr, causing incorrect visuals to be created on 64bit platforms.
Removed the OnCreate/OnDestroy methods from INativeGLWindow.
Added convenience overloads to OpenTK.OpenGL.GL: Color3 and Color4 can now take a System.Drawing.Color directly.
2007-08-21 09:01:24 +00:00
the_fiddler
7b1d590819 Improved GLControl event handling on initialization sequence (Resize event is now raised after loading the GL class).
Improved WinForms.Cube example to hook the GLControl events instead of the parent Form's ones.
Improved Debug output in X11GLContext and X11GLControl
2007-08-20 14:12:57 +00:00
the_fiddler
e54aadad22 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
c689f50a21 Added KeyDown and KeyUp events to IKeyboard and Keyboard.
Improved input logger test to hook on the aforementioned events.
Removed Debug printing of keys in OpenTK.Input.Keyboard.
Beautified X11Keyboard.cs
Added experimental code to handle X11 keyboard events (not used yet).
2007-08-20 13:45:04 +00:00
the_fiddler
ffe8ce7795 Merged with bind branch. 2007-08-20 12:25:48 +00:00
the_fiddler
9295a44c60 2007-08-20 10:46:37 +00:00
the_fiddler
f9fc027bb4 Removed unused code files. Changed endings to CRLF. 2007-08-14 16:57:25 +00:00
the_fiddler
164876a723 Added wgl binding generator. 2007-08-12 16:14:23 +00:00
the_fiddler
2632ca54a4 Prepare for release. 2007-08-11 06:56:45 +00:00
the_fiddler
01c8b7906f Bumped version number.
Updated changelog and todo items.
2007-08-11 06:47:07 +00:00
the_fiddler
ac2a2f9a70 Improved opengl overload trimming. 2007-08-10 20:16:05 +00:00
the_fiddler
3833030a9a Improved shutdown sequence in WinGLNative and GameWindow 2007-08-10 16:55:24 +00:00
the_fiddler
7e8efac81d Added instructions for sharpdev2. Added shorthand commands. 2007-08-10 09:29:03 +00:00
the_fiddler
e220f3a71a Updated Build.exe to correctly generate sharpdev and sharpdev2 projects.
Removed some unused variables.
Added licensing information.
2007-08-10 09:27:13 +00:00
the_fiddler
c6ed3a0fac Fixed X11GLContext.MakeCurrent. X11GLControl was not setting the handle correctly. 2007-08-09 12:14:00 +00:00
the_fiddler
917c10d54b Fixed build error in WinGLNative. 2007-08-09 12:08:03 +00:00
the_fiddler
ee05b9e5c1 Debugging X11GLControl crash on MakeCurrent. 2007-08-09 12:06:09 +00:00
the_fiddler
cccbb9823b Fixed crash bug in X11GLNative. Almost ready for release. Niar! 2007-08-09 11:07:12 +00:00
the_fiddler
7287e5d5a4 Fixed build error. 2007-08-07 20:59:18 +00:00
the_fiddler
4497fcfc1b Debugging crash on X11 32bits. 2007-08-07 20:32:26 +00:00
the_fiddler
81a26ab792 Updated ToString function for ColorDepth and DisplayMode.
Corrected two warnings in GLHelper.cs
Updated X11GLContext to use the correct DisplayMode.
2007-08-07 18:08:06 +00:00
the_fiddler
39a8a8d190 Corrected build error (stray ',') 2007-08-07 17:24:03 +00:00
the_fiddler
8e88fd9393 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
dac140a36d Corrected S02_RawInput_Logger crash by creating a render window. 2007-08-06 11:26:58 +00:00
the_fiddler
e6950a6128 Added Create and Destroy events to NativeGLWindow. 2007-08-06 11:22:18 +00:00
the_fiddler
a707ef91a5 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
6353793cd0 Enahnaced X11 keymap. Renamed some OpenTK keys. 2007-08-06 00:08:51 +00:00
the_fiddler
cbb1c1a0d9 Resolved all crash bugs on X11Input.X11Keyboard
Working on X11 key mapping.
2007-08-05 23:38:59 +00:00
the_fiddler
4f35768779 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
ce23ae19c8 Improved WindowInfo.ToString. Added window mapping for X11Input. Changed the notification mask for X11GLNative 2007-08-05 19:04:06 +00:00
the_fiddler
0473bb7647 VisualInfo now copied from parent WindowInfo to child. 2007-08-05 18:52:46 +00:00
the_fiddler
83d4a08c3c Added visual for InputOnly window X11Input 2007-08-05 18:51:07 +00:00
the_fiddler
ae73c86b8f Trying to debug why Key events do not reach the X11Input window. 2007-08-05 18:38:16 +00:00
the_fiddler
888e3be361 Slightly changed debug output on Create event (X11GLNative)
Corrected event hooking in X11Input.
2007-08-05 18:33:38 +00:00