Commit graph

1473 commits

Author SHA1 Message Date
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
kanato 4f4dd33c13 Fix up display capturing. 2009-02-05 04:35:15 +00:00
kanato 8cc99350de Minor refactoring and commenting in AglContext.cs. 2009-02-03 08:21:52 +00:00
kanato b6642764eb Fix loss of first frame with GLControl. 2009-02-03 08:14:55 +00:00
kanato 1a4a3238c2 Updates for full screen support in Mac OS X. 2009-02-03 07:45:58 +00:00
kanato 44f2ad77d0 Removed unnecessary debug statement. 2009-02-03 07:43:36 +00:00
the_fiddler 9b29e138a3 Add System.Xml.dll reference to core OpenTK and Examples (necessary for [System.Xml.Serialization.Serializable] attribute). 2009-01-31 08:41:36 +00:00
the_fiddler 780487ae55 Applied rdrake's patch for LoadMatrix, etc Matrix4d helpers. 2009-01-31 08:40:11 +00:00
the_fiddler 4e82e450be Added (Vector3, float) and (Vector3d, double) constructors. 2009-01-29 00:41:09 +00:00
the_fiddler e0f981d4c5 Added int overloads to [FogCoord|EdgeFlag|VertexAttrib]Pointer, to avoid issues with the object vs IntPtr overloads. 2009-01-29 00:37:08 +00:00
the_fiddler 66ceeb03d0 Added int overloads to [Vertex|Normal|Index|Color]Pointer, to avoid issues with the object vs IntPtr overloads. 2009-01-29 00:26:52 +00:00
kanato 74707ccdfd Updates to macos fullscreen.
Resolution switching is now accompanied by a call to CGDisplayCapture.
A secondary fullscreen context is created for going full screen.
2009-01-27 18:27:44 +00:00
chrisbrandtner 0ab939a744 Added ref/out overloads to all static Vector*.Transform* methods. 2009-01-25 15:06:42 +00:00
chrisbrandtner 5a3cd34953 Removed cast to float from Vector3d.CalculateAngle (unnecessary precision loss as double is returned).
Overloaded static Vector3 and Vector3d CalculateAngle methods.
2009-01-24 16:15:04 +00:00
chrisbrandtner 46f25f27a4 Overloaded instance methods Add, Sub, Scale to pass-vector-by-value and set CLS compliance flags.
Overloaded static method BaryCentric to pass-by-reference.
2009-01-24 14:54:52 +00:00
chrisbrandtner 4e6a3cf981 Added instance methods to all single and double precision Vector structs:
Add(ref vec)
Sub(ref vec)
Mult(float)
Div(float)
Scale(ref vec)
2009-01-23 21:55:21 +00:00
the_fiddler fabc194301 Added Color4 structure serialization test. 2009-01-23 15:51:12 +00:00
the_fiddler 9f25573a0b Made the Color4 structure serializable and added == and != operators. 2009-01-23 15:50:31 +00:00
the_fiddler 7631328485 Added Color4 structure and overloads for Materialv/Lightv. 2009-01-23 15:24:57 +00:00
the_fiddler e19a6f9c7d Made GraphicsMode public, as it is generally useful. 2009-01-23 15:24:09 +00:00
chrisbrandtner 01e971741d Added ref/out overloads to static Vector*.Dot and Vector*.Lerp methods. Simplified the slow Vector3/Vector3d's static Cross methods. Occasional tweaks to inline documentation (spelling, consistency) 2009-01-23 15:04:53 +00:00
kanato 34e283367d Corrected device handle passed to aglChoosePixelFormat. 2009-01-20 04:34:24 +00:00
kanato e6c736e7ec Removed fullscreen flag. 2009-01-19 07:05:45 +00:00
kanato 3bd150ebbd Removed fullscreen flag. 2009-01-19 07:05:17 +00:00
kanato 874896fd2f Fix number of devices in call to aglChoosePixelFormat. 2009-01-15 05:25:00 +00:00
kanato 180da6c5dd GameWindowStates test: Added support for jumping two WindowStates with one keystroke. 2009-01-14 19:52:27 +00:00
kanato 083caef1c1 Mac OS updates:
Window State support (minimize and maximize) 
Preliminary full screen support.
Preliminary support for changing the screen resolution.
2009-01-14 19:52:15 +00:00
kanato 06bac23cf8 Introduced new platform detection code to p/invoke to uname rather than running it as a process. 2009-01-01 00:11:06 +00:00
kanato 23f4858e2c Added debugging information for pixel formats. 2008-12-29 01:31:21 +00:00
kanato 14ea26c866 Fix KeyNotFoundException in EventHandler routine. 2008-12-28 18:19:07 +00:00
kanato 9b3f1dc8ee Set CarbonGLNative to correctly record mouse position. 2008-12-28 05:20:25 +00:00
the_fiddler d45f6f7d6d Add a call to Application.DoEvents() before launching the example. This should ensure that the launcher window disappears before the example is launched and should also take care of any keyboard/mouse handling issues. 2008-12-25 00:57:00 +00:00
the_fiddler 7a7718a57c Use new API.
Fix initial message to "The quick brown fox jumped over the lazy dog."
2008-12-19 15:37:09 +00:00
kanato 8778d1fca9 Update Utilties.CreateWindowInfo code path to work on MacOS. 2008-12-11 05:32:06 +00:00
the_fiddler e4b5e23701 Normalized line endings. 2008-12-10 09:36:33 +00:00
the_fiddler db54fa79b3 Removed call to Console.WriteLine when changing WindowState. 2008-12-09 21:26:48 +00:00
the_fiddler 2e3b56f89c Added OpenEXR terms to the License.
Added Half and Vector[234]h structs.
Added Vector[234]d, Matrix4d and Quaterniond structs.
2008-12-09 20:45:18 +00:00