
Changing to fullscreen in demos -prob
Posted Wednesday, 25 November, 2009 - 05:06 by puklaus| Project: | The Open Toolkit library |
| Version: | 1.0-beta-3 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Well, e.Key cant be Key.AltLeft(/Right) and Key.Enter(/KeypadEnter) at the same time.
Oh and when returning from fullscreen, window isnt visible (on w7 at least) so
if (/* (e.Key == Key.AltLeft || e.Key == Key.AltRight) &&*/ (e.Key == Key.Enter || e.Key == Key.KeypadEnter)) if (this.WindowState == WindowState.Fullscreen) { this.WindowState = WindowState.Normal; Visible = true; // <<< Added this } else this.WindowState = WindowState.Fullscreen;


Comments
#1
Modified affected samples to use F11 for fullscreen mode (r2548).
#2
Closing issues fixed in opentk-1.0-beta-3.