Evas: Rename Clickable_Interface to Efl.Ui.Clickable

Event prefix is efl_ui:
 EFL_UI_EVENT_CLICKED
 EFL_UI_EVENT_CLICKED_DOUBLE
 ...

The event prefix could be reduced to efl but I personally
prefer with UI.
This commit is contained in:
Jean-Philippe Andre 2016-06-10 17:29:40 +09:00
parent 36cec53890
commit e691de04be
62 changed files with 130 additions and 138 deletions

View File

@ -11,7 +11,7 @@ evas_eolian_pub_files = \
lib/evas/canvas/evas_canvas.eo \ lib/evas/canvas/evas_canvas.eo \
lib/evas/canvas/efl_canvas_image_internal.eo \ lib/evas/canvas/efl_canvas_image_internal.eo \
lib/evas/canvas/evas_draggable_interface.eo \ lib/evas/canvas/evas_draggable_interface.eo \
lib/evas/canvas/evas_clickable_interface.eo \ lib/evas/canvas/efl_ui_clickable.eo \
lib/evas/canvas/evas_scrollable_interface.eo \ lib/evas/canvas/evas_scrollable_interface.eo \
lib/evas/canvas/evas_selectable_interface.eo \ lib/evas/canvas/evas_selectable_interface.eo \
lib/evas/canvas/evas_zoomable_interface.eo \ lib/evas/canvas/evas_zoomable_interface.eo \

View File

