// for two finger
#define MOVE_THRESHOLD 15
#define FINGER_DISTANCE 10
-//#define STOP_DURING_DRAG 1
typedef struct _Mouse_Data Mouse_Data;
_smart_set_first_down(sd, 0, &mouse_data);
_smart_set_last_down(sd, 0, &mouse_data);
_smart_set_last_drag(sd, 0, &mouse_data);
-#ifdef STOP_DURING_DRAG
if (sd->animator_move)
{
ecore_animator_del(sd->animator_move);
sd->animator_flick = NULL;
}
_smart_enter_down_during_drag(sd);
-#else
- _smart_enter_down(sd);
-#endif
break;
case TOUCH_STATE_DOWN_UP:
_smart_set_first_down(sd, 1, &mouse_data);
_smart_set_last_down(sd, 1, &mouse_data);
_smart_set_last_drag(sd, 1, &mouse_data);
-#ifdef STOP_DURING_DRAG
if (sd->animator_move)
{
ecore_animator_del(sd->animator_move);
sd->animator_two_move = NULL;
}
_smart_enter_two_down_during_drag(sd);
-#else
- _smart_stop_animator_move(sd);
- _smart_stop_animator_flick(sd);
- _smart_stop_animator_two_move(sd);
- _smart_enter_two_down(sd);
-#endif
}
break;