diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-08 13:47:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-08 13:47:59 +0300 |
commit | 58b4f0bc45f9b866899db035664378969e583b01 (patch) | |
tree | 0b8d06f5837cf062716b60b02ce8382b2c47cd4a /src/net | |
parent | e91282a6213a9809a06cb0cb3deff93e0246fe5b (diff) | |
download | manaplus-58b4f0bc45f9b866899db035664378969e583b01.tar.gz manaplus-58b4f0bc45f9b866899db035664378969e583b01.tar.bz2 manaplus-58b4f0bc45f9b866899db035664378969e583b01.tar.xz manaplus-58b4f0bc45f9b866899db035664378969e583b01.zip |
Add new colors for party and guild tabs.
For party tabs: PARTY_CHAT_TAB_HIGHLIGHTED, PARTY_SOCIAL_TAB_HIGHLIGHTED,
PARTY_CHAT_TAB_SELECTED, PARTY_SOCIAL_TAB_SELECTED
For guild tabs: GUILD_CHAT_TAB_HIGHLIGHTED, GUILD_SOCIAL_TAB_HIGHLIGHTED,
GUILD_CHAT_TAB_SELECTED, GUILD_SOCIAL_TAB_SELECTED
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ea/gui/guildtab.cpp | 4 | ||||
-rw-r--r-- | src/net/ea/gui/partytab.cpp | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/net/ea/gui/guildtab.cpp b/src/net/ea/gui/guildtab.cpp index b41e69418..f48a3a4bf 100644 --- a/src/net/ea/gui/guildtab.cpp +++ b/src/net/ea/gui/guildtab.cpp @@ -49,6 +49,10 @@ GuildTab::GuildTab() : ChatTab(_("Guild")) { setTabColor(&Theme::getThemeColor(Theme::GUILD_CHAT_TAB)); + setHighlightedTabColor(&Theme::getThemeColor( + Theme::GUILD_CHAT_TAB_HIGHLIGHTED)); + setSelectedTabColor(&Theme::getThemeColor( + Theme::GUILD_CHAT_TAB_SELECTED)); } GuildTab::~GuildTab() diff --git a/src/net/ea/gui/partytab.cpp b/src/net/ea/gui/partytab.cpp index 9441f15b3..cc2c653b6 100644 --- a/src/net/ea/gui/partytab.cpp +++ b/src/net/ea/gui/partytab.cpp @@ -49,6 +49,10 @@ PartyTab::PartyTab() : ChatTab(_("Party")) { setTabColor(&Theme::getThemeColor(Theme::PARTY_CHAT_TAB)); + setHighlightedTabColor(&Theme::getThemeColor( + Theme::PARTY_CHAT_TAB_HIGHLIGHTED)); + setSelectedTabColor(&Theme::getThemeColor( + Theme::PARTY_CHAT_TAB_SELECTED)); } PartyTab::~PartyTab() |