@ -234,8 +234,8 @@ test_events(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
efl_pack(bx, o); efl_pack(bx, o);
evas_object_show(o); evas_object_show(o);
eo_event_callback_add(td->button, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _clicked_button1, td); eo_event_callback_add(td->button, EFL_UI_EVENT_CLICKED, _clicked_button1, td);
eo_event_callback_add(bt, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _clicked_button2, td); eo_event_callback_add(bt, EFL_UI_EVENT_CLICKED, _clicked_button2, td);
eo_event_callback_add(win, EO_EVENT_DEL, _win_del, td); eo_event_callback_add(win, EO_EVENT_DEL, _win_del, td);
eo_event_callback_array_add(o, rect_pointer_callbacks(), td); eo_event_callback_array_add(o, rect_pointer_callbacks(), td);
eo_event_callback_array_add(win, win_key_callbacks(), td); eo_event_callback_array_add(win, win_key_callbacks(), td);

View File

@ -147,7 +147,7 @@ test_grid_static(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve
bt = elm_button_add(win); bt = elm_button_add(win);
elm_object_text_set(bt, "Next API function"); elm_object_text_set(bt, "Next API function");
eo_event_callback_add(bt, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _api_bt_clicked, api); eo_event_callback_add(bt, EFL_UI_EVENT_CLICKED, _api_bt_clicked, api);
efl_pack_grid(gd, bt, 30, 0, 40, 10); efl_pack_grid(gd, bt, 30, 0, 40, 10);
elm_object_disabled_set(bt, api->state == API_STATE_LAST); elm_object_disabled_set(bt, api->state == API_STATE_LAST);
efl_gfx_visible_set(bt, 1); efl_gfx_visible_set(bt, 1);
@ -176,7 +176,7 @@ test_grid_static(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve
bt = elm_button_add(win); bt = elm_button_add(win);
elm_object_text_set(bt, "Change"); elm_object_text_set(bt, "Change");
efl_pack_grid(gd, bt, 40, 40, 20, 20); efl_pack_grid(gd, bt, 40, 40, 20, 20);
eo_event_callback_add(bt, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _ch_grid, gd); eo_event_callback_add(bt, EFL_UI_EVENT_CLICKED, _ch_grid, gd);
efl_gfx_visible_set(bt, 1); efl_gfx_visible_set(bt, 1);
rc = eo_add(EFL_CANVAS_RECTANGLE_CLASS, win); rc = eo_add(EFL_CANVAS_RECTANGLE_CLASS, win);

View File

@ -511,7 +511,7 @@ append_cb(void *data, const Eo_Event *ev EINA_UNUSED)
Eo *grid = data; Eo *grid = data;
Eo *o = elm_button_add(grid); Eo *o = elm_button_add(grid);
elm_object_text_set(o, btn_text("appended")); elm_object_text_set(o, btn_text("appended"));
eo_event_callback_add(o, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, remove_cb, NULL); eo_event_callback_add(o, EFL_UI_EVENT_CLICKED, remove_cb, NULL);
elm_object_tooltip_text_set(o, "Click to unpack"); elm_object_tooltip_text_set(o, "Click to unpack");
efl_pack_end(grid, o); efl_pack_end(grid, o);
efl_gfx_visible_set(o, 1); efl_gfx_visible_set(o, 1);
@ -567,7 +567,7 @@ test_ui_grid_linear(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
o = elm_button_add(win); o = elm_button_add(win);
elm_object_content_set(o, ico); elm_object_content_set(o, ico);
elm_object_text_set(o, "Append"); elm_object_text_set(o, "Append");
eo_event_callback_add(o, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, append_cb, grid); eo_event_callback_add(o, EFL_UI_EVENT_CLICKED, append_cb, grid);
efl_pack(hbox, o); efl_pack(hbox, o);
efl_gfx_visible_set(o, 1); efl_gfx_visible_set(o, 1);
@ -576,7 +576,7 @@ test_ui_grid_linear(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
o = elm_button_add(win); o = elm_button_add(win);
elm_object_content_set(o, ico); elm_object_content_set(o, ico);
elm_object_text_set(o, "Clear"); elm_object_text_set(o, "Clear");
eo_event_callback_add(o, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, clear_cb, grid); eo_event_callback_add(o, EFL_UI_EVENT_CLICKED, clear_cb, grid);
efl_pack(hbox, o); efl_pack(hbox, o);
efl_gfx_visible_set(o, 1); efl_gfx_visible_set(o, 1);
@ -624,19 +624,19 @@ test_ui_grid_linear(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
o = elm_button_add(win); o = elm_button_add(win);
elm_object_text_set(o, btn_text(NULL)); elm_object_text_set(o, btn_text(NULL));
eo_event_callback_add(o, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, remove_cb, NULL); eo_event_callback_add(o, EFL_UI_EVENT_CLICKED, remove_cb, NULL);
efl_pack(grid, o); efl_pack(grid, o);
efl_gfx_visible_set(o, 1); efl_gfx_visible_set(o, 1);
o = elm_button_add(win); o = elm_button_add(win);
elm_object_text_set(o, btn_text(NULL)); elm_object_text_set(o, btn_text(NULL));
eo_event_callback_add(o, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, remove_cb, NULL); eo_event_callback_add(o, EFL_UI_EVENT_CLICKED, remove_cb, NULL);
efl_pack(grid, o); efl_pack(grid, o);
efl_gfx_visible_set(o, 1); efl_gfx_visible_set(o, 1);
o = elm_button_add(win); o = elm_button_add(win);
elm_object_text_set(o, btn_text(NULL)); elm_object_text_set(o, btn_text(NULL));
eo_event_callback_add(o, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, remove_cb, NULL); eo_event_callback_add(o, EFL_UI_EVENT_CLICKED, remove_cb, NULL);
efl_pack(grid, o); efl_pack(grid, o);
efl_gfx_visible_set(o, 1); efl_gfx_visible_set(o, 1);

View File

@ -79,7 +79,7 @@ _on_mouse_up(void *data,
if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return; if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return;
if (!wd->still_in) return; if (!wd->still_in) return;
eo_event_callback_call(data, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, NULL); eo_event_callback_call(data, EFL_UI_EVENT_CLICKED, NULL);
} }
static Eina_Bool static Eina_Bool
@ -749,7 +749,7 @@ _efl_ui_image_elm_widget_theme_apply(Eo *obj, Efl_Ui_Image_Data *sd EINA_UNUSED)
static Eina_Bool static Eina_Bool
_key_action_activate(Evas_Object *obj, const char *params EINA_UNUSED) _key_action_activate(Evas_Object *obj, const char *params EINA_UNUSED)
{ {
eo_event_callback_call(obj, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, NULL); eo_event_callback_call(obj, EFL_UI_EVENT_CLICKED, NULL);
return EINA_TRUE; return EINA_TRUE;
} }

View File

@ -44,7 +44,7 @@ struct Efl.Ui.Image.Error
open_error: bool; open_error: bool;
} }
class Efl.Ui.Image (Elm.Widget, Evas.Clickable_Interface, Evas.Draggable_Interface, class Efl.Ui.Image (Elm.Widget, Efl.Ui.Clickable, Evas.Draggable_Interface,
Efl.File, Efl.Image, Efl.Image.Load, Efl.Player, Efl.Gfx.View, Efl.File, Efl.Image, Efl.Image.Load, Efl.Player, Efl.Gfx.View,
Elm.Interface.Atspi_Image, Elm.Interface.Atspi_Widget_Action, Elm.Interface.Atspi_Image, Elm.Interface.Atspi_Widget_Action,
Edje.Object, Efl.Orientation, Efl.Flipable) Edje.Object, Efl.Orientation, Efl.Flipable)

View File

@ -278,7 +278,7 @@ _elm_combobox_evas_object_smart_add(Eo *obj, Elm_Combobox_Data *sd EINA_UNUSED)
elm_widget_mirrored_automatic_set(obj, EINA_FALSE); elm_widget_mirrored_automatic_set(obj, EINA_FALSE);
eo_event_callback_add(obj, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _on_clicked, obj); eo_event_callback_add(obj, EFL_UI_EVENT_CLICKED, _on_clicked, obj);
//What are you doing here? //What are you doing here?
elm_obj_widget_theme_apply(obj); elm_obj_widget_theme_apply(obj);
@ -349,7 +349,7 @@ _mbe_item_added(void *data, const Eo_Event *event EINA_UNUSED)
} }
EO_CALLBACKS_ARRAY_DEFINE(mbe_callbacks, EO_CALLBACKS_ARRAY_DEFINE(mbe_callbacks,
{ EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _mbe_clicked_cb }, { EFL_UI_EVENT_CLICKED, _mbe_clicked_cb },
{ ELM_WIDGET_EVENT_FOCUSED, _mbe_focused_cb }, { ELM_WIDGET_EVENT_FOCUSED, _mbe_focused_cb },
{ ELM_WIDGET_EVENT_UNFOCUSED, _mbe_unfocused_cb }, { ELM_WIDGET_EVENT_UNFOCUSED, _mbe_unfocused_cb },
{ ELM_MULTIBUTTONENTRY_EVENT_ITEM_ADDED , _mbe_item_added }); { ELM_MULTIBUTTONENTRY_EVENT_ITEM_ADDED , _mbe_item_added });
@ -443,7 +443,7 @@ _elm_combobox_eo_base_constructor(Eo *obj, Elm_Combobox_Data *sd)
elm_object_style_set(sd->hover, buf); elm_object_style_set(sd->hover, buf);
eo_event_callback_add eo_event_callback_add
(sd->hover, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _on_hover_clicked, obj); (sd->hover, EFL_UI_EVENT_CLICKED, _on_hover_clicked, obj);
elm_layout_signal_callback_add elm_layout_signal_callback_add
(sd->hover, "elm,action,hide,finished", "elm", _hover_end_finished, obj); (sd->hover, "elm,action,hide,finished", "elm", _hover_end_finished, obj);
@ -563,7 +563,7 @@ _key_action_activate(Evas_Object *obj, const char *params EINA_UNUSED)
elm_combobox_hover_begin(obj); elm_combobox_hover_begin(obj);
else else
{ {
eo_event_callback_call(sd->genlist, EVAS_CLICKABLE_INTERFACE_EVENT_PRESSED, sd->item); eo_event_callback_call(sd->genlist, EFL_UI_EVENT_PRESSED, sd->item);
elm_entry_cursor_end_set(sd->entry); elm_entry_cursor_end_set(sd->entry);
} }
return EINA_TRUE; return EINA_TRUE;

View File

@ -1877,7 +1877,7 @@ _elm_fileselector_evas_object_smart_add(Eo *obj, Elm_Fileselector_Data *priv)
elm_object_part_content_set(bt, "icon", ic); elm_object_part_content_set(bt, "icon", ic);
elm_object_domain_translatable_text_set(bt, PACKAGE, N_("Up")); elm_object_domain_translatable_text_set(bt, PACKAGE, N_("Up"));
eo_event_callback_add eo_event_callback_add
(bt, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _on_dir_up, obj); (bt, EFL_UI_EVENT_CLICKED, _on_dir_up, obj);
priv->up_button = bt; priv->up_button = bt;
elm_object_style_set(priv->up_button, buf); elm_object_style_set(priv->up_button, buf);
@ -1891,7 +1891,7 @@ _elm_fileselector_evas_object_smart_add(Eo *obj, Elm_Fileselector_Data *priv)
elm_object_part_content_set(bt, "icon", ic); elm_object_part_content_set(bt, "icon", ic);
elm_object_domain_translatable_text_set(bt, PACKAGE, N_("Home")); elm_object_domain_translatable_text_set(bt, PACKAGE, N_("Home"));
eo_event_callback_add eo_event_callback_add
(bt, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _home, obj); (bt, EFL_UI_EVENT_CLICKED, _home, obj);
priv->home_button = bt; priv->home_button = bt;
elm_object_style_set(priv->home_button, buf); elm_object_style_set(priv->home_button, buf);
@ -2112,8 +2112,7 @@ _elm_fileselector_buttons_ok_cancel_set(Eo *obj, Elm_Fileselector_Data *sd, Eina
elm_widget_mirrored_automatic_set(bt, EINA_FALSE); elm_widget_mirrored_automatic_set(bt, EINA_FALSE);
elm_object_domain_translatable_text_set(bt, PACKAGE, N_("Cancel")); elm_object_domain_translatable_text_set(bt, PACKAGE, N_("Cancel"));
eo_event_callback_add eo_event_callback_add(bt, EFL_UI_EVENT_CLICKED, _canc, obj);
(bt, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _canc, obj);
sd->cancel_button = bt; sd->cancel_button = bt;
elm_object_part_content_set(obj, "elm.swallow.cancel", sd->cancel_button); elm_object_part_content_set(obj, "elm.swallow.cancel", sd->cancel_button);
@ -2123,8 +2122,7 @@ _elm_fileselector_buttons_ok_cancel_set(Eo *obj, Elm_Fileselector_Data *sd, Eina
elm_widget_mirrored_automatic_set(bt, EINA_FALSE); elm_widget_mirrored_automatic_set(bt, EINA_FALSE);
elm_object_domain_translatable_text_set(bt, PACKAGE, N_("OK")); elm_object_domain_translatable_text_set(bt, PACKAGE, N_("OK"));
eo_event_callback_add eo_event_callback_add(bt, EFL_UI_EVENT_CLICKED, _ok, obj);
(bt, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _ok, obj);
sd->ok_button = bt; sd->ok_button = bt;
elm_object_part_content_set(obj, "elm.swallow.ok", sd->ok_button); elm_object_part_content_set(obj, "elm.swallow.ok", sd->ok_button);

View File

@ -239,8 +239,7 @@ _elm_fileselector_button_evas_object_smart_add(Eo *obj, Elm_Fileselector_Button_
elm_widget_mirrored_automatic_set(obj, EINA_FALSE); elm_widget_mirrored_automatic_set(obj, EINA_FALSE);
eo_event_callback_add eo_event_callback_add(obj, EFL_UI_EVENT_CLICKED, _button_clicked, priv);
(obj, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _button_clicked, priv);
elm_obj_widget_theme_apply(obj); elm_obj_widget_theme_apply(obj);
elm_widget_can_focus_set(obj, EINA_TRUE); elm_widget_can_focus_set(obj, EINA_TRUE);

View File

@ -55,15 +55,15 @@ static const Evas_Smart_Cb_Description _smart_callbacks[] =
} }
SIG_FWD(CHANGED, ELM_FILESELECTOR_ENTRY_EVENT_CHANGED) SIG_FWD(CHANGED, ELM_FILESELECTOR_ENTRY_EVENT_CHANGED)
SIG_FWD(PRESS, ELM_FILESELECTOR_ENTRY_EVENT_PRESS) SIG_FWD(PRESS, ELM_FILESELECTOR_ENTRY_EVENT_PRESS)
SIG_FWD(LONGPRESSED, EVAS_CLICKABLE_INTERFACE_EVENT_LONGPRESSED) SIG_FWD(LONGPRESSED, EFL_UI_EVENT_LONGPRESSED)
SIG_FWD(CLICKED, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED) SIG_FWD(CLICKED, EFL_UI_EVENT_CLICKED)
SIG_FWD(CLICKED_DOUBLE, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED_DOUBLE) SIG_FWD(CLICKED_DOUBLE, EFL_UI_EVENT_CLICKED_DOUBLE)
SIG_FWD(FOCUSED, ELM_WIDGET_EVENT_FOCUSED) SIG_FWD(FOCUSED, ELM_WIDGET_EVENT_FOCUSED)
SIG_FWD(UNFOCUSED, ELM_WIDGET_EVENT_UNFOCUSED) SIG_FWD(UNFOCUSED, ELM_WIDGET_EVENT_UNFOCUSED)
SIG_FWD(SELECTION_PASTE, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_PASTE) SIG_FWD(SELECTION_PASTE, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_PASTE)
SIG_FWD(SELECTION_COPY, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_COPY) SIG_FWD(SELECTION_COPY, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_COPY)
SIG_FWD(SELECTION_CUT, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_CUT) SIG_FWD(SELECTION_CUT, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_CUT)
SIG_FWD(UNPRESSED, EVAS_CLICKABLE_INTERFACE_EVENT_UNPRESSED) SIG_FWD(UNPRESSED, EFL_UI_EVENT_UNPRESSED)
#undef SIG_FWD #undef SIG_FWD
static void static void
@ -332,8 +332,8 @@ _elm_fileselector_entry_evas_object_smart_add(Eo *obj, Elm_Fileselector_Entry_Da
#define SIG_FWD(name, event) \ #define SIG_FWD(name, event) \
eo_event_callback_add(priv->button, event, _##name##_fwd, obj) eo_event_callback_add(priv->button, event, _##name##_fwd, obj)
SIG_FWD(CLICKED, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED); SIG_FWD(CLICKED, EFL_UI_EVENT_CLICKED);
SIG_FWD(UNPRESSED, EVAS_CLICKABLE_INTERFACE_EVENT_UNPRESSED); SIG_FWD(UNPRESSED, EFL_UI_EVENT_UNPRESSED);
// EVENTS: should not call legacy // EVENTS: should not call legacy
//SIG_FWD(FILE_CHOSEN, ELM_FILESELECTOR_BUTTON_EVENT_FILE_CHOSEN); //SIG_FWD(FILE_CHOSEN, ELM_FILESELECTOR_BUTTON_EVENT_FILE_CHOSEN);
#undef SIG_FWD #undef SIG_FWD
@ -352,9 +352,9 @@ _elm_fileselector_entry_evas_object_smart_add(Eo *obj, Elm_Fileselector_Entry_Da
SIG_FWD(CHANGED, ELM_ENTRY_EVENT_CHANGED); SIG_FWD(CHANGED, ELM_ENTRY_EVENT_CHANGED);
SIG_FWD(ACTIVATED, ELM_ENTRY_EVENT_ACTIVATED); SIG_FWD(ACTIVATED, ELM_ENTRY_EVENT_ACTIVATED);
SIG_FWD(PRESS, ELM_ENTRY_EVENT_PRESS); SIG_FWD(PRESS, ELM_ENTRY_EVENT_PRESS);
SIG_FWD(LONGPRESSED, EVAS_CLICKABLE_INTERFACE_EVENT_LONGPRESSED); SIG_FWD(LONGPRESSED, EFL_UI_EVENT_LONGPRESSED);
SIG_FWD(CLICKED, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED); SIG_FWD(CLICKED, EFL_UI_EVENT_CLICKED);
SIG_FWD(CLICKED_DOUBLE, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED_DOUBLE); SIG_FWD(CLICKED_DOUBLE, EFL_UI_EVENT_CLICKED_DOUBLE);
SIG_FWD(FOCUSED, ELM_WIDGET_EVENT_FOCUSED); SIG_FWD(FOCUSED, ELM_WIDGET_EVENT_FOCUSED);
SIG_FWD(UNFOCUSED, ELM_WIDGET_EVENT_UNFOCUSED); SIG_FWD(UNFOCUSED, ELM_WIDGET_EVENT_UNFOCUSED);
SIG_FWD(SELECTION_PASTE, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_PASTE); SIG_FWD(SELECTION_PASTE, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_PASTE);

View File

@ -411,7 +411,7 @@ _activate(Evas_Object *obj)
elm_object_style_set(sd->hover, buf); elm_object_style_set(sd->hover, buf);
eo_event_callback_add eo_event_callback_add
(sd->hover, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _on_hover_clicked, obj); (sd->hover, EFL_UI_EVENT_CLICKED, _on_hover_clicked, obj);
elm_layout_signal_callback_add elm_layout_signal_callback_add
(sd->hover, "elm,action,hide,finished", "elm", _hover_end_finished, obj); (sd->hover, "elm,action,hide,finished", "elm", _hover_end_finished, obj);
elm_hover_target_set(sd->hover, obj); elm_hover_target_set(sd->hover, obj);
@ -566,7 +566,7 @@ _elm_hoversel_evas_object_smart_add(Eo *obj, Elm_Hoversel_Data *priv)
evas_obj_smart_add(eo_super(obj, MY_CLASS)); evas_obj_smart_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj); elm_widget_sub_object_parent_add(obj);
eo_event_callback_add(obj, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _on_clicked, obj); eo_event_callback_add(obj, EFL_UI_EVENT_CLICKED, _on_clicked, obj);
//What are you doing here? //What are you doing here?
elm_obj_widget_theme_apply(obj); elm_obj_widget_theme_apply(obj);
@ -800,7 +800,7 @@ _elm_hoversel_item_add(Eo *obj, Elm_Hoversel_Data *sd, const char *label, const
evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL); evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL);
eo_event_callback_add(bt, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _on_item_clicked, item); eo_event_callback_add(bt, EFL_UI_EVENT_CLICKED, _on_item_clicked, item);
eo_event_callback_add(bt, ELM_WIDGET_EVENT_FOCUSED, _item_focused_cb, item); eo_event_callback_add(bt, ELM_WIDGET_EVENT_FOCUSED, _item_focused_cb, item);
eo_event_callback_add(bt, ELM_WIDGET_EVENT_UNFOCUSED, _item_unfocused_cb, item); eo_event_callback_add(bt, ELM_WIDGET_EVENT_UNFOCUSED, _item_unfocused_cb, item);

View File

@ -58,7 +58,7 @@ EO_CALLBACKS_ARRAY_DEFINE(_multi_buttonentry_cb,
{ ELM_MULTIBUTTONENTRY_EVENT_CHANGED, _entry_changed_cb }, { ELM_MULTIBUTTONENTRY_EVENT_CHANGED, _entry_changed_cb },
{ ELM_WIDGET_EVENT_FOCUSED, _entry_focus_in_cb }, { ELM_WIDGET_EVENT_FOCUSED, _entry_focus_in_cb },
{ ELM_WIDGET_EVENT_UNFOCUSED, _entry_focus_out_cb }, { ELM_WIDGET_EVENT_UNFOCUSED, _entry_focus_out_cb },
{ EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _entry_clicked_cb } { EFL_UI_EVENT_CLICKED, _entry_clicked_cb }
); );
EOLIAN static Eina_Bool EOLIAN static Eina_Bool
@ -969,7 +969,7 @@ _mouse_clicked_signal_cb(void *data EINA_UNUSED,
const char *emission EINA_UNUSED, const char *emission EINA_UNUSED,
const char *source EINA_UNUSED) const char *source EINA_UNUSED)
{ {
eo_event_callback_call(obj, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, NULL); eo_event_callback_call(obj, EFL_UI_EVENT_CLICKED, NULL);
} }
static void static void

View File

@ -696,7 +696,7 @@ _item_title_prev_btn_unset(Elm_Naviframe_Item_Data *it)
evas_object_event_callback_del evas_object_event_callback_del
(content, EVAS_CALLBACK_DEL, _item_title_prev_btn_del_cb); (content, EVAS_CALLBACK_DEL, _item_title_prev_btn_del_cb);
Eo* parent = eo_parent_get(content); Eo* parent = eo_parent_get(content);
eo_event_callback_del(content, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _on_item_back_btn_clicked, parent); eo_event_callback_del(content, EFL_UI_EVENT_CLICKED, _on_item_back_btn_clicked, parent);
it->title_prev_btn = NULL; it->title_prev_btn = NULL;
if (it->auto_pushed_btn) it->auto_pushed_btn = NULL; if (it->auto_pushed_btn) it->auto_pushed_btn = NULL;
return content; return content;
@ -960,7 +960,7 @@ _on_item_back_btn_clicked(void *data, const Eo_Event *event)
multiple times on some heavy environment. This callback del will multiple times on some heavy environment. This callback del will
prevent those scenario and guarantee only one clicked for it's own prevent those scenario and guarantee only one clicked for it's own
page. */ page. */
eo_event_callback_del(event->object, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _on_item_back_btn_clicked, data); eo_event_callback_del(event->object, EFL_UI_EVENT_CLICKED, _on_item_back_btn_clicked, data);
elm_naviframe_item_pop(data); elm_naviframe_item_pop(data);
return EINA_TRUE; return EINA_TRUE;
@ -976,7 +976,7 @@ _back_btn_new(Evas_Object *obj, const char *title_label)
if (!btn) return NULL; if (!btn) return NULL;
eo_event_callback_add eo_event_callback_add
(btn, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _on_item_back_btn_clicked, obj); (btn, EFL_UI_EVENT_CLICKED, _on_item_back_btn_clicked, obj);
snprintf snprintf
(buf, sizeof(buf), "naviframe/back_btn/%s", elm_widget_style_get(obj)); (buf, sizeof(buf), "naviframe/back_btn/%s", elm_widget_style_get(obj));
elm_object_style_set(btn, buf); elm_object_style_set(btn, buf);
@ -1494,7 +1494,7 @@ _key_action_top_item_get(Evas_Object *obj, const char *params EINA_UNUSED)
///Leave for compatibility. ///Leave for compatibility.
ELM_NAVIFRAME_ITEM_DATA_GET(eo_item, it); ELM_NAVIFRAME_ITEM_DATA_GET(eo_item, it);
if (it->title_prev_btn) if (it->title_prev_btn)
eo_event_callback_call(it->title_prev_btn, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, NULL); eo_event_callback_call(it->title_prev_btn, EFL_UI_EVENT_CLICKED, NULL);
return EINA_TRUE; return EINA_TRUE;
} }
@ -1730,7 +1730,7 @@ _elm_naviframe_item_pop(Eo *obj, Elm_Naviframe_Data *sd)
callback of the auto pushed button should be restored. */ callback of the auto pushed button should be restored. */
if (it->auto_pushed_btn) if (it->auto_pushed_btn)
eo_event_callback_add eo_event_callback_add
(it->auto_pushed_btn, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _on_item_back_btn_clicked, obj); (it->auto_pushed_btn, EFL_UI_EVENT_CLICKED, _on_item_back_btn_clicked, obj);
it->popping = EINA_FALSE; it->popping = EINA_FALSE;
} }
evas_object_unref(obj); evas_object_unref(obj);

