the_fiddler
99d516b153
Took care of a couple of warnings.
2007-10-26 15:51:07 +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
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
357c1405e9
Commented out Keymap struct in X11/API.cs, due to a bug in Mono's 1.2.5 gmcs compiler.
2007-09-26 16:57:43 +00:00
the_fiddler
35f154cb72
Problem with mouse wheel not getting updated.
2007-09-26 16:12:31 +00:00
the_fiddler
aea2f77892
Polled mouse input through XQueryPointer.
2007-09-26 15:41:14 +00:00
the_fiddler
d6a001f878
Added Title property. Foundation of atoms.
2007-09-26 15:40:22 +00:00
the_fiddler
ff871cff50
Updated Keyboard and Mouse handling. Mouse now uses XQueryPointer. Keyboard relies on X11 events. Still missing mouse delta support.
2007-09-26 11:58:55 +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
a25784c84e
Enabled X11Input mouse driver.
2007-09-24 21:23:27 +00:00
the_fiddler
0346c7ba35
InputDriver now correctly interfaces with its mouseDriver.
2007-09-24 21:10:52 +00:00
the_fiddler
97f7f4c7f5
Added X11Mouse driver.
2007-09-24 20:56:50 +00:00
the_fiddler
61102b359d
Work on X11 mouse driver.
2007-09-24 20:10:14 +00:00
the_fiddler
e277e3b272
Windows raw input now works.
2007-09-22 13:13:17 +00:00
the_fiddler
980e7138d2
Work on MouseDriver. Windows raw driver works.
2007-09-21 20:34:07 +00:00
the_fiddler
dbb2d1a3d6
Enhanced WindowInfo API. A WindowInfo struct can now be initialized from any Control, Form, NativeWindow or GameWindow.
2007-09-21 20:07:30 +00:00
the_fiddler
66b046a58c
Added KeyRepeat to IKeyboard.
...
Multiple keyboards correctly reported under Windows (Raw input driver).
Corrected some key maps in X11 and Windows Raw keyboards.
2007-09-21 20:03:53 +00:00
the_fiddler
2ca6e6c617
Added OpenTK.Platform.WindowInfo and OpenTK.Platform.IMutableWindowInfo. Split IWindowInfo implementation to IWindowInfo and IMutableWindowInfo. Added several methods.
...
X11 and Windows GLControl and GLNative implementation now use IGLContext interfaces instead of direct X11GLContext and WinGLContext. Decouples the two (good!).
Updated all Native, Control, Context classes to use the new interfaces.
2007-09-09 15:10:21 +00:00
the_fiddler
c1fa34087c
Decoupled GLContext from GLControl/GameWindow even more, by using IWindowInfo to pass data between them.
...
Implemented the IWindowInfo.GetInfoFrom methods.
Removed said methods from OpenTK/Platform/Utilities.
2007-09-09 11:52:09 +00:00
the_fiddler
105902336e
Glu is now initialized under X11GLNative
2007-09-02 23:18:50 +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
437d8fe627
Updated T10_GLSL_Cube to remove NRE exception on Mono 1.2.x.
...
Added debug info to the GL.LoadAll function.
Added W03_Extensions.cs example.
2007-09-02 13:34:44 +00:00
the_fiddler
2f09c15672
Trunk now compiles again.
2007-09-02 00:53:24 +00:00
the_fiddler
017a345927
Merged with bind branch: updated GL.cs wrappers, Glx and Glu implementation suppoort files, faster Bind.
2007-09-02 00:40:43 +00:00
the_fiddler
6ae06d82bd
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
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
9e536a72e0
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
e9b2aba8d0
Fixed a CLSCompliance issue.
2007-08-21 09:43:50 +00:00
the_fiddler
8f27150239
Fixed CLS-Compliance.
2007-08-21 09:34:05 +00:00
the_fiddler
0133eb1222
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
7d5087f1f8
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
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
33527aa2c9
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
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
9478d51459
Removed unused code files. Changed endings to CRLF.
2007-08-14 16:57:25 +00:00
the_fiddler
2256864b92
Improved shutdown sequence in WinGLNative and GameWindow
2007-08-10 16:55:24 +00:00
the_fiddler
7a2da17f5c
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
9cd1ca9a67
Fixed X11GLContext.MakeCurrent. X11GLControl was not setting the handle correctly.
2007-08-09 12:14:00 +00:00
the_fiddler
318c8e619d
Debugging X11GLControl crash on MakeCurrent.
2007-08-09 12:06:09 +00:00
the_fiddler
54258c9130
Fixed crash bug in X11GLNative. Almost ready for release. Niar!
2007-08-09 11:07:12 +00:00
the_fiddler
259fea275a
Fixed build error.
2007-08-07 20:59:18 +00:00
the_fiddler
d19466956b
Debugging crash on X11 32bits.
2007-08-07 20:32:26 +00:00
the_fiddler
53f2e4c48f
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
a305f1e6fa
Corrected build error (stray ',')
2007-08-07 17:24:03 +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