diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/palette.cpp | 2 | ||||
-rw-r--r-- | src/gui/palette.h | 2 | ||||
-rw-r--r-- | src/gui/theme.h | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/palette.cpp b/src/gui/palette.cpp index 558a977b5..092a0daae 100644 --- a/src/gui/palette.cpp +++ b/src/gui/palette.cpp @@ -64,7 +64,7 @@ Palette::~Palette() mInstances.erase(this); } -const gcn::Color& Palette::getColor(const signed char c, bool &valid) +const gcn::Color& Palette::getCharColor(const signed char c, bool &valid) { const CharColors::const_iterator it = mCharColors.find(c); if (it != mCharColors.end()) diff --git a/src/gui/palette.h b/src/gui/palette.h index ed9b14e22..51c60cb8f 100644 --- a/src/gui/palette.h +++ b/src/gui/palette.h @@ -67,7 +67,7 @@ class Palette * * @return the requested color or Palette::BLACK */ - const gcn::Color &getColor(const signed char c, bool &valid); + const gcn::Color &getCharColor(const signed char c, bool &valid); /** * Gets the color associated with the type. Sets the alpha channel diff --git a/src/gui/theme.h b/src/gui/theme.h index 680fe63bd..26d4ba99d 100644 --- a/src/gui/theme.h +++ b/src/gui/theme.h @@ -290,9 +290,9 @@ class Theme final : public Palette, public ConfigListener const int alpha = 255) { return mInstance->getColor(type, alpha); } - static const gcn::Color &getThemeColor(const signed char c, + static const gcn::Color &getThemeCharColor(const signed char c, bool &valid) - { return mInstance->getColor(c, valid); } + { return mInstance->getCharColor(c, valid); } static gcn::Color getProgressColor(const int type, const float progress); |