diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 16:59:06 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 16:59:06 +0200 |
commit | 4046be06720932a57a0f49416b0144b2858824d0 (patch) | |
tree | 678c37cab05960f48923a23bb46d9e01be89d35a /library/resources.h | |
parent | 1.19 (diff) | |
download | FreeFileSync-4046be06720932a57a0f49416b0144b2858824d0.tar.gz FreeFileSync-4046be06720932a57a0f49416b0144b2858824d0.tar.bz2 FreeFileSync-4046be06720932a57a0f49416b0144b2858824d0.zip |
2.0
Diffstat (limited to 'library/resources.h')
-rw-r--r-- | library/resources.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/library/resources.h b/library/resources.h index 60b4ab48..1ce7d20e 100644 --- a/library/resources.h +++ b/library/resources.h @@ -10,16 +10,7 @@ class GlobalResources { public: - GlobalResources(); - ~GlobalResources(); - - void load(); - - static const wxChar FILE_NAME_SEPARATOR; - - //language dependent global variables: need to be initialized by CustomLocale on program startup and language switch - static const wxChar* DECIMAL_POINT; - static const wxChar* THOUSANDS_SEPARATOR; + static const GlobalResources& getInstance(); //image resource objects wxBitmap* bitmapArrowLeft; @@ -41,6 +32,7 @@ public: wxBitmap* bitmapSync; wxBitmap* bitmapSyncDisabled; wxBitmap* bitmapSwap; + wxBitmap* bitmapSwapSmall; wxBitmap* bitmapHelp; wxBitmap* bitmapLeftOnly; wxBitmap* bitmapLeftOnlyAct; @@ -66,6 +58,7 @@ public: wxBitmap* bitmapExclude; wxBitmap* bitmapFilterOn; wxBitmap* bitmapFilterOff; + wxBitmap* bitmapFilterSmall; wxBitmap* bitmapWarning; wxBitmap* bitmapWarningSmall; wxBitmap* bitmapError; @@ -123,6 +116,7 @@ public: wxBitmap* bitmapBrazil; wxBitmap* bitmapSlovakia; wxBitmap* bitmapSpain; + wxBitmap* bitmapRussia; wxBitmap* bitmapSyncDirLeftAct; wxBitmap* bitmapSyncDirLeftDeact; wxBitmap* bitmapSyncDirRightAct; @@ -132,6 +126,10 @@ public: wxBitmap* bitmapSyncDirLeftSmall; wxBitmap* bitmapSyncDirRightSmall; wxBitmap* bitmapSyncDirNoneSmall; + wxBitmap* bitmapCreateLeftSmall; + wxBitmap* bitmapCreateRightSmall; + wxBitmap* bitmapDeleteLeftSmall; + wxBitmap* bitmapDeleteRightSmall; wxBitmap* bitmapLeftOnlySmall; wxBitmap* bitmapRightOnlySmall; wxBitmap* bitmapLeftNewerSmall; @@ -143,8 +141,8 @@ public: wxBitmap* bitmapUpdate; wxBitmap* bitmapDelete; wxBitmap* bitmapData; - wxBitmap* bitmapCmpView; - wxBitmap* bitmapSyncView; + wxBitmap* bitmapCmpViewSmall; + wxBitmap* bitmapSyncViewSmall; wxBitmap* bitmapSwitchViewSmall; wxAnimation* animationMoney; @@ -152,12 +150,14 @@ public: wxIcon* programIcon; + void load() const; //loads bitmap resources on program startup: logical const! + private: + GlobalResources(); + ~GlobalResources(); + //resource mapping - std::map<wxString, wxBitmap*> bitmapResource; + mutable std::map<wxString, wxBitmap*> bitmapResource; }; - -extern GlobalResources globalResource; //loads bitmap resources on program startup - #endif // RESOURCES_H_INCLUDED |