X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fglobal.h;h=d66f93badd104b65bdc02cba8a1967e479665769;hb=ea7712f342020baf61cf33ba98b12140da6aecf7;hp=33fcd7a44e87f99ea27fbbabb851d4a7af622c91;hpb=db0a3d91f37031e155cc8eac7cfdec9889f233ee;p=architektonas diff --git a/src/global.h b/src/global.h index 33fcd7a..d66f93b 100644 --- a/src/global.h +++ b/src/global.h @@ -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 #include #include "vector.h" class QFont; +enum LineStyle { LSNone, LSSolid, LSDash, LSDot, LSDashDot, LSDashDotDot }; + + class Global { public: @@ -29,11 +33,18 @@ class Global static bool snapToGrid; static bool ignoreClicks; static bool dontMove; + static uint32_t objectID; + static int tool; + static int toolState; - // Coming soon... static Point origin; static double zoom; static Vector screenSize; + + static float scale; + + static int activeLayer; + static bool layerIsLocked; }; #endif // __GLOBALS_H__