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