]> Shamusworld >> Repos - architektonas/blobdiff - src/global.h
Added 'delete selected objects' functionality back.
[architektonas] / src / global.h
index 33fcd7a44e87f99ea27fbbabb851d4a7af622c91..fb057652e2b3a4956778a610d3d4a9186835df7f 100644 (file)
@@ -4,11 +4,15 @@
 // Global variable class. Note that all vars are class vars, so we don't have
 // to do any instantiation shite.
 
+#include <stdint.h>
 #include <QRectF>
 #include "vector.h"
 
 class QFont;
 
+enum LineStyle { LSNone, LSSolid, LSDash, LSDot, LSDashDot, LSDashDotDot };
+
+
 class Global
 {
        public:
@@ -29,11 +33,14 @@ class Global
                static bool snapToGrid;
                static bool ignoreClicks;
                static bool dontMove;
+               static uint32_t objectID;
+               static int tool;
 
-               // Coming soon...
                static Point origin;
                static double zoom;
                static Vector screenSize;
+
+               static float scale;
 };
 
 #endif // __GLOBALS_H__