X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fglobal.h;h=d59155e5a0c0d1e8c8b74c124ef75859e435b202;hb=a398911ea125eb6b25320e96599e0ae39b720cf8;hp=33fcd7a44e87f99ea27fbbabb851d4a7af622c91;hpb=db0a3d91f37031e155cc8eac7cfdec9889f233ee;p=architektonas diff --git a/src/global.h b/src/global.h index 33fcd7a..d59155e 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,15 @@ 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; }; #endif // __GLOBALS_H__