]> Shamusworld >> Repos - architektonas/blobdiff - src/global.h
Preliminary support for Polylines.
[architektonas] / src / global.h
index 3a18272ccf01dba0d1a0df682af0785ce8f052ed..6418b7f92587bdcec5730ed0fc811f73a38d7dff 100644 (file)
@@ -7,7 +7,7 @@
 #include <stdint.h>
 #include <string>
 #include <vector>
-#include <QRectF>
+#include "rect.h"
 #include "vector.h"
 
 class QFont;
@@ -24,7 +24,7 @@ class Global
        public:
                static double gridSpacing;
                static bool selectionInProgress;
-               static QRectF selection;
+               static Rect selection;
                static QFont * font;
                static Point snapPoint;
                static bool snapPointIsValid;
@@ -41,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;
@@ -67,4 +71,3 @@ class Global
 };
 
 #endif // __GLOBALS_H__
-