first time, i was super confused since vim cound't find the API even I can see it at there.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@68022
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
if (wd->dir == 0)
{
if (wd->down_x > 0)
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)
*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)
}
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)
}
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));
-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);
{
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);
-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);
{
ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE;
Widget_Data *wd = elm_widget_data_get(obj);
-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);
{
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);
-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);
{
ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE;
Widget_Data *wd = elm_widget_data_get(obj);
*
* @see elm_flip_interaction_set()
*/
*
* @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
/**
* @brief Get the enabled state of that flip direction
*
* @see elm_flip_interaction_set()
*/
*
* @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
/**
* @brief Set the amount of the flip that is sensitive to interactive flip
*
* @see elm_flip_interaction_set()
*/
*
* @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
/**
* @brief Get the amount of the flip that is sensitive to interactive flip
* Returns the amount of sensitive area set by
* elm_flip_interaction_direction_hitsize_set().
*/
* 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);