]> Shamusworld >> Repos - architektonas/blobdiff - src/circle.h
Preliminary start on zooming/circle hover feedback.
[architektonas] / src / circle.h
index cc5159fd581a2da6bd8f32052d550d46a5a387d3..1a000da1e976fc9067cef114afe54979cc211d84 100644 (file)
@@ -16,6 +16,11 @@ class Circle: public Object
                virtual void PointerReleased(void);
 //             virtual bool NeedsUpdate(void);
 
+       protected:
+               bool HitTest(Point);
+               void SaveState(void);
+               bool StateChanged(void);
+
        protected:
                double radius;                                          // Center is Object::position
                Vector oldPoint;                                        // Used for dragging
@@ -26,6 +31,8 @@ class Circle: public Object
                bool draggingHandle2;
 //             bool needUpdate;
                bool objectWasDragged;
+               bool hitCenter, hitCircle;
+               bool oldHitCenter, oldHitCircle;
 };
 
 #endif // __CIRCLE_H__