Example #1
0
	void Object2D::RemoveChild(const Object2D::Ptr& child)
	{
		GetCoreObject()->RemoveChild((child->GetCoreObject()));
		m_children.remove(child);
	}
Example #2
0
	void Object2D::AddChild(const Object2D::Ptr& child, ChildMode mode)
	{
		GetCoreObject()->AddChild((child->GetCoreObject()), mode);
		m_children.push_back(child);
	}
Example #3
0
	void Layer2D::RemoveFromCore(const Object2D::Ptr& object)
	{
		m_coreLayer->RemoveObject(object->GetCoreObject());
	}
Example #4
0
	void Layer2D::AddToCore(const Object2D::Ptr& object)
	{
		m_coreLayer->AddObject(object->GetCoreObject());
	}
Example #5
0
	void Layer2D::RemoveObject(const Object2D::Ptr& object)
	{
		m_objects->Remove(object, true);
		m_coreLayer->PrepareToRemoveObject(object->GetCoreObject());
	}
Example #6
0
	void Layer2D::AddObject(const Object2D::Ptr& object)
	{
		m_objects->Add(object);
		m_coreLayer->PrepareToAddObject(object->GetCoreObject());
	}