]> Shamusworld >> Repos - architektonas/blobdiff - src/global.h
Fix grouping on layers other than 0 from disappearing.
[architektonas] / src / global.h
index 4f4d46a118cded8012d3506283fc217ea7987848..cdcd204e800d153b67ce45eb39f0073b41b3a4e3 100644 (file)
@@ -5,6 +5,7 @@
 // to do any instantiation shite.
 
 #include <stdint.h>
+#include <string>
 #include <vector>
 #include <QRectF>
 #include "vector.h"
@@ -20,7 +21,6 @@ class Global
                static double gridSpacing;
                static bool selectionInProgress;
                static QRectF selection;
-               static int currentLayer;
                static QFont * font;
                static Point snapPoint;
                static bool snapPointIsValid;
@@ -58,6 +58,7 @@ class Global
                static int numLayers;
                static std::vector<bool> layerHidden;
                static std::vector<bool> layerLocked;
+               static std::vector<std::string> layerName;
 };
 
 #endif // __GLOBALS_H__