]> Shamusworld >> Repos - architektonas/blob - src/global.cpp
be2f219bcda8257c32fff40d50177ba720351c9a
[architektonas] / src / global.cpp
1 //
2 // This page intentionally left (mostly) blank
3 //
4
5 #include <QFont>
6 #include "global.h"
7
8 // Initialize static variables
9
10 bool Global::fixedAngle = false;
11 bool Global::fixedLength = false;
12 QFont * Global::font = 0;
13 int Global::viewportHeight = 0;
14 bool Global::deleteActive = false;
15 bool Global::dimensionActive = false;
16 bool Global::snapToGrid = true;
17 //snapToPoints all well here?
18 bool Global::ignoreClicks = false;
19 bool Global::dontMove = false;
20 bool Global::selectionInProgress = false;
21 QRectF Global::selection;
22 double Global::gridSpacing;
23 int Global::currentLayer = 0;
24 Point Global::snapPoint;
25 bool Global::snapPointIsValid = false;
26 uint32_t Global::objectID = 1;
27
28 Vector Global::origin(-10.0, -10.0);
29 double Global::zoom = 1.0;
30 Vector Global::screenSize(200.0, 200.0);
31
32 float Global::scale = 0.5;