X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fglobal.h;h=4f4d46a118cded8012d3506283fc217ea7987848;hb=0e8f4edf80206248f0ad87a966d69d9ec9da3d2f;hp=a98b9ac815436b270ed668fad87d3b4d7b5f581e;hpb=84afe881653a02a16b19d4da37435b8701b1a826;p=architektonas diff --git a/src/global.h b/src/global.h index a98b9ac..4f4d46a 100644 --- a/src/global.h +++ b/src/global.h @@ -5,11 +5,15 @@ // to do any instantiation shite. #include +#include #include #include "vector.h" class QFont; +enum LineStyle { LSNone, LSSolid, LSDash, LSDot, LSDashDot, LSDashDotDot }; + + class Global { public: @@ -31,11 +35,29 @@ class Global static bool ignoreClicks; static bool dontMove; static uint32_t objectID; + static int tool; + static int toolState; - // Coming soon... static Point origin; static double zoom; static Vector screenSize; + + 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 layerHidden; + static std::vector layerLocked; }; #endif // __GLOBALS_H__