summaryrefslogtreecommitdiff
path: root/imgmanager.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-01-20 02:26:04 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2021-01-20 02:26:04 -0500
commitbafd2fa25ab4b5e11ab30f2679a8df91caf027bf (patch)
treea6b2c516d1bbf4bc596e1c42a542c02a93de38c2 /imgmanager.hpp
parentdda203376d472daf288f4721644ad14ee11c3a84 (diff)
downloadabaddon-portaudio-bafd2fa25ab4b5e11ab30f2679a8df91caf027bf.tar.gz
abaddon-portaudio-bafd2fa25ab4b5e11ab30f2679a8df91caf027bf.zip
add menu item to clear image cache
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 f665a7b..eb8a590 100644
--- a/imgmanager.hpp
+++ b/imgmanager.hpp
@@ -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);