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/client.h | |
parent | 2d0696abd547cf00fda04f070fb713c92acaf91b (diff) | |
download | mv-e8f92c8a476c35f76212ccaccbbb55901a49058e.tar.gz mv-e8f92c8a476c35f76212ccaccbbb55901a49058e.tar.bz2 mv-e8f92c8a476c35f76212ccaccbbb55901a49058e.tar.xz mv-e8f92c8a476c35f76212ccaccbbb55901a49058e.zip |
Add "no frame" option to hide window frame. Disabled by default.
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 6 |
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); |