Commit graph

2076 commits

Author SHA1 Message Date
the_fiddler
6263153aa8 Disabled CL10, ES10 and ES11 bindings which were not finalized in time for OpenTK 1.0. 2009-11-10 06:39:27 +00:00
the_fiddler
4ed96654ad Updated documentation for release. 2009-11-10 06:32:04 +00:00
the_fiddler
9a4bf6ab79 Color4Serialization example now correctly prints its output messages. 2009-11-10 00:09:39 +00:00
the_fiddler
e9d7d147d8 Color4(byte, byte, byte, byte) constructor now correctly normalizes values to the 0.0 - 1.0 range. 2009-11-10 00:09:04 +00:00
the_fiddler
6ed8474797 Added keyfiles to ignore list. 2009-11-09 23:40:57 +00:00
the_fiddler
4e191bc928 Fixed keyfile handling in Visual Studio. 2009-11-09 23:39:27 +00:00
the_fiddler
5fdf830e2c Updated ignore rules. 2009-11-09 22:42:54 +00:00
the_fiddler
42a0200cc6 Updated ignore rules. 2009-11-09 22:41:38 +00:00
the_fiddler
2870532c78 Branched for 1.0 release. 2009-11-09 20:14:14 +00:00
the_fiddler
9eb504eb4e Fixed a large number of recurring spelling mistakes in documentation (patch by iRBiS). Fixes issue [#1341]: "Vector4 constructor describes w component as z component + other spelling corrections". 2009-11-09 08:15:38 +00:00
the_fiddler
d4457c6ce1 Fixed documentation which describes w components as z components (patch by iRBiS). 2009-11-09 08:12:34 +00:00
the_fiddler
84e034a75b Updated ignore lists. 2009-11-09 07:59:14 +00:00
kanato
d7506f0a73 MacOS: Hack for AGL to have access to the display device specified when a NativeWindow is created. 2009-11-09 07:50:21 +00:00
kanato
049d339643 MacOS: Detect display boundaries so created windows are placed in the right spot. 2009-11-09 07:39:38 +00:00
kanato
dad798d41d MacOS: Fix event from user clicking close box to properly report that window doesn't exist anymore. 2009-11-09 07:18:54 +00:00
kanato
8bd20009b2 Mac OS X Fix for GameWindow to call glContext.Update when resized 2009-11-09 06:51:52 +00:00
the_fiddler
742cf961e4 Added System.Drawing reference back to QuickStart project (see previous commit). 2009-11-08 23:04:46 +00:00
the_fiddler
c494250c3c Disabled OpenTK.Point, Size and Rectangle structures that were meant to replace their System.Drawing implementations until the correct course of action can be determined. This change is too disruptive to existing applications, especially if they are also using Windows.Forms (see discussion here: http://www.opentk.com/node/1348). 2009-11-08 23:02:53 +00:00
the_fiddler
eedbe9df31 Don't display window by default, unless "Visible = true" is called. Allows the creation of invisible windows for secondary GraphicsContexts. 2009-11-08 22:46:49 +00:00
the_fiddler
a0e95055e3 Added a second terminating 0 to attribute list, trying to work around issue [#1352]: "Occasional AccessViolationExceptions when creating the GLControl". 2009-11-08 22:42:20 +00:00
the_fiddler
f03a6ddc76 Added system-defined colors.
Added and improved constructors (more versatile).
Added ToArgb() method for improved System.Drawing.Color interop.
2009-11-07 19:38:40 +00:00
the_fiddler
874401ce0b Use SHOW command instead of SHOWNORMAL when making a window visible, since SHOWNORMAL will un-maximize a fullscreen or maximized window.
Do not force an invisible window to become visible when modifying its state or borders.
2009-11-07 10:44:31 +00:00
the_fiddler
dd832ab6bd Always set the DisplayDevice.Bounds to a correct value. Fixes issue [#1339]: "DisplayDevice.Bounds not set". 2009-11-07 10:42:25 +00:00
the_fiddler
4e8d7482ae Do not check for an X server if we detect Mac OS X. Should solve issue [#1338]: "Running apps in Mac OSX start a application called X11". 2009-11-07 10:10:53 +00:00
the_fiddler
29dd5dfe68 Update the context when the native window is resized. 2009-11-06 21:56:35 +00:00
the_fiddler
2cf543d988 MacOS may have an X server installed. Prefers the native Carbon/Quartz platform driver over X in this case (same issue as rev. 2465). 2009-11-06 18:51:06 +00:00
the_fiddler
30aa9ff194 Correctly set the primary device in the DisplayDevice constructor. 2009-11-06 18:34:53 +00:00
the_fiddler
4278538317 MacOS can have an X server installed. Modified the code so that it prefers the native Carbon/Quartz platform driver over X in this case. 2009-11-06 17:58:35 +00:00
the_fiddler
67fed8705f Fixed spelling of hertz and fps. Fixes issue [#1333]: "Spelling of SI units in documentation and captions". Patch by iRBiS. 2009-11-06 16:46:28 +00:00
the_fiddler
e2b3bda885 Return proper CarbonWindowInfo instance instead of DummyWindowInfo. 2009-11-06 15:33:53 +00:00
the_fiddler
92e2104c9d * Rectangle.cs: Fixed ToString formatting code. 2009-11-06 10:04:32 +00:00
the_fiddler
139b6af9fa * Platform/Windows/WinDisplayDevice.cs:
* Platform/MacOS/QuartzDisplayDeviceDriver.cs: Updated to use the new
  DisplayDevice constructors.

* Platform/X11/X11XrandrDisplayDevice.cs: Query Xinerama for the exact
  bounds of each display device, if available.
Use global X lock to protect from multithreaded access.
2009-11-06 09:50:50 +00:00
the_fiddler
2f3481231b * DisplayDevice.cs: Made DisplayDevice properties settable
internally (simplifies device detection code).
Bounds property is now independent of the default resolution.

* DisplayResolution.cs: Obsoleted the Bounds property, as this becomes
  invalid as soon as the resolution of any display device is changed.
2009-11-06 09:49:06 +00:00
the_fiddler
e6aeff7d35 * X11GLNative.cs: Convert from ASCII to the default encoding before generating KeyPress events (allows support for simple scripts that do not use composition.) 2009-11-05 12:12:29 +00:00
the_fiddler
5127316431 * X11GLNative.cs: Implemented KeyPress event (no support for input
methods yet).

* Functions.cs: Added XLookupString and XRefreshKeyboardMapping
  methods for simple ANSI text input.
2009-11-05 11:49:24 +00:00
the_fiddler
e131297e7f Removed System.Drawing dependency from QuickStart. 2009-11-04 21:22:41 +00:00
the_fiddler
4af10e6c68 Added missing TitleChanged event. 2009-11-04 20:49:38 +00:00
the_fiddler
03512805c8 Removed unused code. 2009-11-04 20:48:35 +00:00
the_fiddler
75843147b8 Cleaned up deprecated methods. 2009-11-04 20:48:31 +00:00
the_fiddler
fa81d3daa8 Cleaned up a large number of documentation issues. 2009-11-04 20:48:02 +00:00
the_fiddler
ac0930d109 Updated deprecation message with specific instructions on how to solve the issue. 2009-11-04 20:47:06 +00:00
the_fiddler
b353b62115 Added helper overloads for OpenTK.Point/Rectangle structures. 2009-11-04 19:24:21 +00:00
the_fiddler
078adc4b83 Enabled System.Drawing.Point/Size/Rectangle replacements. 2009-11-04 19:10:32 +00:00
the_fiddler
2cec4c1696 Refactored timer installation/removal into their own methods. 2009-11-04 18:35:32 +00:00
the_fiddler
c2d92f5aca Added simpler constructor overload for external GraphicsContexts. 2009-11-04 17:18:32 +00:00
the_fiddler
839406aec4 Don't forget to load all bindings when constructing an external context - this constructor was added for precisely this reason, after all. 2009-11-04 17:14:57 +00:00
the_fiddler
30afae50c6 Deprecated the LoadAll() method in favor of the new GraphicsContext constructors. 2009-11-04 17:03:59 +00:00
the_fiddler
c3aba0d21e Added missing base.On* calls. 2009-11-04 17:01:44 +00:00
the_fiddler
7f57d75570 Support external EGL contexts. 2009-11-04 17:00:52 +00:00
the_fiddler
cc8ac7df14 Added missing documentation to GraphicsContext constructor. 2009-11-04 17:00:34 +00:00