bool Object::fixedLength = false;
QFont * Object::font = 0;
int Object::viewportHeight = 0;
+bool Object::deleteActive = false;
+bool Object::dimensionActive = false;
Object::Object(): position(Vector(0, 0)), parent(0), state(OSInactive), oldState(OSInactive),
- needUpdate(false), dimPoint1(0), dimPoint2(0)
+ needUpdate(false), attachedDimension(0)
{
}
Object::Object(Vector v, Object * passedInParent/*= 0*/): position(v), parent(passedInParent),
- state(OSInactive), oldState(OSInactive), needUpdate(false), dimPoint1(0), dimPoint2(0)
+ state(OSInactive), oldState(OSInactive), needUpdate(false), attachedDimension(0)
{
}
{
}
+/*virtual*/ Object * Object::GetParent(void)
+{
+ return parent;
+}
+
+/*virtual*/ void Object::Add(Object *)
+{
+}
+
ObjectState Object::GetState(void)
{
return state;
{
viewportHeight = height;
}
+
+void Object::SetDeleteActive(bool state/*= true*/)
+{
+ deleteActive = state;
+}
+
+void Object::SetDimensionActive(bool state/*= true*/)
+{
+ dimensionActive = state;
+}