summaryrefslogtreecommitdiff
path: root/src/gui/theme.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/theme.h')
-rw-r--r--src/gui/theme.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/theme.h b/src/gui/theme.h
index 04c355e0f..245289096 100644
--- a/src/gui/theme.h
+++ b/src/gui/theme.h
@@ -72,8 +72,8 @@ class Skin
/**
* Returns the image used by a close button for this skin.
*/
- Image *getCloseImage() const
- { return mCloseImage; }
+ Image *getCloseImage(const bool state) const
+ { return state ? mCloseImageHighlighted : mCloseImage; }
/**
* Returns the image used by a sticky button for this skin.
@@ -117,6 +117,7 @@ class Skin
std::string mName; /**< Name of the skin to use */
ImageRect mBorder; /**< The window border and background */
Image *mCloseImage; /**< Close Button Image */
+ Image *mCloseImageHighlighted; /**< Highlighted close Button Image */
Image *mStickyImageUp; /**< Sticky Button Image */
Image *mStickyImageDown; /**< Sticky Button Image */
int mPadding;