the_fiddler
ca9e6262ef
Moved GdiPlus to OpenTK.Platform where it belongs.
...
Removed unused fields in WinGdiPlusInternals.cs.
2008-11-03 23:51:16 +00:00
the_fiddler
6cbe67fa2a
Use different implementations for accessing GDI+ internals on .Net and Mono.
2008-11-03 23:34:54 +00:00
the_fiddler
c885f61590
Commented out to remove warnings until actual implementation.
2008-11-03 22:15:56 +00:00
the_fiddler
8c4a36b8a7
Fix overflow exception on right shift key press/release when running on x64 mode.
2008-11-02 17:27:12 +00:00
kanato
e2277e118c
Added CreateGraphicsContext and CreateWindowInfo code.
2008-10-31 20:09:09 +00:00
the_fiddler
573622bf0b
Removed unused variables and relevant warnings.
2008-09-19 20:57:35 +00:00
the_fiddler
fb86950099
Temporarily disabled math serialization test (now examples.exe compiles).
2008-09-02 09:45:52 +00:00
the_fiddler
3e309affe8
Fixed extension loading.
2008-07-18 23:08:50 +00:00
the_fiddler
d129fc26d9
Commented out an unused code block.
2008-07-10 21:13:01 +00:00
the_fiddler
62cc647613
Follow recommended Disposable pattern.
2008-07-10 15:20:48 +00:00
the_fiddler
981b8ab4c5
StencilFuncSeparate and BlendingFactorDest/Src fixes.
2008-07-10 15:14:04 +00:00
the_fiddler
04cc9238f6
Added missing tokens to BlendEquationSrc/Dest enums.
2008-07-10 15:09:29 +00:00
the_fiddler
4591218aab
Fixed StencilFuncSeparate parameters types (StencilFace and StencilFunction instead of StencilFunction).
...
Added StencilFace enum.
2008-07-10 15:04:46 +00:00
the_fiddler
81888345df
Added serialization test.
2008-07-10 14:01:52 +00:00
the_fiddler
175f5aab87
Added serializable attribute.
...
Added IEquatable interface and operator== overloads to Matrix4 and Vector* structs.
2008-07-10 14:01:38 +00:00
the_fiddler
436c0c23d8
Corrected a grammar mistake.
2008-07-04 19:27:53 +00:00
the_fiddler
8146fdcc5c
General cleanup:
...
Glyph is now a struct.
Code layout follows OpenTK format.
Added missing doc-strings.
2008-07-04 19:23:12 +00:00
the_fiddler
bcd8d4c9bc
Removed two warnings.
2008-07-04 16:41:17 +00:00
the_fiddler
486a3cf645
Use StringFormat.GenericDefault when loading glyphs, to account for overhangs (especially visible in e.g. italics).
...
Remove an unused variable in MeasureText.
2008-07-01 18:50:49 +00:00
the_fiddler
ee34df5b16
Reverted StringFormat.GenericDefault change.
...
Explicitly specified StringFormat.GenericTypographic when rasterizing glyphs, to avoid mismatch between rasterization and measuring.
2008-06-29 10:56:51 +00:00
the_fiddler
d7173edb60
Use GenericDefault instead of GenericTypographic for MeasureCharacterRanges, in order to correctly calculate the bounding boxes of glyphs and strings.
2008-06-28 17:44:24 +00:00
the_fiddler
856551e212
Fixed clipping issues with font layout.
...
Improved glyph loading speed.
Fixed text measurement.
2008-06-24 20:35:37 +00:00
the_fiddler
922d9ae3ff
Added a region directive to conform to OpenTK standards.
2008-06-24 18:29:11 +00:00
the_fiddler
a52666d9e6
Now use the new MeasureText function.
2008-06-24 18:29:02 +00:00
the_fiddler
c0803a2e03
Renamed MeasureCharacterRanges to MeasureText.
...
Sped up MeasureText.
Added MeasureText overloads.
Obsoleted MeasureString function.
2008-06-24 18:27:51 +00:00
the_fiddler
5cb7606df9
Added System.Drawing.Rectangle and RectangleF overloads to GL.Rect.
2008-06-24 18:23:32 +00:00
the_fiddler
74d9f5a0af
Added regions to conform to naming conventions.
2008-06-22 18:07:22 +00:00
the_fiddler
0c159a0f26
Prefer Alc.OpenDevice(null) over Alc.OpenDevice(Alc.GetString(0, AlcGetString.DefaultDeviceSpecifier))
2008-06-22 18:06:32 +00:00
the_fiddler
e1e2cbbf72
Updated Changelog.txt.
2008-06-22 16:34:10 +00:00
the_fiddler
3e6a2e4e9b
Corrected two while loops (they should have been plain if-statements, not loops).
2008-06-22 16:31:48 +00:00
the_fiddler
426cb6432d
Corrected a stupid error where MeasureCharacterRanges was called with incorrect parameters.
2008-06-22 16:31:00 +00:00
the_fiddler
8e4287b46e
Updated TextPrinter.PerformLayout to use the new GdiPlus-based MeasureCharacterRanges function.
2008-06-22 16:30:01 +00:00
the_fiddler
6801dc3e94
Implemented MeasureCharacterRanges function using the new GdiPlus bindings.
2008-06-22 16:29:13 +00:00
the_fiddler
49d1b68fa4
Added screenshot capabilities on F12.
2008-06-22 16:22:30 +00:00
the_fiddler
47bb81d62f
Preliminary implementation of JoystickDevice.
2008-06-22 16:21:52 +00:00
the_fiddler
d7598b305a
Implemented GdiPlus bindings for text measurement.
2008-06-22 16:21:19 +00:00
the_fiddler
4e521ea72e
Changed the fps counter color to SkyBlue.
2008-06-22 16:20:40 +00:00
the_fiddler
fa0e5ee0d0
Removed unnecessary memory allocations.
...
Removed out-of-date comment.
2008-06-21 23:24:24 +00:00
the_fiddler
80020a02f1
Improved code layout. Added #region directives.
2008-06-21 23:23:33 +00:00
the_fiddler
bf8a555bc9
Fixed some code-style issues.
2008-06-21 20:46:31 +00:00
the_fiddler
628a4a5fbe
Normalized line endings.
2008-06-21 20:45:16 +00:00
the_fiddler
cfdcfe79ce
Fixed a comment typo.
2008-06-21 20:44:53 +00:00
chrisbrandtner
34468b868d
Added overloads:
...
GenSource( out uint )
GenBuffer( out uint )
DeleteSource and DeleteBuffer changed to use 'ref' keyword to be consistent with Gen functions.
GenEffect( out uint )
DeleteEffect( ref uint )
GenFilter( out uint )
DeleteFilter( ref uint )
GenAuxiliaryEffectSlot( out uint );
DeleteAuxiliaryEffectSlot( ref uint ) (changed from previously passing by value, and removed the 's' in name )
renamed "DeleteAuxiliaryEffectSlots( int slot )" to "DeleteAuxiliaryEffectSlot( int slot )"
renamed "int GenAuxiliaryEffectSlots()" to "int GenAuxiliaryEffectSlot()"
New:
ALSourceType GetSourceType( uint sid )
ALSourceState GetSourceState( uint sid )
ALDistanceModel GetDistanceModel( )
2008-06-12 19:44:46 +00:00
the_fiddler
84d1a13355
Added protected and public getters and setters to TextHandle.
2008-05-24 07:52:36 +00:00
the_fiddler
6ce200cdae
Allow the user to code his own ITextPrinterImplementation.
2008-05-24 07:47:30 +00:00
the_fiddler
43aaa02745
Make WinWindowInfo public.
...
Fixed X11WindowInfo line endings.
2008-05-19 20:57:36 +00:00
the_fiddler
601f6d8caa
Renamed CreateFromCurrentContext to CreateFromCurrentThread.
2008-05-19 20:55:53 +00:00
the_fiddler
548d4b2aef
Initial support for external contexts.
2008-05-19 20:54:44 +00:00
the_fiddler
b48202324b
Initial support for external contexts.
2008-05-19 20:54:07 +00:00
the_fiddler
ed3fabfde6
Fixed an issue where the GLControl didn't repaint it's background in the Visual Studio designer.
2008-05-11 08:09:16 +00:00