]> Shamusworld >> Repos - architektonas/blobdiff - src/object.h
Fixed Line rendering to keep attached Dimensions correct length with 'Fix Len'
[architektonas] / src / object.h
index e0ea740460bbb83b71bece85b2272e303b82afa1..deaa91f3604f923b16a805fd57ccc55e241ca749 100644 (file)
@@ -5,6 +5,7 @@
 
 class QPainter;
 class QFont;
+class Dimension;
 
 enum ObjectState { OSInactive, OSSelected };
 
@@ -21,7 +22,7 @@ class Object
                virtual void PointerMoved(Vector);
                virtual void PointerReleased(void);
                virtual bool NeedsUpdate(void);
-
+               virtual void Transmute(Object *, Object *);
                ObjectState GetState(void);
 
                // Class methods
@@ -38,6 +39,8 @@ class Object
                ObjectState state;
                ObjectState oldState;
                bool needUpdate;
+               Dimension * dimPoint1;
+               Dimension * dimPoint2;
 
                // Class variables
                static QFont * font;