Commit graph

2503 commits

Author SHA1 Message Date
the_fiddler eeefbd1a9c * 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 4d66cf3070 * 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 da0e4f3887 * 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 80ee257777 * 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 23ad81d12b * Platform/X11/X11Keyboard.cs: Added index bounds check for
GetState.
2010-10-21 07:56:48 +00:00
the_fiddler 1a8f589f5c * 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 3c238a01f6 * X11Keyboard.cs: Do not allocate an X11WindowInfo unnecessarily. 2010-10-20 15:16:55 +00:00
the_fiddler 362a853664 * Input/MouseState.cs: Implemented MouseState structure. 2010-10-20 15:14:38 +00:00
the_fiddler ca30b85bad * 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 85c37f0600 * 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 7e3182b1fc * 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 33529aff63 * Source/OpenTK/Platform/X11/X11GLNative.cs: Confine pointer to
window when it becomes invisible.
2010-10-20 09:50:49 +00:00
the_fiddler 527cdf8622 * Source/OpenTK/Platform/X11/X11GLNative.cs: Refactored empty cursor
creation into its own function. Create one empty cursor for the
  lifetime of the window.
2010-10-20 09:19:34 +00:00
the_fiddler 63b35badee Take into account the fact that ShowCursor(true/false) calls are cumulative (we want boolean behavior instead). 2010-10-19 09:25:09 +00:00
the_fiddler f302a62fc1 Added initial code for mouse grabbing. Modified GameWindowStates to test this. 2010-10-19 09:20:59 +00:00
the_fiddler 9c524e0d52 * Source/OpenTK/Platform/MacOS/CarbonGLNative.cs: Removed unused
code.
2010-10-18 16:14:50 +00:00
the_fiddler 60a9af5939 * Source/OpenTK/Platform/Windows/API.cs:
* Source/OpenTK/Platform/Windows/WinGLNative.cs: Implemented
  CursorVisible.
2010-10-18 16:14:38 +00:00
the_fiddler e1cf566c81 * Source/Examples/OpenTK/Test/GameWindowStates.cs: Handle
MouseButtonUp event to make mouse visible.
2010-10-18 15:48:32 +00:00
the_fiddler 1fc5e96a25 * 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 e9345e9916 Synced manpages with khronos svn r12696. 2010-10-14 21:10:51 +00:00
the_fiddler 2206305cf8 Fixed enum comparison logic to compare the values of the relevant attributes instead of the attributes themselves. 2010-10-14 20:47:27 +00:00
the_fiddler 29b8415a0d Added support for specifying an output file directly via "-o" (instead of redirecting console output). 2010-10-14 20:15:17 +00:00
the_fiddler 2ab2af9e95 Added support for downloading input files directly from the web. 2010-10-14 20:14:27 +00:00
the_fiddler 20dbff2b88 Removed obsolete Wgl, Glx and Glu generators. 2010-10-13 23:30:21 +00:00
the_fiddler 794a146df8 Removed unused code. 2010-10-13 23:21:11 +00:00
the_fiddler 2e0466154d Removed unused folder. 2010-10-13 23:21:07 +00:00
the_fiddler cd9dcb2cb5 Update to latest version of generator. 2010-10-13 23:14:27 +00:00
the_fiddler b6b545a356 Bump version number due to API changes: Du2Dv2Ati token and ObjectPurgeableAPPLE return values are modified. 2010-10-13 23:12:11 +00:00
the_fiddler c112bcce0e Add required version/category and deprecation status to function summaries. 2010-10-13 23:10:32 +00:00
the_fiddler 643b617362 Do not process the function category name (we to list the original name for documentation and extension checking). The processing is moved to the Type translation code. 2010-10-13 23:09:10 +00:00
the_fiddler 4d49dc26fc Read deprecated attribute. 2010-10-13 23:06:50 +00:00
the_fiddler b4c8b64db8 Removed misleading comment. 2010-10-13 22:27:35 +00:00
the_fiddler 137818d10c Moved enum, constant, delegate and function transformations to EnumProcessor and FuncProcessor respectively.
Removed global enum, delegate and function collections.
Simplified loading process and removed global Initialize() methods.
Read "count" attributes for function parameters in overrides.xml.
Disabled wgl/glx/glu generators.
Removed large amounts of stale code.
2010-10-13 21:41:06 +00:00
the_fiddler 31b80891e2 Do not exit immediately when debugging, to give a chance to examine the output. 2010-10-13 21:31:24 +00:00
the_fiddler f8cd5879b1 Added UNSIGNED_INT to ActiveUniformType enum. Fixes issue [#2077]: "Add UnsignedInt to ActiveUniformType". 2010-10-13 20:43:04 +00:00
the_fiddler 6f815689e7 Added UNSIGNED_INT to ActiveUniformType enum. Fixes issue [#2077]: "Add UnsignedInt to ActiveUniformType". 2010-10-13 20:42:58 +00:00
the_fiddler 4e8c643c39 Added GL4Generator that utilizes xml files instead of spec files.
Made GL4Generator the default.
Added FuncProcessor that will contain all function transforms.
2010-10-12 17:39:14 +00:00
the_fiddler bdbd50dd08 Moved hand-modified enums to the overrides file. 2010-10-12 17:36:14 +00:00
the_fiddler 0e9ec6824b Mark all parameter names that match reserved keywords. 2010-10-12 17:35:40 +00:00
the_fiddler 32368a8dc3 Use correct casing on Du8dv8Ati. 2010-10-12 17:34:59 +00:00
the_fiddler 88594afe37 Added missing license. 2010-10-12 16:55:16 +00:00
the_fiddler ef3d01653d Added missing license information. 2010-10-12 16:54:45 +00:00
the_fiddler 2a1d85a4c0 Remove enum and constant processing from the classes with the same name and move it into its own file. 2010-10-12 16:46:08 +00:00
the_fiddler 745dae3dbe Added support for token overrides. 2010-10-12 16:41:21 +00:00
the_fiddler 34f2dfbb17 Removed "*" wildcard that somehow made it into the ignore list. 2010-10-12 16:39:51 +00:00
the_fiddler c13882d729 Regenerated to add missing items. 2010-10-12 16:34:45 +00:00
the_fiddler 2f91f0c650 The parser would forget to add the last parsed item. 2010-10-12 16:34:22 +00:00
the_fiddler d8235e256d Added support for functions. 2010-10-12 15:59:43 +00:00
the_fiddler 6b8e3f5ace Added xml version of spec files, generated by Generator.Convert. 2010-10-12 15:59:20 +00:00
the_fiddler 357be0e67a Speed up documentation generation by reducing amount of disk IO (cache directory contents in memory). 2010-10-12 11:01:25 +00:00