X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Farc.cpp;fp=src%2Farc.cpp;h=6aefc1c52bc663d1070e8b8e252f175962266737;hb=8a5bf49d09b5a00ebea3ffc449519ad05b0326cc;hp=36245b43dc70a2f3cdf160ca80155384bfcddfe2;hpb=31dd33b097661175a86b6799df525972055099fb;p=architektonas diff --git a/src/arc.cpp b/src/arc.cpp index 36245b4..6aefc1c 100644 --- a/src/arc.cpp +++ b/src/arc.cpp @@ -216,7 +216,7 @@ so let's do like this: } -/*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 @@ -229,7 +229,7 @@ so let's do like this: else state = OSInactive; - return; + return false; } // The TLC will send these messages if the object is selected but not clicked on. @@ -239,7 +239,7 @@ so let's do like this: // objectWasDragged = true; // needUpdate = false; SaveHitState(); - HitTest(point); + bool hovered = HitTest(point); needUpdate = HitStateChanged(); objectWasDragged = (draggingCenter | draggingEdge | draggingRotate | draggingSpan); @@ -271,6 +271,7 @@ so let's do like this: // Why save this? For rendering code? oldPoint = point; // needUpdate = true; + return hovered; }