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
the_fiddler
7920b65ac4
* TextPrinter.cs: Updated licensing information and fixed some spacing
...
problems.
2008-05-05 17:13:22 +00:00
the_fiddler
7bb6b91cbf
* IExample.cs: Updated licensing information.
2008-05-05 17:10:53 +00:00
the_fiddler
4e754d975f
* GluTessellation.cs: Updated licensing information.
2008-05-05 17:10:28 +00:00
the_fiddler
76c591a77b
Added Inertia's FrameBufferObject example.
2008-05-05 17:05:11 +00:00
the_fiddler
ce4136916d
Updated for release.
2008-05-04 20:01:48 +00:00
the_fiddler
49afd8f450
Updated for release.
2008-05-04 19:58:56 +00:00
the_fiddler
09e643d09a
Updated for release.
2008-05-04 19:58:16 +00:00
the_fiddler
238e3253e2
Prepared for release.
2008-05-04 19:57:28 +00:00
the_fiddler
84756e05d2
Fixed path to wav file.
2008-05-04 19:44:21 +00:00
the_fiddler
e5e2f7f827
Build.exe now copies bmp and wav resources to the output directory.
...
Updated wording in Release.txt.
2008-05-04 19:25:50 +00:00
the_fiddler
d31eabf905
2008-05-04 19:16:46 +00:00
the_fiddler
35abdde1ed
Normalized naming.
2008-05-04 19:14:52 +00:00
the_fiddler
a2335092c9
Added a work around for the "stuck cursor" issue, where the mouse cursor would stay at the resize state when entering the GameWindow.
2008-05-04 19:09:18 +00:00
the_fiddler
2813f262a2
Removed unused DestroyWindow function.
2008-05-04 18:54:51 +00:00
the_fiddler
7dfac94aa7
The MouseChoose combobox now has the primary mouse selected by default.
2008-05-04 18:29:03 +00:00
the_fiddler
d5e047d7bb
Fixed mouse motion events on Linux.
2008-05-04 18:23:42 +00:00