X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fobject.h;h=2cdd3d36863e09fdeef2e837487be7cf87b86f7f;hb=a42277d4d950d32459b16b3ec8ee8287c9c0afab;hp=b8fdd9db76f70b0a2cf8fbd5e797951c278183e3;hpb=143b369c0308a8cd524cb0ed51c5d67d6be69603;p=architektonas diff --git a/src/object.h b/src/object.h index b8fdd9d..2cdd3d3 100644 --- a/src/object.h +++ b/src/object.h @@ -44,6 +44,7 @@ class Object virtual void Translate(Vector); virtual void Rotate(Vector, double); virtual void Scale(Vector, double); + virtual Object * Mirror(Vector, Vector); ObjectState GetState(void); void Reparent(Object *); // Dimension * GetAttachedDimension(void); @@ -67,6 +68,7 @@ class Object public: ObjectType type; ObjectState state; + unsigned int layer; protected: ObjectState oldState; bool needUpdate; @@ -90,6 +92,7 @@ class Object static bool selectionInProgress; static QRectF selection; static double gridSpacing; // Grid spacing in base units + static int currentLayer; }; #endif // __OBJECT_H__