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),
- needUpdate(false)
+ needUpdate(false), dimPoint1(0), dimPoint2(0)
{
}
Object::Object(Vector v, Object * passedInParent/*= 0*/): position(v), parent(passedInParent),
- state(OSInactive), oldState(OSInactive), needUpdate(false)
+ state(OSInactive), oldState(OSInactive), needUpdate(false), dimPoint1(0), dimPoint2(0)
{
}
return needUpdate;
}
+// This is intended to be overridden by the Container class, for object morphing
+/*virtual*/ void Object::Transmute(Object *, Object *)
+{
+}
+
ObjectState Object::GetState(void)
{
return state;
{
viewportHeight = height;
}
+
+void Object::SetDeleteActive(bool state/*= true*/)
+{
+ deleteActive = state;
+}