diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-27 23:13:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-28 00:45:34 +0300 |
commit | d05f3904b05e8af1cd319d75a380b2cce7edf77d (patch) | |
tree | cd29c1f738ac6415cbee8940034a4143f4c72886 /src/net/ea/gui | |
parent | dba24b2e59eb739e73228dbcf707e943905a9e5a (diff) | |
download | manaverse-d05f3904b05e8af1cd319d75a380b2cce7edf77d.tar.gz manaverse-d05f3904b05e8af1cd319d75a380b2cce7edf77d.tar.bz2 manaverse-d05f3904b05e8af1cd319d75a380b2cce7edf77d.tar.xz manaverse-d05f3904b05e8af1cd319d75a380b2cce7edf77d.zip |
Add outlining support to tabs.
Diffstat (limited to 'src/net/ea/gui')
-rw-r--r-- | src/net/ea/gui/guildtab.cpp | 9 | ||||
-rw-r--r-- | src/net/ea/gui/partytab.cpp | 9 |
2 files changed, 12 insertions, 6 deletions
diff --git a/src/net/ea/gui/guildtab.cpp b/src/net/ea/gui/guildtab.cpp index d1aef6b12..fb6128b2f 100644 --- a/src/net/ea/gui/guildtab.cpp +++ b/src/net/ea/gui/guildtab.cpp @@ -45,9 +45,12 @@ extern Guild *taGuild; GuildTab::GuildTab(const Widget2 *const widget) : ChatTab(widget, _("Guild")) { - setTabColor(&getThemeColor(Theme::GUILD_CHAT_TAB)); - setHighlightedTabColor(&getThemeColor(Theme::GUILD_CHAT_TAB_HIGHLIGHTED)); - setSelectedTabColor(&getThemeColor(Theme::GUILD_CHAT_TAB_SELECTED)); + setTabColor(&getThemeColor(Theme::GUILD_CHAT_TAB), + &getThemeColor(Theme::GUILD_CHAT_TAB_OUTLINE)); + setHighlightedTabColor(&getThemeColor(Theme::GUILD_CHAT_TAB_HIGHLIGHTED), + &getThemeColor(Theme::GUILD_CHAT_TAB_HIGHLIGHTED_OUTLINE)); + setSelectedTabColor(&getThemeColor(Theme::GUILD_CHAT_TAB_SELECTED), + &getThemeColor(Theme::GUILD_CHAT_TAB_SELECTED_OUTLINE)); } GuildTab::~GuildTab() diff --git a/src/net/ea/gui/partytab.cpp b/src/net/ea/gui/partytab.cpp index 5a6615038..7ea5f815f 100644 --- a/src/net/ea/gui/partytab.cpp +++ b/src/net/ea/gui/partytab.cpp @@ -46,9 +46,12 @@ namespace Ea PartyTab::PartyTab(const Widget2 *const widget) : ChatTab(widget, _("Party")) { - setTabColor(&getThemeColor(Theme::PARTY_CHAT_TAB)); - setHighlightedTabColor(&getThemeColor(Theme::PARTY_CHAT_TAB_HIGHLIGHTED)); - setSelectedTabColor(&getThemeColor(Theme::PARTY_CHAT_TAB_SELECTED)); + setTabColor(&getThemeColor(Theme::PARTY_CHAT_TAB), + &getThemeColor(Theme::PARTY_CHAT_TAB_OUTLINE)); + setHighlightedTabColor(&getThemeColor(Theme::PARTY_CHAT_TAB_HIGHLIGHTED), + &getThemeColor(Theme::PARTY_CHAT_TAB_HIGHLIGHTED_OUTLINE)); + setSelectedTabColor(&getThemeColor(Theme::PARTY_CHAT_TAB_SELECTED), + &getThemeColor(Theme::PARTY_CHAT_TAB_SELECTED_OUTLINE)); } PartyTab::~PartyTab() |