Summary: this patch removes some variables that are unused.
Reviewers: Hermet, eagleeye, zmike
Reviewed By: Hermet
Subscribers: #reviewers, cedric, #committers, zmike
Tags: #efl_widgets
Differential Revision: https://phab.enlightenment.org/D6593
if (ev->button == 1)
{
- sd->down.hist.est_timestamp_diff =
+ sd->down.est_timestamp_diff =
ecore_loop_time_get() - ((double)ev->timestamp / 1000.0);
- sd->down.hist.tadd = 0.0;
- sd->down.hist.dxsum = 0.0;
- sd->down.hist.dysum = 0.0;
sd->down.now = EINA_TRUE;
sd->down.dragged = EINA_FALSE;
sd->down.dir_x = EINA_FALSE;
double t;
} pos[100];
- tdiff = sd->down.hist.est_timestamp_diff;
+ tdiff = sd->down.est_timestamp_diff;
tnow = ecore_loop_time_get();
twin = _elm_config->scroll_smooth_time_window;
for (i = 0; i < 60; i++)
double timestamp;
} history[60];
- struct
- {
- double tadd, dxsum, dysum;
- double est_timestamp_diff;
- } hist;
+ double est_timestamp_diff;
double onhold_vx, onhold_vy;
double onhold_vxe, onhold_vye;
// TIZEN_ONLY(20160624): Overscroll effect
edje_object_signal_emit(sid->edje_obj, "elm,state,mouse,down", "elm");
//
- sid->down.hist.est_timestamp_diff =
+ sid->down.est_timestamp_diff =
ecore_loop_time_get() - ((double)ev->timestamp / 1000.0);
- sid->down.hist.tadd = 0.0;
- sid->down.hist.dxsum = 0.0;
- sid->down.hist.dysum = 0.0;
sid->down.now = EINA_TRUE;
sid->down.dragged = EINA_FALSE;
sid->down.dir_x = EINA_FALSE;
double t;
} pos[100];
- tdiff = sid->down.hist.est_timestamp_diff;
+ tdiff = sid->down.est_timestamp_diff;
tnow = ecore_loop_time_get();
twin = _elm_config->scroll_smooth_time_window;
for (i = 0; i < 60; i++)
double timestamp;
} history[60];
- struct
- {
- double tadd, dxsum, dysum;
- double est_timestamp_diff;
- } hist;
+ double est_timestamp_diff;
double dragged_began_timestamp;
double anim_start;