"clicked" signals now emitted in both of the following cases:

(1)
  mouse down
  move outside part
  move back in
  mouse up

[and more importantly]
(2)
  mouse down
  mouse up

  AFTER:
  mouse down
  move outside part
  mouse up

(this previously resulted in click signals no longer being emitted).


SVN revision: 7091
This commit is contained in:
rephorm 2003-06-25 21:40:32 +00:00 committed by rephorm
parent 1e190a8ac4
commit 5b509159fd
1 changed files with 10 additions and 0 deletions

View File

@ -93,6 +93,16 @@ _edje_mouse_move_cb(void *data, Evas * e, Evas_Object * obj, void *event_info)
(ev->cur.canvas.x >= (x + w)) || (ev->cur.canvas.y >= (y + h)))
rp->still_in = 0;
}
else
{
double x, y, w, h;
evas_object_geometry_get(obj, &x, &y, &w, &h);
if ((ev->cur.canvas.x >= x) && (ev->cur.canvas.y >= y) &&
(ev->cur.canvas.x < (x + w)) && (ev->cur.canvas.y < (y + h)))
rp->still_in = 1;
}
_edje_emit(ed, "mouse,move", rp->part->name);
}