diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/theme.cpp | 1 | ||||
-rw-r--r-- | src/gui/theme.h | 1 | ||||
-rw-r--r-- | src/gui/widgets/radiobutton.cpp | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp index bf811d3fb..ce439903b 100644 --- a/src/gui/theme.cpp +++ b/src/gui/theme.cpp @@ -666,6 +666,7 @@ static int readColorType(const std::string &type) "DROPDOWN", "LABEL", "LISTBOX", + "RADIOBUTTON", "TAB", "PARTY_CHAT_TAB", "PARTY_SOCIAL_TAB", diff --git a/src/gui/theme.h b/src/gui/theme.h index 7705388fb..dcafd75e6 100644 --- a/src/gui/theme.h +++ b/src/gui/theme.h @@ -174,6 +174,7 @@ class Theme : public Palette, public ConfigListener DROPDOWN, LABEL, LISTBOX, + RADIOBUTTON, TAB, PARTY_CHAT_TAB, PARTY_SOCIAL_TAB, diff --git a/src/gui/widgets/radiobutton.cpp b/src/gui/widgets/radiobutton.cpp index 6a89b3080..7d3c67671 100644 --- a/src/gui/widgets/radiobutton.cpp +++ b/src/gui/widgets/radiobutton.cpp @@ -48,7 +48,7 @@ RadioButton::RadioButton(const std::string &caption, const std::string &group, gcn::RadioButton(caption, group, marked), mHasMouse(false) { - setForegroundColor(Theme::getThemeColor(Theme::TEXT)); + setForegroundColor(Theme::getThemeColor(Theme::RADIOBUTTON)); if (instances == 0) { if (Theme::instance()) |