summaryrefslogtreecommitdiff
path: root/src/gui/theme.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-07 19:22:02 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-07 21:38:21 +0300
commite7d34cc22d3bfd0dd44b014af1bd5fdc891141aa (patch)
treef7fa5a490a99cd4c08d051f44154d5d0e4d26222 /src/gui/theme.h
parentffeffa2314dbe03e0ced58e0c465760b54908690 (diff)
downloadmanaverse-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.tar.gz
manaverse-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.tar.bz2
manaverse-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.tar.xz
manaverse-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.zip
fix more style, add consts.
Diffstat (limited to 'src/gui/theme.h')
-rw-r--r--src/gui/theme.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/theme.h b/src/gui/theme.h
index 223716057..7914c9c26 100644
--- a/src/gui/theme.h
+++ b/src/gui/theme.h
@@ -76,19 +76,19 @@ class Skin final
/**
* Returns the background skin.
*/
- ImageRect &getBorder() const A_WARN_UNUSED
+ const ImageRect &getBorder() const A_WARN_UNUSED
{ return *mBorder; }
/**
* Returns the image used by a close button for this skin.
*/
- Image *getCloseImage(const bool state) const A_WARN_UNUSED
+ const Image *getCloseImage(const bool state) const A_WARN_UNUSED
{ return state ? mCloseImageHighlighted : mCloseImage; }
/**
* Returns the image used by a sticky button for this skin.
*/
- Image *getStickyImage(const bool state) const A_WARN_UNUSED
+ const Image *getStickyImage(const bool state) const A_WARN_UNUSED
{ return state ? mStickyImageDown : mStickyImageUp; }
/**