]> Shamusworld >> Repos - architektonas/blobdiff - src/circle.h
Further refinements to the Circle class.
[architektonas] / src / circle.h
index 1a000da1e976fc9067cef114afe54979cc211d84..cae030830d10951eaede7b37a30e3ffe8ec72489 100644 (file)
@@ -14,7 +14,6 @@ class Circle: public Object
                virtual bool Collided(Vector);
                virtual void PointerMoved(Vector);
                virtual void PointerReleased(void);
-//             virtual bool NeedsUpdate(void);
 
        protected:
                bool HitTest(Point);
@@ -23,13 +22,11 @@ class Circle: public Object
 
        protected:
                double radius;                                          // Center is Object::position
-               Vector oldPoint;                                        // Used for dragging
+               Vector dragPoint;                                       // Used for rendering edge dragging
 
        private:
-               bool dragging;
-               bool draggingHandle1;
-               bool draggingHandle2;
-//             bool needUpdate;
+               bool draggingEdge;
+               bool draggingCenter;
                bool objectWasDragged;
                bool hitCenter, hitCircle;
                bool oldHitCenter, oldHitCircle;