X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fobject.cpp;h=4be11f55fa0961ceb78202881bcc3b2bc0ce577c;hb=fa8da664bfb749497b1b2d2991077af0554cc369;hp=eaef4d4484eb9d002d34777354554704cac985b7;hpb=c51c02d23ddd4423882da2c54b76f8f2c90c1c99;p=architektonas diff --git a/src/object.cpp b/src/object.cpp index eaef4d4..4be11f5 100644 --- a/src/object.cpp +++ b/src/object.cpp @@ -21,6 +21,7 @@ bool Object::fixedAngle = false; bool Object::fixedLength = false; QFont * Object::font = 0; int Object::viewportHeight = 0; +bool Object::deleteActive = false; Object::Object(): position(Vector(0, 0)), parent(0), state(OSInactive), oldState(OSInactive), @@ -95,3 +96,8 @@ void Object::SetViewportHeight(int height) { viewportHeight = height; } + +void Object::SetDeleteActive(bool state/*= true*/) +{ + deleteActive = state; +}