elementary/flipselector - reviewed APIs

SVN revision: 68070
This commit is contained in:
ChunEon Park 2012-02-17 12:40:48 +00:00
parent 35116fb2ca
commit 1483d47385
2 changed files with 15 additions and 14 deletions

View File

@ -901,7 +901,7 @@ elm_flipselector_item_label_set(Elm_Object_Item *it, const char *label)
} }
EAPI Elm_Object_Item * EAPI Elm_Object_Item *
elm_flipselector_item_prev_get(Elm_Object_Item *it) elm_flipselector_item_prev_get(const Elm_Object_Item *it)
{ {
ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL); ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
@ -924,7 +924,7 @@ elm_flipselector_item_prev_get(Elm_Object_Item *it)
} }
EAPI Elm_Object_Item * EAPI Elm_Object_Item *
elm_flipselector_item_next_get(Elm_Object_Item *it) elm_flipselector_item_next_get(const Elm_Object_Item *it)
{ {
ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL); ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);

View File

@ -229,37 +229,35 @@ EAPI void elm_flipselector_item_selected_set(Elm_Object_I
* *
* @ingroup Flipselector * @ingroup Flipselector
*/ */
EAPI Eina_Bool elm_flipselector_item_selected_get(const Elm_Object_Item *it); EAPI Eina_Bool elm_flipselector_item_selected_get(const Elm_Object_Item *it);
/** /**
* Gets the item before @p item in a flip selector widget's * Gets the item before @p item in a flip selector widget's internal list of
* internal list of items. * items.
* *
* @param it The item to fetch previous from * @param it The item to fetch previous from
* @return The item before the @p item, in its parent's list. If * @return The item before the @p item, in its parent's list. If there is no
* there is no previous item for @p item or there's an * previous item for @p item or there's an error, @c NULL is returned.
* error, @c NULL is returned.
* *
* @see elm_flipselector_item_next_get() * @see elm_flipselector_item_next_get()
* *
* @ingroup Flipselector * @ingroup Flipselector
*/ */
EAPI Elm_Object_Item *elm_flipselector_item_prev_get(Elm_Object_Item *it); EAPI Elm_Object_Item *elm_flipselector_item_prev_get(const Elm_Object_Item *it);
/** /**
* Gets the item after @p item in a flip selector widget's * Gets the item after @p item in a flip selector widget's
* internal list of items. * internal list of items.
* *
* @param it The item to fetch next from * @param it The item to fetch next from
* @return The item after the @p item, in its parent's list. If * @return The item after the @p item, in its parent's list. If there is no next
* there is no next item for @p item or there's an * item for @p item or there's an error, @c NULL is returned.
* error, @c NULL is returned.
* *
* @see elm_flipselector_item_next_get() * @see elm_flipselector_item_prev_get()
* *
* @ingroup Flipselector * @ingroup Flipselector
*/ */
EAPI Elm_Object_Item *elm_flipselector_item_next_get(Elm_Object_Item *it); EAPI Elm_Object_Item *elm_flipselector_item_next_get(const Elm_Object_Item *it);
/** /**
* Set the interval on time updates for an user mouse button hold * Set the interval on time updates for an user mouse button hold
@ -287,6 +285,7 @@ EAPI Elm_Object_Item *elm_flipselector_item_next_get(Elm_Object_Item
* *
* @ingroup Flipselector * @ingroup Flipselector
*/ */
//XXX: void elm_flipselector_first_interval_set()?
EAPI void elm_flipselector_interval_set(Evas_Object *obj, double interval); EAPI void elm_flipselector_interval_set(Evas_Object *obj, double interval);
/** /**
@ -300,7 +299,9 @@ EAPI void elm_flipselector_interval_set(Evas_Object *obj,
* *
* @ingroup Flipselector * @ingroup Flipselector
*/ */
//XXX: EAPI double elm_flipselector_first_interval_get()?
EAPI double elm_flipselector_interval_get(const Evas_Object *obj); EAPI double elm_flipselector_interval_get(const Evas_Object *obj);
/** /**
* @} * @}
*/ */