diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-09-12 19:35:24 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-09-12 19:35:24 -0400 |
commit | 2822add5fe791a120c160e188cecac7ce29d9961 (patch) | |
tree | 8477cbfcca9fd7db802685229e591b6a43753aa2 /imgmanager.hpp | |
parent | e68f8ef8f45987ab0caa5a05d53980a3556547f3 (diff) | |
download | abaddon-portaudio-2822add5fe791a120c160e188cecac7ce29d9961.tar.gz abaddon-portaudio-2822add5fe791a120c160e188cecac7ce29d9961.zip |
some refactorage and add avatars to member list
Diffstat (limited to 'imgmanager.hpp')
-rw-r--r-- | imgmanager.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/imgmanager.hpp b/imgmanager.hpp index 80262a8..9001500 100644 --- a/imgmanager.hpp +++ b/imgmanager.hpp @@ -10,6 +10,7 @@ public: Cache &GetCache(); void LoadFromURL(std::string url, std::function<void(Glib::RefPtr<Gdk::Pixbuf>)> cb); Glib::RefPtr<Gdk::Pixbuf> GetFromURLIfCached(std::string url); + Glib::RefPtr<Gdk::Pixbuf> GetPlaceholder(int size); private: std::unordered_map<std::string, Glib::RefPtr<Gdk::Pixbuf>> m_pixs; |