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
bool draggingHandle2;
// bool needUpdate;
bool objectWasDragged;
+ bool hitCenter, hitCircle;
+ bool oldHitCenter, oldHitCircle;
};
#endif // __CIRCLE_H__