EINA_TRUE/FALSE.
This commit is for consistency inside elementary.
if (ev->button != 1) return;
if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return;
ELM_SAFE_FREE(sd->animator, ecore_animator_del);
- sd->down = EINA_TRUE;
+ sd->mouse_down = EINA_TRUE;
sd->started = EINA_FALSE;
evas_object_geometry_get(data, &x, &y, &w, &h);
sd->x = ev->canvas.x - x;
if (ev->button != 1) return;
if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return;
- sd->down = 0;
+ sd->mouse_down = EINA_FALSE;
if (!sd->started) return;
evas_object_geometry_get(data, &x, &y, &w, &h);
sd->x = ev->canvas.x - x;
Evas_Coord x, y, w, h;
ELM_FLIP_DATA_GET(fl, sd);
- if (!sd->down) return;
+ if (!sd->mouse_down) return;
if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return;
evas_object_geometry_get(data, &x, &y, &w, &h);
sd->x = ev->cur.canvas.x - x;
ELM_WIDGET_DATA_GET_OR_RETURN(data, wd);
if (ev->button != 1) return;
- sd->down = 1;
+ sd->mouse_down = EINA_TRUE;
evas_object_geometry_get(wd->resize_obj, &x, &y, &w, NULL);
sd->dx = ev->canvas.x - x;
sd->dy = ev->canvas.y - y;
ELM_INDEX_DATA_GET(data, sd);
if (ev->button != 1) return;
- sd->down = 0;
+ sd->mouse_down = EINA_FALSE;
item = elm_index_selected_item_get(data, sd->level);
if (item)
{
ELM_INDEX_DATA_GET(data, sd);
ELM_WIDGET_DATA_GET_OR_RETURN(data, wd);
- if (!sd->down) return;
+ if (!sd->mouse_down) return;
elm_coords_finger_size_adjust(1, &minw, 1, &minh);
evas_object_geometry_get(wd->resize_obj, &x, &y, &w, NULL);
x = ev->cur.canvas.x - x;
{
ELM_INDEX_DATA_GET(data, sd);
- if (sd->down) return;
+ if (sd->mouse_down) return;
if (!sd->autohide_disabled)
{
Eina_Bool state : 1;
Eina_Bool next_state : 1;
- Eina_Bool down : 1;
+ Eina_Bool mouse_down : 1;
Eina_Bool finish : 1;
Eina_Bool started : 1;
Eina_Bool backflip : 1;
level. activeness means the box is
filled with contents. */
- Eina_Bool down : 1;
+ Eina_Bool mouse_down : 1;
Eina_Bool horizontal : 1;
Eina_Bool autohide_disabled : 1;
Eina_Bool indicator_disabled : 1;