summaryrefslogtreecommitdiff
path: root/imgmanager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'imgmanager.hpp')
-rw-r--r--imgmanager.hpp1
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;