//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),
}
+/*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 *)
{
#endif
+/*virtual*/ void Object::Translate(Vector amount)
+{
+ position += amount;
+}
+
+
+/*virtual*/ void Object::Rotate(Vector, double)
+{
+}
+
+
+/*virtual*/ void Object::Scale(Vector, double)
+{
+}
+
+
ObjectState Object::GetState(void)
{
return state;