forked from enlightenment/efl
parent
ac18d7b322
commit
0a60e3a9cc
|
@ -1570,13 +1570,14 @@ _n_long_tap_test(Evas_Object *obj, Pointer_Event *pe,
|
|||
* @ingroup Elm_Gesture_Layer
|
||||
*/
|
||||
static void
|
||||
_set_momentum(Elm_Gesture_Momentum_Info *momentum, Evas_Coord x1, Evas_Coord y1,
|
||||
Evas_Coord x2, Evas_Coord y2, unsigned int t1x, unsigned int t1y,
|
||||
unsigned int t2)
|
||||
_set_momentum(Elm_Gesture_Momentum_Info *momentum,
|
||||
Evas_Coord xx1, Evas_Coord yy1,
|
||||
Evas_Coord xx2, Evas_Coord yy2,
|
||||
unsigned int t1x, unsigned int t1y, unsigned int t2)
|
||||
{
|
||||
Evas_Coord velx = 0, vely = 0, vel;
|
||||
Evas_Coord dx = x2 - x1;
|
||||
Evas_Coord dy = y2 - y1;
|
||||
Evas_Coord dx = xx2 - xx1;
|
||||
Evas_Coord dy = yy2 - yy1;
|
||||
int dtx = t2 - t1x;
|
||||
int dty = t2 - t1y;
|
||||
if (dtx > 0)
|
||||
|
|
|
@ -804,12 +804,12 @@ elm_spinner_base_get(const Evas_Object *obj)
|
|||
}
|
||||
|
||||
EAPI void
|
||||
elm_spinner_round_set(Evas_Object *obj, int round)
|
||||
elm_spinner_round_set(Evas_Object *obj, int rnd)
|
||||
{
|
||||
ELM_CHECK_WIDTYPE(obj, widtype);
|
||||
Widget_Data *wd = elm_widget_data_get(obj);
|
||||
if (!wd) return;
|
||||
wd->round = round;
|
||||
wd->round = rnd;
|
||||
}
|
||||
|
||||
EAPI int
|
||||
|
|
|
@ -404,7 +404,7 @@ EAPI double elm_spinner_base_get(const Evas_Object *obj);
|
|||
*
|
||||
* @ingroup Spinner
|
||||
*/
|
||||
EAPI void elm_spinner_round_set(Evas_Object *obj, int round);
|
||||
EAPI void elm_spinner_round_set(Evas_Object *obj, int rnd);
|
||||
|
||||
/**
|
||||
* Get the round value for rounding
|
||||
|
|
Loading…
Reference in New Issue