2 // This page intentionally left (mostly) blank
8 #include "toolwindow.h"
10 // Initialize static variables
12 bool Global::fixedAngle = false;
13 bool Global::fixedLength = false;
14 QFont * Global::font = 0;
15 int Global::viewportHeight = 0;
17 bool Global::deleteActive = false;
18 bool Global::dimensionActive = false;
19 bool Global::snapToGrid = true;
21 //snapToPoints all well here?
22 bool Global::ignoreClicks = false;
23 bool Global::dontMove = false;
24 bool Global::selectionInProgress = false;
25 QRectF Global::selection;
27 int Global::tool = TOOLSelect;
28 //int Global::toolState = TSNone;
30 double Global::gridSpacing;
31 int Global::currentLayer = 0;
32 Point Global::snapPoint;
33 bool Global::snapPointIsValid = false;
34 uint32_t Global::objectID = 1;
36 Vector Global::origin(-10.0, -10.0);
37 double Global::zoom = 1.0;
38 Vector Global::screenSize(200.0, 200.0);
40 float Global::scale = 0.5;
42 Point Global::intersectPoint[16]; // Overkill, yes
43 double Global::intersectParam[16]; // Ditto
44 int Global::numIntersectPoints = 0;
45 int Global::numIntersectParams = 0;
47 int Global::activeLayer = 0;
48 int Global::numLayers = 1;
49 std::vector<bool> Global::layerHidden;
50 std::vector<bool> Global::layerLocked;
52 CharWindow * Global::charWnd = 0;
53 MainWindow * Global::mainWindow = 0;