diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-10 16:16:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-10 16:16:40 +0300 |
commit | 06ace6f3b67757e09dde16da0f28c0169ed6bc0e (patch) | |
tree | 4e8fb1e1bdfaee00beed090b58954177b3878894 /src/gui/widgets/button.h | |
parent | b2f23e4a4f57a88ee4872d1f5af4cf97ed0d9bed (diff) | |
download | manaverse-06ace6f3b67757e09dde16da0f28c0169ed6bc0e.tar.gz manaverse-06ace6f3b67757e09dde16da0f28c0169ed6bc0e.tar.bz2 manaverse-06ace6f3b67757e09dde16da0f28c0169ed6bc0e.tar.xz manaverse-06ace6f3b67757e09dde16da0f28c0169ed6bc0e.zip |
Improve performance in button drawing.
Diffstat (limited to 'src/gui/widgets/button.h')
-rw-r--r-- | src/gui/widgets/button.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/button.h b/src/gui/widgets/button.h index 9c9dce3cc..e568f8131 100644 --- a/src/gui/widgets/button.h +++ b/src/gui/widgets/button.h @@ -295,7 +295,7 @@ class Button final : public Widget, /** * Holds the spacing between the border and the caption. */ - unsigned int mSpacing; + int mSpacing[BUTTON_COUNT]; int mTag; int mMode; |