]> Shamusworld >> Repos - architektonas/blobdiff - src/global.h
Added miscellaneous features.
[architektonas] / src / global.h
index d66f93badd104b65bdc02cba8a1967e479665769..4f4d46a118cded8012d3506283fc217ea7987848 100644 (file)
@@ -5,6 +5,7 @@
 // to do any instantiation shite.
 
 #include <stdint.h>
+#include <vector>
 #include <QRectF>
 #include "vector.h"
 
@@ -43,8 +44,20 @@ 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 bool layerIsLocked;
+               static int numLayers;
+               static std::vector<bool> layerHidden;
+               static std::vector<bool> layerLocked;
 };
 
 #endif // __GLOBALS_H__