the_fiddler
01bb1971e4
* Vector4.cs:
...
* Vector3.cs:
* Vector2.cs:
* Vector4d.cs:
* Vector3d.cs:
* Vector2d.cs: Removed code using C# 3.0 features.
2009-11-11 22:37:04 +00:00
the_fiddler
598c447b2c
* BlittableValueType.cs: Clarify how BlittableValueType<T>.Stride works on non-blittable types.
2009-11-11 18:23:52 +00:00
the_fiddler
5991bee09f
* Source/OpenTK/BlittableValueType.cs: Removed struct constraint. Sometimes consumers of this class may not be able to use struct generic constraints - the class is now usable in this case.
...
* Source/Examples/OpenTK/Test/BlittableValueTypes.cs: Test BlittableValueType class using several different types.
2009-11-11 18:21:45 +00:00
the_fiddler
1f9c9eac44
Added missing license information.
2009-11-10 22:51:35 +00:00
the_fiddler
3ca219953d
Synced trunk with the 1.0 beta-1 release.
2009-11-10 09:22:46 +00:00
the_fiddler
2fc95c3317
Updated documentation for release.
2009-11-10 06:48:34 +00:00
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
6923cf8863
Merged changes from 1.0 branch.
2009-11-10 00:04:11 +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
3a7d38762a
* 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
fdf4a93829
Protect all Xlib calls with XLockDisplay/XUnlockDisplay. Fixes issue [ #1354 ]: "Application always run in windowed mode when using shared contexts".
2009-11-09 19:05:41 +00:00
the_fiddler
2cbf60bb6f
* ImmediateMode.cs: Added missing calls to base.On* events. Removed tabs.
2009-11-09 17:34:24 +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