diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-01-26 02:40:50 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-01-26 02:40:50 -0500 |
commit | dabfefafd9c681231f990eccddc771ccf5c2c2e2 (patch) | |
tree | 35fc440dbacf8367fa650dde89217b23cf08bf33 /components/memberlist.hpp | |
parent | e6c159659d30ca3cc955b9a7f7969f51d87a0bf9 (diff) | |
download | abaddon-portaudio-dabfefafd9c681231f990eccddc771ccf5c2c2e2.tar.gz abaddon-portaudio-dabfefafd9c681231f990eccddc771ccf5c2c2e2.zip |
show status indicators in member list, change some other shit with presences
Diffstat (limited to 'components/memberlist.hpp')
-rw-r--r-- | components/memberlist.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/memberlist.hpp b/components/memberlist.hpp index c816b26..856d73c 100644 --- a/components/memberlist.hpp +++ b/components/memberlist.hpp @@ -3,8 +3,9 @@ #include <mutex> #include <unordered_map> #include "../discord/discord.hpp" -#include "lazyimage.hpp" +class LazyImage; +class StatusIndicator; class MemberListUserRow : public Gtk::ListBoxRow { public: MemberListUserRow(Snowflake guild_id, const UserData *data); @@ -15,6 +16,7 @@ private: Gtk::EventBox *m_ev; Gtk::Box *m_box; LazyImage *m_avatar; + StatusIndicator *m_status_indicator; Gtk::Label *m_label; }; |