From dabfefafd9c681231f990eccddc771ccf5c2c2e2 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Tue, 26 Jan 2021 02:40:50 -0500 Subject: show status indicators in member list, change some other shit with presences --- components/memberlist.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'components/memberlist.hpp') 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 #include #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; }; -- cgit v1.2.3