X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdimension.cpp;h=675afaff89c7c7a3cef7e4f98df0233a51fcaa91;hb=8a5bf49d09b5a00ebea3ffc449519ad05b0326cc;hp=01d7ec3d9d1e601f6312b8172b977ba92539bc3e;hpb=31dd33b097661175a86b6799df525972055099fb;p=architektonas diff --git a/src/dimension.cpp b/src/dimension.cpp index 01d7ec3..675afaf 100644 --- a/src/dimension.cpp +++ b/src/dimension.cpp @@ -243,7 +243,7 @@ I believe they are pixels. } -/*virtual*/ void Dimension::PointerMoved(Vector point) +/*virtual*/ bool Dimension::PointerMoved(Vector point) { if (selectionInProgress) { @@ -254,13 +254,13 @@ I believe they are pixels. else state = OSInactive; - return; + return false; } // 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); + bool hovered = HitTest(point); needUpdate = HitStateChanged(); objectWasDragged = (/*draggingLine |*/ draggingHandle1 | draggingHandle2); @@ -278,6 +278,8 @@ I believe they are pixels. oldPoint = point; needUpdate = true; } + + return hovered; }