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:
Aharon Hillel 2011-10-30 10:08:05 +00:00 committed by Tom Hacohen
parent 170cf5fa1a
commit 0aadefe6b2
2 changed files with 3 additions and 4 deletions

View File

@ -12738,7 +12738,6 @@ extern "C" {
struct _Elm_Gesture_Line_Info
{ /* Report line ends, timestamps, and momentum computed */
Elm_Gesture_Momentum_Info momentum; /**< Line momentum info */
unsigned int n; /**< Number of fingers (lines) */
/* FIXME should be radians, bot degrees */
double angle; /**< Angle (direction) of lines */
};

View File

@ -1712,8 +1712,8 @@ _momentum_test(Evas_Object *obj, Pointer_Event *pe,
/* First make avarage of all touched devices to determine center point */
Eina_List *l;
Pointer_Event *p;
Pointer_Event pe_local = *pe; /* Copy pe event info to local */
int cnt = 1; /* We start counter counting current pe event */
Pointer_Event pe_local = *pe; /* Copy pe event info to local */
unsigned int cnt = 1; /* We start counter counting current pe event */
EINA_LIST_FOREACH(wd->touched, l, p)
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 &&