the_fiddler
03c97e306b
Fixed keyboard_old assignment.
2010-10-28 11:11:19 +00:00
the_fiddler
0044e4442d
Modified GetState() to return the combined state for all mouse/keyboard devices.
2010-10-28 11:10:57 +00:00
the_fiddler
a7427707ef
Added argument validation for GetState(index) and serializes access to GetState() implementation. Clarified GetState() documentation to explain that it returns combined device state.
2010-10-28 11:10: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
c99571acac
Fixed capacity parameter for GetWindowText(). Fixed debug string format that is printed when GetWindowText() fails.
2010-10-28 10:36:28 +00:00
the_fiddler
177f70e3bf
Use SVN or Bazaar version numbers as build revision. If neither is available, use seconds since start of day.
2010-10-28 10:30:35 +00:00
the_fiddler
154accb5b5
Fixed potential race condition when raising events: an event might be modified to null after the null check and before being raised.
2010-10-28 09:37:57 +00:00
the_fiddler
a070918e93
Removed events that are not part of the INativeWindow interface.
2010-10-28 09:34:13 +00:00
the_fiddler
27c8fa8ab2
Fixed ambiguous documentation reference.
2010-10-28 09:31:20 +00:00
the_fiddler
e13a8e25ae
Added code to raise all available events. Removed unused events from old OpenTK versions. Fixed potential race condition when raising events (an event might become null between the null check and the actual raising).
2010-10-28 09:31:00 +00:00
the_fiddler
b7a0a7c800
Removed unused field.
2010-10-28 09:01:54 +00:00
the_fiddler
ec01b1caae
Don't shadow class field.
2010-10-28 09:01:43 +00:00
the_fiddler
5ff74aa685
Suppressed unused field warnings. The fields are necessary for interop, even if not explicitly accessed.
2010-10-28 09:01:25 +00:00
the_fiddler
330053de1e
Fixed malformed documentation comments.
2010-10-28 09:00:53 +00:00
the_fiddler
681e19f704
Avoid using deprecated methods.
2010-10-28 09:00:36 +00:00
the_fiddler
5cc81e0449
Marked int* overloads as non CLS-compliant.
2010-10-28 09:00:23 +00:00
the_fiddler
c6f4b4206f
Added missing documentation to OnResize.
2010-10-28 09:00:07 +00:00
the_fiddler
d56478c5b2
Minor cosmetic change.
2010-10-28 08:43:36 +00:00
the_fiddler
e5ffcd6b47
Added OpenTK.Compatibility.xml documentation to project.
2010-10-28 08:43:11 +00:00
the_fiddler
1bef154d36
Implemented WinRawKeyboard input driver.
2010-10-28 08:42:38 +00:00
the_fiddler
40c2576e06
Avoid numeric overflow when printing debug message.
2010-10-28 08:42:20 +00:00
the_fiddler
cd074040e3
Implemented equality operators.
2010-10-28 08:41:48 +00:00
the_fiddler
3a9292db95
Do not rebuild documentation file on each build. OpenTK.Compatibility is not developed anymore, so we can just cache the last documentation file to speed up builds significantly.
2010-10-28 08:14:39 +00:00
the_fiddler
1657bcad91
Always validate parameters to ReadBit/EnableBit/DisableBit before using them.
2010-10-28 08:14:28 +00:00
the_fiddler
fa0abf0d51
Minor fixes for code clarity.
2010-10-28 08:13:42 +00:00
the_fiddler
1a06366db8
Fixed ref overloads of GenSources and GenBuffers to follow the rest of the OpenTK design. Fixes invalid return values on x64 systems.
2010-10-28 08:12:24 +00:00
chrisbrandtner
261b3958c8
Added anaglyph rendering example (for red/cyan glasses).
2010-10-27 16:28:38 +00:00
chrisbrandtner
a93d43c590
Added OpenGL Diagnostics program, similar to OpenAL Diagnostics.
2010-10-24 14:29:27 +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
5ed98455d9
Do not use deprecated methods.
2010-10-22 15:03:06 +00:00
the_fiddler
2430f82ff7
Implemented raw keyboard input for Windows. Improved the interface for receiving input. Moved raw input window to its own thread.
2010-10-22 14:57:06 +00:00
the_fiddler
75c71107a3
Initial implementation of raw mouse input on Windows.
2010-10-22 13:41:42 +00:00
the_fiddler
b2ccc8f089
Fixed CursorVisible getter.
...
If necessary, re-grab the cursor whenever the window changes position/size.
2010-10-22 13:36:05 +00:00
the_fiddler
327941be33
Implemented PointToScreen and fixed mouse grab rectangle to match the client rectangle exactly.
2010-10-22 13:22:28 +00:00
the_fiddler
3d87bc7e8f
Fixed text anti-aliasing on Windows.
2010-10-22 09:29:41 +00:00
the_fiddler
c7d8fb882a
Removed fixed expression that caused compilation error on VS2010 (but not Mono 2.6.7).
2010-10-22 08:16:37 +00:00
the_fiddler
bb01babfbd
* XI2Mouse.cs:
...
* X11Factory.cs: Detect whether XInput2 is not supported without
throwing an exception.
2010-10-22 07:41:56 +00:00
the_fiddler
d49b315ced
* Input/Mouse.cs:
...
* Platform/X11/X11Mouse.cs:
* Platform/X11/XI2Mouse.cs: Added internal list of mouse devices in
preparation for multi-mouse support.
2010-10-21 14:53:10 +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
f39eaecea3
* QuickStart.sln:
...
* Source/QuickStart/QuickStart.csproj: Added missing QuickStart
solution. Fixes issue [#2093 ]: "QuickStart.sln doesn't exist in
"latest version of OpenTK"".
2010-10-21 12:55:45 +00:00
the_fiddler
671457b60a
* OpenTK.csproj:
...
* Input/MouseState.cs:
* Platform/X11/Structs.cs:
* Platform/X11/XI2Mouse.cs:
* Platform/X11/Functions.cs:
* Platform/X11/X11Factory.cs: Added XInput2 driver for mice.
Multi-mouse support pending.
* Platform/X11/X11Mouse.cs: Log the driver type for debugging
purposes.
2010-10-21 12:32:00 +00:00
the_fiddler
e638652d01
* Platform/X11/X11Keyboard.cs: Added index bounds check for
...
GetState.
2010-10-21 07:56:48 +00:00
the_fiddler
7947cad6f8
* OpenTK.csproj:
...
* Input/MouseState.cs:
* Input/ButtonState.cs:
* Platform/X11/X11Mouse.cs:
* Platform/X11/X11Factory.cs: Added initial implementation of
OpenTK.Input.Mouse for X11.
2010-10-21 07:56:37 +00:00
the_fiddler
1529f811ac
* X11Keyboard.cs: Do not allocate an X11WindowInfo unnecessarily.
2010-10-20 15:16:55 +00:00
the_fiddler
07671251c5
* Input/MouseState.cs: Implemented MouseState structure.
2010-10-20 15:14:38 +00:00
the_fiddler
239ba3ff2b
* Input/KeyboardState.cs: Fixed the amount of storage for keyboard
...
keys (the code would allocate one less int than necessary when
"number of keys % 32" falls between 1 and 15).
Fixed the implementation of the Equals method to compare the two
instances (instead of comparing this instance against itself).
2010-10-20 15:14:26 +00:00
the_fiddler
86588ea60c
* Source/OpenTK/Input/Mouse.cs:
...
* Source/OpenTK/Platform/Factory.cs:
* Source/OpenTK/Input/InputDriver.cs:
* Source/OpenTK/Input/IMouseDriver.cs:
* Source/OpenTK/Platform/X11/X11Input.cs:
* Source/OpenTK/Platform/X11/X11Factory.cs:
* Source/OpenTK/Platform/Windows/WMInput.cs:
* Source/OpenTK/Platform/IPlatformFactory.cs:
* Source/OpenTK/Platform/MacOS/CarbonInput.cs:
* Source/OpenTK/Platform/Windows/WinFactory.cs:
* Source/OpenTK/Platform/MacOS/MacOSFactory.cs:
* Source/OpenTK/Platform/Windows/WinGLNative.cs:
* Source/OpenTK/Platform/Windows/WinRawMouse.cs:
* Source/OpenTK/Platform/Windows/WinRawInput.cs: Added new MouseDriver
interface and added stub internal implementations.
2010-10-20 14:58:38 +00:00
the_fiddler
e801660ff7
* Source/OpenTK/OpenTK.csproj:
...
* Source/OpenTK/Input/Keyboard.cs:
* Source/OpenTK/Input/InputDriver.cs:
* Source/OpenTK/Input/KeyboardState.cs:
* Source/OpenTK/Input/IKeyboardDriver.cs:
* Source/OpenTK/Platform/X11/X11Input.cs:
* Source/OpenTK/Platform/X11/Functions.cs:
* Source/OpenTK/Platform/X11/X11Factory.cs:
* Source/OpenTK/Platform/Windows/WMInput.cs:
* Source/OpenTK/Platform/X11/X11Keyboard.cs:
* Source/OpenTK/Platform/MacOS/CarbonInput.cs:
* Source/OpenTK/Platform/Windows/WinGLNative.cs:
* Source/OpenTK/Platform/Windows/WinRawInput.cs:
* Source/OpenTK/Platform/Windows/WinRawKeyboard.cs: Added initial
OpenTK.Input.Keyboard implementation for X11.
2010-10-20 14:33:23 +00:00
the_fiddler
7c0dbf7dcf
* Source/OpenTK/Platform/X11/X11GLNative.cs: Confine pointer to
...
window when it becomes invisible.
2010-10-20 09:50:49 +00:00