summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-29 20:00:35 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-30 19:53:08 +0300
commitd3e7af659bae3ea4cf1037fca81e071acbab31ec (patch)
tree7fd41dd36a82abb9c0cabe01d4d9fc573eb6c2bf /src/client.h
parente8290536d8cba7b10ddc60033b7ca29d8347c266 (diff)
downloadmv-d3e7af659bae3ea4cf1037fca81e071acbab31ec.tar.gz
mv-d3e7af659bae3ea4cf1037fca81e071acbab31ec.tar.bz2
mv-d3e7af659bae3ea4cf1037fca81e071acbab31ec.tar.xz
mv-d3e7af659bae3ea4cf1037fca81e071acbab31ec.zip
Smal refactoring in resize code.
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h
index 29059e83a..5c9dfdaa1 100644
--- a/src/client.h
+++ b/src/client.h
@@ -258,6 +258,9 @@ public:
static std::string getServerName()
{ return instance()->mServerName; }
+ static void resize(int width, int height)
+ { instance()->resizeVideo(width, height); }
+
static void setGuiAlpha(float n);
static float getGuiAlpha();