* @defgroup Transit Transit
* @ingroup Elementary
*
- * Transit
+ * Transit is designed to set the various effects for the Evas_Object such like translation,
+ * rotation, etc. For using Effects, Create transit and add the some of effects which are
+ * interested. Each effects has the type of Elm_Effect and those can be added into transit.
+ * Once effects are added into transit, it will manage the effects (ex deleting).
*/
struct _transit
{
void *user_data;
};
+static Evas_Object *_create_block_rect(Evas_Object *parent);
+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);
+static void _transit_fx_del(Elm_Effect *effect);
+
static Evas_Object *
_create_block_rect(Evas_Object *parent)
{
//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_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
{
//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);
struct _translation
{
//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);
struct _zoom
{
//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);
struct _flip
{
//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_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);
struct _resizable_flip
{
//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);
struct _wipe
{
//Color FX
/////////////////////////////////////////////////////////////////////////////////////
typedef struct _color Elm_Fx_Color;
+static void _elm_fx_color_begin(void *data, Eina_Bool auto_reverse, unsigned int repeat_cnt);
+static void _elm_fx_color_op(void *data, Elm_Animator *animator, double frame);
struct _color
{
//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);
struct _fade
{
//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);
struct _blend
{
//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);
struct _rotation
{
// 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);
struct _image_animation
{