}
-/*virtual*/ void Arc::PointerMoved(Vector point)
+/*virtual*/ bool Arc::PointerMoved(Vector point)
{
// one other thing to check here for is if a modifier key is being held as well,
// to allow for multi-selection
else
state = OSInactive;
- return;
+ return false;
}
// The TLC will send these messages if the object is selected but not clicked on.
// objectWasDragged = true;
// needUpdate = false;
SaveHitState();
- HitTest(point);
+ bool hovered = HitTest(point);
needUpdate = HitStateChanged();
objectWasDragged = (draggingCenter | draggingEdge | draggingRotate | draggingSpan);
// Why save this? For rendering code?
oldPoint = point;
// needUpdate = true;
+ return hovered;
}
Point c2 = Geometry::RotatePointAroundPoint(angleStartPoint, point, angle);
position = c1;
- startAngle = Vector(c2, c1).Angle();
+ startAngle = Vector(c1, c2).Angle();
}