Pass the event_info in the "clicked" callback so apps can determine what

button was clicked.


SVN revision: 40647
This commit is contained in:
Christopher Michael 2009-05-14 21:03:20 +00:00
parent 26b4f340b6
commit aafbdaea0e
1 changed files with 3 additions and 2 deletions

View File

@ -54,7 +54,8 @@ _sizing_eval(Evas_Object *obj)
if (wd->no_scale) _els_smart_icon_scale_set(wd->img, 1.0);
else
{
_els_smart_icon_scale_set(wd->img, elm_widget_scale_get(obj) * _elm_config->scale);
_els_smart_icon_scale_set(wd->img, elm_widget_scale_get(obj) *
_elm_config->scale);
_els_smart_icon_size_get(wd->img, &w, &h);
}
if (!wd->scale_down)
@ -74,7 +75,7 @@ _sizing_eval(Evas_Object *obj)
static void
_mouse_up(void *data, Evas *e, Evas_Object *obj, void *event_info)
{
evas_object_smart_callback_call(data, "clicked", NULL);
evas_object_smart_callback_call(data, "clicked", event_info);
}
EAPI Evas_Object *