Commit graph

1459 commits

Author SHA1 Message Date
the_fiddler
6ae75f0e08 Added Closing event that can be used to cancel a call to GameWindow.Exit().
Made GameWindow.Exit() thread-safe.
ExitAsync() is now privateee (use Exit() instead).
GameWindow.Exit() now correctly works when called from inside the OnLoad method or the Load event.
2009-02-22 15:48:31 +00:00
the_fiddler
07dff0abe0 Removed an unused Bitmap reference. 2009-02-22 12:12:16 +00:00
the_fiddler
8da8023c97 Suppressed a large amount of warnings for unused methods / fields in the platform bindings.
Replaced tab stops with spaces.
2009-02-22 12:10:36 +00:00
the_fiddler
39710404ee Fixed two instances where the obsolete XYZ attribute was being used. 2009-02-22 12:09:23 +00:00
the_fiddler
144d5dd450 Hopefully fixed all remaining encoding problems. 2009-02-22 11:26:17 +00:00
the_fiddler
a22019d890 Normalize line endings and set the mime-type=text/plain and eol-style=native properties on all files. 2009-02-22 10:43:35 +00:00
the_fiddler
93b426b08a Removed invalid space from the GdiPlusGlyphRasterizer.cs filename. 2009-02-22 09:44:10 +00:00
the_fiddler
476ac76e22 Fixed filenames of xml documentation (OpenTK.xml and OpenTK.Utilities.xml). 2009-02-21 16:37:40 +00:00
the_fiddler
80c0895005 Bumped version number. 2009-02-20 19:49:07 +00:00
the_fiddler
fa1165a3ab Fixed parameters on MouseDevice.Move and MouseDevice.WheelChanged event loggers. 2009-02-20 19:48:22 +00:00
kanato
81e09a2066 Merged in macos branch for Mac OS X support. 2009-02-20 18:57:57 +00:00
the_fiddler
6f864d3f12 Fixed version strings in GL.SupportsExtension(). 2009-02-20 18:35:51 +00:00
the_fiddler
d245773e58 Fixed version strings in GL.SupportsExtension(). 2009-02-20 18:33:30 +00:00
the_fiddler
8e8ba4c75e Updated descriptions for 0.9.3 and the MouseDevice patch. 2009-02-20 18:04:35 +00:00
the_fiddler
e7c3fbd1b5 Updated to use the ExampleAttribute instead of the old IExample interface. 2009-02-20 18:04:01 +00:00
the_fiddler
a1a2de03c9 Update to use the new MouseDevice interface. 2009-02-20 18:03:05 +00:00
the_fiddler
e44c93bae5 Applied ALyman's patch for MouseDevice.Move (http://www.opentk.com/node/652) with modifications. 2009-02-20 18:02:34 +00:00
the_fiddler
f3a4da72ec Bumped version number to 0.9.3. 2009-02-20 18:01:50 +00:00
the_fiddler
98edd251ba Fixed infinite recursion in Quaternion constructor (http://www.opentk.com/node/663). 2009-02-15 16:22:49 +00:00
the_fiddler
4f3ee52668 Applied rdrake's patch:
* fixes output with TextQuality.High and a non-white current color.
* pushes/pops CurrentBit attribute when rendering text.
2009-02-14 08:12:14 +00:00
the_fiddler
9409ee6917 Updated for 0.9.2 release. 2009-02-13 22:19:43 +00:00
the_fiddler
fab245bd5d Updated changelog. 2009-02-13 21:52:51 +00:00
the_fiddler
ab852cae58 Fixed SetWindowPos function (IntPtr instead of int parameter).
Add NcCalcSizeOptions enum.
2009-02-13 21:45:50 +00:00
the_fiddler
b40ccdc726 Marked the swizzle properties with the XmlIgnoreAttribute. 2009-02-13 20:40:57 +00:00
the_fiddler
a594d261ff Changed the public fields to properties.
Renamed XYZ property to Xyz, in accordance to the guidelines for class libraries.
Added the SerializableAttribute.
2009-02-13 20:40:19 +00:00
the_fiddler
527fb19364 Implemented IEquatable interface.
Fixed ToAxisAngle implementation at 0-degree angles.
Added ToAxisAngle overload that returns a Vector4 struct.
2009-02-13 19:53:46 +00:00
the_fiddler
92d79bb47b Added Xy and Xyz swizzle operators. 2009-02-13 19:51:35 +00:00
the_fiddler
7651a7a3bb Merged text branch and updated changelog. 2009-02-13 19:09:38 +00:00
chrisbrandtner
493e52e05b Added explicit operators for converting single-precision Vector234 <-> double-precision Vector234d. 2009-02-13 13:26:39 +00:00
the_fiddler
eb811d16b7 Fixed line endings. 2009-02-12 23:45:24 +00:00
the_fiddler
00dc559578 Now uses String.Empty instead of "". 2009-02-12 23:43:30 +00:00
the_fiddler
52eb19f93b Fixed line endings. 2009-02-12 23:43:06 +00:00
the_fiddler
b75b50acb2 Changed example color to midnight blue. 2009-02-12 23:42:11 +00:00
the_fiddler
ef4ab16e30 Modified to use new Text interface. 2009-02-12 23:41:29 +00:00
the_fiddler
31e425f1cd TextPrinter.Begin() / End() are no longer deprecated. 2009-02-12 23:40:48 +00:00
the_fiddler
538198776b Moved TextExtents to OpenTK.Graphics.
Added documentation to all public classes and interfaces.
2009-02-12 23:10:09 +00:00
the_fiddler
c18b522763 Exercise TextAlignment and TextDirection options. 2009-02-12 22:52:24 +00:00
the_fiddler
9857e2f13c Added debug message for the detected configuration. 2009-02-12 22:51:42 +00:00
the_fiddler
522d1d17dc Added TextAlignment and TextDirection enums.
Implemented RightToLeft and Vertical TextDirections (Vertical is glitchy).
Implemented Near, Far and Center TextAlignments.
Improved support for word wrapping.
Removed alpha blending from GL11TextOutputProvider.
2009-02-12 22:50:05 +00:00
the_fiddler
44240ad598 Make Mono use X11GdiPlusInternals regardless of platform. 2009-02-12 22:48:09 +00:00
the_fiddler
64dfa91678 Added Clear() method to all classes that contain caches.
Implemented IDisposable interface on the TextPrinter and all relevant classes.
2009-02-12 17:41:09 +00:00
the_fiddler
e7e5e1453f Added GL1.1 and GL1.2 rendering codepaths.
Added selectable TextQuality level.
Updated all interfaces to support the above.
2009-02-12 16:27:24 +00:00
the_fiddler
1502fc27b7 Deprecate TextPrinter.Begin()/End(). These are only left for backwards compatibility. New code should set the desired projection and modelview matrices manually. 2009-02-12 01:01:55 +00:00
the_fiddler
5135a25828 Add GL.BlendColor(System.Drawing.Color) overload. 2009-02-12 01:00:07 +00:00
the_fiddler
5dd73d813f Added license notice. 2009-02-12 00:00:56 +00:00
kanato
231f83186a AGL Fullscreen: Try to create a full screen context first, failing that create a non-fullscreen context. 2009-02-11 08:03:46 +00:00
kanato
b99e8c5829 Implement resize event in GameWindow. 2009-02-11 07:59:24 +00:00
the_fiddler
3059d09795 Time should be IntPtr, not uint.
Fixed KeypadEnter detection (was mistakenly mapped to vanilla Enter key).
2009-02-09 15:33:32 +00:00
kanato
b921bf95dd Move input event handling to application level for fullscreen support. 2009-02-05 04:38:37 +00:00
kanato
dc6f0e6461 Added GetMouseEventLocation Carbon wrapper function. 2009-02-05 04:36:17 +00:00