+#else
+ // Hit test tells us what we hit (if anything) through boolean variables. (It
+ // also tells us whether or not the state changed. --not any more)
+ SaveHitState();
+ HitTest(point);
+ needUpdate = HitStateChanged();
+
+ objectWasDragged = (/*draggingLine |*/ draggingHandle1 | draggingHandle2);
+
+ if (objectWasDragged)
+ {
+ Vector delta = point - oldPoint;
+
+ if (draggingHandle1)// || draggingLine)
+ position += delta;
+
+ if (draggingHandle2)// || draggingLine)
+ endpoint += delta;
+
+ oldPoint = point;
+ needUpdate = true;
+ }
+#endif