On Tue, 05 Jul 2011 00:52:32 +0900 jy0703.p...@samsung.com said: some suggestions on naming:
evas_object_image_animated_frame_num_get -> evas_object_image_animated_frame_count_get evas_object_image_animated_loop_num_get -> evas_object_image_animated_loop_count_get now for evas_object_image_animated_frame_times_get... don't return a list. list of what? too much pain. try this instead: EAPI double evas_object_image_animated_frame_duration_get(const Evas_Object *obj, int start_frame, int frame_num); returns time (in seconds) to display start_frame until (but not including) start_frame + frame_num. :) > Hi. Iām Jiyoun. > > I have plan to evas image object support animated image like Agif. > > I make patch related with image object which can support animated image. > > Added API is > 1. EAPI Eina_Bool evas_object_image_animated_get(const Evas_Object *obj); > ćć-> check image file's animation (DONE) > 2. EAPI int evas_object_image_animated_frame_num_get(const Evas_Object > *obj); > -> return total frame number of animated image(DONE) > 3. EAPI Evas_Image_Animated_Loop_Hint > evas_object_image_animated_loop_type_get(const Evas_Object *obj); > -> return loop type of image . currently I just add > sequential(1->2->3->1...) type and reverse type(1->2->3->2->...).(DONE) > 4. EAPI int evas_object_image_animated_loop_num_get(const Evas_Object *obj); > -> return animated image's loop number. It depends on image file > type(DONE) > 5. EAPI Eina_List *evas_object_image_animated_frame_times_get(const > Evas_Object *obj, int start_frame, int fram_num); //return time duration > -> I added only API. If my concept related animated object, I will > implement this API within this week. I almost done this) > -> this api return frame time list from start frame which size is > frame_num. > 6. EAPI void evas_object_image_animated_frame_set(Evas_Object *obj, int > frame_num); > -> I divide this API implementation two step. > a. First, I only support gif file type which have not to need > previous frame. > Application can request to set specific frame using this api. > I will implement gif loader can decode specific frame which app > request( I also this feature within tomorrow) > b. second, support gif file type which have to need previout frame. > For this, I add eina list to image entry or other object. (I 'll > start this job after stabilization above feature) > How about your opinion?? > > > I send this patch for intermediate result. > If my concept is right and acceptable, I 'll implement whole API and add doc > or other things for summit. > But if my approach is wrong , please get me advise to the right way. > And I have plan support not only gif but also other animated type image. > > Thanks. > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel