X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=base%2Fdali-toolkit%2Finternal%2Fcontrols%2Fscrollable%2Fitem-view%2Fitem-view-impl.h;h=51bb3aed9ef1efb22fd63e7123a45a581c10ece9;hb=7e315a440bad7033d19fefa8f9952d625ee6f076;hp=94a98bb355580bb44e09b54f36e919adec2ca46a;hpb=d9422274305180b56ab8c17fc87c8fda8cfea68b;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git 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.