From e5b9d50cf302845d88f1e2896a9b305f04e84a91 Mon Sep 17 00:00:00 2001 From: ChunEon Park Date: Thu, 16 Feb 2012 11:33:45 +0000 Subject: [PATCH] elementary/flip - fixed typo first time, i was super confused since vim cound't find the API even I can see it at there. SVN revision: 68022 --- legacy/elementary/src/lib/elm_flip.c | 16 ++++++++-------- legacy/elementary/src/lib/elm_flip.h | 8 ++++---- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/legacy/elementary/src/lib/elm_flip.c b/legacy/elementary/src/lib/elm_flip.c index f28fadd6bd..c61fcbffaa 100644 --- a/legacy/elementary/src/lib/elm_flip.c +++ b/legacy/elementary/src/lib/elm_flip.c @@ -1276,23 +1276,23 @@ _pos_get(Widget_Data *wd, int *rev, Elm_Flip_Mode *m) if (wd->dir == 0) { if (wd->down_x > 0) - t = 1.0 - ((double)wd->x / (double)wd->down_x); + t = 1.0 - ((double)wd->x / (double)wd->down_x); *rev = 1; } else if (wd->dir == 1) { if (wd->down_x < w) - t = 1.0 - ((double)(w - wd->x) / (double)(w - wd->down_x)); + t = 1.0 - ((double)(w - wd->x) / (double)(w - wd->down_x)); } else if (wd->dir == 2) { if (wd->down_y > 0) - t = 1.0 - ((double)wd->y / (double)wd->down_y); + t = 1.0 - ((double)wd->y / (double)wd->down_y); } else if (wd->dir == 3) { if (wd->down_y < h) - t = 1.0 - ((double)(h - wd->y) / (double)(h - wd->down_y)); + t = 1.0 - ((double)(h - wd->y) / (double)(h - wd->down_y)); *rev = 1; } @@ -1920,7 +1920,7 @@ elm_flip_interaction_get(const Evas_Object *obj) } EAPI void -elm_flip_interacton_direction_enabled_set(Evas_Object *obj, Elm_Flip_Direction dir, Eina_Bool enabled) +elm_flip_interaction_direction_enabled_set(Evas_Object *obj, Elm_Flip_Direction dir, Eina_Bool enabled) { ELM_CHECK_WIDTYPE(obj, widtype); Widget_Data *wd = elm_widget_data_get(obj); @@ -1960,7 +1960,7 @@ elm_flip_interacton_direction_enabled_set(Evas_Object *obj, Elm_Flip_Direction d } EAPI Eina_Bool -elm_flip_interacton_direction_enabled_get(Evas_Object *obj, Elm_Flip_Direction dir) +elm_flip_interaction_direction_enabled_get(Evas_Object *obj, Elm_Flip_Direction dir) { ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE; Widget_Data *wd = elm_widget_data_get(obj); @@ -1975,7 +1975,7 @@ elm_flip_interacton_direction_enabled_get(Evas_Object *obj, Elm_Flip_Direction d } EAPI void -elm_flip_interacton_direction_hitsize_set(Evas_Object *obj, Elm_Flip_Direction dir, double hitsize) +elm_flip_interaction_direction_hitsize_set(Evas_Object *obj, Elm_Flip_Direction dir, double hitsize) { ELM_CHECK_WIDTYPE(obj, widtype); Widget_Data *wd = elm_widget_data_get(obj); @@ -1995,7 +1995,7 @@ elm_flip_interacton_direction_hitsize_set(Evas_Object *obj, Elm_Flip_Direction d } EAPI double -elm_flip_interacton_direction_hitsize_get(Evas_Object *obj, Elm_Flip_Direction dir) +elm_flip_interaction_direction_hitsize_get(Evas_Object *obj, Elm_Flip_Direction dir) { ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE; Widget_Data *wd = elm_widget_data_get(obj); diff --git a/legacy/elementary/src/lib/elm_flip.h b/legacy/elementary/src/lib/elm_flip.h index 29fb97a254..b067897166 100644 --- a/legacy/elementary/src/lib/elm_flip.h +++ b/legacy/elementary/src/lib/elm_flip.h @@ -188,7 +188,7 @@ EAPI Elm_Flip_Interaction elm_flip_interaction_get(const Evas_Object *obj); * * @see elm_flip_interaction_set() */ -EAPI void elm_flip_interacton_direction_enabled_set(Evas_Object *obj, Elm_Flip_Direction dir, Eina_Bool enabled); +EAPI void elm_flip_interaction_direction_enabled_set(Evas_Object *obj, Elm_Flip_Direction dir, Eina_Bool enabled); /** * @brief Get the enabled state of that flip direction @@ -201,7 +201,7 @@ EAPI void elm_flip_interacton_direction_enabled_set(Evas_Object * * @see elm_flip_interaction_set() */ -EAPI Eina_Bool elm_flip_interacton_direction_enabled_get(Evas_Object *obj, Elm_Flip_Direction dir); +EAPI Eina_Bool elm_flip_interaction_direction_enabled_get(Evas_Object *obj, Elm_Flip_Direction dir); /** * @brief Set the amount of the flip that is sensitive to interactive flip @@ -217,7 +217,7 @@ EAPI Eina_Bool elm_flip_interacton_direction_enabled_get(Evas_Object * * @see elm_flip_interaction_set() */ -EAPI void elm_flip_interacton_direction_hitsize_set(Evas_Object *obj, Elm_Flip_Direction dir, double hitsize); +EAPI void elm_flip_interaction_direction_hitsize_set(Evas_Object *obj, Elm_Flip_Direction dir, double hitsize); /** * @brief Get the amount of the flip that is sensitive to interactive flip @@ -229,7 +229,7 @@ EAPI void elm_flip_interacton_direction_hitsize_set(Evas_Object * Returns the amount of sensitive area set by * elm_flip_interaction_direction_hitsize_set(). */ -EAPI double elm_flip_interacton_direction_hitsize_get(Evas_Object *obj, Elm_Flip_Direction dir); +EAPI double elm_flip_interaction_direction_hitsize_get(Evas_Object *obj, Elm_Flip_Direction dir); /** * @}