summaryrefslogtreecommitdiff
path: root/src/client.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/client.h
parent2d0696abd547cf00fda04f070fb713c92acaf91b (diff)
downloadmanaplus-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/client.h')
-rw-r--r--src/client.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client.h b/src/client.h
index 5c9dfdaa1..6c93adbdf 100644
--- a/src/client.h
+++ b/src/client.h
@@ -258,8 +258,8 @@ public:
static std::string getServerName()
{ return instance()->mServerName; }
- static void resize(int width, int height)
- { instance()->resizeVideo(width, height); }
+ static void resize(int width, int height, bool always = false)
+ { instance()->resizeVideo(width, height, always); }
static void setGuiAlpha(float n);
@@ -285,7 +285,7 @@ public:
void writePacketLimits(std::string packetLimitsName);
- void resizeVideo(int width, int height);
+ void resizeVideo(int width, int height, bool always);
static bool limitPackets(int type);