From: Agnelo Vaz Date: Thu, 12 Apr 2018 17:54:13 +0000 (+0100) Subject: Layout changes for NUI support. X-Git-Tag: dali_1.3.25~2 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=commitdiff_plain;h=dc0a5effb8813332a66025da6d3112c28c3fecba Layout changes for NUI support. Change-Id: Ia7e8df957468902caa675caff3c297288ea69800 --- diff --git a/dali-toolkit/devel-api/layouting/layout-group-impl.h b/dali-toolkit/devel-api/layouting/layout-group-impl.h index d84495b..5e98dd6 100644 --- a/dali-toolkit/devel-api/layouting/layout-group-impl.h +++ b/dali-toolkit/devel-api/layouting/layout-group-impl.h @@ -182,14 +182,6 @@ protected: 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 ); @@ -213,7 +205,7 @@ protected: * @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 @@ -267,6 +259,14 @@ private: */ 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 diff --git a/dali-toolkit/devel-api/layouting/layout-group.h b/dali-toolkit/devel-api/layouting/layout-group.h index 61d81e2..afcf2a9 100644 --- a/dali-toolkit/devel-api/layouting/layout-group.h +++ b/dali-toolkit/devel-api/layouting/layout-group.h @@ -156,7 +156,6 @@ public: template LayoutBase GetChild( T childId ) = delete; - public: /// @cond internal /** @@ -164,7 +163,7 @@ public: * * @param[in] actor A pointer to a newly allocated Dali resource */ - explicit DALI_INTERNAL LayoutGroup( Internal::LayoutGroup* layoutGroup ); + explicit LayoutGroup( Internal::LayoutGroup* layoutGroup ); /// @endcond };