]> Shamusworld >> Repos - architektonas/blobdiff - src/global.h
GUI functionality fixes.
[architektonas] / src / global.h
index cdcd204e800d153b67ce45eb39f0073b41b3a4e3..93ad6f7f9484a23ecdba2b373f60413b587cb37f 100644 (file)
@@ -14,6 +14,10 @@ class QFont;
 
 enum LineStyle { LSNone, LSSolid, LSDash, LSDot, LSDashDot, LSDashDotDot };
 
+typedef std::vector<void *> VPVector;
+typedef std::vector<void *>::iterator VPVectorIter;
+typedef std::vector<bool> BVector;
+typedef std::vector<std::string> SVector;
 
 class Global
 {
@@ -56,9 +60,9 @@ class Global
 
                static int activeLayer;
                static int numLayers;
-               static std::vector<bool> layerHidden;
-               static std::vector<bool> layerLocked;
-               static std::vector<std::string> layerName;
+               static BVector layerHidden;
+               static BVector layerLocked;
+               static SVector layerName;
 };
 
 #endif // __GLOBALS_H__