X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fobject.cpp;h=4cc846028a669576f12e8545214b54f69c1a4103;hb=7f3a6b11585376eecd80979ec3da2346c5314d88;hp=09d52bf3357b02165410e82e4200877421eddb7e;hpb=565c33c91ea355528145ba94b31b2e44309d0834;p=architektonas diff --git a/src/object.cpp b/src/object.cpp index 09d52bf..4cc8460 100644 --- a/src/object.cpp +++ b/src/object.cpp @@ -34,6 +34,8 @@ bool Object::selectionInProgress = false; QRectF Object::selection; double Object::gridSpacing; int Object::currentLayer = 0; +Point Object::snapPoint; +bool Object::snapPointIsValid = false; Object::Object(): position(Vector(0, 0)), parent(0), type(OTObject), @@ -75,8 +77,9 @@ printf("Object: Destroyed!\n"); } -/*virtual*/ void Object::PointerMoved(Vector) +/*virtual*/ bool Object::PointerMoved(Vector) { + return false; }