X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fobject.h;h=ff29e1f7618328b5fa7689efc95c4ec6a6221b51;hb=7f3a6b11585376eecd80979ec3da2346c5314d88;hp=f7d5d7c0a493b02c31d07070ef7bcdcc511e0baf;hpb=8a5bf49d09b5a00ebea3ffc449519ad05b0326cc;p=architektonas diff --git a/src/object.h b/src/object.h index f7d5d7c..ff29e1f 100644 --- a/src/object.h +++ b/src/object.h @@ -13,7 +13,7 @@ class Dimension; //class FILE; enum ObjectState { OSInactive, OSSelected }; -enum ObjectType { OTNone, OTObject, OTLine, OTCircle, OTArc, OTDimension, OTEllipse, OTContainer }; +enum ObjectType { OTNone, OTObject, OTLine, OTCircle, OTArc, OTDimension, OTEllipse, OTContainer, OTSpline }; class Object { @@ -97,6 +97,8 @@ class Object static QRectF selection; static double gridSpacing; // Grid spacing in base units static int currentLayer; + static Point snapPoint; + static bool snapPointIsValid; }; #endif // __OBJECT_H__