diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-01-29 00:55:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-01-29 00:55:06 +0300 |
commit | dbc30204cae020ff0be41fb8f20bbb3a531686b3 (patch) | |
tree | 844ffa7b47c576ca93631020665a92af08603c25 /src/render/graphics.h | |
parent | b9b358dc0d5c268a923c3a961ac8c072ccc691cf (diff) | |
download | manaverse-dbc30204cae020ff0be41fb8f20bbb3a531686b3.tar.gz manaverse-dbc30204cae020ff0be41fb8f20bbb3a531686b3.tar.bz2 manaverse-dbc30204cae020ff0be41fb8f20bbb3a531686b3.tar.xz manaverse-dbc30204cae020ff0be41fb8f20bbb3a531686b3.zip |
allow apply scale without client restart.
Diffstat (limited to 'src/render/graphics.h')
-rw-r--r-- | src/render/graphics.h | 4 |
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; |