X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fglobal.h;h=cdcd204e800d153b67ce45eb39f0073b41b3a4e3;hb=c20f82651fdc4dd26172bcb71a85e6eb29eacd43;hp=d66f93badd104b65bdc02cba8a1967e479665769;hpb=ea7712f342020baf61cf33ba98b12140da6aecf7;p=architektonas diff --git a/src/global.h b/src/global.h index d66f93b..cdcd204 100644 --- a/src/global.h +++ b/src/global.h @@ -5,6 +5,8 @@ // to do any instantiation shite. #include +#include +#include #include #include "vector.h" @@ -19,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; @@ -43,8 +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 bool layerIsLocked; + static int numLayers; + static std::vector layerHidden; + static std::vector layerLocked; + static std::vector layerName; }; #endif // __GLOBALS_H__