diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-19 23:56:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-20 13:55:42 +0300 |
commit | d59cd9111c1e86b224ea62cc975c49b157e2b3cf (patch) | |
tree | d7186479633c0269573e92b5a5213d04b84b3995 /src/net/ea/gui | |
parent | 71d2b482d84246b8456ea863f94a9a766d33f197 (diff) | |
download | manaverse-d59cd9111c1e86b224ea62cc975c49b157e2b3cf.tar.gz manaverse-d59cd9111c1e86b224ea62cc975c49b157e2b3cf.tar.bz2 manaverse-d59cd9111c1e86b224ea62cc975c49b157e2b3cf.tar.xz manaverse-d59cd9111c1e86b224ea62cc975c49b157e2b3cf.zip |
Add to some controls palette inheritance from other controls.
Diffstat (limited to 'src/net/ea/gui')
-rw-r--r-- | src/net/ea/gui/guildtab.cpp | 4 | ||||
-rw-r--r-- | src/net/ea/gui/guildtab.h | 2 | ||||
-rw-r--r-- | src/net/ea/gui/partytab.cpp | 4 | ||||
-rw-r--r-- | src/net/ea/gui/partytab.h | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/src/net/ea/gui/guildtab.cpp b/src/net/ea/gui/guildtab.cpp index 4726742da..6ec3d7167 100644 --- a/src/net/ea/gui/guildtab.cpp +++ b/src/net/ea/gui/guildtab.cpp @@ -45,8 +45,8 @@ namespace Ea { extern Guild *taGuild; -GuildTab::GuildTab() : - ChatTab(_("Guild")) +GuildTab::GuildTab(const Widget2 *const widget) : + ChatTab(widget, _("Guild")) { setTabColor(&getThemeColor(Theme::GUILD_CHAT_TAB)); setHighlightedTabColor(&getThemeColor(Theme::GUILD_CHAT_TAB_HIGHLIGHTED)); diff --git a/src/net/ea/gui/guildtab.h b/src/net/ea/gui/guildtab.h index 58f94e4d3..b100edf07 100644 --- a/src/net/ea/gui/guildtab.h +++ b/src/net/ea/gui/guildtab.h @@ -34,7 +34,7 @@ namespace Ea class GuildTab : public ChatTab { public: - GuildTab(); + GuildTab(const Widget2 *const widget); A_DELETE_COPY(GuildTab) diff --git a/src/net/ea/gui/partytab.cpp b/src/net/ea/gui/partytab.cpp index 11c1086cb..2c97c8cc4 100644 --- a/src/net/ea/gui/partytab.cpp +++ b/src/net/ea/gui/partytab.cpp @@ -45,8 +45,8 @@ namespace Ea { -PartyTab::PartyTab() : - ChatTab(_("Party")) +PartyTab::PartyTab(const Widget2 *const widget) : + ChatTab(widget, _("Party")) { setTabColor(&getThemeColor(Theme::PARTY_CHAT_TAB)); setHighlightedTabColor(&getThemeColor(Theme::PARTY_CHAT_TAB_HIGHLIGHTED)); diff --git a/src/net/ea/gui/partytab.h b/src/net/ea/gui/partytab.h index 8104217ee..1b6b84de7 100644 --- a/src/net/ea/gui/partytab.h +++ b/src/net/ea/gui/partytab.h @@ -34,7 +34,7 @@ namespace Ea class PartyTab : public ChatTab { public: - PartyTab(); + PartyTab(const Widget2 *const widget); A_DELETE_COPY(PartyTab) |