diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-01-16 23:49:27 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-01-16 23:49:27 -0500 |
commit | 3f6024ddf213b83cf0c815b68f8ad8de3f3afa44 (patch) | |
tree | c0f172c0d6af12250f20279c4ffff59c4895c47a /components/memberlist.hpp | |
parent | 3a25249a0dc5b8ebbb7039da2af9fefb69fcf04d (diff) | |
download | abaddon-portaudio-3f6024ddf213b83cf0c815b68f8ad8de3f3afa44.tar.gz abaddon-portaudio-3f6024ddf213b83cf0c815b68f8ad8de3f3afa44.zip |
improve image loading a bit (close #6)
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 a3642c9..f19880e 100644 --- a/components/memberlist.hpp +++ b/components/memberlist.hpp @@ -3,6 +3,7 @@ #include <mutex> #include <unordered_map> #include "../discord/discord.hpp" +#include "lazyimage.hpp" class MemberListUserRow : public Gtk::ListBoxRow { public: @@ -14,7 +15,7 @@ public: private: Gtk::EventBox *m_ev; Gtk::Box *m_box; - Gtk::Image *m_avatar; + LazyImage *m_avatar; Gtk::Label *m_label; }; |