X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fobject.cpp;h=99d73ce7c5b61a628adce7ed53027b13f0418c0e;hb=8ab4e08bd78cb5b07f069e3e6c5bf76944cb14fa;hp=197fa8d0f63c202d07f0a9c38183d65cb01eab92;hpb=ba6723b86d8dd67ebc7b11b245de3e7ff64f06b1;p=architektonas diff --git a/src/object.cpp b/src/object.cpp index 197fa8d..99d73ce 100644 --- a/src/object.cpp +++ b/src/object.cpp @@ -29,6 +29,8 @@ bool Object::snapToGrid = true; //snapToPoints all well here? bool Object::ignoreClicks = false; bool Object::dontMove = false; +bool Object::selectionInProgress = false; +QRectF Object::selection; Object::Object(): position(Vector(0, 0)), parent(0), type(OTObject), @@ -85,6 +87,12 @@ printf("Object: Destroyed!\n"); } +/*virtual*/ bool Object::HitTest(Point) +{ + return false; +} + + // This is intended to be overridden by the Container class, for object morphing /*virtual*/ void Object::Transmute(Object *, Object *) {