Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Capitalise Bitmaps and Tools directories
[xestiaab/.git] / source / Tools / bitmapcode.cpp
similarity index 95%
rename from source/tools/bitmapcode.cpp
rename to source/Tools/bitmapcode.cpp
index 4425062..09cfed0 100644 (file)
@@ -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;
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy