diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:23:19 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:23:19 +0200 |
commit | 0887aee8c54d0ed51bb2031431e2bcdafebb4c6e (patch) | |
tree | 69537ceb9787bb25ac363cc4e6cdaf0804d78363 /lib/icon_buffer.h | |
parent | 5.12 (diff) | |
download | FreeFileSync-0887aee8c54d0ed51bb2031431e2bcdafebb4c6e.tar.gz FreeFileSync-0887aee8c54d0ed51bb2031431e2bcdafebb4c6e.tar.bz2 FreeFileSync-0887aee8c54d0ed51bb2031431e2bcdafebb4c6e.zip |
5.13
Diffstat (limited to 'lib/icon_buffer.h')
-rw-r--r-- | lib/icon_buffer.h | 6 |
1 files changed, 4 insertions, 2 deletions
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 <memory> +#include <wx/bitmap.h> #include <wx/icon.h> #include <zen/zstring.h> @@ -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<Zstring>& load); //(re-)set new workload of icons to be retrieved; |