add menu item to clear image cache

This commit is contained in:
ouwou
2021-01-20 02:26:04 -05:00
parent dda203376d
commit bafd2fa25a
6 changed files with 18 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ public:
using callback_type = sigc::slot<void(Glib::RefPtr<Gdk::Pixbuf>)>;
Cache &GetCache();
void ClearCache();
void LoadFromURL(std::string url, callback_type cb);
// animations need dimensions before loading since there is no (easy) way to scale a PixbufAnimation
void LoadAnimationFromURL(std::string url, int w, int h, callback_anim_type cb);