diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-13 23:54:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-13 23:54:06 +0300 |
commit | 6065690856ffc750404c9c0940d9a1f3a0cdd42c (patch) | |
tree | 5c9982c794c5631a967436032f9a6d55a0dacd08 /src/gui/socialwindow.h | |
parent | 424ed0b25065cc5ecc4b8464db2581a03189ef60 (diff) | |
download | plus-6065690856ffc750404c9c0940d9a1f3a0cdd42c.tar.gz plus-6065690856ffc750404c9c0940d9a1f3a0cdd42c.tar.bz2 plus-6065690856ffc750404c9c0940d9a1f3a0cdd42c.tar.xz plus-6065690856ffc750404c9c0940d9a1f3a0cdd42c.zip |
Add player/item/other counter in social window.
Diffstat (limited to 'src/gui/socialwindow.h')
-rw-r--r-- | src/gui/socialwindow.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/socialwindow.h b/src/gui/socialwindow.h index b8ed73655..66cb32741 100644 --- a/src/gui/socialwindow.h +++ b/src/gui/socialwindow.h @@ -35,6 +35,7 @@ class Button; class ConfirmDialog; class CreatePopup; class Guild; +class Label; class Map; class NavigateTab; class Party; @@ -90,6 +91,8 @@ public: void updatePortalNames(); + void updateParty(); + int getPortalIndex(const int x, const int y) A_WARN_UNUSED; void addPortal(const int x, const int y); @@ -120,6 +123,10 @@ public: void widgetResized(const gcn::Event &event) override; + void setCounter(const SocialTab *const tab, const std::string &str); + + void updateGuildCounter(const int online = 0, const int total = 0); + #ifdef USE_PROFILER void logicChildren(); #endif @@ -154,6 +161,7 @@ protected: Button *mCreateButton; Button *mInviteButton; Button *mLeaveButton; + Label *mCountLabel; TabbedArea *mTabs; Map *mMap; |