summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/theme.cpp1
-rw-r--r--src/gui/theme.h1
-rw-r--r--src/gui/widgets/label.cpp4
3 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp
index 440c4ccf9..e98534da8 100644
--- a/src/gui/theme.cpp
+++ b/src/gui/theme.cpp
@@ -664,6 +664,7 @@ static int readColorType(const std::string &type)
"BUTTON_DISABLED",
"CHECKBOX",
"DROPDOWN",
+ "LABEL",
"TAB",
"PARTY_CHAT_TAB",
"PARTY_SOCIAL_TAB",
diff --git a/src/gui/theme.h b/src/gui/theme.h
index 5e478a433..01f8d1c3f 100644
--- a/src/gui/theme.h
+++ b/src/gui/theme.h
@@ -172,6 +172,7 @@ class Theme : public Palette, public ConfigListener
BUTTON_DISABLED,
CHECKBOX,
DROPDOWN,
+ LABEL,
TAB,
PARTY_CHAT_TAB,
PARTY_SOCIAL_TAB,
diff --git a/src/gui/widgets/label.cpp b/src/gui/widgets/label.cpp
index dde7ddca3..c0d708975 100644
--- a/src/gui/widgets/label.cpp
+++ b/src/gui/widgets/label.cpp
@@ -27,13 +27,13 @@
Label::Label()
{
- setForegroundColor(Theme::getThemeColor(Theme::TEXT));
+ setForegroundColor(Theme::getThemeColor(Theme::LABEL));
}
Label::Label(const std::string &caption) :
gcn::Label(caption)
{
- setForegroundColor(Theme::getThemeColor(Theme::TEXT));
+ setForegroundColor(Theme::getThemeColor(Theme::LABEL));
}
void Label::draw(gcn::Graphics *graphics)