X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fcircle.h;h=cae030830d10951eaede7b37a30e3ffe8ec72489;hb=baf67656b97e3d61e9223e66ebe4f554e364cd4a;hp=1a000da1e976fc9067cef114afe54979cc211d84;hpb=3b9b56d429a8a8733c8195e41f9b5e525b9b730d;p=architektonas diff --git a/src/circle.h b/src/circle.h index 1a000da..cae0308 100644 --- a/src/circle.h +++ b/src/circle.h @@ -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;