diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:15:39 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:15:39 +0200 |
commit | d2854834e18443876c8f75e0a7f3b88d1d549fc4 (patch) | |
tree | e967b628081e50abc7c34cd264e6586271c7e728 /lib/icon_buffer.h | |
parent | 4.1 (diff) | |
download | FreeFileSync-d2854834e18443876c8f75e0a7f3b88d1d549fc4.tar.gz FreeFileSync-d2854834e18443876c8f75e0a7f3b88d1d549fc4.tar.bz2 FreeFileSync-d2854834e18443876c8f75e0a7f3b88d1d549fc4.zip |
4.2
Diffstat (limited to 'lib/icon_buffer.h')
-rw-r--r-- | lib/icon_buffer.h | 8 |
1 files changed, 3 insertions, 5 deletions
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<Zstring>& load); //(re-)set new workload of icons to be retrieved; - static int cvrtSize(IconSize sz); - private: struct Pimpl; std::unique_ptr<Pimpl> pimpl; |