summaryrefslogtreecommitdiff
path: root/src/gui/skin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/skin.h')
-rw-r--r--src/gui/skin.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/skin.h b/src/gui/skin.h
index a0b33fe53..74f248e99 100644
--- a/src/gui/skin.h
+++ b/src/gui/skin.h
@@ -70,13 +70,15 @@ class Skin final
/**
* Returns the image used by a close button for this skin.
*/
- const Image *getCloseImage(const bool state) const noexcept2 A_WARN_UNUSED
+ const Image *getCloseImage(const bool state) const
+ noexcept2 A_WARN_UNUSED
{ return state ? mCloseImageHighlighted : mCloseImage; }
/**
* Returns the image used by a sticky button for this skin.
*/
- const Image *getStickyImage(const bool state) const noexcept2 A_WARN_UNUSED
+ const Image *getStickyImage(const bool state) const
+ noexcept2 A_WARN_UNUSED
{ return state ? mStickyImageDown : mStickyImageUp; }
/**