23 #ifndef GUI_WIDGETS_TABS_SOCIALGUILDTAB2_H
24 #define GUI_WIDGETS_TABS_SOCIALGUILDTAB2_H
45 const Opaque showBackground) :
53 &
getThemeColor(ThemeColorId::GUILD_SOCIAL_TAB_OUTLINE, 255U));
55 ThemeColorId::GUILD_SOCIAL_TAB_HIGHLIGHTED, 255U),
57 ThemeColorId::GUILD_SOCIAL_TAB_HIGHLIGHTED_OUTLINE, 255U));
59 ThemeColorId::GUILD_SOCIAL_TAB_SELECTED, 255U),
61 ThemeColorId::GUILD_SOCIAL_TAB_SELECTED_OUTLINE, 255U));
80 const int total0
A_UNUSED)
override final
92 FOR_EACHP (Guild::MemberList::const_iterator, it, members)
94 if ((*it)->getOnline())
const Guild * getGuild(const std::string &guildName) const
std::vector< GuildMember * > MemberList
SocialGuildTab2(const Widget2 *const widget, Guild *const guild, const Opaque showBackground)
void action(const ActionEvent &event)
void buildCounter(const int online0, const int total0)
void createControls(AvatarListModel *const listModel, const Opaque showBackground)
void updateCounter() const
std::string mCounterString
void setHighlightedTabColor(const Color *const color1, const Color *const color2)
void setTabColor(const Color *const color1, const Color *const color2)
void setCaption(const std::string &caption)
void setSelectedTabColor(const Color *const color1, const Color *const color2)
#define FOR_EACHP(type, iter, array)
#define A_DELETE_COPY(func)
LocalPlayer * localPlayer
std::string strprintf(const char *const format,...)