X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fscrollable%2Fitem-view%2Fitem-view-impl.h;h=f49ee8151453a9b97776553fd2fd10163678d941;hb=06f734a391814a2972e31351604e0a34ef712ed9;hp=5ae01124e66680f3faf19b6655734049742a61c9;hpb=287b68cccb9fdccf44de630575421f5b2e12ae35;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/scrollable/item-view/item-view-impl.h b/dali-toolkit/internal/controls/scrollable/item-view/item-view-impl.h old mode 100644 new mode 100755 index 5ae0112..f49ee81 --- a/dali-toolkit/internal/controls/scrollable/item-view/item-view-impl.h +++ b/dali-toolkit/internal/controls/scrollable/item-view/item-view-impl.h @@ -23,11 +23,14 @@ #include #include #include +#include +#include // INTERNAL INCLUDES #include #include #include +#include #include #include @@ -335,9 +338,27 @@ public: */ void DoStopScrolling(); + /** + * Helper for DoAction( ACTION_ENABLE/DISABLE_REFRESH_NOTIFICATIONS ). + * @param[in] enabled Whether to disable refresh notifications or not. + */ + void SetRefreshNotificationEnabled( bool enabled ); + private: /** + * Get all the layouts used in the ItemView. + * @return The layout array + */ + Property::Array GetLayoutArray(); + + /** + * Set all the layouts. that will be used in the ItemView. + * @param[in] layouts The layouts used in the itemView. + */ + void SetLayoutArray( const Property::Array& layouts ); + + /** * Remove an Actor if found in the ItemPool. * @param[in] itemId The item to remove. * @return True if the remaining actors were reordered. @@ -586,6 +607,8 @@ private: typedef ItemPool::iterator ItemPoolIter; typedef ItemPool::const_iterator ConstItemPoolIter; + Property::Array mlayoutArray; + ItemPool mItemPool; ItemFactory& mItemFactory; std::vector< ItemLayoutPtr > mLayouts; ///< Container of Dali::Toolkit::ItemLayout objects @@ -619,6 +642,7 @@ private: bool mIsFlicking : 1; bool mAddingItems : 1; bool mRefreshEnabled : 1; ///< Whether to refresh the cache automatically + bool mRefreshNotificationEnabled : 1; ///< Whether to disable refresh notifications or not. bool mInAnimation : 1; ///< Keeps track of whether an animation is controlling the overshoot property. };