Layout changes for NUI support. 08/179408/2
authorAgnelo Vaz <agnelo.vaz@samsung.com>
Thu, 12 Apr 2018 17:54:13 +0000 (18:54 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Thu, 17 May 2018 17:35:04 +0000 (18:35 +0100)
Change-Id: Ia7e8df957468902caa675caff3c297288ea69800

dali-toolkit/devel-api/layouting/layout-group-impl.h
dali-toolkit/devel-api/layouting/layout-group.h

index d84495b..5e98dd6 100644 (file)
@@ -182,14 +182,6 @@ protected:
   virtual void DoRegisterChildProperties( const std::string& containerType );
 
   /**
   virtual void DoRegisterChildProperties( const std::string& containerType );
 
   /**
-   * Callback when a child property is set on any given child
-   * @param[in] handle The handle to the child
-   * @param[in] index The index of the property that has been set
-   * @param[in] value The new value of the property
-   */
-  void OnSetChildProperties( Handle& handle, Property::Index index, Property::Value value );
-
-  /**
    * Create default child property values suitable for this layout group or derived layouter
    */
   virtual void GenerateDefaultChildPropertyValues( Handle child );
    * Create default child property values suitable for this layout group or derived layouter
    */
   virtual void GenerateDefaultChildPropertyValues( Handle child );
@@ -213,7 +205,7 @@ protected:
    * @param parentWidthMeasureSpec The width requirements for this view
    * @param parentHeightMeasureSpec The height requirements for this view
    */
    * @param parentWidthMeasureSpec The width requirements for this view
    * @param parentHeightMeasureSpec The height requirements for this view
    */
-  void MeasureChild( LayoutBasePtr child, MeasureSpec parentWidthMeasureSpec, MeasureSpec parentHeightMeasureSpec );
+  virtual void MeasureChild( LayoutBasePtr child, MeasureSpec parentWidthMeasureSpec, MeasureSpec parentHeightMeasureSpec );
 
   /**
    * Ask one of the children of this view to measure itself, taking into
 
   /**
    * Ask one of the children of this view to measure itself, taking into
@@ -267,6 +259,14 @@ private:
    */
   void OnOwnerPropertySet( Handle& handle, Property::Index index, Property::Value value );
 
    */
   void OnOwnerPropertySet( Handle& handle, Property::Index index, Property::Value value );
 
+  /**
+   * Callback when a child property is set on any given child
+   * @param[in] handle The handle to the child
+   * @param[in] index The index of the property that has been set
+   * @param[in] value The new value of the property
+   */
+  void OnSetChildProperties( Handle& handle, Property::Index index, Property::Value value );
+
 public:
   class Impl; // Class declaration is public so we can add devel API's in the future
 
 public:
   class Impl; // Class declaration is public so we can add devel API's in the future
 
index 61d81e2..afcf2a9 100644 (file)
@@ -156,7 +156,6 @@ public:
   template <typename T>
     LayoutBase GetChild( T childId ) = delete;
 
   template <typename T>
     LayoutBase GetChild( T childId ) = delete;
 
-
 public:
   /// @cond internal
   /**
 public:
   /// @cond internal
   /**
@@ -164,7 +163,7 @@ public:
    *
    * @param[in] actor A pointer to a newly allocated Dali resource
    */
    *
    * @param[in] actor A pointer to a newly allocated Dali resource
    */
-  explicit DALI_INTERNAL LayoutGroup( Internal::LayoutGroup* layoutGroup );
+  explicit LayoutGroup( Internal::LayoutGroup* layoutGroup );
   /// @endcond
 };
 
   /// @endcond
 };