From 9f2993aaa89a4a837455e78a4e00826a779b036c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 18 Aug 2016 22:05:19 +0300 Subject: Add baic menu into social window menu button. Allow create/leave party or guild. --- src/gui/windows/socialwindow.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/gui/windows/socialwindow.h') diff --git a/src/gui/windows/socialwindow.h b/src/gui/windows/socialwindow.h index b2bd1409f..4c2f82068 100644 --- a/src/gui/windows/socialwindow.h +++ b/src/gui/windows/socialwindow.h @@ -117,7 +117,11 @@ class SocialWindow final : public Window, void widgetResized(const Event &event) override final; - void setCounter(const SocialTab *const tab, const std::string &str); + void updateCounter(const SocialTab *const tab, + const std::string &count); + + void updateMenu(const SocialTab *const tab, + const std::string &menu); void updateGuildCounter(const int online = 0, const int total = 0); @@ -151,7 +155,7 @@ class SocialWindow final : public Window, SocialTab *mNavigation A_NONNULLPOINTER; SocialTab *mFriends A_NONNULLPOINTER; - Button *mCreateButton A_NONNULLPOINTER; + Button *mMenuButton A_NONNULLPOINTER; Label *mCountLabel A_NONNULLPOINTER; TabbedArea *mTabs A_NONNULLPOINTER; Map *mMap; -- cgit v1.2.3-60-g2f50