X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Flayouting%2Flayout-group-impl.h;h=36e0312c919614970c5acd863621d21201f3a073;hp=f827c306909dc4ca441ac482cee7bed938424431;hb=3639aa62c56600070cb1a03aef89e76847f75b50;hpb=6034549c1b9a7d8f82a1ce7f826dd1fd495c7dbe diff --git a/dali-toolkit/devel-api/layouting/layout-group-impl.h b/dali-toolkit/devel-api/layouting/layout-group-impl.h index f827c30..36e0312 100644 --- a/dali-toolkit/devel-api/layouting/layout-group-impl.h +++ b/dali-toolkit/devel-api/layouting/layout-group-impl.h @@ -23,6 +23,7 @@ #include #include #include +#include #include namespace Dali @@ -55,6 +56,7 @@ using LayoutGroupPtr = IntrusivePtr; * position and size; it should then call Layout() on the child layout to layout the child and it's hierarchy. */ class DALI_TOOLKIT_API LayoutGroup : public LayoutItem, + public LayoutParent, public ConnectionTracker { public: @@ -79,19 +81,19 @@ public: * @param[in] layoutChild The child to add * @return The layout id of this child. */ - Toolkit::LayoutGroup::LayoutId Add( LayoutItem& layoutChild ); + Toolkit::LayoutGroup::LayoutId Add( LayoutItem& layoutChild ) override; /** * @brief Remove a layout child from this group. * @param[in] childId The layout child id */ - void Remove( Toolkit::LayoutGroup::LayoutId childId ); + void Remove( Toolkit::LayoutGroup::LayoutId childId ) override; /** * @brief Remove a layout child from this group * @param[in] child The layout child */ - void Remove( LayoutItem& child ); + void Remove( LayoutItem& child ) override; /** * @brief Remove all layout children. @@ -245,6 +247,11 @@ private: void OnUnparent() override final; /** + * Method to remove a child from this group + */ + void RemoveChild( LayoutItem& item ); + + /** * Callback when child is added to owner */ void ChildAddedToOwner( Actor child ); @@ -255,6 +262,11 @@ private: void ChildRemovedFromOwner( Actor child ); /** + * Callback when child order is changed + */ + void ChildOrderChanged(); + + /** * Callback when an owner property is set. Triggers a relayout if it's a child property */ void OnOwnerPropertySet( Handle& handle, Property::Index index, Property::Value value ); @@ -267,6 +279,11 @@ private: */ void OnSetChildProperties( Handle& handle, Property::Index index, Property::Value value ); + /** + * @brief Called when a layer animation state is changed. + */ + void OnAnimationStateChanged( bool animateLayout ) override final; + public: class Impl; // Class declaration is public so we can add devel API's in the future