summaryrefslogtreecommitdiff
path: root/src/render/graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-29 00:55:06 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-29 00:55:06 +0300
commitdbc30204cae020ff0be41fb8f20bbb3a531686b3 (patch)
tree844ffa7b47c576ca93631020665a92af08603c25 /src/render/graphics.h
parentb9b358dc0d5c268a923c3a961ac8c072ccc691cf (diff)
downloadmanaplus-dbc30204cae020ff0be41fb8f20bbb3a531686b3.tar.gz
manaplus-dbc30204cae020ff0be41fb8f20bbb3a531686b3.tar.bz2
manaplus-dbc30204cae020ff0be41fb8f20bbb3a531686b3.tar.xz
manaplus-dbc30204cae020ff0be41fb8f20bbb3a531686b3.zip
allow apply scale without client restart.
Diffstat (limited to 'src/render/graphics.h')
-rw-r--r--src/render/graphics.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/render/graphics.h b/src/render/graphics.h
index adf1b97c4..0cb510195 100644
--- a/src/render/graphics.h
+++ b/src/render/graphics.h
@@ -348,9 +348,11 @@ class Graphics : public gcn::Graphics
int getScale() const
{ return mScale; }
- virtual bool allowScale() const
+ virtual bool isAllowScale() const
{ return false; }
+ void setScale(int scale);
+
int mWidth;
int mHeight;
int mActualWidth;