]> Shamusworld >> Repos - architektonas/blobdiff - src/global.h
Layer handling code mostly done; still need to handle layer locking.
[architektonas] / src / global.h
index fb057652e2b3a4956778a610d3d4a9186835df7f..6495524d05022ce6502e8fd7f6bd29ff8ad07d04 100644 (file)
@@ -5,6 +5,7 @@
 // to do any instantiation shite.
 
 #include <stdint.h>
+#include <vector>
 #include <QRectF>
 #include "vector.h"
 
@@ -35,12 +36,18 @@ class Global
                static bool dontMove;
                static uint32_t objectID;
                static int tool;
+               static int toolState;
 
                static Point origin;
                static double zoom;
                static Vector screenSize;
 
                static float scale;
+
+               static int activeLayer;
+               static int numLayers;
+               static std::vector<bool> layerHidden;
+               static std::vector<bool> layerLocked;
 };
 
 #endif // __GLOBALS_H__