View File

@ -535,7 +535,7 @@ _player_button_add(Evas_Object *obj,
elm_widget_style_get(obj)); elm_widget_style_get(obj));
elm_object_style_set(bt, buf); elm_object_style_set(bt, buf);
eo_event_callback_add eo_event_callback_add
(bt, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, func, obj); (bt, EFL_UI_EVENT_CLICKED, func, obj);
snprintf(buf, sizeof(buf), "elm.swallow.media_player.%s", name); snprintf(buf, sizeof(buf), "elm.swallow.media_player.%s", name);
if (!elm_layout_content_set(obj, buf, bt)) if (!elm_layout_content_set(obj, buf, bt))
{ {

View File

@ -71,7 +71,7 @@ _on_mouse_up(void *data,
if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD)
return; return;
eo_event_callback_call(data, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, NULL); eo_event_callback_call(data, EFL_UI_EVENT_CLICKED, NULL);
} }
/* overriding layout's focus_next() in order to just cycle through the /* overriding layout's focus_next() in order to just cycle through the

View File

@ -12,7 +12,7 @@ enum Elm.Bubble.Pos
bottom_right [[The arrow of the bubble points to the bottom right corner.]] bottom_right [[The arrow of the bubble points to the bottom right corner.]]
} }
class Elm.Bubble (Elm.Layout, Evas.Clickable_Interface) class Elm.Bubble (Elm.Layout, Efl.Ui.Clickable)
{ {
[[Speech bubble widget used in messaging applications]] [[Speech bubble widget used in messaging applications]]

View File

@ -70,7 +70,7 @@ _activate(Evas_Object *obj)
if (!elm_widget_disabled_get(obj) && if (!elm_widget_disabled_get(obj) &&
!evas_object_freeze_events_get(obj)) !evas_object_freeze_events_get(obj))
eo_event_callback_call eo_event_callback_call
(obj, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, NULL); (obj, EFL_UI_EVENT_CLICKED, NULL);
} }
} }
@ -94,7 +94,7 @@ _elm_button_elm_widget_activate(Eo *obj, Elm_Button_Data *_pd EINA_UNUSED, Elm_A
if (evas_object_freeze_events_get(obj)) return EINA_FALSE; if (evas_object_freeze_events_get(obj)) return EINA_FALSE;
eo_event_callback_call eo_event_callback_call
(obj, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, NULL); (obj, EFL_UI_EVENT_CLICKED, NULL);
elm_layout_signal_emit(obj, "elm,anim,activate", "elm"); elm_layout_signal_emit(obj, "elm,anim,activate", "elm");
return EINA_TRUE; return EINA_TRUE;
@ -202,7 +202,7 @@ _autorepeat_send(void *data)
ELM_BUTTON_DATA_GET_OR_RETURN_VAL(data, sd, ECORE_CALLBACK_CANCEL); ELM_BUTTON_DATA_GET_OR_RETURN_VAL(data, sd, ECORE_CALLBACK_CANCEL);
eo_event_callback_call eo_event_callback_call
(data, EVAS_CLICKABLE_INTERFACE_EVENT_REPEATED, NULL); (data, EFL_UI_EVENT_REPEATED, NULL);
if (!sd->repeating) if (!sd->repeating)
{ {
sd->timer = NULL; sd->timer = NULL;
@ -243,7 +243,7 @@ _on_pressed_signal(void *data,
} }
eo_event_callback_call eo_event_callback_call
(data, EVAS_CLICKABLE_INTERFACE_EVENT_PRESSED, NULL); (data, EFL_UI_EVENT_PRESSED, NULL);
} }
static void static void
@ -257,7 +257,7 @@ _on_unpressed_signal(void *data,
ELM_SAFE_FREE(sd->timer, ecore_timer_del); ELM_SAFE_FREE(sd->timer, ecore_timer_del);
sd->repeating = EINA_FALSE; sd->repeating = EINA_FALSE;
eo_event_callback_call eo_event_callback_call
(data, EVAS_CLICKABLE_INTERFACE_EVENT_UNPRESSED, NULL); (data, EFL_UI_EVENT_UNPRESSED, NULL);
} }
static char * static char *

View File

@ -1,4 +1,4 @@
class Elm.Button (Elm.Layout, Evas.Clickable_Interface, class Elm.Button (Elm.Layout, Efl.Ui.Clickable,
Elm.Interface.Atspi_Widget_Action) Elm.Interface.Atspi_Widget_Action)
{ {
[[Push-button widget [[Push-button widget

View File

@ -744,7 +744,7 @@ elm_color_class_editor_add(Evas_Object *obj)
elm_object_text_set(bt, "Reset"); elm_object_text_set(bt, "Reset");
elm_object_part_content_set(ly, "elm.swallow.reset", bt); elm_object_part_content_set(ly, "elm.swallow.reset", bt);
eo_event_callback_add eo_event_callback_add
(bt, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _colorclass_reset, cc); (bt, EFL_UI_EVENT_CLICKED, _colorclass_reset, cc);
cc->cs = cs = elm_colorselector_add(ly); cc->cs = cs = elm_colorselector_add(ly);
elm_colorselector_mode_set(cs, ELM_COLORSELECTOR_COMPONENTS); elm_colorselector_mode_set(cs, ELM_COLORSELECTOR_COMPONENTS);

View File

@ -897,7 +897,7 @@ _create_colorpicker(Evas_Object *obj)
elm_object_style_set(sd->button, style); elm_object_style_set(sd->button, style);
elm_object_text_set(sd->button, E_("Pick a color")); elm_object_text_set(sd->button, E_("Pick a color"));
eo_event_callback_add eo_event_callback_add
(sd->button, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _start_grab_pick_cb, obj); (sd->button, EFL_UI_EVENT_CLICKED, _start_grab_pick_cb, obj);
elm_box_pack_end(bx, sd->button); elm_box_pack_end(bx, sd->button);
evas_object_show(sd->button); evas_object_show(sd->button);
} }
@ -1246,14 +1246,14 @@ _color_bars_add(Evas_Object *obj)
edje_object_part_swallow edje_object_part_swallow
(sd->cb_data[i]->colorbar, "elm.l_button", sd->cb_data[i]->lbt); (sd->cb_data[i]->colorbar, "elm.l_button", sd->cb_data[i]->lbt);
eo_event_callback_add eo_event_callback_add
(sd->cb_data[i]->lbt, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _button_clicked_cb, sd->cb_data[i]); (sd->cb_data[i]->lbt, EFL_UI_EVENT_CLICKED, _button_clicked_cb, sd->cb_data[i]);
elm_button_autorepeat_set(sd->cb_data[i]->lbt, EINA_TRUE); elm_button_autorepeat_set(sd->cb_data[i]->lbt, EINA_TRUE);
elm_button_autorepeat_initial_timeout_set elm_button_autorepeat_initial_timeout_set
(sd->cb_data[i]->lbt, _elm_config->longpress_timeout); (sd->cb_data[i]->lbt, _elm_config->longpress_timeout);
elm_button_autorepeat_gap_timeout_set elm_button_autorepeat_gap_timeout_set
(sd->cb_data[i]->lbt, (1.0 / _elm_config->fps)); (sd->cb_data[i]->lbt, (1.0 / _elm_config->fps));
eo_event_callback_add eo_event_callback_add
(sd->cb_data[i]->lbt, EVAS_CLICKABLE_INTERFACE_EVENT_REPEATED, _button_repeat_cb, sd->cb_data[i]); (sd->cb_data[i]->lbt, EFL_UI_EVENT_REPEATED, _button_repeat_cb, sd->cb_data[i]);
/* load right button */ /* load right button */
if (!sd->cb_data[i]->rbt) sd->cb_data[i]->rbt = elm_button_add(sd->col_bars_area); if (!sd->cb_data[i]->rbt) sd->cb_data[i]->rbt = elm_button_add(sd->col_bars_area);
@ -1264,14 +1264,14 @@ _color_bars_add(Evas_Object *obj)
edje_object_part_swallow edje_object_part_swallow
(sd->cb_data[i]->colorbar, "elm.r_button", sd->cb_data[i]->rbt); (sd->cb_data[i]->colorbar, "elm.r_button", sd->cb_data[i]->rbt);
eo_event_callback_add eo_event_callback_add
(sd->cb_data[i]->rbt, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _button_clicked_cb, sd->cb_data[i]); (sd->cb_data[i]->rbt, EFL_UI_EVENT_CLICKED, _button_clicked_cb, sd->cb_data[i]);
elm_button_autorepeat_set(sd->cb_data[i]->rbt, EINA_TRUE); elm_button_autorepeat_set(sd->cb_data[i]->rbt, EINA_TRUE);
elm_button_autorepeat_initial_timeout_set elm_button_autorepeat_initial_timeout_set
(sd->cb_data[i]->rbt, _elm_config->longpress_timeout); (sd->cb_data[i]->rbt, _elm_config->longpress_timeout);
elm_button_autorepeat_gap_timeout_set elm_button_autorepeat_gap_timeout_set
(sd->cb_data[i]->rbt, (1.0 / _elm_config->fps)); (sd->cb_data[i]->rbt, (1.0 / _elm_config->fps));
eo_event_callback_add eo_event_callback_add
(sd->cb_data[i]->rbt, EVAS_CLICKABLE_INTERFACE_EVENT_REPEATED, _button_repeat_cb, sd->cb_data[i]); (sd->cb_data[i]->rbt, EFL_UI_EVENT_REPEATED, _button_repeat_cb, sd->cb_data[i]);
} }
} }

