diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 16:44:25 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 16:44:25 +0200 |
commit | c63d9b438572f06f555e2232a15bd3c46bd10546 (patch) | |
tree | 92f2eca00f2a915078ee979acf26906670d75e5f /ui/Resources.h | |
download | FreeFileSync-c63d9b438572f06f555e2232a15bd3c46bd10546.tar.gz FreeFileSync-c63d9b438572f06f555e2232a15bd3c46bd10546.tar.bz2 FreeFileSync-c63d9b438572f06f555e2232a15bd3c46bd10546.zip |
1.2
Diffstat (limited to 'ui/Resources.h')
-rw-r--r-- | ui/Resources.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/ui/Resources.h b/ui/Resources.h new file mode 100644 index 00000000..fba26f03 --- /dev/null +++ b/ui/Resources.h @@ -0,0 +1,59 @@ +#ifndef RESOURCES_H_INCLUDED +#define RESOURCES_H_INCLUDED + +#include <wx/bitmap.h> +#include <wx/animate.h> +#include <wx/string.h> +#include <map> + +using namespace std; + +class GlobalResources +{ +public: + + static void loadResourceFiles(); + static void unloadResourceFiles(); + + static wxBitmap* bitmapLeftArrow; + static wxBitmap* bitmapStartSync; + static wxBitmap* bitmapRightArrow; + static wxBitmap* bitmapDelete; + static wxBitmap* bitmapEmail; + static wxBitmap* bitmapAbout; + static wxBitmap* bitmapWebsite; + static wxBitmap* bitmapExit; + static wxBitmap* bitmapSync; + static wxBitmap* bitmapCompare; + static wxBitmap* bitmapSyncDisabled; + static wxBitmap* bitmapSwap; + static wxBitmap* bitmapHelp; + static wxBitmap* bitmapLeftOnly; + static wxBitmap* bitmapLeftNewer; + static wxBitmap* bitmapDifferent; + static wxBitmap* bitmapRightNewer; + static wxBitmap* bitmapRightOnly; + static wxBitmap* bitmapLeftOnlyDeact; + static wxBitmap* bitmapLeftNewerDeact; + static wxBitmap* bitmapDifferentDeact; + static wxBitmap* bitmapRightNewerDeact; + static wxBitmap* bitmapRightOnlyDeact; + static wxBitmap* bitmapEqual; + static wxBitmap* bitmapEqualDeact; + static wxBitmap* bitmapInclude; + static wxBitmap* bitmapExclude; + static wxBitmap* bitmapFilterOn; + static wxBitmap* bitmapFilterOff; + static wxBitmap* bitmapWarning; + static wxBitmap* bitmapSmallUp; + static wxBitmap* bitmapSmallDown; + + static wxAnimation* animationMoney; + +private: + //resource mapping + static map<wxString, wxBitmap*> bitmapResource; +}; + + +#endif // RESOURCES_H_INCLUDED |