Commit graph

40 commits

Author SHA1 Message Date
the_fiddler
bf89608157 * OpenTK/Test/GameWindowStates.cs: Print information on pressed
keyboard keys and mouse buttons.
2010-11-01 07:57:21 +00:00
the_fiddler
03c97e306b Fixed keyboard_old assignment. 2010-10-28 11:11:19 +00:00
the_fiddler
bb1619161f Read OpenTK.Input.Keyboard state. Should gradually replace existing keyboard/mouse events with the new input API. 2010-10-28 10:37:20 +00:00
the_fiddler
202bd2a96e Avoid using deprecated GLControl.GrabScreenshot() method. 2010-10-22 15:04:04 +00:00
the_fiddler
f0dd1370d8 Suppressed unused field warnings. The code is like that on purpose. 2010-10-22 15:03:35 +00:00
the_fiddler
3d87bc7e8f Fixed text anti-aliasing on Windows. 2010-10-22 09:29:41 +00:00
the_fiddler
6276057c65 * Test/GameWindowStates.cs: Added relative mouse motion indicator. Improved text antialiasing. Moved to GameWindow category. 2010-10-21 13:14:36 +00:00
the_fiddler
00311cdb13 Added initial code for mouse grabbing. Modified GameWindowStates to test this. 2010-10-19 09:20:59 +00:00
the_fiddler
f201c3bed9 * Source/Examples/OpenTK/Test/GameWindowStates.cs: Handle
MouseButtonUp event to make mouse visible.
2010-10-18 15:48:32 +00:00
the_fiddler
42e0880cbb * Source/OpenTK/NativeWindow.cs:
* Source/OpenTK/INativeWindow.cs:
* Source/OpenTK/Platform/X11/API.cs:
* Source/OpenTK/Platform/X11/X11GLNative.cs:
* Source/OpenTK/Platform/Windows/WinGLNative.cs:
* Source/OpenTK/Platform/MacOS/CarbonGLNative.cs:
* Source/Examples/OpenTK/Test/GameWindowStates.cs: Initial
  implementation of CursorVisible API. See issue [#1560].
2010-10-18 15:25:25 +00:00
the_fiddler
1f4b5be7d0 Synced trunk with 1.0 branch. 2010-10-02 18:52:34 +00:00
the_fiddler
3f8f9b09e3 Synced with 1.0 branch. 2010-03-11 22:53:11 +00:00
the_fiddler
da7e4c7252 Backported bugfixes from 1.0 branch. 2010-02-03 19:04:42 +00:00
the_fiddler
f5642b91c5 Added BlittableValueType test from branches/1.0. 2009-11-17 10:00:52 +00:00
the_fiddler
f12cbf1cd5 Synced trunk with 1.0 branch. 2009-11-16 18:45:41 +00:00
the_fiddler
c152a724d6 Synced trunk with the 1.0 beta-1 release. 2009-11-10 09:22:46 +00:00
the_fiddler
20216d0d2b * OpenTK/Test/Multithreading.cs: Replaced anonymous delegate by a private function for easier debugging.
Switch to/from fullscreen when Key.Space is pressed.
2009-11-09 19:14:14 +00:00
the_fiddler
2073a8805c Added missing base.On* calls. 2009-11-04 17:01:44 +00:00
the_fiddler
8ce46fafde Set window title and icon. 2009-11-04 11:47:58 +00:00
the_fiddler
c2a40d0b66 Added multithreading test to verify GameWindow behavior with multiple threads. 2009-11-03 09:58:39 +00:00
the_fiddler
9d8cf134c1 Qualify System.Drawing.Rectangle/Point/Size structs fully when necessary, to avoid namespace clash with OpenTK.Rectangle/Point/Size. 2009-11-02 09:37:18 +00:00
the_fiddler
0c0acfbf75 Track mouse enter/leave events. 2009-10-27 23:58:29 +00:00
the_fiddler
895e416ca1 OnLoad/OnUnload should be protected, not public, to conform with the class library design guidelines. This issue was supposed to be fixed in 0.9.9-2, but was apparently overlooked. 2009-10-21 13:33:00 +00:00
the_fiddler
48c85b313a Indicate whether the window is focused or not. 2009-10-18 15:58:48 +00:00
the_fiddler
fb08c51881 * GameWindowStates.cs: Increased texture size to ensure the text fits inside. 2009-09-04 23:48:44 +00:00
the_fiddler
6fdf37f99f Added KeyboardKeyEventArgs.
Modified KeyboardDevice.KeyDown/KeyUp to follow the class library design guidelines.
Modified samples to use the new KeyDown/KeyUp event signatures.
2009-09-04 22:10:50 +00:00
the_fiddler
9425b187c9 Added missing resx to DerivedGLControl. 2009-09-04 13:05:24 +00:00
the_fiddler
f6da09177e Fixed line endings and set svn:eol-style to native and svn:mime-type to text/plain for .cs files. 2009-09-03 19:01:11 +00:00
the_fiddler
c1f41d1eb9 Moved Alut to OpenTK.Compatibility.
Moved SoundData and SoundFormat to OpenTK.Compatibility.
Moved AL and Alc classes to OpenTK.Audio.OpenAL and added the previous namespace to OpenTK.Compatibility.
Removed SoundData wrappers from AL class.
Updated samples to use the new API.
2009-08-17 10:32:20 +00:00
the_fiddler
78df834e1d Disabled TextPrinter samples.
Removed TextPrinter references.
2009-08-17 09:32:50 +00:00
the_fiddler
28eec56fa5 Fixed Matrix4.CreatePerspectiveFieldOfView calls to use radians instead of degrees. 2009-08-15 17:52:49 +00:00
the_fiddler
3462e80978 Moved OpenTK.Graphics.GL class to the OpenTK.Graphics.OpenGL namespace (reason: necessary for OpenGL|ES support; necessary for support of different OpenGL profiles). OpenTK.Graphics.GL has been moved to the OpenTK.Compatibility library.
Removed OpenTK.Graphics.Glu class (reason: deprecated upstream; most functionality provided by OpenTK math; not compatible with OpenGL 3.0+.) OpenTK.Graphics.Glu can be accessed through OpenTK.Compatibility.
Added OpenGL|ES-specific ErrorHelper classes.
Moved OpenTK.Graphics.DisplayDevice and OpenTK.Graphics.DisplayResolution to the root OpenTK namespace (reason: their functionality is not specific and does not depend on OpenTK.Graphics).
Split Graphics*Exception classes into different files.
Made GraphicsErrorException public (reason: necessary for OpenTK.Compatibility).
2009-08-14 13:13:28 +00:00
the_fiddler
5ca63466aa Ported updates from 0.9.8. 2009-07-18 08:44:31 +00:00
the_fiddler
00221ba225 * OpenGL/1.1/DisplayLists.cs: Avoid Glu in favor of OpenTK.Matrix4.
* OpenAL/Test/TestAudioContext.cs: Remove deprecated Alut calls.
* OpenTK/GLControl/SimpleGLControl.Designer.cs: Use DockStyle.Fill instead of anchoring.
2009-06-25 22:47:59 +00:00
the_fiddler
df6671cb4a Removed OpenTK.Math namespace. Math functions now go directly into the OpenTK namespace. 2009-06-25 11:42:05 +00:00
the_fiddler
7df9a448d6 Merged gw-next2 branch to trunk. 2009-06-02 15:49:39 +00:00
the_fiddler
95a1e9d297 Added FSAA example. 2009-06-01 11:05:00 +00:00
the_fiddler
42ae25022c Removed obsolete using directives. 2009-06-01 10:52:45 +00:00
the_fiddler
03f9857bd2 Fixed source code resources for all examples. 2009-04-21 13:33:25 +00:00
the_fiddler
6bbaad8bfb Moved and renamed examples to match the new example structurs.
Made example source code visible for all examples in example browser.
Updated Prebuild.exe to newest SVN version (resolves issues with resources).
Added .rtf and .resx files to Examples project in Prebuild.xml.
2009-04-20 09:48:33 +00:00