diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 16:53:07 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 16:53:07 +0200 |
commit | 583d6a1fd6701e3d42c87285265b0b4f7657ab7c (patch) | |
tree | 78461dd1a74685252eef77b8e7d3b622d1be67ea /library/resources.cpp | |
parent | 1.9 (diff) | |
download | FreeFileSync-583d6a1fd6701e3d42c87285265b0b4f7657ab7c.tar.gz FreeFileSync-583d6a1fd6701e3d42c87285265b0b4f7657ab7c.tar.bz2 FreeFileSync-583d6a1fd6701e3d42c87285265b0b4f7657ab7c.zip |
1.10
Diffstat (limited to 'library/resources.cpp')
-rw-r--r-- | library/resources.cpp | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/library/resources.cpp b/library/resources.cpp index 6e5feaf7..d2dc36e8 100644 --- a/library/resources.cpp +++ b/library/resources.cpp @@ -19,8 +19,8 @@ const wxChar* GlobalResources::thousandsSeparator = wxEmptyString; //command line parameters -const wxChar* GlobalResources::paramCompare = wxT("cmp"); -const wxChar* GlobalResources::paramCfg = wxT("cfg"); +const wxChar* GlobalResources::paramCompare = wxT("comp"); +const wxChar* GlobalResources::paramSync = wxT("sync"); const wxChar* GlobalResources::paramInclude = wxT("incl"); const wxChar* GlobalResources::paramExclude = wxT("excl"); const wxChar* GlobalResources::paramContinueError = wxT("continue"); @@ -33,12 +33,15 @@ const wxChar* GlobalResources::valueContent = wxT("CONTENT"); map<wxString, wxBitmap*> GlobalResources::bitmapResource; -wxBitmap* GlobalResources::bitmapLeftArrow = 0; -wxBitmap* GlobalResources::bitmapRightArrow = 0; -wxBitmap* GlobalResources::bitmapNoArrow = 0; +wxBitmap* GlobalResources::bitmapArrowLeft = 0; +wxBitmap* GlobalResources::bitmapArrowRight = 0; +wxBitmap* GlobalResources::bitmapArrowLeftCr = 0; +wxBitmap* GlobalResources::bitmapArrowRightCr = 0; +wxBitmap* GlobalResources::bitmapArrowNone = 0; wxBitmap* GlobalResources::bitmapStartSync = 0; wxBitmap* GlobalResources::bitmapStartSyncDis = 0; -wxBitmap* GlobalResources::bitmapDelete = 0; +wxBitmap* GlobalResources::bitmapDeleteLeft = 0; +wxBitmap* GlobalResources::bitmapDeleteRight = 0; wxBitmap* GlobalResources::bitmapEmail = 0; wxBitmap* GlobalResources::bitmapAbout = 0; wxBitmap* GlobalResources::bitmapWebsite = 0; @@ -90,12 +93,15 @@ wxIcon* GlobalResources::programIcon = 0; void GlobalResources::loadResourceFiles() { //map, allocate and initialize pictures - bitmapResource[wxT("left arrow.png")] = (bitmapLeftArrow = new wxBitmap(wxNullBitmap)); - bitmapResource[wxT("right arrow.png")] = (bitmapRightArrow = new wxBitmap(wxNullBitmap)); - bitmapResource[wxT("no arrow.png")] = (bitmapNoArrow = new wxBitmap(wxNullBitmap)); + bitmapResource[wxT("left arrow.png")] = (bitmapArrowLeft = new wxBitmap(wxNullBitmap)); + bitmapResource[wxT("right arrow.png")] = (bitmapArrowRight = new wxBitmap(wxNullBitmap)); + bitmapResource[wxT("left arrow create.png")] = (bitmapArrowLeftCr = new wxBitmap(wxNullBitmap)); + bitmapResource[wxT("right arrow create.png")]= (bitmapArrowRightCr = new wxBitmap(wxNullBitmap)); + bitmapResource[wxT("no arrow.png")] = (bitmapArrowNone = new wxBitmap(wxNullBitmap)); bitmapResource[wxT("start sync.png")] = (bitmapStartSync = new wxBitmap(wxNullBitmap)); bitmapResource[wxT("start sync dis.png")] = (bitmapStartSyncDis = new wxBitmap(wxNullBitmap)); - bitmapResource[wxT("delete.png")] = (bitmapDelete = new wxBitmap(wxNullBitmap)); + bitmapResource[wxT("left delete.png")] = (bitmapDeleteLeft = new wxBitmap(wxNullBitmap)); + bitmapResource[wxT("right delete.png")] = (bitmapDeleteRight = new wxBitmap(wxNullBitmap)); bitmapResource[wxT("email.png")] = (bitmapEmail = new wxBitmap(wxNullBitmap)); bitmapResource[wxT("about.png")] = (bitmapAbout = new wxBitmap(wxNullBitmap)); bitmapResource[wxT("website.png")] = (bitmapWebsite = new wxBitmap(wxNullBitmap)); @@ -163,7 +169,7 @@ void GlobalResources::loadResourceFiles() animationSync->LoadFile(wxT("Resources.a02")); #ifdef FFS_WIN - programIcon = new wxIcon(wxT("winIcon")); + programIcon = new wxIcon(wxT("ffsIcon1")); #else #include "FreeFileSync.xpm" programIcon = new wxIcon(FreeFileSync_xpm); |