*/
// EXTERNAL INCLUDES
-#include <dali/dali.h>
+#include <dali/public-api/adaptor-framework/timer.h>
+#include <dali/public-api/animation/animation.h>
+#include <dali/public-api/object/property-notification.h>
// INTERNAL INCLUDES
#include <dali-toolkit/public-api/controls/control-impl.h>
void ActivateLayout(unsigned int layoutIndex, const Vector3& targetSize, float durationSeconds);
/**
- * @copydoc Toolkit::ItemView::SetDefaultAlphaFunction
- */
- void SetDefaultAlphaFunction(AlphaFunction func);
-
- /**
- * @copydoc Toolkit::ItemView::GetDefaultAlphaFunction
- */
- AlphaFunction GetDefaultAlphaFunction() const;
-
- /**
* @copydoc Toolkit::ItemView::DeactivateCurrentLayout
*/
void DeactivateCurrentLayout();
/**
* 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 );
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.
*/
*
* @param[in] gesture The gesture event.
*/
- void OnPan(PanGesture pan);
+ void OnPan( const PanGesture& pan );
/**
* Helper to handle anchoring animations.
ItemLayout* mActiveLayout;
Vector3 mActiveLayoutTargetSize;
- AlphaFunction mDefaultAlphaFunction;
-
Animation mResizeAnimation;
Animation mScrollAnimation;
Animation mScrollOvershootAnimation;