diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-02 19:42:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-02 19:42:02 +0300 |
commit | e8f92c8a476c35f76212ccaccbbb55901a49058e (patch) | |
tree | 741bdd9b2068ded23ab92a06586422b400c53d24 /src/graphics.h | |
parent | 2d0696abd547cf00fda04f070fb713c92acaf91b (diff) | |
download | manaplus-e8f92c8a476c35f76212ccaccbbb55901a49058e.tar.gz manaplus-e8f92c8a476c35f76212ccaccbbb55901a49058e.tar.bz2 manaplus-e8f92c8a476c35f76212ccaccbbb55901a49058e.tar.xz manaplus-e8f92c8a476c35f76212ccaccbbb55901a49058e.zip |
Add "no frame" option to hide window frame. Disabled by default.
Diffstat (limited to 'src/graphics.h')
-rw-r--r-- | src/graphics.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/graphics.h b/src/graphics.h index 497327b81..d1409be8a 100644 --- a/src/graphics.h +++ b/src/graphics.h @@ -96,8 +96,8 @@ class Graphics : public gcn::SDLGraphics /** * Try to create a window with the given settings. */ - virtual bool setVideoMode(int w, int h, int bpp, - bool fs, bool hwaccel, bool resize); + virtual bool setVideoMode(int w, int h, int bpp, bool fs, + bool hwaccel, bool resize, bool noFrame); /** * Set fullscreen mode. @@ -287,6 +287,9 @@ class Graphics : public gcn::SDLGraphics int getOpenGL() { return mOpenGL; } + void setNoFrame(bool n) + { mNoFrame = n; } + int mWidth; int mHeight; @@ -304,6 +307,7 @@ class Graphics : public gcn::SDLGraphics bool mSecure; int mOpenGL; bool mEnableResize; + bool mNoFrame; }; extern Graphics *mainGraphics; |