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, 5 insertions, 0 deletions
diff --git a/src/gui/theme.h b/src/gui/theme.h
index 26d4ba99d..1e91b46ce 100644
--- a/src/gui/theme.h
+++ b/src/gui/theme.h
@@ -39,6 +39,8 @@ class Image;
class ImageSet;
class ProgressBar;
+const int THEME_PALETTES = 5;
+
struct ThemeInfo final
{
std::string name;
@@ -294,6 +296,9 @@ class Theme final : public Palette, public ConfigListener
bool &valid)
{ return mInstance->getCharColor(c, valid); }
+ static int getIdByChar(const signed char c, bool &valid)
+ { return mInstance->getIdByChar(c, valid); }
+
static gcn::Color getProgressColor(const int type,
const float progress);