4 // Global variable class. Note that all vars are class vars, so we don't have
5 // to do any instantiation shite.
14 enum LineStyle { LSNone, LSSolid, LSDash, LSDot, LSDashDot, LSDashDotDot };
20 static double gridSpacing;
21 static bool selectionInProgress;
22 static QRectF selection;
23 static int currentLayer;
25 static Point snapPoint;
26 static bool snapPointIsValid;
28 static bool fixedAngle;
29 static bool fixedLength;
30 static int viewportHeight;
31 static bool deleteActive;
32 static bool dimensionActive;
34 static bool snapToGrid;
35 static bool ignoreClicks;
37 static uint32_t objectID;
43 static Vector screenSize;
47 static Point intersectPoint[16]; // Overkill, yes
48 static double intersectParam[16]; // Ditto
49 static int numIntersectPoints;
50 static int numIntersectParams;
52 static int activeLayer;
54 static std::vector<bool> layerHidden;
55 static std::vector<bool> layerLocked;
58 #endif // __GLOBALS_H__