X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=base%2Fdali-toolkit%2Finternal%2Fcontrols%2Fscrollable%2Fitem-view%2Fitem-view-impl.h;h=51bb3aed9ef1efb22fd63e7123a45a581c10ece9;hp=94a98bb355580bb44e09b54f36e919adec2ca46a;hb=3596419631a942b0522e035117321b65c66d2ac0;hpb=d9422274305180b56ab8c17fc87c8fda8cfea68b diff --git a/base/dali-toolkit/internal/controls/scrollable/item-view/item-view-impl.h b/base/dali-toolkit/internal/controls/scrollable/item-view/item-view-impl.h index 94a98bb..51bb3ae 100644 --- a/base/dali-toolkit/internal/controls/scrollable/item-view/item-view-impl.h +++ b/base/dali-toolkit/internal/controls/scrollable/item-view/item-view-impl.h @@ -19,7 +19,9 @@ */ // EXTERNAL INCLUDES -#include +#include +#include +#include // INTERNAL INCLUDES #include @@ -287,7 +289,7 @@ private: /** * Remove an Actor if found in the ItemPool. * @param[in] itemId The item to remove. - * @return True if an actor was removed. + * @return True if the remaining actors were reordered. */ bool RemoveActor( unsigned int itemId ); @@ -397,6 +399,11 @@ private: void ReapplyAllConstraints( float durationSeconds ); /** + * Helper to relayout after item(s) are removed. + */ + void OnItemsRemoved(); + + /** * Helper to remove items outside a given range. * @param[in] range The range of required items. */ @@ -442,7 +449,7 @@ private: * * @param[in] gesture The gesture event. */ - void OnPan(PanGesture pan); + void OnPan( const PanGesture& pan ); /** * Helper to handle anchoring animations.