[elm_transit.c]
authorChunEon Park <chuneon.park@samsung.com>
Mon, 2 Aug 2010 10:35:57 +0000 (19:35 +0900)
committerChunEon Park <chuneon.park@samsung.com>
Mon, 2 Aug 2010 10:35:57 +0000 (19:35 +0900)
src/lib/elm_transit.c

index 3254963..f230c3a 100644 (file)
@@ -31,7 +31,8 @@ struct _effect
 };
 
 static Evas_Object *_create_block_rect(Evas_Object *parent);
-static void _transit_animate_cb(void *data, Elm_Animator *animator, double frame);
+static void _transit_animate_cb(void *data, Elm_Animator *animator, 
+                               double frame);
 static void _transit_fx_begin(Elm_Transit *transit);
 static void _transit_fx_end(Elm_Transit *transit);
 static void _transit_complete_cb(void *data);
@@ -474,9 +475,12 @@ elm_transit_run(Elm_Transit *transit, double duration)
 //Resizing FX
 /////////////////////////////////////////////////////////////////////////////////////
 typedef struct _resizing Elm_Fx_Resizing;
-static void _elm_fx_resizing_op(void *data, Elm_Animator *animator, double frame);
-static void _elm_fx_resizing_begin(void *data, Eina_Bool auto_reverse, unsigned int repeat_cnt);
-static void _elm_fx_resizing_end(void *data, Eina_Bool auto_reverse, unsigned int repeat_cnt);
+static void _elm_fx_resizing_op(void *data, Elm_Animator *animator, 
+                               double frame);
+static void _elm_fx_resizing_begin(void *data, Eina_Bool auto_reverse, 
+                               unsigned int repeat_cnt);
+static void _elm_fx_resizing_end(void *data, Eina_Bool auto_reverse, 
+                               unsigned int repeat_cnt);
 
 struct _resizing
 {
@@ -570,10 +574,12 @@ elm_fx_resizing_add(Evas_Object *obj, Evas_Coord from_w, Evas_Coord from_h,
 //Translation FX
 /////////////////////////////////////////////////////////////////////////////////////
 typedef struct _translation Elm_Fx_Translation;
-static void _elm_fx_translation_op(void *data, Elm_Animator *animator, double frame);
-static void _elm_fx_translation_begin(void *data, Eina_Bool auto_reverse, unsigned int repeat_cnt);
-static void _elm_fx_translation_end(void *data, Eina_Bool auto_reverse, unsigned int repeat_cnt);
-
+static void _elm_fx_translation_op(void *data, Elm_Animator *animator, 
+                               double frame);
+static void _elm_fx_translation_begin(void *data, Eina_Bool auto_reverse, 
+                               unsigned int repeat_cnt);
+static void _elm_fx_translation_end(void *data, Eina_Bool auto_reverse, 
+                               unsigned int repeat_cnt);
 
 struct _translation
 {
@@ -671,9 +677,12 @@ elm_fx_translation_add(Evas_Object *obj, Evas_Coord from_x, Evas_Coord from_y,
 //Zoom FX
 /////////////////////////////////////////////////////////////////////////////////////
 typedef struct _zoom Elm_Fx_Zoom;
-static void _elm_fx_zoom_op(void *data, Elm_Animator * animator, double frame);
-static void _elm_fx_zoom_begin(void *data, Eina_Bool reverse, unsigned int repeat);
-static void _elm_fx_zoom_end(void *data, Eina_Bool reverse, unsigned int repeat);
+static void _elm_fx_zoom_op(void *data, Elm_Animator * animator, 
+                               double frame);
+static void _elm_fx_zoom_begin(void *data, Eina_Bool reverse, 
+                               unsigned int repeat);
+static void _elm_fx_zoom_end(void *data, Eina_Bool reverse, 
+                               unsigned int repeat);
 
 struct _zoom
 {
@@ -770,8 +779,10 @@ elm_fx_zoom_add(Evas_Object *obj, float from_rate, float to_rate)
 //Flip FX
 /////////////////////////////////////////////////////////////////////////////////////
 typedef struct _flip Elm_Fx_Flip;
-static void _elm_fx_flip_op(void *data, Elm_Animator *animator, double frame);
-static void _elm_fx_flip_end(void *data, Eina_Bool auto_reverse, unsigned int repeat_cnt);
+static void _elm_fx_flip_op(void *data, Elm_Animator *animator, 
+                               double frame);
+static void _elm_fx_flip_end(void *data, Eina_Bool auto_reverse, 
+                               unsigned int repeat_cnt);
 
 struct _flip
 {
@@ -912,12 +923,16 @@ elm_fx_flip_add(Evas_Object *front, Evas_Object *back, Elm_Fx_Flip_Axis axis,
 //ResizableFlip FX
 /////////////////////////////////////////////////////////////////////////////////////
 typedef struct _resizable_flip Elm_Fx_ResizableFlip;
-static void _elm_fx_resizable_flip_begin(void *data, Eina_Bool reverse, unsigned int repeat);
-static void _elm_fx_resizable_flip_end(void *data, Eina_Bool auto_reverse, unsigned int repeat_cnt);
+static void _elm_fx_resizable_flip_begin(void *data, Eina_Bool reverse, 
+                               unsigned int repeat);
+static void _elm_fx_resizable_flip_end(void *data, Eina_Bool auto_reverse, 
+                               unsigned int repeat_cnt);
 static void _elm_fx_resizable_flip_op(void *data, Elm_Animator *animator,
                                      double frame);
-static void _set_image_uv_by_axis_y(Evas_Map *map, Elm_Fx_ResizableFlip *flip, float degree);
-static void _set_image_uv_by_axis_x(Evas_Map *map, Elm_Fx_ResizableFlip *flip, float degree);
+static void _set_image_uv_by_axis_y(Evas_Map *map, Elm_Fx_ResizableFlip *flip, 
+                               float degree);
+static void _set_image_uv_by_axis_x(Evas_Map *map, Elm_Fx_ResizableFlip *flip, 
+                               float degree);
 
 struct _resizable_flip
 {
@@ -1143,11 +1158,16 @@ elm_fx_resizable_flip_add(Evas_Object *front, Evas_Object *back,
 //Wipe FX
 /////////////////////////////////////////////////////////////////////////////////////
 typedef struct _wipe Elm_Fx_Wipe;
-static void _elm_fx_wipe_op(void *data, Elm_Animator *animator, double frame);
-static void _elm_fx_wipe_begin(void *data, Eina_Bool auto_repeat, unsigned int repeat_cnt);
-static void _elm_fx_wipe_end(void *data, Eina_Bool auto_repeat, unsigned int repeat_cnt);
-static void _elm_fx_wipe_hide(Evas_Map * map, Elm_Fx_Wipe_Dir dir, float x, float y, float w, float h, float frame);
-static void _elm_fx_wipe_show(Evas_Map *map, Elm_Fx_Wipe_Dir dir, float x, float y, float w, float h, float frame);
+static void _elm_fx_wipe_op(void *data, Elm_Animator *animator, 
+                               double frame);
+static void _elm_fx_wipe_begin(void *data, Eina_Bool auto_repeat, 
+                               unsigned int repeat_cnt);
+static void _elm_fx_wipe_end(void *data, Eina_Bool auto_repeat, 
+                               unsigned int repeat_cnt);
+static void _elm_fx_wipe_hide(Evas_Map * map, Elm_Fx_Wipe_Dir dir, 
+                               float x, float y, float w, float h, float frame);
+static void _elm_fx_wipe_show(Evas_Map *map, Elm_Fx_Wipe_Dir dir, 
+                               float x, float y, float w, float h, float frame);
 
 struct _wipe
 {
@@ -1472,9 +1492,12 @@ elm_fx_color_add(Evas_Object *obj, unsigned int from_r, unsigned int from_g,
 //Fade FX
 /////////////////////////////////////////////////////////////////////////////////////
 typedef struct _fade Elm_Fx_Fade;
-static void _elm_fx_fade_begin(void *data, Eina_Bool auto_reverse, unsigned int repeat_cnt);
-static void _elm_fx_fade_end(void *data, Eina_Bool auto_reverse, unsigned int repeat_cnt);
-static void _elm_fx_fade_op(void *data, Elm_Animator *animator, double frame);
+static void _elm_fx_fade_begin(void *data, Eina_Bool auto_reverse, 
+                               unsigned int repeat_cnt);
+static void _elm_fx_fade_end(void *data, Eina_Bool auto_reverse, 
+                               unsigned int repeat_cnt);
+static void _elm_fx_fade_op(void *data, Elm_Animator *animator, 
+                               double frame);
 
 struct _fade
 {
@@ -1605,9 +1628,12 @@ elm_fx_fade_add(Evas_Object *before, Evas_Object *after)
 //Blend FX
 /////////////////////////////////////////////////////////////////////////////////////
 typedef struct _blend Elm_Fx_Blend;
-static void _elm_fx_blend_begin(void *data, Eina_Bool auto_reverse, unsigned int repeat_cnt);
-static void _elm_fx_blend_end(void *data, Eina_Bool auto_reverse, unsigned int repeat_cnt);
-static void _elm_fx_blend_op(void *data, Elm_Animator *animator, double frame);
+static void _elm_fx_blend_begin(void *data, Eina_Bool auto_reverse, 
+                               unsigned int repeat_cnt);
+static void _elm_fx_blend_end(void *data, Eina_Bool auto_reverse, 
+                               unsigned int repeat_cnt);
+static void _elm_fx_blend_op(void *data, Elm_Animator *animator, 
+                               double frame);
 
 struct _blend
 {
@@ -1703,9 +1729,12 @@ elm_fx_blend_add(Evas_Object *before, Evas_Object *after)
 //Rotation FX
 /////////////////////////////////////////////////////////////////////////////////////
 typedef struct _rotation Elm_Fx_Rotation;
-static void _elm_fx_rotation_begin(void *data, Eina_Bool auto_reverse, unsigned int repeat_cnt);
-static void _elm_fx_rotation_end(void *data, Eina_Bool auto_reverse, unsigned int repeat_cnt);
-static void _elm_fx_rotation_op(void *data, Elm_Animator *animator, double frame);
+static void _elm_fx_rotation_begin(void *data, Eina_Bool auto_reverse, 
+                               unsigned int repeat_cnt);
+static void _elm_fx_rotation_end(void *data, Eina_Bool auto_reverse, 
+                               unsigned int repeat_cnt);
+static void _elm_fx_rotation_op(void *data, Elm_Animator *animator, 
+                               double frame);
 
 struct _rotation
 {
@@ -1822,8 +1851,10 @@ elm_fx_rotation_add(Evas_Object *obj, float from_degree, float to_degree,
 // ImageAnimation FX
 /////////////////////////////////////////////////////////////////////////////////////
 typedef struct _image_animation Elm_Fx_Image_Animation;
-static void _elm_fx_imageanimation_op(void *data, Elm_Animator *animator, double frame);
-EAPI Elm_Effect *elm_fx_imageanimation_add(Evas_Object *obj, const char **images, unsigned int item_num);
+static void _elm_fx_imageanimation_op(void *data, Elm_Animator *animator, 
+                               double frame);
+EAPI Elm_Effect *elm_fx_imageanimation_add(Evas_Object *obj, const char **images, 
+                               unsigned int item_num);
 
 struct _image_animation
 {