elm: Applied elm_icon_file_set -> elm_image_file_set api change.
SVN revision: 71804
This commit is contained in:
parent
e14d40fc97
commit
0477ee0b0d
|
@ -290,7 +290,7 @@ EAPI const Eina_List *elm_diskselector_items_get(const Evas_Object *obj);
|
|||
* @code
|
||||
* disk = elm_diskselector_add(win);
|
||||
* ic = elm_icon_add(win);
|
||||
* elm_icon_file_set(ic, "path/to/image", NULL);
|
||||
* elm_image_file_set(ic, "path/to/image", NULL);
|
||||
* elm_icon_resizable_set(ic, EINA_TRUE, EINA_TRUE);
|
||||
* elm_diskselector_item_append(disk, "label", ic, NULL, NULL);
|
||||
* @endcode
|
||||
|
|
|
@ -132,7 +132,7 @@ typedef enum
|
|||
* @param parent The parent object
|
||||
* @return The new object or NULL if it cannot be created
|
||||
*
|
||||
* @see elm_icon_file_set()
|
||||
* @see elm_image_file_set()
|
||||
*
|
||||
* @ingroup Icon
|
||||
*/
|
||||
|
@ -190,7 +190,7 @@ EINA_DEPRECATED EAPI Eina_Bool elm_icon_memfile_set(Evas_Object *obj
|
|||
* @param file The path to file that will be used as the icon image
|
||||
* @param group The group that the icon belongs to, in edje file
|
||||
*
|
||||
* @see elm_icon_file_set()
|
||||
* @see elm_image_file_set()
|
||||
*
|
||||
* @deprecated Use elm_image_file_get() instead.
|
||||
*
|
||||
|
@ -205,13 +205,13 @@ EINA_DEPRECATED EAPI void elm_icon_file_get(const Evas_Object *
|
|||
* @param file The path to file that will be used as icon image
|
||||
* @param group The group that the icon belongs to an edje file
|
||||
*
|
||||
* This functions like elm_icon_file_set() but requires the Ethumb library
|
||||
* This functions like elm_image_file_set() but requires the Ethumb library
|
||||
* support to be enabled successfully with elm_need_ethumb(). When set
|
||||
* the file indicated has a thumbnail generated and cached on disk for
|
||||
* future use or will directly use an existing cached thumbnail if it
|
||||
* is valid.
|
||||
*
|
||||
* @see elm_icon_file_set()
|
||||
* @see elm_image_file_set()
|
||||
*
|
||||
* @ingroup Icon
|
||||
*/
|
||||
|
@ -235,10 +235,10 @@ EAPI void elm_icon_thumb_set(Evas_Object *obj, const char *file
|
|||
* absolute path of an image file, this image will be used.
|
||||
*
|
||||
* @note The icon image set by this function can be changed by
|
||||
* elm_icon_file_set().
|
||||
* elm_image_file_set().
|
||||
*
|
||||
* @see elm_icon_standard_get()
|
||||
* @see elm_icon_file_set()
|
||||
* @see elm_image_file_set()
|
||||
*
|
||||
* @ingroup Icon
|
||||
*/
|
||||
|
@ -250,7 +250,7 @@ EAPI Eina_Bool elm_icon_standard_set(Evas_Object *obj, const char *n
|
|||
* @param obj The icon object
|
||||
* @return The icon name
|
||||
*
|
||||
* If the icon image was set using elm_icon_file_set() instead of
|
||||
* If the icon image was set using elm_image_file_set() instead of
|
||||
* elm_icon_standard_set(), then this function will return @c NULL.
|
||||
*
|
||||
* @see elm_icon_standard_set()
|
||||
|
|
|
@ -355,7 +355,7 @@ EAPI void elm_list_scroller_policy_get(const Evas_Object
|
|||
* @code
|
||||
* li = elm_list_add(win);
|
||||
* ic = elm_icon_add(win);
|
||||
* elm_icon_file_set(ic, "path/to/image", NULL);
|
||||
* elm_image_file_set(ic, "path/to/image", NULL);
|
||||
* elm_icon_resizable_set(ic, EINA_TRUE, EINA_TRUE);
|
||||
* elm_list_item_append(li, "label", ic, NULL, NULL, NULL);
|
||||
* elm_list_go(li);
|
||||
|
|
|
@ -102,7 +102,7 @@ EAPI Evas_Object *elm_segment_control_add(Evas_Object *parent);
|
|||
* @code
|
||||
* sc = elm_segment_control_add(win);
|
||||
* ic = elm_icon_add(win);
|
||||
* elm_icon_file_set(ic, "path/to/image", NULL);
|
||||
* elm_image_file_set(ic, "path/to/image", NULL);
|
||||
* elm_icon_resizable_set(ic, EINA_TRUE, EINA_TRUE);
|
||||
* elm_segment_control_item_add(sc, ic, "label");
|
||||
* evas_object_show(sc);
|
||||
|
|
Loading…
Reference in New Issue