4 // Global variable class. Note that all vars are class vars, so we don't have
5 // to do any instantiation shite.
15 enum LineStyle { LSNone, LSSolid, LSDash, LSDot, LSDashDot, LSDashDotDot };
21 static double gridSpacing;
22 static bool selectionInProgress;
23 static QRectF selection;
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 float penWidth;
49 static uint32_t penColor;
52 static Point intersectPoint[16]; // Overkill, yes
53 static double intersectParam[16]; // Ditto
54 static int numIntersectPoints;
55 static int numIntersectParams;
57 static int activeLayer;
59 static std::vector<bool> layerHidden;
60 static std::vector<bool> layerLocked;
61 static std::vector<std::string> layerName;
64 #endif // __GLOBALS_H__