
DisplayDevice.Bounds not set
Posted Saturday, 7 November, 2009 - 10:10 by iRBiS| Project: | The Open Toolkit library |
| Version: | 1.0-beta-1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
GameWindow starts with its center at (0, 0). This is because the (newly-independent) bounds are not defined. The bounds parameter in the DisplayDevice constructor introduced in revision 2461 was not used, so I made use of it. I know this patch basically restores the previous behavior of DisplayDevice.Bounds but is necessary for those who wish to use the latest builds. Please delete this issue if it was inappropriate.
| Attachment | Size |
|---|---|
| bounds-param.patch | 672 bytes |


Comments
#1
Thanks for the patch.
I've already fixed this in my working copy, but haven't committed the fix yet because I'm working on a related issue (fullscreen GameWindows appear on the wrong location when multiple monitors are connected).
#2
Fix committed to rev. 2471.
#3
Closing issues fixed in 1.0 beta-1.