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/shoplistbox.cpp | 4 | ||||
-rw-r--r-- | src/gui/widgets/textbox.cpp | 2 |
4 files changed, 5 insertions, 3 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp index ce439903b..cc9116cdd 100644 --- a/src/gui/theme.cpp +++ b/src/gui/theme.cpp @@ -668,6 +668,7 @@ static int readColorType(const std::string &type) "LISTBOX", "RADIOBUTTON", "TAB", + "TEXTBOX", "PARTY_CHAT_TAB", "PARTY_SOCIAL_TAB", "GUILD_CHAT_TAB", diff --git a/src/gui/theme.h b/src/gui/theme.h index dcafd75e6..9c89afc84 100644 --- a/src/gui/theme.h +++ b/src/gui/theme.h @@ -176,6 +176,7 @@ class Theme : public Palette, public ConfigListener LISTBOX, RADIOBUTTON, TAB, + TEXTBOX, PARTY_CHAT_TAB, PARTY_SOCIAL_TAB, GUILD_CHAT_TAB, diff --git a/src/gui/widgets/shoplistbox.cpp b/src/gui/widgets/shoplistbox.cpp index 45b385255..2ee60d56f 100644 --- a/src/gui/widgets/shoplistbox.cpp +++ b/src/gui/widgets/shoplistbox.cpp @@ -55,7 +55,7 @@ ShopListBox::ShopListBox(gcn::ListModel *listModel): mBackgroundColor(Theme::getThemeColor(Theme::BACKGROUND)), mWarningColor(Theme::getThemeColor(Theme::SHOP_WARNING)) { - setForegroundColor(Theme::getThemeColor(Theme::TEXT)); + setForegroundColor(Theme::getThemeColor(Theme::LISTBOX)); } ShopListBox::ShopListBox(gcn::ListModel *listModel, ShopItems *shopListModel): @@ -69,7 +69,7 @@ ShopListBox::ShopListBox(gcn::ListModel *listModel, ShopItems *shopListModel): mBackgroundColor(Theme::getThemeColor(Theme::BACKGROUND)), mWarningColor(Theme::getThemeColor(Theme::SHOP_WARNING)) { - setForegroundColor(Theme::getThemeColor(Theme::TEXT)); + setForegroundColor(Theme::getThemeColor(Theme::LISTBOX)); } void ShopListBox::init() diff --git a/src/gui/widgets/textbox.cpp b/src/gui/widgets/textbox.cpp index 048051bb9..06a24c68f 100644 --- a/src/gui/widgets/textbox.cpp +++ b/src/gui/widgets/textbox.cpp @@ -34,7 +34,7 @@ #include "debug.h" TextBox::TextBox() : - mTextColor(&Theme::getThemeColor(Theme::TEXT)) + mTextColor(&Theme::getThemeColor(Theme::TEXTBOX)) { setOpaque(false); setFrameSize(0); |