mirror of
https://github.com/glest/glest-source.git
synced 2025-09-26 07:28:59 +02:00
- added support for alt-enter window toggling in windows OS (by default it is tuned off)
to enable set AllowAltEnterFullscreenToggle=true
This commit is contained in:
@@ -133,6 +133,7 @@ protected:
|
||||
int w, h;
|
||||
static bool isActive;
|
||||
static bool no2DMouseRendering;
|
||||
static bool allowAltEnterFullscreenToggle;
|
||||
|
||||
public:
|
||||
static bool handleEvent();
|
||||
@@ -173,6 +174,9 @@ public:
|
||||
|
||||
static void setUseDefaultCursorOnly(bool value) { no2DMouseRendering = value; }
|
||||
static bool getUseDefaultCursorOnly() { return no2DMouseRendering; }
|
||||
|
||||
static void setAllowAltEnterFullscreenToggle(bool value) { allowAltEnterFullscreenToggle = value; }
|
||||
static bool getAllowAltEnterFullscreenToggle() { return allowAltEnterFullscreenToggle; }
|
||||
|
||||
protected:
|
||||
virtual void eventCreate(){}
|
||||
|
Reference in New Issue
Block a user