summaryrefslogtreecommitdiff
path: root/src/graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-02 19:42:02 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-02 19:42:02 +0300
commite8f92c8a476c35f76212ccaccbbb55901a49058e (patch)
tree741bdd9b2068ded23ab92a06586422b400c53d24 /src/graphics.h
parent2d0696abd547cf00fda04f070fb713c92acaf91b (diff)
downloadplus-e8f92c8a476c35f76212ccaccbbb55901a49058e.tar.gz
plus-e8f92c8a476c35f76212ccaccbbb55901a49058e.tar.bz2
plus-e8f92c8a476c35f76212ccaccbbb55901a49058e.tar.xz
plus-e8f92c8a476c35f76212ccaccbbb55901a49058e.zip
Add "no frame" option to hide window frame. Disabled by default.
Diffstat (limited to 'src/graphics.h')
-rw-r--r--src/graphics.h8
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;