X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fglobal.h;h=597ceadf0fa5762cef44c0cb7ff33adb8a68548c;hb=b8bab716d9302fbb04d97679ee499eac781f1b22;hp=cdcd204e800d153b67ce45eb39f0073b41b3a4e3;hpb=97cfdecd62ced6cb1237a9ac6c7cbce2092fde99;p=architektonas diff --git a/src/global.h b/src/global.h index cdcd204..597cead 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 { @@ -37,6 +41,10 @@ class Global static uint32_t objectID; static int tool; static int toolState; + static bool toolSuppressCrosshair; + static double parallelDist; + static int parallelNum; + static int parallelBU; static Point origin; static double zoom; @@ -48,6 +56,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 @@ -56,10 +65,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__ -