Update interface to sync with dali-core change. 28/242428/3
authorSubhransu Mohanty <sub.mohanty@samsung.com>
Thu, 27 Aug 2020 01:28:01 +0000 (10:28 +0900)
committerRichard Huang <r.huang@samsung.com>
Thu, 3 Sep 2020 14:22:56 +0000 (14:22 +0000)
Change-Id: Ie70a029eabadebaffb7de7587d58328868b35b95

automated-tests/src/dali-toolkit/utc-Dali-ControlWrapper.cpp
dali-toolkit/internal/controls/text-controls/text-label-impl.cpp
dali-toolkit/internal/controls/text-controls/text-label-impl.h
dali-toolkit/public-api/controls/control-impl.cpp
dali-toolkit/public-api/controls/control-impl.h

index 5390b5c..e60505d 100644 (file)
@@ -127,7 +127,7 @@ struct TestCustomControl : public Toolkit::Internal::ControlWrapper
   {
     Control::OnChildRemove(child);
   }
   {
     Control::OnChildRemove(child);
   }
-  virtual void OnPropertySet( Property::Index index, Property::Value propertyValue )
+  virtual void OnPropertySet( Property::Index index, const Property::Value& propertyValue )
   {
     Control::OnPropertySet(index, propertyValue);
   }
   {
     Control::OnPropertySet(index, propertyValue);
   }
index 48718b3..d40cd76 100755 (executable)
@@ -927,7 +927,7 @@ float TextLabel::GetHeightForWidth( float width )
   return mController->GetHeightForWidth( width ) + padding.top + padding.bottom;
 }
 
   return mController->GetHeightForWidth( width ) + padding.top + padding.bottom;
 }
 
-void TextLabel::OnPropertySet( Property::Index index, Property::Value propertyValue )
+void TextLabel::OnPropertySet( Property::Index index, const Property::Value& propertyValue )
 {
   DALI_LOG_INFO( gLogFilter, Debug::Verbose, "TextLabel::OnPropertySet index[%d]\n", index );
 
 {
   DALI_LOG_INFO( gLogFilter, Debug::Verbose, "TextLabel::OnPropertySet index[%d]\n", index );
 
index 85e94ab..17bf6e5 100644 (file)
@@ -103,7 +103,7 @@ private: // From Control
   /**
    * @copydoc Control::OnPropertySet()
    */
   /**
    * @copydoc Control::OnPropertySet()
    */
-  virtual void OnPropertySet( Property::Index index, Property::Value propertyValue ) override ;
+  void OnPropertySet( Property::Index index, const Property::Value& propertyValue ) override ;
 
   // From ControlInterface
 
 
   // From ControlInterface
 
index 506b833..f1e8918 100644 (file)
@@ -596,7 +596,7 @@ void Control::OnChildRemove(Actor& child)
 {
 }
 
 {
 }
 
-void Control::OnPropertySet( Property::Index index, Property::Value propertyValue )
+void Control::OnPropertySet( Property::Index index, const Property::Value& propertyValue )
 {
   // If the clipping mode has been set, we may need to create a renderer.
   // Only do this if we are already on-stage as the OnSceneConnection will handle the off-stage clipping controls.
 {
   // If the clipping mode has been set, we may need to create a renderer.
   // Only do this if we are already on-stage as the OnSceneConnection will handle the off-stage clipping controls.
index 237c462..9b80f69 100644 (file)
@@ -324,7 +324,7 @@ protected: // From CustomActorImpl
    * @copydoc CustomActorImpl::OnPropertySet()
    * @note If overridden, then an up-call to Control::OnChildRemove MUST be made at the end.
    */
    * @copydoc CustomActorImpl::OnPropertySet()
    * @note If overridden, then an up-call to Control::OnChildRemove MUST be made at the end.
    */
-  virtual void OnPropertySet( Property::Index index, Property::Value propertyValue ) override;
+  void OnPropertySet( Property::Index index, const Property::Value& propertyValue ) override;
 
   /**
    * @copydoc CustomActorImpl::OnSizeSet()
 
   /**
    * @copydoc CustomActorImpl::OnSizeSet()