mirror of
https://github.com/glest/glest-source.git
synced 2025-08-11 19:04:00 +02:00
- trying to fix issue #71 alt-enter toggle
This commit is contained in:
@@ -213,6 +213,7 @@ protected:
|
||||
virtual void eventMenu(int menuId) {}
|
||||
virtual void eventClose() {};
|
||||
virtual void eventDestroy() {};
|
||||
virtual void eventToggleFullScreen(bool isFullscreen) {};
|
||||
|
||||
private:
|
||||
/// needed to detect double clicks
|
||||
|
@@ -45,11 +45,16 @@ public:
|
||||
SDL_Surface * getScreenSurface();
|
||||
virtual int getScreenWidth();
|
||||
virtual int getScreenHeight();
|
||||
virtual int getDesiredScreenWidth() { return getScreenWidth(); }
|
||||
virtual int getDesiredScreenHeight() { return getScreenHeight(); }
|
||||
|
||||
virtual bool ChangeVideoMode(bool preserveContext, int resWidth, int resHeight,
|
||||
bool fullscreenWindow, int colorBits, int depthBits, int stencilBits,
|
||||
bool hardware_acceleration, bool fullscreen_anti_aliasing,
|
||||
float gammaValue);
|
||||
|
||||
protected:
|
||||
virtual void eventToggleFullScreen(bool isFullscreen);
|
||||
};
|
||||
|
||||
}}//end namespace
|
||||
|
Reference in New Issue
Block a user