X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fglobal.h;h=18faa979093537e3a42e03201362220fa5ed3e56;hb=fce575a51ba1f26418869c20e63b9f388e118ab6;hp=06c04e80d288c688e91826f473b648bf2a207e3d;hpb=790c1a6d97f73f7457c7fad7e82fa29e5b6accd5;p=architektonas diff --git a/src/global.h b/src/global.h index 06c04e8..18faa97 100644 --- a/src/global.h +++ b/src/global.h @@ -14,6 +14,10 @@ class QFont; enum LineStyle { LSNone, LSSolid, LSDash, LSDot, LSDashDot, LSDashDotDot }; +typedef std::vector VPVector; +typedef std::vector::iterator VPVectorIter; +typedef std::vector BVector; +typedef std::vector SVector; class Global { @@ -21,7 +25,6 @@ class Global static double gridSpacing; static bool selectionInProgress; static QRectF selection; - static int currentLayer; static QFont * font; static Point snapPoint; static bool snapPointIsValid; @@ -38,6 +41,7 @@ class Global static uint32_t objectID; static int tool; static int toolState; + static bool toolSuppressCrosshair; static Point origin; static double zoom; @@ -49,6 +53,7 @@ class Global static int penStyle; static uint32_t penColor; static bool penStamp; + static bool penDropper; static Point intersectPoint[16]; // Overkill, yes static double intersectParam[16]; // Ditto @@ -57,10 +62,9 @@ class Global static int activeLayer; static int numLayers; - static std::vector layerHidden; - static std::vector layerLocked; - static std::vector layerName; + static BVector layerHidden; + static BVector layerLocked; + static SVector layerName; }; #endif // __GLOBALS_H__ -