summaryrefslogtreecommitdiff
path: root/src/graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-08-15 01:57:55 +0300
committerAndrei Karas <akaras@inbox.ru>2011-08-15 02:18:03 +0300
commit47f0e16e34cf22701b7c0670297bb7288a55310d (patch)
treed2b89f146e42a11d88e3e3b99685aa4a93c124c4 /src/graphics.h
parent0c7a728ea5c63769c59e7cdbd13fc56cf3dd63fc (diff)
downloadplus-47f0e16e34cf22701b7c0670297bb7288a55310d.tar.gz
plus-47f0e16e34cf22701b7c0670297bb7288a55310d.tar.bz2
plus-47f0e16e34cf22701b7c0670297bb7288a55310d.tar.xz
plus-47f0e16e34cf22701b7c0670297bb7288a55310d.zip
Add option to hide ip addresses on screenshots.
Diffstat (limited to 'src/graphics.h')
-rw-r--r--src/graphics.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/graphics.h b/src/graphics.h
index 237d16dc2..a2e25b5a8 100644
--- a/src/graphics.h
+++ b/src/graphics.h
@@ -269,6 +269,12 @@ class Graphics : public gcn::SDLGraphics
bool getRedraw()
{ return mRedraw; }
+ void setSecure(bool n)
+ { mSecure = n; }
+
+ bool getSecure()
+ { return mSecure; }
+
int mWidth;
int mHeight;
@@ -283,6 +289,7 @@ class Graphics : public gcn::SDLGraphics
bool mRedraw;
bool mDoubleBuffer;
SDL_Rect mRect;
+ bool mSecure;
};
extern Graphics *graphics;