X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=blobdiff_plain;f=source%2FTools%2Fbitmapcode.cpp;fp=source%2Ftools%2Fbitmapcode.cpp;h=09cfed0532caea03e8a0ee05c015ed0cf6b4da06;hp=4425062ac1f57b717660f6118facd0df6afe96a2;hb=HEAD;hpb=13af7e459ddcc361e62927972f493ca657592874 diff --git a/source/tools/bitmapcode.cpp b/source/Tools/bitmapcode.cpp similarity index 95% rename from source/tools/bitmapcode.cpp rename to source/Tools/bitmapcode.cpp index 4425062..09cfed0 100644 --- a/source/tools/bitmapcode.cpp +++ b/source/Tools/bitmapcode.cpp @@ -1,6 +1,6 @@ // bitmapcode.cpp - Bitmap code helper. // -// (c) 2012-2015 Xestia Software Development. +// (c) 2012-2021 Xestia Software Development. // // This file is part of Xestia Address Book. // @@ -286,11 +286,10 @@ int main(int argc, char *argv[]) // Check if completed file exists before doing anything // else and write an error message if it does exist. - if (wxFileExists(wxT("bitmapsdone"))){ + if (wxFileExists(wxT("BitmapsDone"))){ std::cout << "Bitmap files have already been generated!" << std::endl << std::endl; - std::cout << "To regenerate the files simply delete the bitmapsdone file where this helper application is run." << std::endl; - + std::cout << "To regenerate the files simply delete the BitmapsDone file where this helper application is run." << std::endl; return 0; @@ -318,12 +317,12 @@ int main(int argc, char *argv[]) #elif defined(__WIN32__) BitmapHeaderFilename.Append(BitmapDirName); - BitmapHeaderFilename.Append(wxT("\\..\\bitmaps.h")); + BitmapHeaderFilename.Append(wxT("\\..\\Bitmaps.h")); #else BitmapHeaderFilename.Append(BitmapDirName); - BitmapHeaderFilename.Append(wxT("/../bitmaps.h")); + BitmapHeaderFilename.Append(wxT("/../Bitmaps.h")); #endif @@ -486,12 +485,12 @@ int main(int argc, char *argv[]) #elif defined(__WIN32__) - finalhppfile << "#include \"bitmaps\\" << DirNameSplit.ToStdString() << + finalhppfile << "#include \"Bitmaps\\" << DirNameSplit.ToStdString() << ".h\"" << endl; #else - finalhppfile << "#include \"bitmaps/" << DirNameSplit.ToStdString() << + finalhppfile << "#include \"Bitmaps/" << DirNameSplit.ToStdString() << ".h\"" << endl; #endif @@ -514,8 +513,8 @@ int main(int argc, char *argv[]) fstream bitmapflag; - bitmapflag.open("bitmapsdone", ios::out | ios::trunc); - bitmapflag << "Bitmaps as code generated. To recreate, simply delete this file and run the bitmap code generation tool again." << endl; + bitmapflag.open("BitmapsDone", ios::out | ios::trunc); + bitmapflag << "Bitmaps as code generated. To recreate, simply delete the BitmapsDone file and run the bitmap code generation tool again." << endl; bitmapflag.close(); return 0;