From 0887aee8c54d0ed51bb2031431e2bcdafebb4c6e Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:23:19 +0200 Subject: 5.13 --- lib/icon_buffer.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/icon_buffer.h') diff --git a/lib/icon_buffer.h b/lib/icon_buffer.h index 75bf54c8..ba34faa2 100644 --- a/lib/icon_buffer.h +++ b/lib/icon_buffer.h @@ -8,6 +8,7 @@ #define ICONBUFFER_H_INCLUDED #include +#include #include #include @@ -27,11 +28,12 @@ public: IconBuffer(IconSize sz); ~IconBuffer(); + static int getSize(IconSize icoSize); //*maximum* icon size in pixel + int getSize() const { return getSize(icoSize); } // + const wxIcon& genericFileIcon() { return genFileIcon; } const wxIcon& genericDirIcon () { return genDirIcon; } - int getSize() const; //*maximum* icon size in pixel - bool requestFileIcon(const Zstring& filename, wxIcon* icon = nullptr); //returns false if icon is not in buffer void setWorkload(const std::vector& load); //(re-)set new workload of icons to be retrieved; -- cgit