]> Shamusworld >> Repos - architektonas/blobdiff - src/global.h
Fix grouping on layers other than 0 from disappearing.
[architektonas] / src / global.h
index 6495524d05022ce6502e8fd7f6bd29ff8ad07d04..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;
@@ -44,10 +44,21 @@ class Global
 
                static float scale;
 
+               static float penWidth;
+               static int penStyle;
+               static uint32_t penColor;
+               static bool penStamp;
+
+               static Point intersectPoint[16]; // Overkill, yes
+               static double intersectParam[16]; // Ditto
+               static int numIntersectPoints;
+               static int numIntersectParams;
+
                static int activeLayer;
                static int numLayers;
                static std::vector<bool> layerHidden;
                static std::vector<bool> layerLocked;
+               static std::vector<std::string> layerName;
 };
 
 #endif // __GLOBALS_H__