X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fcontrols%2Fscrollable%2Fitem-view%2Fitem-layout.h;h=e81c787db81aef119fc0ee156a4ba8da83205202;hp=e9c50681d7042c4a09c1db79b5b36626a0c7bdac;hb=14cbc07153dd2968bca80136e5b00bf47b32b98b;hpb=a68dbe03813fd3db34c81f4e6960572e8882930b diff --git a/dali-toolkit/public-api/controls/scrollable/item-view/item-layout.h b/dali-toolkit/public-api/controls/scrollable/item-view/item-layout.h old mode 100644 new mode 100755 index e9c5068..e81c787 --- a/dali-toolkit/public-api/controls/scrollable/item-view/item-layout.h +++ b/dali-toolkit/public-api/controls/scrollable/item-view/item-layout.h @@ -20,6 +20,8 @@ // EXTERNAL INCLUDES #include +#include +#include // INTERNAL INCLUDES #include @@ -46,11 +48,11 @@ typedef IntrusivePtr ItemLayoutPtr; ///< Pointer to a Dali::Toolkit: struct ItemRange { /** - * @brief Create a range of item identifiers. + * @brief Creates a range of item identifiers. * * @SINCE_1_0.0 - * @param[in] beginItem The first item within the range. - * @param[in] endItem The past-the-end item. + * @param[in] beginItem The first item within the range + * @param[in] endItem The past-the-end item */ ItemRange(unsigned int beginItem, unsigned int endItem) : begin(beginItem), @@ -62,7 +64,7 @@ struct ItemRange * @brief Copy Constructor. * * @SINCE_1_0.0 - * @param[in] copy ItemRange we should copy from. + * @param[in] copy ItemRange we should copy from */ ItemRange(const ItemRange& copy) : begin(copy.begin), @@ -74,8 +76,8 @@ struct ItemRange * @brief Assignment operator. * * @SINCE_1_0.0 - * @param[in] range The Range to assign from. - * @return The updated range. + * @param[in] range The Range to assign from + * @return The updated range */ ItemRange& operator=(const ItemRange& range) { @@ -88,11 +90,11 @@ struct ItemRange } /** - * @brief Test whether an item is within the range. + * @brief Tests whether an item is within the range. * * @SINCE_1_0.0 - * @param[in] itemId The item identifier. - * @return True if the item is within the range. + * @param[in] itemId The item identifier + * @return true if the item is within the range */ bool Within(unsigned int itemId) { @@ -101,11 +103,11 @@ struct ItemRange } /** - * @brief Create the intersection of two ranges. + * @brief Creates the intersection of two ranges. * * @SINCE_1_0.0 - * @param[in] second The second range. - * @return The intersection. + * @param[in] second The second range + * @return The intersection */ ItemRange Intersection(const ItemRange& second) { @@ -165,6 +167,20 @@ public: DALI_IMPORT_API ControlOrientation::Type GetOrientation() const; /** + * @brief Apply the layout Properties. + * @SINCE_1_2.20 + * @param[in] properties The properties the layout. + */ + void SetLayoutProperties(const Property::Map& properties); + + /** + * @brief Get the layout Properties. + * @SINCE_1_2.20 + * @return the property of the layout. + */ + Property::Map GetLayoutProperties(); + + /** * @brief Retrieve the target size of an item in the layout. * * This will return the default size for the layout unless overridden by calling SetItemSize(). @@ -341,7 +357,7 @@ public: */ DALI_IMPORT_API virtual float GetFlickSpeedFactor() const; - /* + /** * @brief Applies constraints defined by the layout to an actor. * * @param[in] actor The actor to constrain.