miketheprogrammer / go-thrust

Cross Platform UI Kit powered by Blink/V8/Chromium Content Lib
MIT License
445 stars 34 forks source link

extended window bindings with a way to leave fullscreen / kiosk mode #61

Closed FPurchess closed 8 years ago

FPurchess commented 8 years ago

The current implementation of window.Fullscreen() makes it impossible to gracefully leave the fullscreen / kiosk mode without manually executing commands on the window itself.

This PR fixes it by extending both methods with a bool window.Fullscreen(fullscreen bool) and window.Kiosk(kiosk bool) to set / unset the mode.

miketheprogrammer commented 8 years ago

Awesome. Thanks for this.

FPurchess commented 8 years ago

Thanks for the great bindings!