diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-03-04 00:02:37 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-03-04 00:02:37 -0500 |
commit | 9186a4f3f5723989dc07ee5fe2d59aa88f0de552 (patch) | |
tree | 566ffc0067921a9185084c79f2818b82b21868cc /components/memberlist.hpp | |
parent | d6a8b8c33372fe41d9e7f8453d15f491b25680a6 (diff) | |
download | abaddon-portaudio-9186a4f3f5723989dc07ee5fe2d59aa88f0de552.tar.gz abaddon-portaudio-9186a4f3f5723989dc07ee5fe2d59aa88f0de552.zip |
show crown next to owner
Diffstat (limited to 'components/memberlist.hpp')
-rw-r--r-- | components/memberlist.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/memberlist.hpp b/components/memberlist.hpp index 856d73c..5c8fc88 100644 --- a/components/memberlist.hpp +++ b/components/memberlist.hpp @@ -8,7 +8,7 @@ class LazyImage; class StatusIndicator; class MemberListUserRow : public Gtk::ListBoxRow { public: - MemberListUserRow(Snowflake guild_id, const UserData *data); + MemberListUserRow(const GuildData& guild, const UserData *data); Snowflake ID; @@ -18,6 +18,7 @@ private: LazyImage *m_avatar; StatusIndicator *m_status_indicator; Gtk::Label *m_label; + Gtk::Image *m_crown = nullptr; }; class MemberList { |