forked from enlightenment/efl
Elm Glayer: Removed finger count from line-info
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com> SVN revision: 64521
This commit is contained in:
parent
170cf5fa1a
commit
0aadefe6b2
|
@ -12738,7 +12738,6 @@ extern "C" {
|
||||||
struct _Elm_Gesture_Line_Info
|
struct _Elm_Gesture_Line_Info
|
||||||
{ /* Report line ends, timestamps, and momentum computed */
|
{ /* Report line ends, timestamps, and momentum computed */
|
||||||
Elm_Gesture_Momentum_Info momentum; /**< Line momentum info */
|
Elm_Gesture_Momentum_Info momentum; /**< Line momentum info */
|
||||||
unsigned int n; /**< Number of fingers (lines) */
|
|
||||||
/* FIXME should be radians, bot degrees */
|
/* FIXME should be radians, bot degrees */
|
||||||
double angle; /**< Angle (direction) of lines */
|
double angle; /**< Angle (direction) of lines */
|
||||||
};
|
};
|
||||||
|
|
|
@ -1712,8 +1712,8 @@ _momentum_test(Evas_Object *obj, Pointer_Event *pe,
|
||||||
/* First make avarage of all touched devices to determine center point */
|
/* First make avarage of all touched devices to determine center point */
|
||||||
Eina_List *l;
|
Eina_List *l;
|
||||||
Pointer_Event *p;
|
Pointer_Event *p;
|
||||||
Pointer_Event pe_local = *pe; /* Copy pe event info to local */
|
Pointer_Event pe_local = *pe; /* Copy pe event info to local */
|
||||||
int cnt = 1; /* We start counter counting current pe event */
|
unsigned int cnt = 1; /* We start counter counting current pe event */
|
||||||
EINA_LIST_FOREACH(wd->touched, l, p)
|
EINA_LIST_FOREACH(wd->touched, l, p)
|
||||||
if (p->device != pe_local.device)
|
if (p->device != pe_local.device)
|
||||||
{
|
{
|
||||||
|
@ -2089,7 +2089,7 @@ _n_line_test(Evas_Object *obj, Pointer_Event *pe, void *event_info,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
st->info.n = started;
|
st->info.momentum.n = started;
|
||||||
|
|
||||||
|
|
||||||
if (ended &&
|
if (ended &&
|
||||||
|
|
Loading…
Reference in New Issue