summaryrefslogtreecommitdiff
path: root/components/memberlist.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-01-26 02:40:50 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2021-01-26 02:40:50 -0500
commitdabfefafd9c681231f990eccddc771ccf5c2c2e2 (patch)
tree35fc440dbacf8367fa650dde89217b23cf08bf33 /components/memberlist.hpp
parente6c159659d30ca3cc955b9a7f7969f51d87a0bf9 (diff)
downloadabaddon-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.hpp4
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;
};