diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/serverdialog.cpp | 2 | ||||
-rw-r--r-- | src/gui/theme.cpp | 1 | ||||
-rw-r--r-- | src/gui/theme.h | 1 | ||||
-rw-r--r-- | src/gui/widgets/listbox.cpp | 2 |
4 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp index ed682c487..93f0609ff 100644 --- a/src/gui/serverdialog.cpp +++ b/src/gui/serverdialog.cpp @@ -160,7 +160,7 @@ public: ServersListBox(ServersListModel *const model) : ListBox(model), mHighlightColor(Theme::getThemeColor(Theme::HIGHLIGHT)), - mTextColor(Theme::getThemeColor(Theme::TEXT)), + mTextColor(Theme::getThemeColor(Theme::LISTBOX)), mNotSupportedColor(Theme::getThemeColor( Theme::SERVER_VERSION_NOT_SUPPORTED)) { diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp index e98534da8..bf811d3fb 100644 --- a/src/gui/theme.cpp +++ b/src/gui/theme.cpp @@ -665,6 +665,7 @@ static int readColorType(const std::string &type) "CHECKBOX", "DROPDOWN", "LABEL", + "LISTBOX", "TAB", "PARTY_CHAT_TAB", "PARTY_SOCIAL_TAB", diff --git a/src/gui/theme.h b/src/gui/theme.h index 01f8d1c3f..7705388fb 100644 --- a/src/gui/theme.h +++ b/src/gui/theme.h @@ -173,6 +173,7 @@ class Theme : public Palette, public ConfigListener CHECKBOX, DROPDOWN, LABEL, + LISTBOX, TAB, PARTY_CHAT_TAB, PARTY_SOCIAL_TAB, diff --git a/src/gui/widgets/listbox.cpp b/src/gui/widgets/listbox.cpp index 46067df91..f11632675 100644 --- a/src/gui/widgets/listbox.cpp +++ b/src/gui/widgets/listbox.cpp @@ -45,7 +45,7 @@ ListBox::ListBox(gcn::ListModel *listModel): mHighlightColor(Theme::getThemeColor(Theme::HIGHLIGHT)), mDistributeMousePressed(true) { - setForegroundColor(Theme::getThemeColor(Theme::TEXT)); + setForegroundColor(Theme::getThemeColor(Theme::LISTBOX)); } ListBox::~ListBox() |