{
AddToCallStacks("OnChildRemove");
}
-void TestCustomActor::OnPropertySet( Property::Index index, Property::Value propertyValue )
+void TestCustomActor::OnPropertySet( Property::Index index, const Property::Value& propertyValue )
{
AddToCallStacks("OnPropertySet");
}
void OnSceneDisconnection() override;
void OnChildAdd(Dali::Actor& child) override;
void OnChildRemove(Dali::Actor& child) override;
- void OnPropertySet( Dali::Property::Index index, Dali::Property::Value propertyValue ) override;
+ void OnPropertySet( Dali::Property::Index index, const Dali::Property::Value& propertyValue ) override;
void OnSizeSet(const Dali::Vector3& targetSize) override;
void OnSizeAnimation(Dali::Animation& animation, const Dali::Vector3& targetSize) override;
bool OnHoverEvent(const Dali::HoverEvent& event) override;
{ }
virtual void OnChildRemove(Actor& child)
{ }
- virtual void OnPropertySet( Property::Index index, Property::Value propertyValue )
+ virtual void OnPropertySet( Property::Index index, const Property::Value& propertyValue )
{ }
virtual void OnSizeSet(const Vector3& targetSize)
{ }
/**
* @copydoc Internal::Actor::OnPropertySet
*/
- virtual void OnPropertySet( Property::Index index, Property::Value propertyValue )
+ virtual void OnPropertySet( Property::Index index, const Property::Value& propertyValue )
{
mImpl->OnPropertySet(index, propertyValue);
}
* @param [in] index The index of the property.
* @param [in] propertyValue The value of the property.
*/
- virtual void OnPropertySet( Property::Index index, Property::Value propertyValue ) {}
+ virtual void OnPropertySet( Property::Index index, const Property::Value& propertyValue ) {}
/**
* Retrieves the TypeInfo for this object. Only retrieves it from the type-registry once and then stores a pointer
return CustomActor(mOwner);
}
-void CustomActorImpl::OnPropertySet( Property::Index index, Property::Value propertyValue )
+void CustomActorImpl::OnPropertySet( Property::Index index, const Property::Value& propertyValue )
{
}
* @param[in] index The Property index that was set
* @param[in] propertyValue The value to set
*/
- virtual void OnPropertySet( Property::Index index, Property::Value propertyValue );
+ virtual void OnPropertySet( Property::Index index, const Property::Value& propertyValue );
/**
* @brief Called when the owning actor's size is set e.g. using Actor::SetSize().