From d2854834e18443876c8f75e0a7f3b88d1d549fc4 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:15:39 +0200 Subject: 4.2 --- lib/icon_buffer.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'lib/icon_buffer.h') diff --git a/lib/icon_buffer.h b/lib/icon_buffer.h index be8a02d8..a13ad3cd 100644 --- a/lib/icon_buffer.h +++ b/lib/icon_buffer.h @@ -27,16 +27,14 @@ public: IconBuffer(IconSize sz); ~IconBuffer(); - int getSize() const { return cvrtSize(icoSize); } //*maximum* icon size in pixel - - const wxIcon& genericDirIcon () { return genDirIcon; } 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 = NULL); //returns false if icon is not in buffer void setWorkload(const std::vector& load); //(re-)set new workload of icons to be retrieved; - static int cvrtSize(IconSize sz); - private: struct Pimpl; std::unique_ptr pimpl; -- cgit