]> Shamusworld >> Repos - architektonas/blobdiff - src/global.cpp
Added 'delete selected objects' functionality back.
[architektonas] / src / global.cpp
index be2f219bcda8257c32fff40d50177ba720351c9a..c52a1ee66474772336d5f29403266b23b66577a5 100644 (file)
@@ -2,8 +2,9 @@
 // This page intentionally left (mostly) blank
 //
 
-#include <QFont>
 #include "global.h"
+#include <QFont>
+#include "structs.h"
 
 // Initialize static variables
 
@@ -11,14 +12,19 @@ bool Global::fixedAngle = false;
 bool Global::fixedLength = false;
 QFont * Global::font = 0;
 int Global::viewportHeight = 0;
+
 bool Global::deleteActive = false;
 bool Global::dimensionActive = false;
 bool Global::snapToGrid = true;
+
 //snapToPoints all well here?
 bool Global::ignoreClicks = false;
 bool Global::dontMove = false;
 bool Global::selectionInProgress = false;
 QRectF Global::selection;
+
+int Global::tool = TTNone;
+
 double Global::gridSpacing;
 int Global::currentLayer = 0;
 Point Global::snapPoint;