summaryrefslogtreecommitdiff
path: root/src/gui/widgets/button.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-11 16:27:16 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-11 16:27:16 +0300
commitccdaf8cc6f61c322a2308123b03bb91f9ca68ee9 (patch)
treea4fbc02d8259aa19eed4fc8f95c1ea249085bda4 /src/gui/widgets/button.h
parent9d335ffd1651b5fb7bf71ca49fabba80c9099739 (diff)
downloadmanaplus-ccdaf8cc6f61c322a2308123b03bb91f9ca68ee9.tar.gz
manaplus-ccdaf8cc6f61c322a2308123b03bb91f9ca68ee9.tar.bz2
manaplus-ccdaf8cc6f61c322a2308123b03bb91f9ca68ee9.tar.xz
manaplus-ccdaf8cc6f61c322a2308123b03bb91f9ca68ee9.zip
Add new colors for button theming.
New colors: BUTTON_PRESSED and BUTTON_HIGHLIGHTED.
Diffstat (limited to 'src/gui/widgets/button.h')
-rw-r--r--src/gui/widgets/button.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/button.h b/src/gui/widgets/button.h
index e3ff82f0f..f57e9a7cd 100644
--- a/src/gui/widgets/button.h
+++ b/src/gui/widgets/button.h
@@ -143,6 +143,8 @@ class Button : public gcn::Button, public gcn::WidgetListener
int mYOffset;
gcn::Color mEnabledColor;
gcn::Color mDisabledColor;
+ gcn::Color mHighlightedColor;
+ gcn::Color mPressedColor;
Image **mImages;
ImageSet *mImageSet;
int mImageWidth;