seoz pushed a commit to branch master.

commit cb8e59c57a0a8e2c634572135eff7b2e8fe2e5b0
Author: Daniel Juyung Seo <[email protected]>
Date:   Tue Jun 25 11:20:25 2013 +0900

    elm_image_legacy.h: updated elm_image_file_set() documentation for animated 
gif image.
---
 src/lib/elm_image_legacy.h | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/lib/elm_image_legacy.h b/src/lib/elm_image_legacy.h
index 7497437..563796f 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
  * @param obj The image object
  * @param file The path to file that will be used as image source
  * @param group The group that the image belongs to, in case it's an
- *              EET (including Edje case) file
+ *              EET (including Edje case) file. This can be used as a key 
inside
+ *              evas image cache if this is a normal image file not eet file.
  *
  * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
  *
@@ -55,6 +56,11 @@ EAPI Eina_Bool        elm_image_memfile_set(Evas_Object 
*obj, const void *img, s
  * case). If one wants to force this type of file independently of the
  * extension, elm_image_file_edje_set() must be used, instead.
  *
+ * @note If you use animated gif image and create multiple image objects with
+ * one gif image file, you should set the @group differently for each object.
+ * Or image objects will share one evas image cache entry and you will get
+ * unwanted frames.
+ *
  * @ingroup Image
  */
 EAPI Eina_Bool        elm_image_file_set(Evas_Object *obj, const char *file, 
const char *group);

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Reply via email to