summaryrefslogtreecommitdiff
path: root/src/gui/windows/socialwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-18 22:05:19 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-18 22:05:19 +0300
commit9f2993aaa89a4a837455e78a4e00826a779b036c (patch)
treec36c593f320c9590a04b0791d1239ae4ebb94f57 /src/gui/windows/socialwindow.h
parent215ce3e68738159ec98056874a4ad86e451418d0 (diff)
downloadplus-9f2993aaa89a4a837455e78a4e00826a779b036c.tar.gz
plus-9f2993aaa89a4a837455e78a4e00826a779b036c.tar.bz2
plus-9f2993aaa89a4a837455e78a4e00826a779b036c.tar.xz
plus-9f2993aaa89a4a837455e78a4e00826a779b036c.zip
Add baic menu into social window menu button.
Allow create/leave party or guild.
Diffstat (limited to 'src/gui/windows/socialwindow.h')
-rw-r--r--src/gui/windows/socialwindow.h8
1 files changed, 6 insertions, 2 deletions
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;