4 // Global variable class. Note that all vars are class vars, so we don't have
5 // to do any instantiation shite--it's treated as a namespace.
16 enum LineStyle { LSNone, LSSolid, LSDash, LSDot, LSDashDot, LSDashDotDot };
22 static double gridSpacing;
23 static bool selectionInProgress;
24 static QRectF selection;
25 static int currentLayer;
27 static Point snapPoint;
28 static bool snapPointIsValid;
30 static bool fixedAngle;
31 static bool fixedLength;
32 static int viewportHeight;
33 static bool deleteActive;
34 static bool dimensionActive;
36 static bool snapToGrid;
37 static bool ignoreClicks;
39 static uint32_t objectID;
45 static Vector screenSize;
49 static Point intersectPoint[16]; // Overkill, yes
50 static double intersectParam[16]; // Ditto
51 static int numIntersectPoints;
52 static int numIntersectParams;
54 static int activeLayer;
56 static std::vector<bool> layerHidden;
57 static std::vector<bool> layerLocked;
59 static CharWindow * charWnd;
60 static MainWindow * mainWindow;
63 #endif // __GLOBALS_H__