View File

@ -13,7 +13,7 @@ enum Elm.Colorselector.Mode
} }
class Elm.Colorselector (Elm.Layout, Elm.Interface.Atspi_Widget_Action, class Elm.Colorselector (Elm.Layout, Elm.Interface.Atspi_Widget_Action,
Evas.Clickable_Interface) Efl.Ui.Clickable)
{ {
legacy_prefix: elm_colorselector; legacy_prefix: elm_colorselector;
eo_prefix: elm_obj_colorselector; eo_prefix: elm_obj_colorselector;

View File

@ -612,7 +612,7 @@ _item_click_cb(void *data,
if (it->func) it->func((void *)WIDGET_ITEM_DATA_GET(eo_it), WIDGET(it), eo_it); if (it->func) it->func((void *)WIDGET_ITEM_DATA_GET(eo_it), WIDGET(it), eo_it);
eo_event_callback_call eo_event_callback_call
(WIDGET(it), EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, eo_it); (WIDGET(it), EFL_UI_EVENT_CLICKED, eo_it);
} }
static char * static char *

View File

@ -1,6 +1,6 @@
class Elm.Diskselector (Elm.Widget, Elm.Interface_Scrollable, class Elm.Diskselector (Elm.Widget, Elm.Interface_Scrollable,
Elm.Interface.Atspi_Widget_Action, Elm.Interface.Atspi_Widget_Action,
Evas.Clickable_Interface, Evas.Scrollable_Interface, Efl.Ui.Clickable, Evas.Scrollable_Interface,
Evas.Selectable_Interface) Evas.Selectable_Interface)
{ {
legacy_prefix: elm_diskselector; legacy_prefix: elm_diskselector;

View File

@ -1910,7 +1910,7 @@ _long_press_cb(void *data)
sd->longpress_timer = NULL; sd->longpress_timer = NULL;
eo_event_callback_call eo_event_callback_call
(data, EVAS_CLICKABLE_INTERFACE_EVENT_LONGPRESSED, NULL); (data, EFL_UI_EVENT_LONGPRESSED, NULL);
return ECORE_CALLBACK_CANCEL; return ECORE_CALLBACK_CANCEL;
} }
@ -2526,7 +2526,7 @@ _entry_hover_anchor_clicked_do(Evas_Object *obj,
eo_event_callback_call(obj, ELM_ENTRY_EVENT_ANCHOR_HOVER_OPENED, &ei); eo_event_callback_call(obj, ELM_ENTRY_EVENT_ANCHOR_HOVER_OPENED, &ei);
eo_event_callback_add eo_event_callback_add
(sd->anchor_hover.hover, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _anchor_hover_clicked_cb, obj); (sd->anchor_hover.hover, EFL_UI_EVENT_CLICKED, _anchor_hover_clicked_cb, obj);
/* FIXME: Should just check if there's any callback registered to /* FIXME: Should just check if there's any callback registered to
* the smart events instead. This is used to determine if anyone * the smart events instead. This is used to determine if anyone
@ -2651,7 +2651,7 @@ _entry_mouse_clicked_signal_cb(void *data,
const char *source EINA_UNUSED) const char *source EINA_UNUSED)
{ {
eo_event_callback_call eo_event_callback_call
(data, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, NULL); (data, EFL_UI_EVENT_CLICKED, NULL);
} }
static void static void
@ -2661,7 +2661,7 @@ _entry_mouse_double_signal_cb(void *data,
const char *source EINA_UNUSED) const char *source EINA_UNUSED)
{ {
eo_event_callback_call eo_event_callback_call
(data, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED_DOUBLE, NULL); (data, EFL_UI_EVENT_CLICKED_DOUBLE, NULL);
} }
static void static void
@ -2671,7 +2671,7 @@ _entry_mouse_triple_signal_cb(void *data,
const char *source EINA_UNUSED) const char *source EINA_UNUSED)
{ {
eo_event_callback_call eo_event_callback_call
(data, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED_TRIPLE, NULL); (data, EFL_UI_EVENT_CLICKED_TRIPLE, NULL);
} }
static Evas_Object * static Evas_Object *
@ -5313,7 +5313,7 @@ _elm_entry_elm_widget_activate(Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED, Elm_Act
!evas_object_freeze_events_get(obj)) !evas_object_freeze_events_get(obj))
{ {
eo_event_callback_call eo_event_callback_call
(obj, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, NULL); (obj, EFL_UI_EVENT_CLICKED, NULL);
if (sd->editable && sd->input_panel_enable) if (sd->editable && sd->input_panel_enable)
edje_object_part_text_input_panel_show(sd->entry_edje, "elm.text"); edje_object_part_text_input_panel_show(sd->entry_edje, "elm.text");
} }

View File

@ -114,7 +114,7 @@ enum Elm.Cnp_Mode
plaintext, [[ copy & paste text without markup tag ]] plaintext, [[ copy & paste text without markup tag ]]
} }
class Elm.Entry (Elm.Layout, Elm.Interface_Scrollable, Evas.Clickable_Interface, class Elm.Entry (Elm.Layout, Elm.Interface_Scrollable, Efl.Ui.Clickable,
Elm.Interface.Atspi.Text, Elm.Interface.Atspi.Text.Editable, Efl.File, Elm.Interface.Atspi.Text, Elm.Interface.Atspi.Text.Editable, Efl.File,
Evas.Selectable_Interface, Evas.Scrollable_Interface) Evas.Selectable_Interface, Evas.Scrollable_Interface)
{ {

View File

@ -1,6 +1,6 @@
class Elm.Fileselector (Elm.Layout, Elm.Interface.Fileselector, class Elm.Fileselector (Elm.Layout, Elm.Interface.Fileselector,
Elm.Interface.Atspi_Widget_Action, Elm.Interface.Atspi_Widget_Action,
Evas.Clickable_Interface, Evas.Selectable_Interface) Efl.Ui.Clickable, Evas.Selectable_Interface)
{ {
legacy_prefix: elm_fileselector; legacy_prefix: elm_fileselector;
eo_prefix: elm_obj_fileselector; eo_prefix: elm_obj_fileselector;

View File

@ -1,5 +1,5 @@
class Elm.Fileselector_Entry (Elm.Layout, Elm.Interface.Fileselector, class Elm.Fileselector_Entry (Elm.Layout, Elm.Interface.Fileselector,
Evas.Clickable_Interface, Evas.Selectable_Interface) Efl.Ui.Clickable, Evas.Selectable_Interface)
{ {
[[Not an EO API.]] [[Not an EO API.]]
event_prefix: elm_fileselector_entry; event_prefix: elm_fileselector_entry;

View File

@ -140,7 +140,7 @@ _on_frame_clicked(void *data,
sd->anim = EINA_TRUE; sd->anim = EINA_TRUE;
} }
eo_event_callback_call eo_event_callback_call
(data, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, NULL); (data, EFL_UI_EVENT_CLICKED, NULL);
} }
/* using deferred sizing evaluation, just like the parent */ /* using deferred sizing evaluation, just like the parent */

View File

@ -1,4 +1,4 @@
class Elm.Frame (Elm.Layout, Evas.Clickable_Interface) class Elm.Frame (Elm.Layout, Efl.Ui.Clickable)
{ {
legacy_prefix: elm_frame; legacy_prefix: elm_frame;
eo_prefix: elm_obj_frame; eo_prefix: elm_obj_frame;

View File

@ -680,7 +680,7 @@ _long_press_cb(void *data)
return ECORE_CALLBACK_CANCEL; return ECORE_CALLBACK_CANCEL;
sd->longpressed = EINA_TRUE; sd->longpressed = EINA_TRUE;
eo_event_callback_call eo_event_callback_call
(WIDGET(it), EVAS_CLICKABLE_INTERFACE_EVENT_LONGPRESSED, EO_OBJ(it)); (WIDGET(it), EFL_UI_EVENT_LONGPRESSED, EO_OBJ(it));
if (sd->reorder_mode) if (sd->reorder_mode)
{ {
@ -776,11 +776,11 @@ _item_mouse_down_cb(void *data,
it->highlight_cb(it); it->highlight_cb(it);
if (ev->flags & EVAS_BUTTON_DOUBLE_CLICK) if (ev->flags & EVAS_BUTTON_DOUBLE_CLICK)
{ {
eo_event_callback_call(WIDGET(it), EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED_DOUBLE, EO_OBJ(it)); eo_event_callback_call(WIDGET(it), EFL_UI_EVENT_CLICKED_DOUBLE, EO_OBJ(it));
eo_event_callback_call(WIDGET(it), ELM_GENGRID_EVENT_ACTIVATED, EO_OBJ(it)); eo_event_callback_call(WIDGET(it), ELM_GENGRID_EVENT_ACTIVATED, EO_OBJ(it));
} }
eo_event_callback_call(WIDGET(it), EVAS_CLICKABLE_INTERFACE_EVENT_PRESSED, EO_OBJ(it)); eo_event_callback_call(WIDGET(it), EFL_UI_EVENT_PRESSED, EO_OBJ(it));
ELM_SAFE_FREE(it->long_timer, ecore_timer_del); ELM_SAFE_FREE(it->long_timer, ecore_timer_del);
if (it->realized) if (it->realized)
it->long_timer = ecore_timer_add it->long_timer = ecore_timer_add
@ -1041,7 +1041,7 @@ _item_mouse_up_cb(void *data,
if (dy < 0) dy = -dy; if (dy < 0) dy = -dy;
if ((dx < 5) && (dy < 5)) if ((dx < 5) && (dy < 5))
eo_event_callback_call eo_event_callback_call
(WIDGET(it), EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED_RIGHT, EO_OBJ(it)); (WIDGET(it), EFL_UI_EVENT_CLICKED_RIGHT, EO_OBJ(it));
return; return;
} }

View File

@ -8,7 +8,7 @@ enum Elm.Gengrid.Reorder_Type
} }
class Elm.Gengrid (Elm.Layout, Elm.Interface_Scrollable, class Elm.Gengrid (Elm.Layout, Elm.Interface_Scrollable,
Evas.Clickable_Interface, Elm.Interface.Atspi_Widget_Action, Efl.Ui.Clickable, Elm.Interface.Atspi_Widget_Action,
Elm.Interface.Atspi.Selection) Elm.Interface.Atspi.Selection)
{ {
legacy_prefix: elm_gengrid; legacy_prefix: elm_gengrid;

View File

@ -3984,7 +3984,7 @@ _long_press_cb(void *data)
sd->longpressed = EINA_TRUE; sd->longpressed = EINA_TRUE;
eo_event_callback_call eo_event_callback_call
(WIDGET(it), EVAS_CLICKABLE_INTERFACE_EVENT_LONGPRESSED, EO_OBJ(it)); (WIDGET(it), EFL_UI_EVENT_LONGPRESSED, EO_OBJ(it));
if ((sd->reorder_mode) && !(GL_IT(it)->type & ELM_GENLIST_ITEM_GROUP)) if ((sd->reorder_mode) && !(GL_IT(it)->type & ELM_GENLIST_ITEM_GROUP))
{ {
sd->reorder_it = it; sd->reorder_it = it;
@ -4268,12 +4268,12 @@ _item_mouse_down_cb(void *data,
if (ev->flags & EVAS_BUTTON_DOUBLE_CLICK) if (ev->flags & EVAS_BUTTON_DOUBLE_CLICK)
{ {
eo_event_callback_call eo_event_callback_call
(WIDGET(it), EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED_DOUBLE, eo_it); (WIDGET(it), EFL_UI_EVENT_CLICKED_DOUBLE, eo_it);
eo_event_callback_call eo_event_callback_call
(WIDGET(it), ELM_GENLIST_EVENT_ACTIVATED, eo_it); (WIDGET(it), ELM_GENLIST_EVENT_ACTIVATED, eo_it);
} }
eo_event_callback_call eo_event_callback_call
(WIDGET(it), EVAS_CLICKABLE_INTERFACE_EVENT_PRESSED, eo_it); (WIDGET(it), EFL_UI_EVENT_PRESSED, eo_it);
} }
static Item_Block * static Item_Block *
@ -4852,7 +4852,7 @@ _item_mouse_up_cb(void *data,
if (dy < 0) dy = -dy; if (dy < 0) dy = -dy;
if ((dx < 5) && (dy < 5)) if ((dx < 5) && (dy < 5))
eo_event_callback_call eo_event_callback_call
(WIDGET(it), EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED_RIGHT, EO_OBJ(it)); (WIDGET(it), EFL_UI_EVENT_CLICKED_RIGHT, EO_OBJ(it));
return; return;
} }

View File

@ -2,7 +2,7 @@ import elm_general;
import elm_list; import elm_list;
import elm_genlist_item; import elm_genlist_item;
class Elm.Genlist (Elm.Layout, Elm.Interface_Scrollable, Evas.Clickable_Interface, class Elm.Genlist (Elm.Layout, Elm.Interface_Scrollable, Efl.Ui.Clickable,
Elm.Interface.Atspi_Widget_Action, Elm.Interface.Atspi.Selection, Elm.Interface.Atspi_Widget_Action, Elm.Interface.Atspi.Selection,
Evas.Selectable_Interface) Evas.Selectable_Interface)
{ {

View File

@ -552,13 +552,13 @@ _hov_dismiss_cb(void *data,
{ {
_hide_signals_emit(data); _hide_signals_emit(data);
eo_event_callback_call eo_event_callback_call
(data, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, NULL); (data, EFL_UI_EVENT_CLICKED, NULL);
} }
else else
{ {
evas_object_hide(data); evas_object_hide(data);
eo_event_callback_call eo_event_callback_call
(data, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, NULL); (data, EFL_UI_EVENT_CLICKED, NULL);
eo_event_callback_call(data, ELM_HOVER_EVENT_DISMISSED, NULL); eo_event_callback_call(data, ELM_HOVER_EVENT_DISMISSED, NULL);
} // for backward compatibility } // for backward compatibility
} }
@ -603,7 +603,7 @@ _elm_hover_evas_object_smart_del(Eo *obj, Elm_Hover_Data *sd)
if (evas_object_visible_get(obj)) if (evas_object_visible_get(obj))
{ {
eo_event_callback_call eo_event_callback_call
(obj, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, NULL); (obj, EFL_UI_EVENT_CLICKED, NULL);
eo_event_callback_call(obj, ELM_HOVER_EVENT_DISMISSED, NULL); eo_event_callback_call(obj, ELM_HOVER_EVENT_DISMISSED, NULL);
} }

View File

@ -7,7 +7,7 @@ enum Elm.Hover.Axis
both [[ELM_HOVER_AXIS_BOTH -- both.]] both [[ELM_HOVER_AXIS_BOTH -- both.]]
} }
class Elm.Hover (Elm.Layout, Evas.Clickable_Interface, Elm.Interface.Atspi_Widget_Action) class Elm.Hover (Elm.Layout, Efl.Ui.Clickable, Elm.Interface.Atspi_Widget_Action)
{ {
legacy_prefix: elm_hover; legacy_prefix: elm_hover;
eo_prefix: elm_obj_hover; eo_prefix: elm_obj_hover;

View File

@ -1,6 +1,6 @@
import elm_icon; import elm_icon;
class Elm.Hoversel (Elm.Button, Evas.Selectable_Interface, class Elm.Hoversel (Elm.Button, Evas.Selectable_Interface,
Evas.Clickable_Interface, Efl.Ui.Clickable,
Elm.Interface.Atspi_Widget_Action) Elm.Interface.Atspi_Widget_Action)
{ {
legacy_prefix: elm_hoversel; legacy_prefix: elm_hoversel;

View File

@ -856,7 +856,7 @@ _on_mouse_up(void *data,
if (eo_item) if (eo_item)
{ {
eo_event_callback_call eo_event_callback_call
(data, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, eo_item); (data, EFL_UI_EVENT_CLICKED, eo_item);
eo_event_callback_call eo_event_callback_call
(data, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTED, eo_item); (data, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTED, eo_item);
eo_id_item = eo_item; eo_id_item = eo_item;

View File

@ -1,5 +1,5 @@
class Elm.Index (Elm.Layout, Efl.Orientation, class Elm.Index (Elm.Layout, Efl.Orientation,
Evas.Clickable_Interface, Evas.Selectable_Interface) Efl.Ui.Clickable, Evas.Selectable_Interface)
{ {
legacy_prefix: elm_index; legacy_prefix: elm_index;
eo_prefix: elm_obj_index; eo_prefix: elm_obj_index;

View File

@ -1549,7 +1549,7 @@ _long_press_cb(void *data)
sd->longpressed = EINA_TRUE; sd->longpressed = EINA_TRUE;
eo_event_callback_call eo_event_callback_call
(WIDGET(it), EVAS_CLICKABLE_INTERFACE_EVENT_LONGPRESSED, EO_OBJ(it)); (WIDGET(it), EFL_UI_EVENT_LONGPRESSED, EO_OBJ(it));
end: end:
return ECORE_CALLBACK_CANCEL; return ECORE_CALLBACK_CANCEL;
@ -1700,7 +1700,7 @@ _mouse_down_cb(void *data,
if (ev->flags & EVAS_BUTTON_DOUBLE_CLICK) if (ev->flags & EVAS_BUTTON_DOUBLE_CLICK)
{ {
eo_event_callback_call eo_event_callback_call
(WIDGET(it), EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED_DOUBLE, EO_OBJ(it)); (WIDGET(it), EFL_UI_EVENT_CLICKED_DOUBLE, EO_OBJ(it));
eo_event_callback_call eo_event_callback_call
(WIDGET(it), ELM_LIST_EVENT_ACTIVATED, EO_OBJ(it)); (WIDGET(it), ELM_LIST_EVENT_ACTIVATED, EO_OBJ(it));
} }
@ -1736,7 +1736,7 @@ _mouse_up_cb(void *data,
if (dy < 0) dy = -dy; if (dy < 0) dy = -dy;
if ((dx < 5) && (dy < 5)) if ((dx < 5) && (dy < 5))
eo_event_callback_call eo_event_callback_call
(obj, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED_RIGHT, EO_OBJ(it)); (obj, EFL_UI_EVENT_CLICKED_RIGHT, EO_OBJ(it));
return; return;
} }

View File

@ -38,7 +38,7 @@ enum Elm.List.Mode
class Elm.List (Elm.Layout, Elm.Interface_Scrollable, class Elm.List (Elm.Layout, Elm.Interface_Scrollable,
Elm.Interface.Atspi_Widget_Action, Elm.Interface.Atspi.Selection, Elm.Interface.Atspi_Widget_Action, Elm.Interface.Atspi.Selection,
Evas.Clickable_Interface, Evas.Selectable_Interface) Efl.Ui.Clickable, Evas.Selectable_Interface)
{ {
legacy_prefix: elm_list; legacy_prefix: elm_list;
eo_prefix: elm_obj_list; eo_prefix: elm_obj_list;

View File

@ -1332,7 +1332,7 @@ _long_press_cb(void *data)
sd->long_timer = NULL; sd->long_timer = NULL;
eo_event_callback_call eo_event_callback_call
(sd->obj, EVAS_CLICKABLE_INTERFACE_EVENT_LONGPRESSED, &sd->ev); (sd->obj, EFL_UI_EVENT_LONGPRESSED, &sd->ev);
return ECORE_CALLBACK_CANCEL; return ECORE_CALLBACK_CANCEL;
} }
@ -1352,7 +1352,7 @@ _mouse_down_cb(void *data,
if (ev->flags & EVAS_BUTTON_DOUBLE_CLICK) if (ev->flags & EVAS_BUTTON_DOUBLE_CLICK)
eo_event_callback_call eo_event_callback_call
(sd->obj, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED_DOUBLE, ev); (sd->obj, EFL_UI_EVENT_CLICKED_DOUBLE, ev);
else else
eo_event_callback_call eo_event_callback_call
(sd->obj, ELM_MAP_EVENT_PRESS, ev); (sd->obj, ELM_MAP_EVENT_PRESS, ev);
@ -1383,7 +1383,7 @@ _mouse_up_cb(void *data,
if (!sd->on_hold) if (!sd->on_hold)
eo_event_callback_call eo_event_callback_call
(sd->obj, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, ev); (sd->obj, EFL_UI_EVENT_CLICKED, ev);
sd->on_hold = EINA_FALSE; sd->on_hold = EINA_FALSE;
} }

View File

@ -71,7 +71,7 @@ enum Elm.Map.Route_Method
class Elm.Map (Elm.Widget, Elm.Interface_Scrollable, class Elm.Map (Elm.Widget, Elm.Interface_Scrollable,
Elm.Interface.Atspi_Widget_Action, Elm.Interface.Atspi_Widget_Action,
Evas.Clickable_Interface) Efl.Ui.Clickable)
{ {
legacy_prefix: elm_map; legacy_prefix: elm_map;
eo_prefix: elm_obj_map; eo_prefix: elm_obj_map;

View File

@ -428,7 +428,7 @@ _hover_dismissed_cb(void *data, const Eo_Event *event)
{ {
_menu_hide(data, event->object, event->info); _menu_hide(data, event->object, event->info);
eo_event_callback_call eo_event_callback_call
(data, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, NULL); (data, EFL_UI_EVENT_CLICKED, NULL);
eo_event_callback_call(data, ELM_MENU_EVENT_DISMISSED, NULL); eo_event_callback_call(data, ELM_MENU_EVENT_DISMISSED, NULL);
return EINA_TRUE; return EINA_TRUE;
@ -763,13 +763,13 @@ _elm_menu_menu_bar_set(Eo *obj, Eina_Bool menu_bar)
if (menu_bar) if (menu_bar)
{ {
eo_event_callback_add eo_event_callback_add
(item->submenu.hv, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _hover_dismissed_cb, WIDGET(item)); (item->submenu.hv, EFL_UI_EVENT_CLICKED, _hover_dismissed_cb, WIDGET(item));
snprintf(style, sizeof(style), "main_menu_submenu//%s", elm_widget_style_get(obj)); snprintf(style, sizeof(style), "main_menu_submenu//%s", elm_widget_style_get(obj));
elm_object_style_set(item->submenu.hv, style); elm_object_style_set(item->submenu.hv, style);
} }
else else
{ {
eo_event_callback_del(item->submenu.hv, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _hover_dismissed_cb, WIDGET(item)); eo_event_callback_del(item->submenu.hv, EFL_UI_EVENT_CLICKED, _hover_dismissed_cb, WIDGET(item));
snprintf(style, sizeof(style), "submenu/%s", elm_widget_style_get(obj)); snprintf(style, sizeof(style), "submenu/%s", elm_widget_style_get(obj));
elm_object_style_set(item->submenu.hv, style); elm_object_style_set(item->submenu.hv, style);
} }

View File

@ -1,4 +1,4 @@
class Elm.Menu (Elm.Widget, Evas.Clickable_Interface, Elm.Interface.Atspi.Selection) class Elm.Menu (Elm.Widget, Efl.Ui.Clickable, Elm.Interface.Atspi.Selection)
{ {
legacy_prefix: elm_menu; legacy_prefix: elm_menu;
eo_prefix: elm_obj_menu; eo_prefix: elm_obj_menu;

View File

@ -141,7 +141,7 @@ _on_clicked(void *data,
const char *emission EINA_UNUSED, const char *emission EINA_UNUSED,
const char *source EINA_UNUSED) const char *source EINA_UNUSED)
{ {
eo_event_callback_call(data, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, NULL); eo_event_callback_call(data, EFL_UI_EVENT_CLICKED, NULL);
} }
static void static void
@ -175,7 +175,7 @@ _on_unpressed(void *data,
if (sd->double_clicked) if (sd->double_clicked)
{ {
eo_event_callback_call(data, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED_DOUBLE, NULL); eo_event_callback_call(data, EFL_UI_EVENT_CLICKED_DOUBLE, NULL);
sd->double_clicked = EINA_FALSE; sd->double_clicked = EINA_FALSE;
} }
} }

View File

@ -1,5 +1,5 @@
class Elm.Panes (Elm.Layout, Efl.Orientation, class Elm.Panes (Elm.Layout, Efl.Orientation,
Evas.Clickable_Interface) Efl.Ui.Clickable)
{ {
legacy_prefix: elm_panes; legacy_prefix: elm_panes;
eo_prefix: elm_obj_panes; eo_prefix: elm_obj_panes;

View File

@ -216,7 +216,7 @@ _mouse_up(void *data,
ELM_SAFE_FREE(sd->long_press_timer, ecore_timer_del); ELM_SAFE_FREE(sd->long_press_timer, ecore_timer_del);
if (!sd->drag_started) if (!sd->drag_started)
eo_event_callback_call(data, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, NULL); eo_event_callback_call(data, EFL_UI_EVENT_CLICKED, NULL);
} }
static void static void

View File

@ -1,4 +1,4 @@
class Elm.Photo (Elm.Widget, Efl.File, Evas.Clickable_Interface, Evas.Draggable_Interface) class Elm.Photo (Elm.Widget, Efl.File, Efl.Ui.Clickable, Evas.Draggable_Interface)
{ {
legacy_prefix: elm_photo; legacy_prefix: elm_photo;
eo_prefix: elm_obj_photo; eo_prefix: elm_obj_photo;

View File

@ -801,7 +801,7 @@ _long_press_cb(void *data)
sd->long_timer = NULL; sd->long_timer = NULL;
sd->longpressed = EINA_TRUE; sd->longpressed = EINA_TRUE;
eo_event_callback_call eo_event_callback_call
(data, EVAS_CLICKABLE_INTERFACE_EVENT_LONGPRESSED, NULL); (data, EFL_UI_EVENT_LONGPRESSED, NULL);
return ECORE_CALLBACK_CANCEL; return ECORE_CALLBACK_CANCEL;
} }
@ -821,7 +821,7 @@ _mouse_down_cb(void *data,
else sd->on_hold = EINA_FALSE; else sd->on_hold = EINA_FALSE;
if (ev->flags & EVAS_BUTTON_DOUBLE_CLICK) if (ev->flags & EVAS_BUTTON_DOUBLE_CLICK)
eo_event_callback_call eo_event_callback_call
(data, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED_DOUBLE, NULL); (data, EFL_UI_EVENT_CLICKED_DOUBLE, NULL);
else else
eo_event_callback_call(data, ELM_PHOTOCAM_EVENT_PRESS, NULL); eo_event_callback_call(data, ELM_PHOTOCAM_EVENT_PRESS, NULL);
sd->longpressed = EINA_FALSE; sd->longpressed = EINA_FALSE;
@ -846,7 +846,7 @@ _mouse_up_cb(void *data,
ELM_SAFE_FREE(sd->long_timer, ecore_timer_del); ELM_SAFE_FREE(sd->long_timer, ecore_timer_del);
if (!sd->on_hold) if (!sd->on_hold)
eo_event_callback_call eo_event_callback_call
(data, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, NULL); (data, EFL_UI_EVENT_CLICKED, NULL);
sd->on_hold = EINA_FALSE; sd->on_hold = EINA_FALSE;
} }

View File

@ -12,7 +12,7 @@ enum Elm.Photocam.Zoom_Mode
class Elm.Photocam (Elm.Widget, Elm.Interface_Scrollable, class Elm.Photocam (Elm.Widget, Elm.Interface_Scrollable,
Elm.Interface.Atspi_Widget_Action, Efl.File, Elm.Interface.Atspi_Widget_Action, Efl.File,
Evas.Clickable_Interface, Evas.Scrollable_Interface, Efl.Ui.Clickable, Evas.Scrollable_Interface,
Evas.Zoomable_Interface) Evas.Zoomable_Interface)
{ {
legacy_prefix: elm_photocam; legacy_prefix: elm_photocam;

View File

@ -103,7 +103,7 @@ _on_mouse_up(void *data,
if (ev->button != 1) return; if (ev->button != 1) return;
if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return; if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return;
eo_event_callback_call(data, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, NULL); eo_event_callback_call(data, EFL_UI_EVENT_CLICKED, NULL);
} }
EOLIAN static void EOLIAN static void

View File

@ -1,4 +1,4 @@
class Elm.Plug (Elm.Widget, Evas.Clickable_Interface) class Elm.Plug (Elm.Widget, Efl.Ui.Clickable)
{ {
legacy_prefix: elm_plug; legacy_prefix: elm_plug;
eo_prefix: elm_obj_plug; eo_prefix: elm_obj_plug;

View File

@ -57,9 +57,9 @@ static const Elm_Action key_actions[] = {
}; };
EO_CALLBACKS_ARRAY_DEFINE(_inc_dec_button_cb, EO_CALLBACKS_ARRAY_DEFINE(_inc_dec_button_cb,
{ EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _inc_dec_button_clicked_cb}, { EFL_UI_EVENT_CLICKED, _inc_dec_button_clicked_cb},
{ EVAS_CLICKABLE_INTERFACE_EVENT_PRESSED, _inc_dec_button_pressed_cb}, { EFL_UI_EVENT_PRESSED, _inc_dec_button_pressed_cb},
{ EVAS_CLICKABLE_INTERFACE_EVENT_UNPRESSED, _inc_dec_button_unpressed_cb}, { EFL_UI_EVENT_UNPRESSED, _inc_dec_button_unpressed_cb},
{ EVAS_OBJECT_EVENT_MOUSE_MOVE, _inc_dec_button_mouse_move_cb } { EVAS_OBJECT_EVENT_MOUSE_MOVE, _inc_dec_button_mouse_move_cb }
); );
@ -1195,7 +1195,7 @@ _elm_spinner_evas_object_smart_add(Eo *obj, Elm_Spinner_Data *priv)
elm_object_style_set(priv->text_button, "spinner/default"); elm_object_style_set(priv->text_button, "spinner/default");
eo_event_callback_add eo_event_callback_add
(priv->text_button, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _text_button_clicked_cb, obj); (priv->text_button, EFL_UI_EVENT_CLICKED, _text_button_clicked_cb, obj);
elm_layout_content_set(obj, "elm.swallow.text_button", priv->text_button); elm_layout_content_set(obj, "elm.swallow.text_button", priv->text_button);
elm_widget_sub_object_add(obj, priv->text_button); elm_widget_sub_object_add(obj, priv->text_button);

View File

@ -62,7 +62,7 @@ _mouse_down_cb(void *data,
else sd->on_hold = EINA_FALSE; else sd->on_hold = EINA_FALSE;
if (ev->flags & EVAS_BUTTON_DOUBLE_CLICK) if (ev->flags & EVAS_BUTTON_DOUBLE_CLICK)
eo_event_callback_call(obj, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED_DOUBLE, NULL); eo_event_callback_call(obj, EFL_UI_EVENT_CLICKED_DOUBLE, NULL);
else else
eo_event_callback_call(obj, ELM_THUMB_EVENT_PRESS, NULL); eo_event_callback_call(obj, ELM_THUMB_EVENT_PRESS, NULL);
} }
@ -81,7 +81,7 @@ _mouse_up_cb(void *data,
else sd->on_hold = EINA_FALSE; else sd->on_hold = EINA_FALSE;
if (!sd->on_hold) if (!sd->on_hold)
eo_event_callback_call(obj, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, NULL); eo_event_callback_call(obj, EFL_UI_EVENT_CLICKED, NULL);
sd->on_hold = EINA_FALSE; sd->on_hold = EINA_FALSE;
} }

View File

@ -1,5 +1,5 @@
class Elm.Thumb (Elm.Layout, Efl.File, Evas.Clickable_Interface, class Elm.Thumb (Elm.Layout, Efl.File, Efl.Ui.Clickable,
Evas.Draggable_Interface) Evas.Draggable_Interface)
{ {
legacy_prefix: elm_thumb; legacy_prefix: elm_thumb;

View File

@ -1813,7 +1813,7 @@ _mouse_clicked_cb(Elm_Toolbar_Item_Data *it,
if (button == 1) if (button == 1)
{ {
/* regular left click event */ /* regular left click event */
eo_event_callback_call(WIDGET(it), EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, EO_OBJ(it)); eo_event_callback_call(WIDGET(it), EFL_UI_EVENT_CLICKED, EO_OBJ(it));
return; return;
} }
snprintf(buf, sizeof(buf), "elm,action,click,%d", button); snprintf(buf, sizeof(buf), "elm,action,click,%d", button);
@ -2205,7 +2205,7 @@ _long_press_cb(void *data)
if (sd->reorder_mode) if (sd->reorder_mode)
_item_reorder_start(it); _item_reorder_start(it);
eo_event_callback_call(WIDGET(it), EVAS_CLICKABLE_INTERFACE_EVENT_LONGPRESSED, EO_OBJ(it)); eo_event_callback_call(WIDGET(it), EFL_UI_EVENT_LONGPRESSED, EO_OBJ(it));
return ECORE_CALLBACK_CANCEL; return ECORE_CALLBACK_CANCEL;
} }
@ -2238,7 +2238,7 @@ _mouse_down_cb(Elm_Toolbar_Item_Data *it,
if (ev->button != 1) return; if (ev->button != 1) return;
if (ev->flags & EVAS_BUTTON_DOUBLE_CLICK) if (ev->flags & EVAS_BUTTON_DOUBLE_CLICK)
eo_event_callback_call(WIDGET(it), EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED_DOUBLE, EO_OBJ(it)); eo_event_callback_call(WIDGET(it), EFL_UI_EVENT_CLICKED_DOUBLE, EO_OBJ(it));
sd->mouse_down = EINA_TRUE; sd->mouse_down = EINA_TRUE;
sd->long_press = EINA_FALSE; sd->long_press = EINA_FALSE;
if (sd->long_timer) if (sd->long_timer)

View File

@ -26,7 +26,7 @@ enum Elm.Toolbar.Shrink_Mode
class Elm.Toolbar (Elm.Widget, Elm.Interface_Scrollable, Efl.Orientation, class Elm.Toolbar (Elm.Widget, Elm.Interface_Scrollable, Efl.Orientation,
Elm.Interface.Atspi_Widget_Action, Elm.Interface.Atspi.Selection, Elm.Interface.Atspi_Widget_Action, Elm.Interface.Atspi.Selection,
Evas.Clickable_Interface, Evas.Selectable_Interface) Efl.Ui.Clickable, Evas.Selectable_Interface)
{ {
legacy_prefix: elm_toolbar; legacy_prefix: elm_toolbar;
eo_prefix: elm_obj_toolbar; eo_prefix: elm_obj_toolbar;

View File

@ -3,7 +3,7 @@
#endif #endif
#include "canvas/evas_draggable_interface.eo.h" #include "canvas/evas_draggable_interface.eo.h"
#include "canvas/evas_clickable_interface.eo.h" #include "canvas/efl_ui_clickable.eo.h"
#include "canvas/evas_scrollable_interface.eo.h" #include "canvas/evas_scrollable_interface.eo.h"
#include "canvas/evas_selectable_interface.eo.h" #include "canvas/evas_selectable_interface.eo.h"
#include "canvas/evas_zoomable_interface.eo.h" #include "canvas/evas_zoomable_interface.eo.h"

View File

@ -1,14 +1,8 @@
#include "evas_common_private.h" #include "evas_common_private.h"
#include "evas_private.h" #include "evas_private.h"
static const Eo_Event_Description *_evas_clickable_interface_event_desc[];
static const Eo_Event_Description *_evas_draggable_interface_event_desc[];
static const Eo_Event_Description *_evas_scrollable_interface_event_desc[];
static const Eo_Event_Description *_evas_selectable_interface_event_desc[];
static const Eo_Event_Description *_evas_zoomable_interface_event_desc[];
#include "canvas/evas_draggable_interface.eo.c" #include "canvas/evas_draggable_interface.eo.c"
#include "canvas/evas_clickable_interface.eo.c" #include "canvas/efl_ui_clickable.eo.c"
#include "canvas/evas_scrollable_interface.eo.c" #include "canvas/evas_scrollable_interface.eo.c"
#include "canvas/evas_selectable_interface.eo.c" #include "canvas/evas_selectable_interface.eo.c"
#include "canvas/evas_zoomable_interface.eo.c" #include "canvas/evas_zoomable_interface.eo.c"

View File

@ -1,5 +1,6 @@
interface Evas.Clickable_Interface () interface Efl.Ui.Clickable ()
{ {
event_prefix: efl_ui;
events { events {
clicked; clicked;
clicked,double; clicked,double;

View File

@ -159,7 +159,7 @@ _field_clicked_cb(void *data, const Eo_Event *event)
diskselector = elm_diskselector_add(elm_widget_top_get(ctx_mod->mod_data.base)); diskselector = elm_diskselector_add(elm_widget_top_get(ctx_mod->mod_data.base));
eo_event_callback_add eo_event_callback_add
(diskselector, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _diskselector_cb, NULL); (diskselector, EFL_UI_EVENT_CLICKED, _diskselector_cb, NULL);
elm_object_style_set(diskselector, buf); elm_object_style_set(diskselector, buf);
elm_object_content_set(ctx_mod->ctxpopup, diskselector); elm_object_content_set(ctx_mod->ctxpopup, diskselector);
@ -310,7 +310,7 @@ field_create(Elm_Datetime_Module_Data *module_data, Elm_Datetime_Field_Type fie
{ {
field_obj = elm_button_add(ctx_mod->mod_data.base); field_obj = elm_button_add(ctx_mod->mod_data.base);
eo_event_callback_add eo_event_callback_add
(field_obj, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _ampm_clicked_cb, ctx_mod); (field_obj, EFL_UI_EVENT_CLICKED, _ampm_clicked_cb, ctx_mod);
} }
else else
{ {
@ -320,7 +320,7 @@ field_create(Elm_Datetime_Module_Data *module_data, Elm_Datetime_Field_Type fie
elm_entry_input_panel_enabled_set(field_obj, EINA_FALSE); elm_entry_input_panel_enabled_set(field_obj, EINA_FALSE);
elm_entry_context_menu_disabled_set(field_obj, EINA_TRUE); elm_entry_context_menu_disabled_set(field_obj, EINA_TRUE);
eo_event_callback_add eo_event_callback_add
(field_obj, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _field_clicked_cb, ctx_mod); (field_obj, EFL_UI_EVENT_CLICKED, _field_clicked_cb, ctx_mod);
} }
evas_object_data_set(field_obj, "_field_type", (void *)field_type); evas_object_data_set(field_obj, "_field_type", (void *)field_type);

View File

@ -27,7 +27,7 @@ elm_prefs_button_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED,
Evas_Object *obj = elm_button_add(prefs); Evas_Object *obj = elm_button_add(prefs);
eo_event_callback_add eo_event_callback_add
(obj, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _item_changed_cb, cb); (obj, EFL_UI_EVENT_CLICKED, _item_changed_cb, cb);
return obj; return obj;
} }