
[GameWindow] GameWindow.Size property on Mac OS X
Posted Wednesday, 22 April, 2009 - 08:55 by iliak| Project: | The Open Toolkit library |
| Version: | 1.0-beta-2 |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Is it possible to add a System.Drawing.Size to the OpenTK.GameWindoW (getter & setter) ?


Comments
#1
This is planned for the next version of OpenTK. A WIP, but relatively stable implementation exists in the gw-next branch.
#2
Committed now to the gw-next2 branch, which will be merged for OpenTK 0.9.9.
#3
Committed to trunk, but the Mac OS X implementation needs work/testing.
#4
Test that the new properties work correctly on Mac OS X.
#5
#6
I'll try and take a look at this next week, but I am moving next friday so I may not get to it until after that.
#7
Thanks. There are two things to check:
GameWindow.BoundsandGameWindow.ClientRectangle.The first should return the location and 'external' size of the window (including the title and borders), while the latter should always return (0, 0) as its Location and the actual size of the viewport as its Size property.
#8
Fixed in r2514.
#9
Closing issues fixed in 1.0 beta-2.