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;
24 static int currentLayer;
26 static Point snapPoint;
27 static bool snapPointIsValid;
29 static bool fixedAngle;
30 static bool fixedLength;
31 static int viewportHeight;
32 static bool deleteActive;
33 static bool dimensionActive;
35 static bool snapToGrid;
36 static bool ignoreClicks;
38 static uint32_t objectID;
44 static Vector screenSize;
48 static float penWidth;
50 static uint32_t penColor;
53 static Point intersectPoint[16]; // Overkill, yes
54 static double intersectParam[16]; // Ditto
55 static int numIntersectPoints;
56 static int numIntersectParams;
58 static int activeLayer;
60 static std::vector<bool> layerHidden;
61 static std::vector<bool> layerLocked;
62 static std::vector<std::string> layerName;
65 #endif // __GLOBALS_H__