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
This commit is contained in:
ChunEon Park 2012-02-16 11:33:45 +00:00
parent 2ad111e70e
commit e5b9d50cf3
2 changed files with 12 additions and 12 deletions

View File

@ -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);

View File

@ -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);
/**
* @}