diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-01-20 02:26:04 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-01-20 02:26:04 -0500 |
commit | bafd2fa25ab4b5e11ab30f2679a8df91caf027bf (patch) | |
tree | a6b2c516d1bbf4bc596e1c42a542c02a93de38c2 /imgmanager.hpp | |
parent | dda203376d472daf288f4721644ad14ee11c3a84 (diff) | |
download | abaddon-portaudio-bafd2fa25ab4b5e11ab30f2679a8df91caf027bf.tar.gz abaddon-portaudio-bafd2fa25ab4b5e11ab30f2679a8df91caf027bf.zip |
add menu item to clear image cache
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 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); |