summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elm_image_legacy.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/elm_image_legacy.h b/src/lib/elm_image_legacy.h
index 7497437b1..563796f1a 100644
--- a/src/lib/elm_image_legacy.h
+++ b/src/lib/elm_image_legacy.h
@@ -44,7 +44,8 @@ EAPI Eina_Bool elm_image_memfile_set(Evas_Object *obj, const void *img, s
44 * @param obj The image object 44 * @param obj The image object
45 * @param file The path to file that will be used as image source 45 * @param file The path to file that will be used as image source
46 * @param group The group that the image belongs to, in case it's an 46 * @param group The group that the image belongs to, in case it's an
47 * EET (including Edje case) file 47 * EET (including Edje case) file. This can be used as a key inside
48 * evas image cache if this is a normal image file not eet file.
48 * 49 *
49 * @return (@c EINA_TRUE = success, @c EINA_FALSE = error) 50 * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
50 * 51 *
@@ -55,6 +56,11 @@ EAPI Eina_Bool elm_image_memfile_set(Evas_Object *obj, const void *img, s
55 * case). If one wants to force this type of file independently of the 56 * case). If one wants to force this type of file independently of the
56 * extension, elm_image_file_edje_set() must be used, instead. 57 * extension, elm_image_file_edje_set() must be used, instead.
57 * 58 *
59 * @note If you use animated gif image and create multiple image objects with
60 * one gif image file, you should set the @group differently for each object.
61 * Or image objects will share one evas image cache entry and you will get
62 * unwanted frames.
63 *
58 * @ingroup Image 64 * @ingroup Image
59 */ 65 */
60EAPI Eina_Bool elm_image_file_set(Evas_Object *obj, const char *file, const char *group); 66EAPI Eina_Bool elm_image_file_set(Evas_Object *obj, const char *file, const char *group);