summaryrefslogtreecommitdiff
path: root/src/gui/widgets/button.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-10 16:16:40 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-10 16:16:40 +0300
commit06ace6f3b67757e09dde16da0f28c0169ed6bc0e (patch)
tree4e8fb1e1bdfaee00beed090b58954177b3878894 /src/gui/widgets/button.h
parentb2f23e4a4f57a88ee4872d1f5af4cf97ed0d9bed (diff)
downloadplus-06ace6f3b67757e09dde16da0f28c0169ed6bc0e.tar.gz
plus-06ace6f3b67757e09dde16da0f28c0169ed6bc0e.tar.bz2
plus-06ace6f3b67757e09dde16da0f28c0169ed6bc0e.tar.xz
plus-06ace6f3b67757e09dde16da0f28c0169ed6bc0e.zip
Improve performance in button drawing.
Diffstat (limited to 'src/gui/widgets/button.h')
-rw-r--r--src/gui/widgets/button.h2
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;