X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Flayouting%2Flayout-group-impl.h;h=5a2796be475d58bdc6b3753de50e5468deae1e2e;hb=34bb584d815970cb12b0678cf68915338800ebb4;hp=30391258f544836ef1c135265a758acacc8d8885;hpb=d714e9d1a30e1270c18867d239176394f2221718;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/layouting/layout-group-impl.h b/dali-toolkit/devel-api/layouting/layout-group-impl.h index 3039125..5a2796b 100644 --- a/dali-toolkit/devel-api/layouting/layout-group-impl.h +++ b/dali-toolkit/devel-api/layouting/layout-group-impl.h @@ -65,6 +65,14 @@ public: */ LayoutGroup(); + /** + * @brief Construct + * + * @param[in] owner The owner (container view / child view / visual ) of this layout + * @return a new LayoutGroup object + */ + static LayoutGroupPtr New( Handle& owner ); + protected: /** * Virtual destructor may only be called by Unreference() @@ -103,19 +111,6 @@ public: Toolkit::LayoutGroup::LayoutId Insert( LayoutItem& target, LayoutItem& child ) override; /** - * @brief Move a child to another position - * @param[in] target The target item - * @param[in] child The item to move - */ - Toolkit::LayoutGroup::LayoutId Move( LayoutItem& target, LayoutItem& child ) override; - - /** - * @brief Move a child to back - * @param[in] child The item to move - */ - Toolkit::LayoutGroup::LayoutId MoveBack( LayoutItem& child ) override; - - /** * @brief Remove all layout children. * * @note This will not unparent owner's children @@ -248,6 +243,15 @@ protected: LayoutLength widthUsed, MeasureSpec parentHeightMeasureSpec, LayoutLength heightUsed ); + /** + * @copydoc LayoutItem::OnMeasure + */ + virtual void OnMeasure( MeasureSpec widthMeasureSpec, MeasureSpec heightMeasureSpec ) override; + + /** + * @copydoc LayoutItem::OnLayout + */ + virtual void OnLayout( bool changed, LayoutLength left, LayoutLength top, LayoutLength right, LayoutLength bottom ) override; private: /** @@ -277,14 +281,14 @@ private: void ChildAddedToOwner( Actor child ); /** - * Callback when child is removed from owner + * Implementation of ChildAddedToOwner */ - void ChildRemovedFromOwner( Actor child ); + void ChildAddedToOwnerImpl( Actor child ); /** - * Callback when child order is changed + * Callback when child is removed from owner */ - void ChildOrderChanged( Actor child ); + void ChildRemovedFromOwner( Actor child ); /** * Callback when an owner property is set. Triggers a relayout if it's a child property