lib/evas/canvas/efl_canvas_rectangle.eo \
lib/evas/canvas/efl_canvas_text.eo \
lib/evas/canvas/efl_canvas_text_cursor.eo \
- lib/evas/canvas/evas_object_smart.eo \
+ lib/evas/canvas/efl_canvas_group.eo \
lib/evas/canvas/evas_common_interface.eo \
lib/evas/canvas/evas_canvas.eo \
lib/evas/canvas/efl_canvas_image_internal.eo \
lib/evas/canvas/efl_canvas_surface_x11.eo \
lib/evas/canvas/efl_canvas_surface_wayland.eo \
lib/evas/canvas/efl_canvas_filter_internal.eo \
- lib/evas/canvas/efl_canvas_object_internal_smart_clipped.eo \
+ lib/evas/canvas/efl_canvas_group_clipped.eo \
lib/evas/canvas/efl_event_input.eo \
lib/evas/canvas/efl_event_key.eo \
lib/evas/canvas/efl_event_pointer.eo \
{
Evas_Coord lminw = 0, lminh = 0;
- evas_obj_smart_need_recalculate_set(ep->object, 1);
- evas_obj_smart_calculate(ep->object);
+ efl_canvas_group_need_recalculate_set(ep->object, 1);
+ efl_canvas_group_calculate(ep->object);
efl_gfx_size_hint_restricted_min_get(ep->object, &lminw, &lminh);
if (((Edje_Part_Description_Table *)chosen_desc)->table.min.h)
{
{
Evas_Coord lminw = 0, lminh = 0;
- evas_obj_smart_need_recalculate_set(ep->object, 1);
- evas_obj_smart_calculate(ep->object);
+ efl_canvas_group_need_recalculate_set(ep->object, 1);
+ efl_canvas_group_calculate(ep->object);
efl_gfx_size_hint_restricted_min_get(ep->object, &lminw, &lminh);
if (((Edje_Part_Description_Box *)chosen_desc)->box.min.h)
{
evas_obj_table_padding_set(ep->object, chosen_desc->table.padding.x, chosen_desc->table.padding.y);
if (evas_object_smart_need_recalculate_get(ep->object))
{
- evas_obj_smart_need_recalculate_set(ep->object, 0);
- evas_obj_smart_calculate(ep->object);
+ efl_canvas_group_need_recalculate_set(ep->object, 0);
+ efl_canvas_group_calculate(ep->object);
}
}
}
EOLIAN static void
-_edje_edit_evas_object_smart_smart_del(Eo *obj, Edje_Edit *eed)
+_edje_edit_efl_canvas_group_group_del(Eo *obj, Edje_Edit *eed)
{
_edje_edit_data_clean(eed);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
static void
implements {
Eo.Base.constructor;
Eo.Base.destructor;
- Evas.Object.Smart.smart_del;
+ Efl.Canvas.Group.group_del;
Efl.File.file.set;
}
}
import edje_types;
-class Edje.Object (Efl.Canvas.Object.Internal.Smart.Clipped, Efl.File, Efl.Container, Efl.Part)
+class Edje.Object (Efl.Canvas.Group.Clipped, Efl.File, Efl.Container, Efl.Part)
{
legacy_prefix: edje_object;
eo_prefix: edje_obj;
Eo.Base.destructor;
Eo.Base.dbg_info_get;
Evas.Object.paragraph_direction.set;
- Evas.Object.Smart.smart_hide;
- Evas.Object.Smart.smart_calculate;
- Evas.Object.Smart.smart_show;
- Evas.Object.Smart.smart_move;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_resize;
- Evas.Object.Smart.smart_no_render.set;
+ Efl.Canvas.Group.group_hide;
+ Efl.Canvas.Group.group_show;
+ Efl.Canvas.Group.group_move;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_resize;
+ Efl.Canvas.Group.group_no_render.set;
+ Efl.Canvas.Group.group_calculate;
Efl.File.file.set;
Efl.File.file.get;
Efl.File.mmap.set;
Evas *e;
void *tmp;
- ed->base = eo_data_ref(obj, EFL_CANVAS_OBJECT_INTERNAL_SMART_CLIPPED_CLASS);
+ ed->base = eo_data_ref(obj, EFL_CANVAS_GROUP_CLIPPED_CLASS);
ed->duration_scale = 1.0;
obj = eo_constructor(eo_super(obj, MY_CLASS));
/* Private Routines */
EOLIAN static void
-_edje_object_evas_object_smart_smart_add(Eo *obj, Edje *ed)
+_edje_object_efl_canvas_group_group_add(Eo *obj, Edje *ed)
{
Evas *tev = evas_object_evas_get(obj);
evas_event_freeze(tev);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
ed->is_rtl = EINA_FALSE;
ed->have_objects = EINA_TRUE;
}
EOLIAN static void
-_edje_object_evas_object_smart_smart_del(Eo *obj, Edje *ed)
+_edje_object_efl_canvas_group_group_del(Eo *obj, Edje *ed)
{
_edje_block_violate(ed);
ed->delete_me = 1;
}
EOLIAN static void
-_edje_object_evas_object_smart_smart_move(Eo *obj EINA_UNUSED, Edje *ed, Evas_Coord x, Evas_Coord y)
+_edje_object_efl_canvas_group_group_move(Eo *obj EINA_UNUSED, Edje *ed, Evas_Coord x, Evas_Coord y)
{
unsigned int i;
}
EOLIAN static void
-_edje_object_evas_object_smart_smart_resize(Eo *obj EINA_UNUSED, Edje *ed, Evas_Coord w, Evas_Coord h)
+_edje_object_efl_canvas_group_group_resize(Eo *obj EINA_UNUSED, Edje *ed, Evas_Coord w, Evas_Coord h)
{
if ((w == ed->w) && (h == ed->h)) return;
if (ed->collection)
}
EOLIAN static void
-_edje_object_evas_object_smart_smart_show(Eo *obj, Edje *ed)
+_edje_object_efl_canvas_group_group_show(Eo *obj, Edje *ed)
{
Eina_List *l;
Edje *edg;
- evas_obj_smart_show(eo_super(obj, MY_CLASS));
+ efl_canvas_group_show(eo_super(obj, MY_CLASS));
if (evas_object_visible_get(obj)) return;
if (_edje_lua_script_only(ed))
{
}
EOLIAN static void
-_edje_object_evas_object_smart_smart_hide(Eo *obj, Edje *ed)
+_edje_object_efl_canvas_group_group_hide(Eo *obj, Edje *ed)
{
Eina_List *l;
Edje *edg;
- evas_obj_smart_hide(eo_super(obj, MY_CLASS));
+ efl_canvas_group_hide(eo_super(obj, MY_CLASS));
if (!evas_object_visible_get(obj)) return;
if (_edje_lua_script_only(ed))
{
}
EOLIAN static void
-_edje_object_evas_object_smart_smart_no_render_set(Eo *obj, Edje *ed, Eina_Bool hide)
+_edje_object_efl_canvas_group_group_no_render_set(Eo *obj, Edje *ed, Eina_Bool hide)
{
Eina_List *l;
Edje *edg;
- evas_obj_smart_no_render_set(eo_super(obj, MY_CLASS), hide);
+ efl_canvas_group_no_render_set(eo_super(obj, MY_CLASS), hide);
if (evas_obj_no_render_get(obj) == hide) return;
EINA_LIST_FOREACH(ed->groups, l, edg)
- if (edg != ed) evas_obj_smart_no_render_set(edg->obj, hide);
+ if (edg != ed) efl_canvas_group_no_render_set(edg->obj, hide);
}
EOLIAN static void
-_edje_object_evas_object_smart_smart_calculate(Eo *obj EINA_UNUSED, Edje *ed)
+_edje_object_efl_canvas_group_group_calculate(Eo *obj EINA_UNUSED, Edje *ed)
{
_edje_recalc_do(ed);
}
/* Make it dirty to recalculate edje.
It needs to move text objects according to new paragraph direction */
ed->dirty = EINA_TRUE;
- evas_obj_smart_need_recalculate_set(obj, 1);
+ efl_canvas_group_need_recalculate_set(obj, 1);
}
#include "edje_object.eo.c"
}
EOLIAN static void
-_efl_ui_box_evas_object_smart_smart_calculate(Eo *obj, Efl_Ui_Box_Data *pd)
+_efl_ui_box_efl_canvas_group_group_calculate(Eo *obj, Efl_Ui_Box_Data *pd)
{
if (pd->recalc) return;
}
EOLIAN static void
-_efl_ui_box_evas_object_smart_smart_add(Eo *obj, Efl_Ui_Box_Data *_pd EINA_UNUSED)
+_efl_ui_box_efl_canvas_group_group_add(Eo *obj, Efl_Ui_Box_Data *_pd EINA_UNUSED)
{
Evas *e = evas_object_evas_get(obj);
evas_object_event_callback_add(wd->resize_obj, EVAS_CALLBACK_CHANGED_SIZE_HINTS, _on_size_hints_changed, obj);
evas_object_event_callback_add(obj, EVAS_CALLBACK_CHANGED_SIZE_HINTS, _on_size_hints_changed, obj);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
eo_event_callback_add(wd->resize_obj, EVAS_BOX_EVENT_CHILD_ADDED, _child_added_cb_proxy, obj);
}
EOLIAN static void
-_efl_ui_box_evas_object_smart_smart_del(Eo *obj, Efl_Ui_Box_Data *sd)
+_efl_ui_box_efl_canvas_group_group_del(Eo *obj, Efl_Ui_Box_Data *sd)
{
Eina_List *l;
Evas_Object *child;
}
}
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EOLIAN static Eo *
{
implements {
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_calculate;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_calculate;
Elm.Widget.focus_direction;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_direction_manager_is;
}
EOLIAN static void
-_efl_ui_flip_evas_object_smart_smart_add(Eo *obj, Efl_Ui_Flip_Data *priv)
+_efl_ui_flip_efl_canvas_group_group_add(Eo *obj, Efl_Ui_Flip_Data *priv)
{
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
priv->clip = evas_object_rectangle_add(evas_object_evas_get(obj));
}
EOLIAN static void
-_efl_ui_flip_evas_object_smart_smart_del(Eo *obj, Efl_Ui_Flip_Data *sd)
+_efl_ui_flip_efl_canvas_group_group_del(Eo *obj, Efl_Ui_Flip_Data *sd)
{
ecore_animator_del(sd->animator);
_state_slices_clear(sd);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EAPI Evas_Object *
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
Elm.Widget.focus_direction;
Elm.Widget.sub_object_add;
Elm.Widget.theme_apply;
static void _custom_table_calc(Eo *obj, Custom_Table_Data *pd);
static const Eo_Op_Description custom_table_op_desc[] = {
- EO_OP_CLASS_FUNC_OVERRIDE(evas_obj_smart_calculate, _custom_table_calc),
+ EO_OP_CLASS_FUNC_OVERRIDE(efl_canvas_group_calculate, _custom_table_calc),
};
static const Eo_Class_Description custom_table_class_desc = {
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
- evas_obj_smart_calculate(eo_super(wd->resize_obj, CUSTOM_TABLE_CLASS));
+ efl_canvas_group_calculate(eo_super(wd->resize_obj, CUSTOM_TABLE_CLASS));
}
EOLIAN void
-_efl_ui_grid_evas_object_smart_smart_calculate(Eo *obj, Efl_Ui_Grid_Data *pd EINA_UNUSED)
+_efl_ui_grid_efl_canvas_group_group_calculate(Eo *obj, Efl_Ui_Grid_Data *pd EINA_UNUSED)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
}
EOLIAN static void
-_efl_ui_grid_evas_object_smart_smart_add(Eo *obj, Efl_Ui_Grid_Data *pd)
+_efl_ui_grid_efl_canvas_group_group_add(Eo *obj, Efl_Ui_Grid_Data *pd)
{
Custom_Table_Data *custom;
Evas_Object *table;
evas_object_event_callback_add
(table, EVAS_CALLBACK_CHANGED_SIZE_HINTS, _table_size_hints_changed, obj);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_can_focus_set(obj, EINA_FALSE);
elm_widget_highlight_ignore_set(obj, EINA_FALSE);
}
EOLIAN static void
-_efl_ui_grid_evas_object_smart_smart_del(Eo *obj, Efl_Ui_Grid_Data *pd EINA_UNUSED)
+_efl_ui_grid_efl_canvas_group_group_del(Eo *obj, Efl_Ui_Grid_Data *pd EINA_UNUSED)
{
Eina_List *l;
Evas_Object *child;
}
}
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EOLIAN static Eo *
{
implements {
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_calculate;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_calculate;
Elm.Widget.focus_direction;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_direction_manager_is;
}
EOLIAN static void
-_efl_ui_image_evas_object_smart_smart_add(Eo *obj, Efl_Ui_Image_Data *priv)
+_efl_ui_image_efl_canvas_group_group_add(Eo *obj, Efl_Ui_Image_Data *priv)
{
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
priv->hit_rect = evas_object_rectangle_add(evas_object_evas_get(obj));
}
EOLIAN static void
-_efl_ui_image_evas_object_smart_smart_del(Eo *obj, Efl_Ui_Image_Data *sd)
+_efl_ui_image_efl_canvas_group_group_del(Eo *obj, Efl_Ui_Image_Data *sd)
{
ecore_timer_del(sd->anim_timer);
evas_object_del(sd->img);
{
ERR("Async open thread timed out during cancellation.");
// skipping all other data free to avoid crashes (this leaks)
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
return;
}
sd->async.th = NULL;
eina_stringshare_del(sd->async.file);
eina_stringshare_del(sd->async.key);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EOLIAN static void
-_efl_ui_image_evas_object_smart_smart_move(Eo *obj, Efl_Ui_Image_Data *sd, Evas_Coord x, Evas_Coord y)
+_efl_ui_image_efl_canvas_group_group_move(Eo *obj, Efl_Ui_Image_Data *sd, Evas_Coord x, Evas_Coord y)
{
- evas_obj_smart_move(eo_super(obj, MY_CLASS), x, y);
+ efl_canvas_group_move(eo_super(obj, MY_CLASS), x, y);
if ((sd->img_x == x) && (sd->img_y == y)) return;
sd->img_x = x;
}
EOLIAN static void
-_efl_ui_image_evas_object_smart_smart_resize(Eo *obj, Efl_Ui_Image_Data *sd, Evas_Coord w, Evas_Coord h)
+_efl_ui_image_efl_canvas_group_group_resize(Eo *obj, Efl_Ui_Image_Data *sd, Evas_Coord w, Evas_Coord h)
{
- evas_obj_smart_resize(eo_super(obj, MY_CLASS), w, h);
+ efl_canvas_group_resize(eo_super(obj, MY_CLASS), w, h);
if ((sd->img_w == w) && (sd->img_h == h)) return;
}
EOLIAN static void
-_efl_ui_image_evas_object_smart_smart_show(Eo *obj, Efl_Ui_Image_Data *sd)
+_efl_ui_image_efl_canvas_group_group_show(Eo *obj, Efl_Ui_Image_Data *sd)
{
sd->show = EINA_TRUE;
if (sd->preload_status == EFL_UI_IMAGE_PRELOADING) return;
- evas_obj_smart_show(eo_super(obj, MY_CLASS));
+ efl_canvas_group_show(eo_super(obj, MY_CLASS));
evas_object_show(sd->img);
}
EOLIAN static void
-_efl_ui_image_evas_object_smart_smart_hide(Eo *obj, Efl_Ui_Image_Data *sd)
+_efl_ui_image_efl_canvas_group_group_hide(Eo *obj, Efl_Ui_Image_Data *sd)
{
- evas_obj_smart_hide(eo_super(obj, MY_CLASS));
+ efl_canvas_group_hide(eo_super(obj, MY_CLASS));
sd->show = EINA_FALSE;
evas_object_hide(sd->img);
}
EOLIAN static void
-_efl_ui_image_evas_object_smart_smart_member_add(Eo *obj, Efl_Ui_Image_Data *sd, Evas_Object *member)
+_efl_ui_image_efl_canvas_group_group_member_add(Eo *obj, Efl_Ui_Image_Data *sd, Evas_Object *member)
{
- evas_obj_smart_member_add(eo_super(obj, MY_CLASS), member);
+ efl_canvas_group_member_add(eo_super(obj, MY_CLASS), member);
if (sd->hit_rect)
evas_object_raise(sd->hit_rect);
}
EOLIAN static void
-_efl_ui_image_evas_object_smart_smart_color_set(Eo *obj, Efl_Ui_Image_Data *sd, int r, int g, int b, int a)
+_efl_ui_image_efl_canvas_group_group_color_set(Eo *obj, Efl_Ui_Image_Data *sd, int r, int g, int b, int a)
{
- evas_obj_smart_color_set(eo_super(obj, MY_CLASS), r, g, b, a);
+ efl_canvas_group_color_set(eo_super(obj, MY_CLASS), r, g, b, a);
evas_object_color_set(sd->hit_rect, 0, 0, 0, 0);
evas_object_color_set(sd->img, r, g, b, a);
}
EOLIAN static void
-_efl_ui_image_evas_object_smart_smart_clip_set(Eo *obj, Efl_Ui_Image_Data *sd, Evas_Object *clip)
+_efl_ui_image_efl_canvas_group_group_clip_set(Eo *obj, Efl_Ui_Image_Data *sd, Evas_Object *clip)
{
- evas_obj_smart_clip_set(eo_super(obj, MY_CLASS), clip);
+ efl_canvas_group_clip_set(eo_super(obj, MY_CLASS), clip);
evas_object_clip_set(sd->img, clip);
if (sd->prev_img) evas_object_clip_set(sd->prev_img, clip);
}
EOLIAN static void
-_efl_ui_image_evas_object_smart_smart_clip_unset(Eo *obj, Efl_Ui_Image_Data *sd)
+_efl_ui_image_efl_canvas_group_group_clip_unset(Eo *obj, Efl_Ui_Image_Data *sd)
{
- evas_obj_smart_clip_unset(eo_super(obj, MY_CLASS));
+ efl_canvas_group_clip_unset(eo_super(obj, MY_CLASS));
evas_object_clip_unset(sd->img);
if (sd->prev_img) evas_object_clip_unset(sd->prev_img);
Edje.Object.size_max.get;
Edje.Object.size_min_calc;
Edje.Object.calc_force;
- Evas.Object.Smart.smart_hide;
- Evas.Object.Smart.smart_clip.set;
- Evas.Object.Smart.smart_clip_unset;
- Evas.Object.Smart.smart_show;
- Evas.Object.Smart.smart_color.set;
- Evas.Object.Smart.smart_move;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_member_add;
- Evas.Object.Smart.smart_resize;
+ Efl.Canvas.Group.group_hide;
+ Efl.Canvas.Group.group_clip.set;
+ Efl.Canvas.Group.group_clip_unset;
+ Efl.Canvas.Group.group_show;
+ Efl.Canvas.Group.group_color.set;
+ Efl.Canvas.Group.group_move;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_member_add;
+ Efl.Canvas.Group.group_resize;
Efl.Ui.Draggable.drag_target.set;
Efl.Ui.Draggable.drag_target.get;
Elm.Widget.theme_apply;
}
EOLIAN static void
-_efl_ui_nstate_evas_object_smart_smart_add(Eo *obj, Efl_Ui_Nstate_Data *pd)
+_efl_ui_nstate_efl_canvas_group_group_add(Eo *obj, Efl_Ui_Nstate_Data *pd)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
pd->state = 0;
}
EOLIAN static void
-_efl_ui_nstate_evas_object_smart_smart_del(Eo *obj, Efl_Ui_Nstate_Data *pd EINA_UNUSED)
+_efl_ui_nstate_efl_canvas_group_group_del(Eo *obj, Efl_Ui_Nstate_Data *pd EINA_UNUSED)
{
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EOLIAN static int
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
Elm.Widget.theme_apply;
Elm.Widget.event;
}
}
EOLIAN static void
-_efl_ui_text_evas_object_smart_smart_add(Eo *obj, Efl_Ui_Text_Data *priv)
+_efl_ui_text_efl_canvas_group_group_add(Eo *obj, Efl_Ui_Text_Data *priv)
{
Eo *text_obj;
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
priv->entry_edje = wd->resize_obj;
}
EOLIAN static void
-_efl_ui_text_evas_object_smart_smart_del(Eo *obj, Efl_Ui_Text_Data *sd)
+_efl_ui_text_efl_canvas_group_group_del(Eo *obj, Efl_Ui_Text_Data *sd)
{
Elm_Entry_Context_Menu_Item *it;
Elm_Entry_Item_Provider *ip;
evas_object_del(sd->end_handler);
}
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EOLIAN static void
-_efl_ui_text_evas_object_smart_smart_move(Eo *obj, Efl_Ui_Text_Data *sd, Evas_Coord x, Evas_Coord y)
+_efl_ui_text_efl_canvas_group_group_move(Eo *obj, Efl_Ui_Text_Data *sd, Evas_Coord x, Evas_Coord y)
{
- evas_obj_smart_move(eo_super(obj, MY_CLASS), x, y);
+ efl_canvas_group_move(eo_super(obj, MY_CLASS), x, y);
evas_object_move(sd->hit_rect, x, y);
}
EOLIAN static void
-_efl_ui_text_evas_object_smart_smart_resize(Eo *obj, Efl_Ui_Text_Data *sd, Evas_Coord w, Evas_Coord h)
+_efl_ui_text_efl_canvas_group_group_resize(Eo *obj, Efl_Ui_Text_Data *sd, Evas_Coord w, Evas_Coord h)
{
- evas_obj_smart_resize(eo_super(obj, MY_CLASS), w, h);
+ efl_canvas_group_resize(eo_super(obj, MY_CLASS), w, h);
evas_object_resize(sd->hit_rect, w, h);
if (sd->have_selection)
}
EOLIAN static void
-_efl_ui_text_evas_object_smart_smart_show(Eo *obj, Efl_Ui_Text_Data *sd)
+_efl_ui_text_efl_canvas_group_group_show(Eo *obj, Efl_Ui_Text_Data *sd)
{
- evas_obj_smart_show(eo_super(obj, MY_CLASS));
+ efl_canvas_group_show(eo_super(obj, MY_CLASS));
if (sd->have_selection)
_update_selection_handler(obj);
}
EOLIAN static void
-_efl_ui_text_evas_object_smart_smart_hide(Eo *obj, Efl_Ui_Text_Data *sd)
+_efl_ui_text_efl_canvas_group_group_hide(Eo *obj, Efl_Ui_Text_Data *sd)
{
- evas_obj_smart_hide(eo_super(obj, MY_CLASS));
+ efl_canvas_group_hide(eo_super(obj, MY_CLASS));
if (sd->have_selection)
_hide_selection_handler(obj);
}
EOLIAN static void
-_efl_ui_text_evas_object_smart_smart_member_add(Eo *obj, Efl_Ui_Text_Data *sd, Evas_Object *member)
+_efl_ui_text_efl_canvas_group_group_member_add(Eo *obj, Efl_Ui_Text_Data *sd, Evas_Object *member)
{
- evas_obj_smart_member_add(eo_super(obj, MY_CLASS), member);
+ efl_canvas_group_member_add(eo_super(obj, MY_CLASS), member);
if (sd->hit_rect)
evas_object_raise(sd->hit_rect);
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_move;
- Evas.Object.Smart.smart_member_add;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_resize;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_show;
- Evas.Object.Smart.smart_hide;
+ Efl.Canvas.Group.group_move;
+ Efl.Canvas.Group.group_member_add;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_resize;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_show;
+ Efl.Canvas.Group.group_hide;
Elm.Widget.activate;
Elm.Widget.focus_direction_manager_is;
Elm.Widget.theme_apply;
}
EOLIAN static void
-_efl_ui_win_evas_object_smart_smart_show(Eo *obj, Efl_Ui_Win_Data *sd)
+_efl_ui_win_efl_canvas_group_group_show(Eo *obj, Efl_Ui_Win_Data *sd)
{
if (sd->modal_count) return;
const Eina_List *l;
Eina_Bool do_eval = EINA_FALSE;
if (!evas_object_visible_get(obj)) do_eval = EINA_TRUE;
- evas_obj_smart_show(eo_super(obj, MY_CLASS));
+ efl_canvas_group_show(eo_super(obj, MY_CLASS));
if ((sd->modal) && (!evas_object_visible_get(obj)))
{
}
EOLIAN static void
-_efl_ui_win_evas_object_smart_smart_hide(Eo *obj, Efl_Ui_Win_Data *sd)
+_efl_ui_win_efl_canvas_group_group_hide(Eo *obj, Efl_Ui_Win_Data *sd)
{
if (sd->modal_count) return;
const Eina_List *l;
if (evas_object_visible_get(obj))
_elm_win_state_eval_queue();
- evas_obj_smart_hide(eo_super(obj, MY_CLASS));
+ efl_canvas_group_hide(eo_super(obj, MY_CLASS));
if ((sd->modal) && (evas_object_visible_get(obj)))
{
}
EOLIAN static void
-_efl_ui_win_evas_object_smart_smart_del(Eo *obj, Efl_Ui_Win_Data *sd)
+_efl_ui_win_efl_canvas_group_group_del(Eo *obj, Efl_Ui_Win_Data *sd)
{
const Eina_List *l;
Evas_Object *current;
ecore_evas_callback_state_change_set(sd->ee, NULL);
ecore_evas_callback_pre_render_set(sd->ee, NULL);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
if (_elm_win_policy_quit_triggered(obj))
{
}
EOLIAN static void
-_efl_ui_win_evas_object_smart_smart_move(Eo *obj, Efl_Ui_Win_Data *sd, Evas_Coord x, Evas_Coord y)
+_efl_ui_win_efl_canvas_group_group_move(Eo *obj, Efl_Ui_Win_Data *sd, Evas_Coord x, Evas_Coord y)
{
if (sd->img_obj)
{
if (!ecore_evas_override_get(sd->ee)) return;
}
- evas_obj_smart_move(eo_super(obj, MY_CLASS), x, y);
+ efl_canvas_group_move(eo_super(obj, MY_CLASS), x, y);
if (ecore_evas_override_get(sd->ee))
{
}
EOLIAN static void
-_efl_ui_win_evas_object_smart_smart_resize(Eo *obj, Efl_Ui_Win_Data *sd, Evas_Coord w, Evas_Coord h)
+_efl_ui_win_efl_canvas_group_group_resize(Eo *obj, Efl_Ui_Win_Data *sd, Evas_Coord w, Evas_Coord h)
{
if (sd->img_obj)
{
- evas_obj_smart_resize(eo_super(obj, MY_CLASS), w, h);
+ efl_canvas_group_resize(eo_super(obj, MY_CLASS), w, h);
if (sd->constrain)
{
int sw, sh;
}
EOLIAN static void
-_efl_ui_win_evas_object_smart_smart_add(Eo *obj, Efl_Ui_Win_Data *_pd EINA_UNUSED)
+_efl_ui_win_efl_canvas_group_group_add(Eo *obj, Efl_Ui_Win_Data *_pd EINA_UNUSED)
{
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_can_focus_set(obj, EINA_TRUE);
class.constructor;
Eo.Base.constructor;
Eo.Base.finalize;
- Evas.Object.Smart.smart_hide;
- Evas.Object.Smart.smart_show;
- Evas.Object.Smart.smart_move;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_resize;
+ Efl.Canvas.Group.group_hide;
+ Efl.Canvas.Group.group_show;
+ Efl.Canvas.Group.group_move;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_resize;
Elm.Widget.focus_direction;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_direction_manager_is;
}
EOLIAN static void
-_elm_combobox_evas_object_smart_smart_add(Eo *obj, Elm_Combobox_Data *sd EINA_UNUSED)
+_elm_combobox_efl_canvas_group_group_add(Eo *obj, Elm_Combobox_Data *sd EINA_UNUSED)
{
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
elm_widget_mirrored_automatic_set(obj, EINA_FALSE);
}
EOLIAN static void
-_elm_combobox_evas_object_smart_smart_del(Eo *obj, Elm_Combobox_Data *sd)
+_elm_combobox_efl_canvas_group_group_del(Eo *obj, Elm_Combobox_Data *sd)
{
sd->hover_parent = NULL;
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EOLIAN static void
-_elm_combobox_evas_object_smart_smart_show(Eo *obj, Elm_Combobox_Data *sd)
+_elm_combobox_efl_canvas_group_group_show(Eo *obj, Elm_Combobox_Data *sd)
{
- evas_obj_smart_show(eo_super(obj, MY_CLASS));
+ efl_canvas_group_show(eo_super(obj, MY_CLASS));
if (sd->expanded) evas_object_show(sd->hover);
}
EOLIAN static void
-_elm_combobox_evas_object_smart_smart_hide(Eo *obj, Elm_Combobox_Data *sd)
+_elm_combobox_efl_canvas_group_group_hide(Eo *obj, Elm_Combobox_Data *sd)
{
- evas_obj_smart_hide(eo_super(obj, MY_CLASS));
+ efl_canvas_group_hide(eo_super(obj, MY_CLASS));
if (sd->hover) evas_object_hide(sd->hover);
}
}
EOLIAN static void
-_elm_combobox_evas_object_smart_smart_resize(Eo *obj, Elm_Combobox_Data *pd,
+_elm_combobox_efl_canvas_group_group_resize(Eo *obj, Elm_Combobox_Data *pd,
Evas_Coord w, Evas_Coord h)
{
- evas_obj_smart_resize(eo_super(obj, MY_CLASS), w, h);
+ efl_canvas_group_resize(eo_super(obj, MY_CLASS), w, h);
if (pd->count > 0) _table_resize(obj);
}
#include "elm_combobox.eo.c"
}
EOLIAN static void
-_elm_ctxpopup_evas_object_smart_smart_add(Eo *obj, Elm_Ctxpopup_Data *priv)
+_elm_ctxpopup_efl_canvas_group_group_add(Eo *obj, Elm_Ctxpopup_Data *priv)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
if (!elm_layout_theme_set
}
EOLIAN static void
-_elm_ctxpopup_evas_object_smart_smart_del(Eo *obj, Elm_Ctxpopup_Data *sd)
+_elm_ctxpopup_efl_canvas_group_group_del(Eo *obj, Elm_Ctxpopup_Data *sd)
{
Elm_Object_Item *it;
EINA_LIST_FREE(sd->items, it)
eo_del(it);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EOLIAN static void
free(ecore_idler_del(sd->populate_idler));
ecore_idler_del(sd->path_entry_idler);
- evas_obj_smart_del(eo_super(sd->obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(sd->obj, MY_CLASS));
}
static void
}
EOLIAN static void
-_elm_fileselector_evas_object_smart_smart_add(Eo *obj, Elm_Fileselector_Data *priv)
+_elm_fileselector_efl_canvas_group_group_add(Eo *obj, Elm_Fileselector_Data *priv)
{
Evas_Object *ic, *bt, *en, *pb;
const char *data;
char buf[1024];
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
elm_widget_can_focus_set(obj, EINA_TRUE);
}
EOLIAN static void
-_elm_fileselector_evas_object_smart_smart_del(Eo *obj, Elm_Fileselector_Data *sd)
+_elm_fileselector_efl_canvas_group_group_del(Eo *obj, Elm_Fileselector_Data *sd)
{
Elm_Fileselector_Filter *filter;
}
EOLIAN static void
-_elm_fileselector_button_evas_object_smart_smart_add(Eo *obj, Elm_Fileselector_Button_Data *priv)
+_elm_fileselector_button_efl_canvas_group_group_add(Eo *obj, Elm_Fileselector_Button_Data *priv)
{
const char *path;
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
priv->window_title = eina_stringshare_add(DEFAULT_WINDOW_TITLE);
}
EOLIAN static void
-_elm_fileselector_button_evas_object_smart_smart_del(Eo *obj, Elm_Fileselector_Button_Data *sd)
+_elm_fileselector_button_efl_canvas_group_group_del(Eo *obj, Elm_Fileselector_Button_Data *sd)
{
if (sd->fsd.model)
eo_unref(sd->fsd.model);
eo_unref(sd->fsd.selection);
evas_object_del(sd->fsw);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EOLIAN static Eina_Bool
}
EOLIAN static void
-_elm_fileselector_entry_evas_object_smart_smart_add(Eo *obj, Elm_Fileselector_Entry_Data *priv)
+_elm_fileselector_entry_efl_canvas_group_group_add(Eo *obj, Elm_Fileselector_Entry_Data *priv)
{
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
priv->button = elm_fileselector_button_add(obj);
}
EOLIAN static void
-_elm_fileselector_entry_evas_object_smart_smart_del(Eo *obj, Elm_Fileselector_Entry_Data *sd)
+_elm_fileselector_entry_efl_canvas_group_group_del(Eo *obj, Elm_Fileselector_Entry_Data *sd)
{
free(sd->path);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EAPI Evas_Object *
}
EOLIAN static void
-_elm_hoversel_evas_object_smart_smart_add(Eo *obj, Elm_Hoversel_Data *priv)
+_elm_hoversel_efl_canvas_group_group_add(Eo *obj, Elm_Hoversel_Data *priv)
{
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
eo_event_callback_add(obj, EFL_UI_EVENT_CLICKED, _on_clicked, obj);
}
EOLIAN static void
-_elm_hoversel_evas_object_smart_smart_del(Eo *obj, Elm_Hoversel_Data *sd)
+_elm_hoversel_efl_canvas_group_group_del(Eo *obj, Elm_Hoversel_Data *sd)
{
Elm_Object_Item *eo_item;
}
elm_hoversel_hover_parent_set(obj, NULL);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EOLIAN static void
-_elm_hoversel_evas_object_smart_smart_show(Eo *obj, Elm_Hoversel_Data *sd)
+_elm_hoversel_efl_canvas_group_group_show(Eo *obj, Elm_Hoversel_Data *sd)
{
- evas_obj_smart_show(eo_super(obj, MY_CLASS));
+ efl_canvas_group_show(eo_super(obj, MY_CLASS));
evas_object_show(sd->hover);
}
EOLIAN static void
-_elm_hoversel_evas_object_smart_smart_hide(Eo *obj, Elm_Hoversel_Data *sd)
+_elm_hoversel_efl_canvas_group_group_hide(Eo *obj, Elm_Hoversel_Data *sd)
{
- evas_obj_smart_hide(eo_super(obj, MY_CLASS));
+ efl_canvas_group_hide(eo_super(obj, MY_CLASS));
evas_object_hide(sd->hover);
}
}
EOLIAN static void
-_elm_multibuttonentry_evas_object_smart_smart_add(Eo *obj, Elm_Multibuttonentry_Data *priv)
+_elm_multibuttonentry_efl_canvas_group_group_add(Eo *obj, Elm_Multibuttonentry_Data *priv)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
if (!elm_layout_theme_set
}
EOLIAN static void
-_elm_multibuttonentry_evas_object_smart_smart_del(Eo *obj, Elm_Multibuttonentry_Data *sd)
+_elm_multibuttonentry_efl_canvas_group_group_del(Eo *obj, Elm_Multibuttonentry_Data *sd)
{
Elm_Object_Item *eo_item;
Elm_Multibuttonentry_Item_Filter *_item_filter = NULL;
EINA_LIST_FREE(sd->filter_list, _item_filter)
_filter_free(_item_filter);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
static Eina_Bool _elm_multibuttonentry_smart_focus_next_enable = EINA_FALSE;
}
EOLIAN static void
-_elm_naviframe_evas_object_smart_smart_add(Eo *obj, Elm_Naviframe_Data *priv)
+_elm_naviframe_efl_canvas_group_group_add(Eo *obj, Elm_Naviframe_Data *priv)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
priv->dummy_edje = wd->resize_obj;
}
EOLIAN static void
-_elm_naviframe_evas_object_smart_smart_del(Eo *obj, Elm_Naviframe_Data *sd)
+_elm_naviframe_efl_canvas_group_group_del(Eo *obj, Elm_Naviframe_Data *sd)
{
Elm_Naviframe_Item_Data *it;
Elm_Naviframe_Op *nfo;
evas_object_del(sd->dummy_edje);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
//Show only the top item view
EOLIAN static void
-_elm_naviframe_evas_object_smart_smart_show(Eo *obj, Elm_Naviframe_Data *sd EINA_UNUSED)
+_elm_naviframe_efl_canvas_group_group_show(Eo *obj, Elm_Naviframe_Data *sd EINA_UNUSED)
{
Elm_Object_Item *eo_top;
EOLIAN static void
-_elm_player_evas_object_smart_smart_add(Eo *obj, Elm_Player_Data *priv)
+_elm_player_efl_canvas_group_group_add(Eo *obj, Elm_Player_Data *priv)
{
char buf[256];
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
if (!elm_layout_theme_set(obj, "player", "base", elm_widget_style_get(obj)))
}
EOLIAN static void
-_elm_player_evas_object_smart_smart_del(Eo *obj, Elm_Player_Data *sd EINA_UNUSED)
+_elm_player_efl_canvas_group_group_del(Eo *obj, Elm_Player_Data *sd EINA_UNUSED)
{
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EAPI Evas_Object *
}
EOLIAN static void
-_elm_popup_evas_object_smart_smart_del(Eo *obj, Elm_Popup_Data *sd)
+_elm_popup_efl_canvas_group_group_del(Eo *obj, Elm_Popup_Data *sd)
{
unsigned int i;
ELM_SAFE_FREE(sd->content, evas_object_del);
ELM_SAFE_FREE(sd->title_text, eina_stringshare_del);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
static void
}
EOLIAN static void
-_elm_popup_evas_object_smart_smart_add(Eo *obj, Elm_Popup_Data *priv)
+_elm_popup_efl_canvas_group_group_add(Eo *obj, Elm_Popup_Data *priv)
{
char style[1024];
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
snprintf(style, sizeof(style), "popup/%s", elm_widget_style_get(obj));
static void _access_object_unregister(Evas_Object *obj);
EOLIAN static void
-_elm_access_evas_object_smart_smart_add(Eo *obj, void *_pd EINA_UNUSED)
+_elm_access_efl_canvas_group_group_add(Eo *obj, void *_pd EINA_UNUSED)
{
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
}
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
+ Efl.Canvas.Group.group_add;
Elm.Widget.activate;
Elm.Widget.on_focus;
}
}
EOLIAN static void
-_elm_actionslider_evas_object_smart_smart_add(Eo *obj, Elm_Actionslider_Data *priv)
+_elm_actionslider_efl_canvas_group_group_add(Eo *obj, Elm_Actionslider_Data *priv)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
priv->enabled_position = ELM_ACTIONSLIDER_ALL;
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
+ Efl.Canvas.Group.group_add;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_direction_manager_is;
Elm.Widget.theme_apply;
}
EOLIAN static void
-_elm_bg_evas_object_smart_smart_add(Eo *obj, Elm_Bg_Data *priv)
+_elm_bg_efl_canvas_group_group_add(Eo *obj, Elm_Bg_Data *priv)
{
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
elm_widget_can_focus_set(obj, EINA_FALSE);
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
+ Efl.Canvas.Group.group_add;
Elm.Layout.content_aliases.get;
Elm.Layout.sizing_eval;
Efl.File.file.set;
}
EOLIAN static void
-_elm_box_evas_object_smart_smart_calculate(Eo *obj, Elm_Box_Data *_pd EINA_UNUSED)
+_elm_box_efl_canvas_group_group_calculate(Eo *obj, Elm_Box_Data *_pd EINA_UNUSED)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
}
EOLIAN static void
-_elm_box_evas_object_smart_smart_add(Eo *obj, Elm_Box_Data *_pd EINA_UNUSED)
+_elm_box_efl_canvas_group_group_add(Eo *obj, Elm_Box_Data *_pd EINA_UNUSED)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
elm_widget_resize_object_set(obj,
EVAS_CALLBACK_CHANGED_SIZE_HINTS,
_on_size_hints_changed, obj);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
eo_event_callback_add
}
EOLIAN static void
-_elm_box_evas_object_smart_smart_del(Eo *obj, Elm_Box_Data *sd)
+_elm_box_efl_canvas_group_group_del(Eo *obj, Elm_Box_Data *sd)
{
Eina_List *l;
Evas_Object *child;
}
}
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EAPI Evas_Object *
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_calculate;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_calculate;
Elm.Widget.focus_direction;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_direction_manager_is;
}
EOLIAN static void
-_elm_bubble_evas_object_smart_smart_add(Eo *obj, Elm_Bubble_Data *priv)
+_elm_bubble_efl_canvas_group_group_add(Eo *obj, Elm_Bubble_Data *priv)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
priv->pos = ELM_BUBBLE_POS_TOP_LEFT; //default
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
+ Efl.Canvas.Group.group_add;
Elm.Widget.focus_direction;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_next;
}
EOLIAN static void
-_elm_button_evas_object_smart_smart_add(Eo *obj, Elm_Button_Data *_pd EINA_UNUSED)
+_elm_button_efl_canvas_group_group_add(Eo *obj, Elm_Button_Data *_pd EINA_UNUSED)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
edje_object_signal_callback_add
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
+ Efl.Canvas.Group.group_add;
Elm.Widget.activate;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_direction_manager_is;
}
EOLIAN static void
-_elm_calendar_evas_object_smart_smart_calculate(Eo *obj, Elm_Calendar_Data *_pd EINA_UNUSED)
+_elm_calendar_efl_canvas_group_group_calculate(Eo *obj, Elm_Calendar_Data *_pd EINA_UNUSED)
{
elm_layout_freeze(obj);
}
EOLIAN static void
-_elm_calendar_evas_object_smart_smart_add(Eo *obj, Elm_Calendar_Data *priv)
+_elm_calendar_efl_canvas_group_group_add(Eo *obj, Elm_Calendar_Data *priv)
{
time_t current_time;
int t;
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
priv->first_interval = 0.85;
}
EOLIAN static void
-_elm_calendar_evas_object_smart_smart_del(Eo *obj, Elm_Calendar_Data *sd)
+_elm_calendar_efl_canvas_group_group_del(Eo *obj, Elm_Calendar_Data *sd)
{
int i;
Elm_Calendar_Mark *mark;
for (i = 0; i < ELM_DAY_LAST; i++)
eina_stringshare_del(sd->weekdays[i]);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
static Eina_Bool _elm_calendar_smart_focus_next_enable = EINA_FALSE;
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_calculate;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
+ Efl.Canvas.Group.group_calculate;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
Elm.Widget.theme_apply;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_direction_manager_is;
}
EOLIAN static void
-_elm_check_evas_object_smart_smart_add(Eo *obj, Elm_Check_Data *_pd EINA_UNUSED)
+_elm_check_efl_canvas_group_group_add(Eo *obj, Elm_Check_Data *_pd EINA_UNUSED)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
if (!elm_layout_theme_set(obj, "check", "base", elm_widget_style_get(obj)))
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
+ Efl.Canvas.Group.group_add;
Elm.Widget.activate;
Elm.Widget.theme_apply;
Elm.Widget.sub_object_del;
}
EOLIAN static void
-_elm_clock_evas_object_smart_smart_add(Eo *obj, Elm_Clock_Data *priv)
+_elm_clock_efl_canvas_group_group_add(Eo *obj, Elm_Clock_Data *priv)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
priv->cur.ampm = -1;
}
EOLIAN static void
-_elm_clock_evas_object_smart_smart_del(Eo *obj, Elm_Clock_Data *sd)
+_elm_clock_efl_canvas_group_group_del(Eo *obj, Elm_Clock_Data *sd)
{
ecore_timer_del(sd->ticker);
/* NB: digits are killed for being sub objects, automatically */
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
static Eina_Bool _elm_clock_smart_focus_next_enable = EINA_FALSE;
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_direction_manager_is;
Elm.Widget.access;
}
EOLIAN static void
-_elm_code_widget_evas_object_smart_smart_add(Eo *obj, Elm_Code_Widget_Data *pd)
+_elm_code_widget_efl_canvas_group_group_add(Eo *obj, Elm_Code_Widget_Data *pd)
{
Evas_Object *background, *gridrows, *scroller;
- evas_obj_smart_add(eo_super(obj, ELM_CODE_WIDGET_CLASS));
+ efl_canvas_group_add(eo_super(obj, ELM_CODE_WIDGET_CLASS));
elm_object_focus_allow_set(obj, EINA_TRUE);
elm_layout_theme_set(obj, "code", "layout", "default");
class.constructor;
Eo.Base.constructor;
Eo.Base.finalize;
- Evas.Object.Smart.smart_add;
+ Efl.Canvas.Group.group_add;
Elm.Widget.event;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_direction_manager_is;
}
EOLIAN static void
-_elm_colorselector_evas_object_smart_smart_add(Eo *obj, Elm_Colorselector_Data *priv)
+_elm_colorselector_efl_canvas_group_group_add(Eo *obj, Elm_Colorselector_Data *priv)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
if (!elm_layout_theme_set
}
EOLIAN static void
-_elm_colorselector_evas_object_smart_smart_del(Eo *obj, Elm_Colorselector_Data *sd)
+_elm_colorselector_efl_canvas_group_group_del(Eo *obj, Elm_Colorselector_Data *sd)
{
int i = 0;
void *tmp[4];
/* This cb_data are used during the destruction process of base.del */
for (i = 0; i < 4; i++)
tmp[i] = sd->cb_data[i];
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
for (i = 0; i < 4; i++)
free(tmp[i]);
}
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
Elm.Widget.theme_apply;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_next;
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_hide;
- Evas.Object.Smart.smart_show;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_resize;
+ Efl.Canvas.Group.group_hide;
+ Efl.Canvas.Group.group_show;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_resize;
Elm.Widget.part_text.set;
Elm.Widget.part_text.get;
Elm.Widget.theme_apply;
#endif
EOLIAN static void
-_elm_conformant_evas_object_smart_smart_add(Eo *obj, Elm_Conformant_Data *_pd EINA_UNUSED)
+_elm_conformant_efl_canvas_group_group_add(Eo *obj, Elm_Conformant_Data *_pd EINA_UNUSED)
{
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
elm_widget_can_focus_set(obj, EINA_FALSE);
}
EOLIAN static void
-_elm_conformant_evas_object_smart_smart_del(Eo *obj, Elm_Conformant_Data *sd)
+_elm_conformant_efl_canvas_group_group_del(Eo *obj, Elm_Conformant_Data *sd)
{
#ifdef HAVE_ELEMENTARY_X
ecore_event_handler_del(sd->prop_hdl);
eo_event_callback_del(sd->win, EFL_UI_WIN_EVENT_INDICATOR_PROP_CHANGED, _on_indicator_mode_changed, obj);
eo_event_callback_del(sd->win, EFL_UI_WIN_EVENT_ROTATION_CHANGED, _on_rotation_changed, obj);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EOLIAN static void
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
Elm.Widget.widget_parent.set;
Elm.Widget.theme_apply;
Elm.Layout.content_aliases.get;
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_add;
Elm.Widget.widget_parent.set;
Elm.Widget.focus_direction;
Elm.Widget.focus_direction_manager_is;
}
EOLIAN static void
-_elm_datetime_evas_object_smart_smart_add(Eo *obj, Elm_Datetime_Data *priv)
+_elm_datetime_efl_canvas_group_group_add(Eo *obj, Elm_Datetime_Data *priv)
{
Datetime_Field *field;
int idx;
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
// module - initialise module for datetime
}
EOLIAN static void
-_elm_datetime_evas_object_smart_smart_del(Eo *obj, Elm_Datetime_Data *sd)
+_elm_datetime_efl_canvas_group_group_del(Eo *obj, Elm_Datetime_Data *sd)
{
Datetime_Field *tmp;
unsigned int idx;
if ((dt_mod) && (dt_mod->obj_unhook))
dt_mod->obj_unhook(sd->mod_data); // module - unhook
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EAPI Evas_Object *
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
Elm.Widget.theme_apply;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_next;
}
EOLIAN static void
-_elm_dayselector_evas_object_smart_smart_add(Eo *obj, Elm_Dayselector_Data *priv)
+_elm_dayselector_efl_canvas_group_group_add(Eo *obj, Elm_Dayselector_Data *priv)
{
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
if (!elm_layout_theme_set(obj, "dayselector", "base",
}
EOLIAN static void
-_elm_dayselector_evas_object_smart_smart_del(Eo *obj, Elm_Dayselector_Data *sd)
+_elm_dayselector_efl_canvas_group_group_del(Eo *obj, Elm_Dayselector_Data *sd)
{
Elm_Dayselector_Item_Data *it;
}
/* handles freeing sd */
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EAPI Evas_Object *
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
Elm.Widget.theme_apply;
Elm.Widget.focus_direction_manager_is;
Elm.Widget.translate;
}
EOLIAN static void
-_elm_diskselector_evas_object_smart_smart_add(Eo *obj, Elm_Diskselector_Data *priv)
+_elm_diskselector_efl_canvas_group_group_add(Eo *obj, Elm_Diskselector_Data *priv)
{
Evas *evas;
Evas_Object *blank, *edje;
edje = edje_object_add(evas);
elm_widget_resize_object_set(obj, edje, EINA_TRUE);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_theme_object_set
(obj, edje, "diskselector", "base", elm_widget_style_get(obj));
}
EOLIAN static void
-_elm_diskselector_evas_object_smart_smart_del(Eo *obj, Elm_Diskselector_Data *sd)
+_elm_diskselector_efl_canvas_group_group_del(Eo *obj, Elm_Diskselector_Data *sd)
{
Elm_Diskselector_Item_Data *it;
Eina_List *l, *l2;
ELM_SAFE_FREE(sd->scroller_move_idle_enterer, ecore_idle_enterer_del);
ELM_SAFE_FREE(sd->string_check_idle_enterer, ecore_idle_enterer_del);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EOLIAN static void
-_elm_diskselector_evas_object_smart_smart_move(Eo *obj, Elm_Diskselector_Data *sd, Evas_Coord x, Evas_Coord y)
+_elm_diskselector_efl_canvas_group_group_move(Eo *obj, Elm_Diskselector_Data *sd, Evas_Coord x, Evas_Coord y)
{
- evas_obj_smart_move(eo_super(obj, MY_CLASS), x, y);
+ efl_canvas_group_move(eo_super(obj, MY_CLASS), x, y);
evas_object_move(sd->hit_rect, x, y);
}
EOLIAN static void
-_elm_diskselector_evas_object_smart_smart_resize(Eo *obj, Elm_Diskselector_Data *sd, Evas_Coord w, Evas_Coord h)
+_elm_diskselector_efl_canvas_group_group_resize(Eo *obj, Elm_Diskselector_Data *sd, Evas_Coord w, Evas_Coord h)
{
- evas_obj_smart_resize(eo_super(obj, MY_CLASS), w, h);
+ efl_canvas_group_resize(eo_super(obj, MY_CLASS), w, h);
evas_object_resize(sd->hit_rect, w, h);
}
EOLIAN static void
-_elm_diskselector_evas_object_smart_smart_member_add(Eo *obj, Elm_Diskselector_Data *sd, Evas_Object *member)
+_elm_diskselector_efl_canvas_group_group_member_add(Eo *obj, Elm_Diskselector_Data *sd, Evas_Object *member)
{
- evas_obj_smart_member_add(eo_super(obj, MY_CLASS), member);
+ efl_canvas_group_member_add(eo_super(obj, MY_CLASS), member);
if (sd->hit_rect)
evas_object_raise(sd->hit_rect);
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_member_add;
- Evas.Object.Smart.smart_move;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_resize;
+ Efl.Canvas.Group.group_member_add;
+ Efl.Canvas.Group.group_move;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_resize;
Elm.Widget.focus_next_manager_is;
Elm.Widget.access;
Elm.Widget.focus_next;
}
EOLIAN static void
-_elm_entry_evas_object_smart_smart_add(Eo *obj, Elm_Entry_Data *priv)
+_elm_entry_efl_canvas_group_group_add(Eo *obj, Elm_Entry_Data *priv)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
priv->entry_edje = wd->resize_obj;
}
EOLIAN static void
-_elm_entry_evas_object_smart_smart_del(Eo *obj, Elm_Entry_Data *sd)
+_elm_entry_efl_canvas_group_group_del(Eo *obj, Elm_Entry_Data *sd)
{
Elm_Entry_Context_Menu_Item *it;
Elm_Entry_Item_Provider *ip;
evas_object_del(sd->end_handler);
}
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EOLIAN static void
-_elm_entry_evas_object_smart_smart_move(Eo *obj, Elm_Entry_Data *sd, Evas_Coord x, Evas_Coord y)
+_elm_entry_efl_canvas_group_group_move(Eo *obj, Elm_Entry_Data *sd, Evas_Coord x, Evas_Coord y)
{
- evas_obj_smart_move(eo_super(obj, MY_CLASS), x, y);
+ efl_canvas_group_move(eo_super(obj, MY_CLASS), x, y);
evas_object_move(sd->hit_rect, x, y);
}
EOLIAN static void
-_elm_entry_evas_object_smart_smart_resize(Eo *obj, Elm_Entry_Data *sd, Evas_Coord w, Evas_Coord h)
+_elm_entry_efl_canvas_group_group_resize(Eo *obj, Elm_Entry_Data *sd, Evas_Coord w, Evas_Coord h)
{
- evas_obj_smart_resize(eo_super(obj, MY_CLASS), w, h);
+ efl_canvas_group_resize(eo_super(obj, MY_CLASS), w, h);
evas_object_resize(sd->hit_rect, w, h);
if (sd->have_selection)
}
EOLIAN static void
-_elm_entry_evas_object_smart_smart_show(Eo *obj, Elm_Entry_Data *sd)
+_elm_entry_efl_canvas_group_group_show(Eo *obj, Elm_Entry_Data *sd)
{
- evas_obj_smart_show(eo_super(obj, MY_CLASS));
+ efl_canvas_group_show(eo_super(obj, MY_CLASS));
if (sd->have_selection)
_update_selection_handler(obj);
}
EOLIAN static void
-_elm_entry_evas_object_smart_smart_hide(Eo *obj, Elm_Entry_Data *sd)
+_elm_entry_efl_canvas_group_group_hide(Eo *obj, Elm_Entry_Data *sd)
{
- evas_obj_smart_hide(eo_super(obj, MY_CLASS));
+ efl_canvas_group_hide(eo_super(obj, MY_CLASS));
if (sd->have_selection)
_hide_selection_handler(obj);
}
EOLIAN static void
-_elm_entry_evas_object_smart_smart_member_add(Eo *obj, Elm_Entry_Data *sd, Evas_Object *member)
+_elm_entry_efl_canvas_group_group_member_add(Eo *obj, Elm_Entry_Data *sd, Evas_Object *member)
{
- evas_obj_smart_member_add(eo_super(obj, MY_CLASS), member);
+ efl_canvas_group_member_add(eo_super(obj, MY_CLASS), member);
if (sd->hit_rect)
evas_object_raise(sd->hit_rect);
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_move;
- Evas.Object.Smart.smart_member_add;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_resize;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_show;
- Evas.Object.Smart.smart_hide;
+ Efl.Canvas.Group.group_move;
+ Efl.Canvas.Group.group_member_add;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_resize;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_show;
+ Efl.Canvas.Group.group_hide;
Elm.Widget.activate;
Elm.Widget.focus_direction_manager_is;
Elm.Widget.theme_apply;
class.constructor;
class.destructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
Elm.Widget.focus_next;
Elm.Widget.focus_direction_manager_is;
Elm.Widget.focus_direction;
event_prefix: elm_fileselector_button;
implements {
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
Elm.Widget.theme_apply;
Elm.Button.admits_autorepeat.get;
Elm.Interface.Fileselector.selected_models.get;
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_add;
Elm.Widget.theme_apply;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_next;
}
EOLIAN static void
-_elm_flipselector_evas_object_smart_smart_add(Eo *obj, Elm_Flipselector_Data *priv)
+_elm_flipselector_efl_canvas_group_group_add(Eo *obj, Elm_Flipselector_Data *priv)
{
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
if (!elm_layout_theme_set
}
EOLIAN static void
-_elm_flipselector_evas_object_smart_smart_del(Eo *obj, Elm_Flipselector_Data *sd)
+_elm_flipselector_efl_canvas_group_group_del(Eo *obj, Elm_Flipselector_Data *sd)
{
sd->deleting = EINA_TRUE;
ecore_timer_del(sd->spin);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EAPI Evas_Object *
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
Elm.Widget.theme_apply;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_direction_manager_is;
/* using deferred sizing evaluation, just like the parent */
EOLIAN static void
-_elm_frame_evas_object_smart_smart_calculate(Eo *obj, Elm_Frame_Data *sd)
+_elm_frame_efl_canvas_group_group_calculate(Eo *obj, Elm_Frame_Data *sd)
{
ELM_LAYOUT_DATA_GET(obj, ld);
}
EOLIAN static void
-_elm_frame_evas_object_smart_smart_add(Eo *obj, Elm_Frame_Data *_pd EINA_UNUSED)
+_elm_frame_efl_canvas_group_group_add(Eo *obj, Elm_Frame_Data *_pd EINA_UNUSED)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
edje_object_signal_callback_add
implements {
Eo.Base.constructor;
class.constructor;
- Evas.Object.Smart.smart_calculate;
- Evas.Object.Smart.smart_add;
+ Efl.Canvas.Group.group_calculate;
+ Efl.Canvas.Group.group_add;
Elm.Widget.focus_direction;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_next;
}
EOLIAN static void
-_elm_gengrid_pan_evas_object_smart_smart_move(Eo *obj EINA_UNUSED, Elm_Gengrid_Pan_Data *psd, Evas_Coord _gen_param2 EINA_UNUSED, Evas_Coord _gen_param3 EINA_UNUSED)
+_elm_gengrid_pan_efl_canvas_group_group_move(Eo *obj EINA_UNUSED, Elm_Gengrid_Pan_Data *psd, Evas_Coord _gen_param2 EINA_UNUSED, Evas_Coord _gen_param3 EINA_UNUSED)
{
ecore_job_del(psd->wsd->calc_job);
psd->wsd->calc_job = ecore_job_add(_calc_job, psd->wobj);
}
EOLIAN static void
-_elm_gengrid_pan_evas_object_smart_smart_resize(Eo *obj, Elm_Gengrid_Pan_Data *psd, Evas_Coord w, Evas_Coord h)
+_elm_gengrid_pan_efl_canvas_group_group_resize(Eo *obj, Elm_Gengrid_Pan_Data *psd, Evas_Coord w, Evas_Coord h)
{
Evas_Coord ow, oh;
}
EOLIAN static void
-_elm_gengrid_pan_evas_object_smart_smart_calculate(Eo *obj EINA_UNUSED, Elm_Gengrid_Pan_Data *psd)
+_elm_gengrid_pan_efl_canvas_group_group_calculate(Eo *obj EINA_UNUSED, Elm_Gengrid_Pan_Data *psd)
{
Evas_Coord cx = 0, cy = 0;
Elm_Gen_Item *it;
}
EOLIAN static void
-_elm_gengrid_evas_object_smart_smart_add(Eo *obj, Elm_Gengrid_Data *priv)
+_elm_gengrid_efl_canvas_group_group_add(Eo *obj, Elm_Gengrid_Data *priv)
{
Eina_Bool bounce = _elm_config->thumbscroll_bounce_enable;
Elm_Gengrid_Pan_Data *pan_data;
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
priv->hit_rect = evas_object_rectangle_add(evas_object_evas_get(obj));
}
EOLIAN static void
-_elm_gengrid_evas_object_smart_smart_del(Eo *obj, Elm_Gengrid_Data *sd)
+_elm_gengrid_efl_canvas_group_group_del(Eo *obj, Elm_Gengrid_Data *sd)
{
elm_gengrid_clear(obj);
ELM_SAFE_FREE(sd->pan_obj, evas_object_del);
_item_cache_zero(sd);
ecore_job_del(sd->calc_job);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EOLIAN static void
-_elm_gengrid_evas_object_smart_smart_move(Eo *obj, Elm_Gengrid_Data *sd, Evas_Coord x, Evas_Coord y)
+_elm_gengrid_efl_canvas_group_group_move(Eo *obj, Elm_Gengrid_Data *sd, Evas_Coord x, Evas_Coord y)
{
- evas_obj_smart_move(eo_super(obj, MY_CLASS), x, y);
+ efl_canvas_group_move(eo_super(obj, MY_CLASS), x, y);
evas_object_move(sd->hit_rect, x, y);
}
EOLIAN static void
-_elm_gengrid_evas_object_smart_smart_resize(Eo *obj, Elm_Gengrid_Data *sd, Evas_Coord w, Evas_Coord h)
+_elm_gengrid_efl_canvas_group_group_resize(Eo *obj, Elm_Gengrid_Data *sd, Evas_Coord w, Evas_Coord h)
{
- evas_obj_smart_resize(eo_super(obj, MY_CLASS), w, h);
+ efl_canvas_group_resize(eo_super(obj, MY_CLASS), w, h);
evas_object_resize(sd->hit_rect, w, h);
}
EOLIAN static void
-_elm_gengrid_evas_object_smart_smart_member_add(Eo *obj, Elm_Gengrid_Data *sd, Evas_Object *member)
+_elm_gengrid_efl_canvas_group_group_member_add(Eo *obj, Elm_Gengrid_Data *sd, Evas_Object *member)
{
- evas_obj_smart_member_add(eo_super(obj, MY_CLASS), member);
+ efl_canvas_group_member_add(eo_super(obj, MY_CLASS), member);
if (sd->hit_rect)
evas_object_raise(sd->hit_rect);
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_move;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_member_add;
- Evas.Object.Smart.smart_resize;
+ Efl.Canvas.Group.group_move;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_member_add;
+ Efl.Canvas.Group.group_resize;
Elm.Widget.theme_apply;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_direction_manager_is;
implements {
class.constructor;
Eo.Base.destructor;
- Evas.Object.Smart.smart_calculate;
- Evas.Object.Smart.smart_move;
- Evas.Object.Smart.smart_resize;
+ Efl.Canvas.Group.group_calculate;
+ Efl.Canvas.Group.group_move;
+ Efl.Canvas.Group.group_resize;
Elm.Pan.content_size.get;
Elm.Pan.pos;
Elm.Pan.pos_min.get;
}
EOLIAN static void
-_elm_genlist_pan_evas_object_smart_smart_del(Eo *obj, Elm_Genlist_Pan_Data *psd)
+_elm_genlist_pan_efl_canvas_group_group_del(Eo *obj, Elm_Genlist_Pan_Data *psd)
{
ecore_job_del(psd->resize_job);
- evas_obj_smart_del(eo_super(obj, MY_PAN_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_PAN_CLASS));
}
EOLIAN static void
-_elm_genlist_pan_evas_object_smart_smart_move(Eo *obj, Elm_Genlist_Pan_Data *psd, Evas_Coord _gen_param2 EINA_UNUSED, Evas_Coord _gen_param3 EINA_UNUSED)
+_elm_genlist_pan_efl_canvas_group_group_move(Eo *obj, Elm_Genlist_Pan_Data *psd, Evas_Coord _gen_param2 EINA_UNUSED, Evas_Coord _gen_param3 EINA_UNUSED)
{
psd->wsd->pan_changed = EINA_TRUE;
evas_object_smart_changed(obj);
}
EOLIAN static void
-_elm_genlist_pan_evas_object_smart_smart_resize(Eo *obj, Elm_Genlist_Pan_Data *psd, Evas_Coord w, Evas_Coord h)
+_elm_genlist_pan_efl_canvas_group_group_resize(Eo *obj, Elm_Genlist_Pan_Data *psd, Evas_Coord w, Evas_Coord h)
{
Evas_Coord ow, oh;
}
EOLIAN static void
-_elm_genlist_pan_evas_object_smart_smart_calculate(Eo *obj, Elm_Genlist_Pan_Data *psd)
+_elm_genlist_pan_efl_canvas_group_group_calculate(Eo *obj, Elm_Genlist_Pan_Data *psd)
{
Evas_Coord ox, oy, ow, oh, cvx, cvy, cvw, cvh;
Evas_Coord vx = 0, vy = 0, vw = 0, vh = 0;
}
EOLIAN static void
-_elm_genlist_evas_object_smart_smart_add(Eo *obj, Elm_Genlist_Data *priv)
+_elm_genlist_efl_canvas_group_group_add(Eo *obj, Elm_Genlist_Data *priv)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
Elm_Genlist_Pan_Data *pan_data;
Evas_Coord minw, minh;
int i;
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
priv->size_caches = eina_hash_pointer_new(_size_cache_free);
}
EOLIAN static void
-_elm_genlist_evas_object_smart_smart_del(Eo *obj, Elm_Genlist_Data *sd)
+_elm_genlist_efl_canvas_group_group_del(Eo *obj, Elm_Genlist_Data *sd)
{
int i;
_elm_genlist_tree_effect_stop(sd);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EOLIAN static void
-_elm_genlist_evas_object_smart_smart_move(Eo *obj, Elm_Genlist_Data *sd, Evas_Coord x, Evas_Coord y)
+_elm_genlist_efl_canvas_group_group_move(Eo *obj, Elm_Genlist_Data *sd, Evas_Coord x, Evas_Coord y)
{
- evas_obj_smart_move(eo_super(obj, MY_CLASS), x, y);
+ efl_canvas_group_move(eo_super(obj, MY_CLASS), x, y);
evas_object_move(sd->hit_rect, x, y);
}
EOLIAN static void
-_elm_genlist_evas_object_smart_smart_resize(Eo *obj, Elm_Genlist_Data *sd, Evas_Coord w, Evas_Coord h)
+_elm_genlist_efl_canvas_group_group_resize(Eo *obj, Elm_Genlist_Data *sd, Evas_Coord w, Evas_Coord h)
{
- evas_obj_smart_resize(eo_super(obj, MY_CLASS), w, h);
+ efl_canvas_group_resize(eo_super(obj, MY_CLASS), w, h);
evas_object_resize(sd->hit_rect, w, h);
if ((sd->queue) && (!sd->queue_idle_enterer) && (w > 0))
}
EOLIAN static void
-_elm_genlist_evas_object_smart_smart_member_add(Eo *obj, Elm_Genlist_Data *sd, Evas_Object *member)
+_elm_genlist_efl_canvas_group_group_member_add(Eo *obj, Elm_Genlist_Data *sd, Evas_Object *member)
{
- evas_obj_smart_member_add(eo_super(obj, MY_CLASS), member);
+ efl_canvas_group_member_add(eo_super(obj, MY_CLASS), member);
if (sd->hit_rect)
evas_object_raise(sd->hit_rect);
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_member_add;
- Evas.Object.Smart.smart_move;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_resize;
+ Efl.Canvas.Group.group_member_add;
+ Efl.Canvas.Group.group_move;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_resize;
Elm.Widget.theme_apply;
Elm.Widget.focus_next_manager_is;
Elm.Widget.sub_object_add;
implements {
class.constructor;
Eo.Base.destructor;
- Evas.Object.Smart.smart_calculate;
- Evas.Object.Smart.smart_move;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_resize;
+ Efl.Canvas.Group.group_calculate;
+ Efl.Canvas.Group.group_move;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_resize;
Elm.Pan.content_size.get;
Elm.Pan.pos;
Elm.Pan.pos_min.get;
}
EOLIAN static void
-_elm_gesture_layer_evas_object_smart_smart_add(Eo *obj, Elm_Gesture_Layer_Data *priv)
+_elm_gesture_layer_efl_canvas_group_group_add(Eo *obj, Elm_Gesture_Layer_Data *priv)
{
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
priv->line_min_length =
static void _cbs_clean(Elm_Gesture_Layer_Data *sd, Elm_Gesture_Type idx, Elm_Gesture_State cb_type);
EOLIAN static void
-_elm_gesture_layer_evas_object_smart_smart_del(Eo *obj, Elm_Gesture_Layer_Data *sd)
+_elm_gesture_layer_efl_canvas_group_group_del(Eo *obj, Elm_Gesture_Layer_Data *sd)
{
Pointer_Event *data;
int i;
if (!elm_widget_disabled_get(obj))
_callbacks_unregister(obj);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EAPI Evas_Object *
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
Elm.Widget.disable;
}
}
EOLIAN static void
-_elm_glview_evas_object_smart_smart_resize(Eo *obj, Elm_Glview_Data *sd, Evas_Coord w, Evas_Coord h)
+_elm_glview_efl_canvas_group_group_resize(Eo *obj, Elm_Glview_Data *sd, Evas_Coord w, Evas_Coord h)
{
- evas_obj_smart_resize(eo_super(obj, MY_CLASS), w, h);
+ efl_canvas_group_resize(eo_super(obj, MY_CLASS), w, h);
sd->resized = EINA_TRUE;
}
EOLIAN static void
-_elm_glview_evas_object_smart_smart_add(Eo *obj, Elm_Glview_Data *priv EINA_UNUSED)
+_elm_glview_efl_canvas_group_group_add(Eo *obj, Elm_Glview_Data *priv EINA_UNUSED)
{
Evas_Object *img;
elm_widget_resize_object_set(obj, img, EINA_TRUE);
evas_object_image_size_set(img, 1, 1);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
}
static void
}
EOLIAN static void
-_elm_glview_evas_object_smart_smart_del(Eo *obj, Elm_Glview_Data *sd)
+_elm_glview_efl_canvas_group_group_del(Eo *obj, Elm_Glview_Data *sd)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
if (sd->config) evas_gl_config_free(sd->config);
if (sd->evasgl) evas_gl_free(sd->evasgl);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
static Eina_Bool
implements {
class.constructor;
Eo.Base.finalize;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_resize;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_resize;
Elm.Widget.on_focus;
Efl.Gfx.View.view_size.get;
Efl.Gfx.View.view_size.set;
}
EOLIAN static void
-_elm_grid_evas_object_smart_smart_add(Eo *obj, void *_pd EINA_UNUSED)
+_elm_grid_efl_canvas_group_group_add(Eo *obj, void *_pd EINA_UNUSED)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
Evas_Object *grid;
elm_widget_resize_object_set(obj, grid, EINA_TRUE);
evas_object_grid_size_set(wd->resize_obj, 100, 100);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_can_focus_set(obj, EINA_FALSE);
}
EOLIAN static void
-_elm_grid_evas_object_smart_smart_del(Eo *obj, void *_pd EINA_UNUSED)
+_elm_grid_efl_canvas_group_group_del(Eo *obj, void *_pd EINA_UNUSED)
{
Eina_List *l;
Evas_Object *child;
}
}
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EAPI Evas_Object *
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
Elm.Widget.focus_direction;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_next;
}
EOLIAN static void
-_elm_hover_evas_object_smart_smart_add(Eo *obj, Elm_Hover_Data *sd)
+_elm_hover_efl_canvas_group_group_add(Eo *obj, Elm_Hover_Data *sd)
{
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
ELM_HOVER_PARTS_FOREACH
}
EOLIAN static void
-_elm_hover_evas_object_smart_smart_del(Eo *obj, Elm_Hover_Data *sd)
+_elm_hover_efl_canvas_group_group_del(Eo *obj, Elm_Hover_Data *sd)
{
sd->on_del = EINA_TRUE;
_elm_hover_parent_detach(obj);
sd->parent = NULL;
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EOLIAN static void
-_elm_hover_evas_object_smart_smart_move(Eo *obj, Elm_Hover_Data *_pd EINA_UNUSED, Evas_Coord x, Evas_Coord y)
+_elm_hover_efl_canvas_group_group_move(Eo *obj, Elm_Hover_Data *_pd EINA_UNUSED, Evas_Coord x, Evas_Coord y)
{
- evas_obj_smart_move(eo_super(obj, MY_CLASS), x, y);
+ efl_canvas_group_move(eo_super(obj, MY_CLASS), x, y);
elm_layout_sizing_eval(obj);
}
EOLIAN static void
-_elm_hover_evas_object_smart_smart_resize(Eo *obj, Elm_Hover_Data *_pd EINA_UNUSED, Evas_Coord w, Evas_Coord h)
+_elm_hover_efl_canvas_group_group_resize(Eo *obj, Elm_Hover_Data *_pd EINA_UNUSED, Evas_Coord w, Evas_Coord h)
{
- evas_obj_smart_resize(eo_super(obj, MY_CLASS), w, h);
+ efl_canvas_group_resize(eo_super(obj, MY_CLASS), w, h);
elm_layout_sizing_eval(obj);
}
EOLIAN static void
-_elm_hover_evas_object_smart_smart_show(Eo *obj, Elm_Hover_Data *_pd EINA_UNUSED)
+_elm_hover_efl_canvas_group_group_show(Eo *obj, Elm_Hover_Data *_pd EINA_UNUSED)
{
- evas_obj_smart_show(eo_super(obj, MY_CLASS));
+ efl_canvas_group_show(eo_super(obj, MY_CLASS));
_hov_show_do(obj);
}
EOLIAN static void
-_elm_hover_evas_object_smart_smart_hide(Eo *obj, Elm_Hover_Data *_pd EINA_UNUSED)
+_elm_hover_efl_canvas_group_group_hide(Eo *obj, Elm_Hover_Data *_pd EINA_UNUSED)
{
const char *dismissstr;
- evas_obj_smart_hide(eo_super(obj, MY_CLASS));
+ efl_canvas_group_hide(eo_super(obj, MY_CLASS));
// for backward compatibility
dismissstr = elm_layout_data_get(obj, "dismiss");
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_hide;
- Evas.Object.Smart.smart_show;
- Evas.Object.Smart.smart_move;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_resize;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_hide;
+ Efl.Canvas.Group.group_show;
+ Efl.Canvas.Group.group_move;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_resize;
Elm.Widget.theme_apply;
Elm.Widget.sub_object_add;
Elm.Widget.widget_parent;
class.constructor;
Eo.Base.constructor;
Eo.Base.destructor;
- Evas.Object.Smart.smart_hide;
- Evas.Object.Smart.smart_show;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
+ Efl.Canvas.Group.group_hide;
+ Efl.Canvas.Group.group_show;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
Elm.Widget.widget_parent.set;
Elm.Widget.theme_apply;
Elm.Widget.translate;
}
EOLIAN static void
-_elm_icon_evas_object_smart_smart_add(Eo *obj, Elm_Icon_Data *priv)
+_elm_icon_efl_canvas_group_group_add(Eo *obj, Elm_Icon_Data *priv)
{
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
priv->thumb.request = NULL;
}
EOLIAN static void
-_elm_icon_evas_object_smart_smart_del(Eo *obj, Elm_Icon_Data *sd)
+_elm_icon_efl_canvas_group_group_del(Eo *obj, Elm_Icon_Data *sd)
{
eina_stringshare_del(sd->stdicon);
_edje_signals_free(sd);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
/* WARNING: to be deprecated */
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
Elm.Widget.theme_apply;
Efl.File.file.set;
}
EOLIAN static void
-_elm_index_evas_object_smart_smart_add(Eo *obj, Elm_Index_Data *priv)
+_elm_index_efl_canvas_group_group_add(Eo *obj, Elm_Index_Data *priv)
{
Evas_Object *o;
Evas_Coord minw = 0, minh = 0;
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
if (!elm_layout_theme_set
}
EOLIAN static void
-_elm_index_evas_object_smart_smart_del(Eo *obj, Elm_Index_Data *sd)
+_elm_index_efl_canvas_group_group_del(Eo *obj, Elm_Index_Data *sd)
{
Elm_Index_Omit *o;
ecore_timer_del(sd->delay);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
static Eina_Bool _elm_index_smart_focus_next_enable = EINA_FALSE;
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
Elm.Widget.theme_apply;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_direction_manager_is;
}
EOLIAN static void
-_elm_pan_evas_object_smart_smart_add(Eo *obj, Elm_Pan_Smart_Data *priv)
+_elm_pan_efl_canvas_group_group_add(Eo *obj, Elm_Pan_Smart_Data *priv)
{
- evas_obj_smart_add(eo_super(obj, MY_PAN_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_PAN_CLASS));
priv->self = obj;
}
EOLIAN static void
-_elm_pan_evas_object_smart_smart_del(Eo *obj, Elm_Pan_Smart_Data *_pd EINA_UNUSED)
+_elm_pan_efl_canvas_group_group_del(Eo *obj, Elm_Pan_Smart_Data *_pd EINA_UNUSED)
{
_elm_pan_content_set(obj, NULL);
- evas_obj_smart_del(eo_super(obj, MY_PAN_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_PAN_CLASS));
}
EOLIAN static void
-_elm_pan_evas_object_smart_smart_move(Eo *obj EINA_UNUSED, Elm_Pan_Smart_Data *psd, Evas_Coord x, Evas_Coord y)
+_elm_pan_efl_canvas_group_group_move(Eo *obj EINA_UNUSED, Elm_Pan_Smart_Data *psd, Evas_Coord x, Evas_Coord y)
{
psd->x = x;
psd->y = y;
}
EOLIAN static void
-_elm_pan_evas_object_smart_smart_resize(Eo *obj EINA_UNUSED, Elm_Pan_Smart_Data *psd, Evas_Coord w, Evas_Coord h)
+_elm_pan_efl_canvas_group_group_resize(Eo *obj EINA_UNUSED, Elm_Pan_Smart_Data *psd, Evas_Coord w, Evas_Coord h)
{
psd->w = w;
psd->h = h;
}
EOLIAN static void
-_elm_pan_evas_object_smart_smart_show(Eo *obj, Elm_Pan_Smart_Data *psd)
+_elm_pan_efl_canvas_group_group_show(Eo *obj, Elm_Pan_Smart_Data *psd)
{
- evas_obj_smart_show(eo_super(obj, MY_PAN_CLASS));
+ efl_canvas_group_show(eo_super(obj, MY_PAN_CLASS));
if (psd->content)
evas_object_show(psd->content);
}
EOLIAN static void
-_elm_pan_evas_object_smart_smart_hide(Eo *obj, Elm_Pan_Smart_Data *psd)
+_elm_pan_efl_canvas_group_group_hide(Eo *obj, Elm_Pan_Smart_Data *psd)
{
- evas_obj_smart_hide(eo_super(obj, MY_PAN_CLASS));
+ efl_canvas_group_hide(eo_super(obj, MY_PAN_CLASS));
if (psd->content)
evas_object_hide(psd->content);
}
EOLIAN static void
-_elm_interface_scrollable_evas_object_smart_smart_add(Eo *obj, Elm_Scrollable_Smart_Interface_Data *sid)
+_elm_interface_scrollable_efl_canvas_group_group_add(Eo *obj, Elm_Scrollable_Smart_Interface_Data *sid)
{
memset(sid, 0, sizeof(*sid));
_elm_scroll_scroll_bar_reset(sid);
- evas_obj_smart_add(eo_super(obj, MY_SCROLLABLE_INTERFACE));
+ efl_canvas_group_add(eo_super(obj, MY_SCROLLABLE_INTERFACE));
}
EOLIAN static void
-_elm_interface_scrollable_evas_object_smart_smart_del(Eo *obj, Elm_Scrollable_Smart_Interface_Data *sid)
+_elm_interface_scrollable_efl_canvas_group_group_del(Eo *obj, Elm_Scrollable_Smart_Interface_Data *sid)
{
- evas_obj_smart_del(eo_super(obj, MY_SCROLLABLE_INTERFACE));
+ efl_canvas_group_del(eo_super(obj, MY_SCROLLABLE_INTERFACE));
elm_interface_scrollable_content_set(obj, NULL);
if (!sid->extern_pan) evas_object_del(sid->pan_obj);
}
-mixin Elm.Interface_Scrollable(Efl.Ui.Scrollable, Evas.Object.Smart)
+mixin Elm.Interface_Scrollable(Efl.Ui.Scrollable, Efl.Canvas.Group)
{
eo_prefix: elm_interface_scrollable;
data: Elm_Scrollable_Smart_Interface_Data;
}
implements {
class.constructor;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
}
events {
changed;
}
EOLIAN static void
-_elm_inwin_evas_object_smart_smart_add(Eo *obj, void *_pd EINA_UNUSED)
+_elm_inwin_efl_canvas_group_group_add(Eo *obj, void *_pd EINA_UNUSED)
{
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
elm_widget_can_focus_set(obj, EINA_FALSE);
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
+ Efl.Canvas.Group.group_add;
Elm.Widget.widget_parent.set;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_next;
}
EOLIAN static void
-_elm_label_evas_object_smart_smart_add(Eo *obj, Elm_Label_Data *priv)
+_elm_label_efl_canvas_group_group_add(Eo *obj, Elm_Label_Data *priv)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
+ Efl.Canvas.Group.group_add;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_direction_manager_is;
Elm.Widget.theme_apply;
}
EOLIAN static void
-_elm_layout_evas_object_smart_smart_add(Eo *obj, Elm_Layout_Smart_Data *_pd EINA_UNUSED)
+_elm_layout_efl_canvas_group_group_add(Eo *obj, Elm_Layout_Smart_Data *_pd EINA_UNUSED)
{
Evas_Object *edje;
edje = edje_object_add(evas_object_evas_get(obj));
elm_widget_resize_object_set(obj, edje, EINA_TRUE);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_can_focus_set(obj, EINA_FALSE);
}
EOLIAN static void
-_elm_layout_evas_object_smart_smart_del(Eo *obj, Elm_Layout_Smart_Data *sd)
+_elm_layout_efl_canvas_group_group_del(Eo *obj, Elm_Layout_Smart_Data *sd)
{
Elm_Layout_Sub_Object_Data *sub_d;
Elm_Layout_Sub_Object_Cursor *pc;
sd->destructed_is = EINA_TRUE;
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
/* rewrite or extend this one on your derived class as to suit your
* needs */
EOLIAN static void
-_elm_layout_evas_object_smart_smart_calculate(Eo *obj, Elm_Layout_Smart_Data *sd)
+_elm_layout_efl_canvas_group_group_calculate(Eo *obj, Elm_Layout_Smart_Data *sd)
{
if (sd->needs_size_calc)
{
Eo.Base.dbg_info_get;
Efl.File.file.set;
Efl.File.file.get;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_calculate;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_calculate;
Elm.Widget.focus_direction;
Elm.Widget.sub_object_add;
Elm.Widget.theme_apply;
}
EOLIAN static void
-_elm_list_evas_object_smart_smart_add(Eo *obj, Elm_List_Data *priv)
+_elm_list_efl_canvas_group_group_add(Eo *obj, Elm_List_Data *priv)
{
Evas_Coord minw, minh;
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
elm_widget_can_focus_set(obj, EINA_TRUE);
}
EOLIAN static void
-_elm_list_evas_object_smart_smart_del(Eo *obj, Elm_List_Data *sd)
+_elm_list_efl_canvas_group_group_del(Eo *obj, Elm_List_Data *sd)
{
const Eina_List *l;
Elm_Object_Item *eo_it;
sd->selected = eina_list_free(sd->selected);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EOLIAN static void
-_elm_list_evas_object_smart_smart_move(Eo *obj, Elm_List_Data *sd, Evas_Coord x, Evas_Coord y)
+_elm_list_efl_canvas_group_group_move(Eo *obj, Elm_List_Data *sd, Evas_Coord x, Evas_Coord y)
{
- evas_obj_smart_move(eo_super(obj, MY_CLASS), x, y);
+ efl_canvas_group_move(eo_super(obj, MY_CLASS), x, y);
evas_object_move(sd->hit_rect, x, y);
}
EOLIAN static void
-_elm_list_evas_object_smart_smart_resize(Eo *obj, Elm_List_Data *sd, Evas_Coord w, Evas_Coord h)
+_elm_list_efl_canvas_group_group_resize(Eo *obj, Elm_List_Data *sd, Evas_Coord w, Evas_Coord h)
{
- evas_obj_smart_resize(eo_super(obj, MY_CLASS), w, h);
+ efl_canvas_group_resize(eo_super(obj, MY_CLASS), w, h);
evas_object_resize(sd->hit_rect, w, h);
}
EOLIAN static void
-_elm_list_evas_object_smart_smart_member_add(Eo *obj, Elm_List_Data *sd, Evas_Object *member)
+_elm_list_efl_canvas_group_group_member_add(Eo *obj, Elm_List_Data *sd, Evas_Object *member)
{
- evas_obj_smart_member_add(eo_super(obj, MY_CLASS), member);
+ efl_canvas_group_member_add(eo_super(obj, MY_CLASS), member);
if (sd->hit_rect)
evas_object_raise(sd->hit_rect);
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_member_add;
- Evas.Object.Smart.smart_move;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_resize;
+ Efl.Canvas.Group.group_member_add;
+ Efl.Canvas.Group.group_move;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_resize;
Elm.Widget.theme_apply;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_direction_manager_is;
}
EOLIAN static void
-_elm_map_pan_evas_object_smart_smart_resize(Eo *obj, Elm_Map_Pan_Data *psd, Evas_Coord w EINA_UNUSED, Evas_Coord h EINA_UNUSED)
+_elm_map_pan_efl_canvas_group_group_resize(Eo *obj, Elm_Map_Pan_Data *psd, Evas_Coord w EINA_UNUSED, Evas_Coord h EINA_UNUSED)
{
_sizing_eval(psd->wsd->obj);
elm_map_zoom_mode_set(psd->wobj, psd->wsd->mode);
}
EOLIAN static void
-_elm_map_pan_evas_object_smart_smart_calculate(Eo *obj, Elm_Map_Pan_Data *psd)
+_elm_map_pan_efl_canvas_group_group_calculate(Eo *obj, Elm_Map_Pan_Data *psd)
{
Evas_Coord w, h;
}
EOLIAN static void
-_elm_map_pan_evas_object_smart_smart_move(Eo *obj, Elm_Map_Pan_Data *_pd EINA_UNUSED, Evas_Coord x EINA_UNUSED, Evas_Coord y EINA_UNUSED)
+_elm_map_pan_efl_canvas_group_group_move(Eo *obj, Elm_Map_Pan_Data *_pd EINA_UNUSED, Evas_Coord x EINA_UNUSED, Evas_Coord y EINA_UNUSED)
{
evas_object_smart_changed(obj);
}
}
EOLIAN static void
-_elm_map_evas_object_smart_smart_add(Eo *obj, Elm_Map_Data *priv)
+_elm_map_efl_canvas_group_group_add(Eo *obj, Elm_Map_Data *priv)
{
Evas_Coord minw, minh;
Elm_Map_Pan_Data *pan_data;
edje = edje_object_add(evas_object_evas_get(obj));
elm_widget_resize_object_set(obj, edje, EINA_TRUE);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_theme_object_set
(obj, edje, "map", "base", elm_widget_style_get(obj));
}
EOLIAN static void
-_elm_map_evas_object_smart_smart_del(Eo *obj, Elm_Map_Data *sd)
+_elm_map_efl_canvas_group_group_del(Eo *obj, Elm_Map_Data *sd)
{
Elm_Map_Route *r;
Elm_Map_Name *na;
evas_object_del(sd->pan_obj);
sd->pan_obj = NULL;
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EOLIAN static void
-_elm_map_evas_object_smart_smart_move(Eo *obj, Elm_Map_Data *sd, Evas_Coord x, Evas_Coord y)
+_elm_map_efl_canvas_group_group_move(Eo *obj, Elm_Map_Data *sd, Evas_Coord x, Evas_Coord y)
{
- evas_obj_smart_move(eo_super(obj, MY_CLASS), x, y);
+ efl_canvas_group_move(eo_super(obj, MY_CLASS), x, y);
evas_object_move(sd->hit_rect, x, y);
}
EOLIAN static void
-_elm_map_evas_object_smart_smart_resize(Eo *obj, Elm_Map_Data *sd, Evas_Coord w, Evas_Coord h)
+_elm_map_efl_canvas_group_group_resize(Eo *obj, Elm_Map_Data *sd, Evas_Coord w, Evas_Coord h)
{
- evas_obj_smart_resize(eo_super(obj, MY_CLASS), w, h);
+ efl_canvas_group_resize(eo_super(obj, MY_CLASS), w, h);
evas_object_resize(sd->hit_rect, w, h);
}
EOLIAN static void
-_elm_map_evas_object_smart_smart_member_add(Eo *obj, Elm_Map_Data *sd, Evas_Object *member)
+_elm_map_efl_canvas_group_group_member_add(Eo *obj, Elm_Map_Data *sd, Evas_Object *member)
{
- evas_obj_smart_member_add(eo_super(obj, MY_CLASS), member);
+ efl_canvas_group_member_add(eo_super(obj, MY_CLASS), member);
if (sd->hit_rect)
evas_object_raise(sd->hit_rect);
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_move;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_member_add;
- Evas.Object.Smart.smart_resize;
+ Efl.Canvas.Group.group_move;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_member_add;
+ Efl.Canvas.Group.group_resize;
Elm.Widget.theme_apply;
Elm.Widget.on_focus;
Elm.Widget.event;
implements {
class.constructor;
Eo.Base.destructor;
- Evas.Object.Smart.smart_calculate;
- Evas.Object.Smart.smart_move;
- Evas.Object.Smart.smart_resize;
+ Efl.Canvas.Group.group_calculate;
+ Efl.Canvas.Group.group_move;
+ Efl.Canvas.Group.group_resize;
Elm.Pan.content_size.get;
Elm.Pan.pos;
Elm.Pan.pos_min.get;
}
EOLIAN static void
-_elm_mapbuf_evas_object_smart_smart_move(Eo *obj, Elm_Mapbuf_Data *sd, Evas_Coord x, Evas_Coord y)
+_elm_mapbuf_efl_canvas_group_group_move(Eo *obj, Elm_Mapbuf_Data *sd, Evas_Coord x, Evas_Coord y)
{
- evas_obj_smart_move(eo_super(obj, MY_CLASS), x, y);
+ efl_canvas_group_move(eo_super(obj, MY_CLASS), x, y);
_mapbuf_auto_eval(obj, sd);
_mapbuf_auto_smooth(obj, sd);
}
EOLIAN static void
-_elm_mapbuf_evas_object_smart_smart_resize(Eo *obj, Elm_Mapbuf_Data *sd, Evas_Coord w, Evas_Coord h)
+_elm_mapbuf_efl_canvas_group_group_resize(Eo *obj, Elm_Mapbuf_Data *sd, Evas_Coord w, Evas_Coord h)
{
- evas_obj_smart_resize(eo_super(obj, MY_CLASS), w, h);
+ efl_canvas_group_resize(eo_super(obj, MY_CLASS), w, h);
if (sd->content) evas_object_resize(sd->content, w, h);
_mapbuf_auto_eval(obj, sd);
}
EOLIAN static void
-_elm_mapbuf_evas_object_smart_smart_show(Eo *obj, Elm_Mapbuf_Data *sd)
+_elm_mapbuf_efl_canvas_group_group_show(Eo *obj, Elm_Mapbuf_Data *sd)
{
- evas_obj_smart_show(eo_super(obj, MY_CLASS));
+ efl_canvas_group_show(eo_super(obj, MY_CLASS));
_mapbuf_auto_eval(obj, sd);
_configure(obj);
}
EOLIAN static void
-_elm_mapbuf_evas_object_smart_smart_hide(Eo *obj, Elm_Mapbuf_Data *sd)
+_elm_mapbuf_efl_canvas_group_group_hide(Eo *obj, Elm_Mapbuf_Data *sd)
{
- evas_obj_smart_hide(eo_super(obj, MY_CLASS));
+ efl_canvas_group_hide(eo_super(obj, MY_CLASS));
_mapbuf_auto_eval(obj, sd);
_configure(obj);
}
EOLIAN static void
-_elm_mapbuf_evas_object_smart_smart_del(Eo *obj, Elm_Mapbuf_Data *priv)
+_elm_mapbuf_efl_canvas_group_group_del(Eo *obj, Elm_Mapbuf_Data *priv)
{
ELM_SAFE_FREE(priv->idler, ecore_idler_del);
ELM_SAFE_FREE(priv->map, evas_map_free);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EOLIAN static void
-_elm_mapbuf_evas_object_smart_smart_add(Eo *obj, Elm_Mapbuf_Data *priv)
+_elm_mapbuf_efl_canvas_group_group_add(Eo *obj, Elm_Mapbuf_Data *priv)
{
Evas_Object *rect = evas_object_rectangle_add(evas_object_evas_get(obj));
int i;
elm_widget_resize_object_set(obj, rect, EINA_TRUE);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
evas_object_static_clip_set(rect, EINA_TRUE);
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_hide;
- Evas.Object.Smart.smart_show;
- Evas.Object.Smart.smart_move;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_resize;
+ Efl.Canvas.Group.group_hide;
+ Efl.Canvas.Group.group_show;
+ Efl.Canvas.Group.group_move;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_resize;
Elm.Widget.theme_apply;
Elm.Widget.sub_object_del;
Efl.Container.content.get;
}
EOLIAN static void
-_elm_menu_evas_object_smart_smart_show(Eo *obj EINA_UNUSED, Elm_Menu_Data *sd)
+_elm_menu_efl_canvas_group_group_show(Eo *obj EINA_UNUSED, Elm_Menu_Data *sd)
{
evas_object_show(sd->hv);
}
}
EOLIAN static void
-_elm_menu_evas_object_smart_smart_add(Eo *obj, Elm_Menu_Data *priv)
+_elm_menu_efl_canvas_group_group_add(Eo *obj, Elm_Menu_Data *priv)
{
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
elm_widget_can_focus_set(obj, EINA_FALSE);
}
EOLIAN static void
-_elm_menu_evas_object_smart_smart_del(Eo *obj, Elm_Menu_Data *sd)
+_elm_menu_efl_canvas_group_group_del(Eo *obj, Elm_Menu_Data *sd)
{
Elm_Object_Item *eo_item;
evas_object_del(sd->hv);
evas_object_del(sd->location);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
void
class.constructor;
Eo.Base.constructor;
Eo.Base.destructor;
- Evas.Object.Smart.smart_show;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
+ Efl.Canvas.Group.group_show;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
Elm.Widget.widget_parent;
Elm.Widget.theme_apply;
Elm.Widget.translate;
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
Elm.Widget.theme_apply;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_direction_manager_is;
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_show;
- Evas.Object.Smart.smart_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_show;
+ Efl.Canvas.Group.group_add;
Elm.Widget.focus_direction;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_direction_manager_is;
}
EOLIAN static void
-_elm_notify_evas_object_smart_smart_resize(Eo *obj, Elm_Notify_Data *sd, Evas_Coord w, Evas_Coord h)
+_elm_notify_efl_canvas_group_group_resize(Eo *obj, Elm_Notify_Data *sd, Evas_Coord w, Evas_Coord h)
{
Evas_Coord x, y;
- evas_obj_smart_resize(eo_super(obj, MY_CLASS), w, h);
+ efl_canvas_group_resize(eo_super(obj, MY_CLASS), w, h);
if (!sd->parent && sd->content)
{
}
EOLIAN static void
-_elm_notify_evas_object_smart_smart_move(Eo *obj, Elm_Notify_Data *sd, Evas_Coord x, Evas_Coord y)
+_elm_notify_efl_canvas_group_group_move(Eo *obj, Elm_Notify_Data *sd, Evas_Coord x, Evas_Coord y)
{
Evas_Coord w, h;
- evas_obj_smart_move(eo_super(obj, MY_CLASS), x, y);
+ efl_canvas_group_move(eo_super(obj, MY_CLASS), x, y);
if (!sd->parent && sd->content)
{
}
EOLIAN static void
-_elm_notify_evas_object_smart_smart_show(Eo *obj, Elm_Notify_Data *sd)
+_elm_notify_efl_canvas_group_group_show(Eo *obj, Elm_Notify_Data *sd)
{
sd->had_hidden = EINA_FALSE;
sd->in_timeout = EINA_FALSE;
- evas_obj_smart_show(eo_super(obj, MY_CLASS));
+ efl_canvas_group_show(eo_super(obj, MY_CLASS));
evas_object_show(sd->notify);
if (!sd->allow_events) evas_object_show(sd->block_events);
}
EOLIAN static void
-_elm_notify_evas_object_smart_smart_hide(Eo *obj, Elm_Notify_Data *sd)
+_elm_notify_efl_canvas_group_group_hide(Eo *obj, Elm_Notify_Data *sd)
{
const char *hide_signal;
}
else //for backport supporting: edc without emitting hide finished signal
{
- evas_obj_smart_hide(eo_super(obj, MY_CLASS));
+ efl_canvas_group_hide(eo_super(obj, MY_CLASS));
evas_object_hide(sd->notify);
if (sd->allow_events) evas_object_hide(sd->block_events);
}
sd->had_hidden = EINA_TRUE;
evas_object_hide(sd->notify);
if (!sd->allow_events) evas_object_hide(sd->block_events);
- evas_obj_smart_hide(eo_super(data, MY_CLASS));
+ efl_canvas_group_hide(eo_super(data, MY_CLASS));
eo_event_callback_call(data, ELM_NOTIFY_EVENT_DISMISSED, NULL);
}
EOLIAN static void
-_elm_notify_evas_object_smart_smart_add(Eo *obj, Elm_Notify_Data *priv)
+_elm_notify_efl_canvas_group_group_add(Eo *obj, Elm_Notify_Data *priv)
{
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
priv->allow_events = EINA_TRUE;
}
EOLIAN static void
-_elm_notify_evas_object_smart_smart_del(Eo *obj, Elm_Notify_Data *sd)
+_elm_notify_efl_canvas_group_group_del(Eo *obj, Elm_Notify_Data *sd)
{
edje_object_signal_callback_del_full
(sd->notify, "elm,action,hide,finished", "elm", _hide_finished_cb, obj);
ecore_timer_del(sd->timer);
ELM_SAFE_FREE(sd->notify, evas_object_del);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EAPI Evas_Object *
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_hide;
- Evas.Object.Smart.smart_show;
- Evas.Object.Smart.smart_move;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_resize;
+ Efl.Canvas.Group.group_hide;
+ Efl.Canvas.Group.group_show;
+ Efl.Canvas.Group.group_move;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_resize;
Elm.Widget.focus_direction;
Elm.Widget.widget_parent;
Elm.Widget.theme_apply;
-class Elm.Pan (Efl.Canvas.Object.Internal.Smart.Clipped)
+class Elm.Pan (Efl.Canvas.Group.Clipped)
{
legacy_prefix: elm_pan;
eo_prefix: elm_obj_pan;
implements {
Eo.Base.constructor;
class.constructor;
- Evas.Object.Smart.smart_hide;
- Evas.Object.Smart.smart_show;
- Evas.Object.Smart.smart_move;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_resize;
+ Efl.Canvas.Group.group_hide;
+ Efl.Canvas.Group.group_show;
+ Efl.Canvas.Group.group_move;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_resize;
}
events {
changed;
}
EOLIAN static void
-_elm_panel_evas_object_smart_smart_add(Eo *obj, Elm_Panel_Data *priv)
+_elm_panel_efl_canvas_group_group_add(Eo *obj, Elm_Panel_Data *priv)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
elm_widget_can_focus_set(obj, EINA_TRUE);
}
EOLIAN static void
-_elm_panel_evas_object_smart_smart_del(Eo *obj, Elm_Panel_Data *sd)
+_elm_panel_efl_canvas_group_group_del(Eo *obj, Elm_Panel_Data *sd)
{
Evas_Object *child;
Eina_List *l;
}
}
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EOLIAN static void
-_elm_panel_evas_object_smart_smart_move(Eo *obj, Elm_Panel_Data *sd, Evas_Coord x, Evas_Coord y)
+_elm_panel_efl_canvas_group_group_move(Eo *obj, Elm_Panel_Data *sd, Evas_Coord x, Evas_Coord y)
{
- evas_obj_smart_move(eo_super(obj, MY_CLASS), x, y);
+ efl_canvas_group_move(eo_super(obj, MY_CLASS), x, y);
evas_object_move(sd->hit_rect, x, y);
}
}
EOLIAN static void
-_elm_panel_evas_object_smart_smart_resize(Eo *obj, Elm_Panel_Data *sd, Evas_Coord w, Evas_Coord h)
+_elm_panel_efl_canvas_group_group_resize(Eo *obj, Elm_Panel_Data *sd, Evas_Coord w, Evas_Coord h)
{
- evas_obj_smart_resize(eo_super(obj, MY_CLASS), w, h);
+ efl_canvas_group_resize(eo_super(obj, MY_CLASS), w, h);
if (!sd->scrollable) return;
}
EOLIAN static void
-_elm_panel_evas_object_smart_smart_member_add(Eo *obj, Elm_Panel_Data *sd, Evas_Object *member)
+_elm_panel_efl_canvas_group_group_member_add(Eo *obj, Elm_Panel_Data *sd, Evas_Object *member)
{
- evas_obj_smart_member_add(eo_super(obj, MY_CLASS), member);
+ efl_canvas_group_member_add(eo_super(obj, MY_CLASS), member);
if (sd->hit_rect) evas_object_raise(sd->hit_rect);
}
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_member_add;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_resize;
- Evas.Object.Smart.smart_move;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_member_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_resize;
+ Efl.Canvas.Group.group_move;
Elm.Widget.theme_apply;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_next;
}
EOLIAN static void
-_elm_panes_evas_object_smart_smart_add(Eo *obj, Elm_Panes_Data *_pd EINA_UNUSED)
+_elm_panes_efl_canvas_group_group_add(Eo *obj, Elm_Panes_Data *_pd EINA_UNUSED)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
ELM_PANES_DATA_GET(obj, sd);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
if (!elm_layout_theme_set
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
+ Efl.Canvas.Group.group_add;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_next;
Elm.Widget.theme_apply;
}
EOLIAN static void
-_elm_photo_evas_object_smart_smart_add(Eo *obj, Elm_Photo_Data *priv)
+_elm_photo_efl_canvas_group_group_add(Eo *obj, Elm_Photo_Data *priv)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
elm_widget_can_focus_set(obj, EINA_FALSE);
}
EOLIAN static void
-_elm_photo_evas_object_smart_smart_del(Eo *obj, Elm_Photo_Data *sd)
+_elm_photo_efl_canvas_group_group_del(Eo *obj, Elm_Photo_Data *sd)
{
ecore_timer_del(sd->long_press_timer);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EAPI Evas_Object *
class.constructor;
Eo.Base.constructor;
Efl.File.file.set;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
Elm.Widget.theme_apply;
}
}
EOLIAN static void
-_elm_photocam_pan_evas_object_smart_smart_move(Eo *obj EINA_UNUSED, Elm_Photocam_Pan_Data *psd, Evas_Coord x EINA_UNUSED, Evas_Coord y EINA_UNUSED)
+_elm_photocam_pan_efl_canvas_group_group_move(Eo *obj EINA_UNUSED, Elm_Photocam_Pan_Data *psd, Evas_Coord x EINA_UNUSED, Evas_Coord y EINA_UNUSED)
{
ecore_job_del(psd->wsd->calc_job);
psd->wsd->calc_job = ecore_job_add(_calc_job_cb, psd->wobj);
}
EOLIAN static void
-_elm_photocam_pan_evas_object_smart_smart_resize(Eo *obj, Elm_Photocam_Pan_Data *psd, Evas_Coord w, Evas_Coord h)
+_elm_photocam_pan_efl_canvas_group_group_resize(Eo *obj, Elm_Photocam_Pan_Data *psd, Evas_Coord w, Evas_Coord h)
{
Evas_Coord ow, oh;
}
EOLIAN static void
-_elm_photocam_pan_evas_object_smart_smart_calculate(Eo *obj, Elm_Photocam_Pan_Data *psd)
+_elm_photocam_pan_efl_canvas_group_group_calculate(Eo *obj, Elm_Photocam_Pan_Data *psd)
{
Elm_Phocam_Grid *g;
Eina_List *l;
}
EOLIAN static void
-_elm_photocam_evas_object_smart_smart_add(Eo *obj, Elm_Photocam_Data *priv)
+_elm_photocam_efl_canvas_group_group_add(Eo *obj, Elm_Photocam_Data *priv)
{
Eina_Bool bounce = _elm_config->thumbscroll_bounce_enable;
Elm_Photocam_Pan_Data *pan_data;
edje = edje_object_add(evas_object_evas_get(obj));
elm_widget_resize_object_set(obj, edje, EINA_TRUE);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_theme_object_set
(obj, edje, "photocam", "base", elm_widget_style_get(obj));
}
EOLIAN static void
-_elm_photocam_evas_object_smart_smart_del(Eo *obj, Elm_Photocam_Data *sd)
+_elm_photocam_efl_canvas_group_group_del(Eo *obj, Elm_Photocam_Data *sd)
{
Elm_Phocam_Grid *g;
eo_event_callback_del(obj, EFL_EVENT_ANIMATOR_TICK, _zoom_anim_cb, obj);
eo_event_callback_del(obj, EFL_EVENT_ANIMATOR_TICK, _bounce_eval, obj);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EOLIAN static void
-_elm_photocam_evas_object_smart_smart_move(Eo *obj, Elm_Photocam_Data *sd, Evas_Coord x, Evas_Coord y)
+_elm_photocam_efl_canvas_group_group_move(Eo *obj, Elm_Photocam_Data *sd, Evas_Coord x, Evas_Coord y)
{
- evas_obj_smart_move(eo_super(obj, MY_CLASS), x, y);
+ efl_canvas_group_move(eo_super(obj, MY_CLASS), x, y);
evas_object_move(sd->hit_rect, x, y);
}
EOLIAN static void
-_elm_photocam_evas_object_smart_smart_resize(Eo *obj, Elm_Photocam_Data *sd, Evas_Coord w, Evas_Coord h)
+_elm_photocam_efl_canvas_group_group_resize(Eo *obj, Elm_Photocam_Data *sd, Evas_Coord w, Evas_Coord h)
{
- evas_obj_smart_resize(eo_super(obj, MY_CLASS), w, h);
+ efl_canvas_group_resize(eo_super(obj, MY_CLASS), w, h);
evas_object_resize(sd->hit_rect, w, h);
}
EOLIAN static void
-_elm_photocam_evas_object_smart_smart_member_add(Eo *obj, Elm_Photocam_Data *sd, Evas_Object *member)
+_elm_photocam_efl_canvas_group_group_member_add(Eo *obj, Elm_Photocam_Data *sd, Evas_Object *member)
{
- evas_obj_smart_member_add(eo_super(obj, MY_CLASS), member);
+ efl_canvas_group_member_add(eo_super(obj, MY_CLASS), member);
if (sd->hit_rect)
evas_object_raise(sd->hit_rect);
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_move;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_member_add;
- Evas.Object.Smart.smart_resize;
+ Efl.Canvas.Group.group_move;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_member_add;
+ Efl.Canvas.Group.group_resize;
Elm.Widget.theme_apply;
Elm.Widget.on_focus;
Elm.Widget.event;
implements {
class.constructor;
Eo.Base.destructor;
- Evas.Object.Smart.smart_calculate;
- Evas.Object.Smart.smart_move;
- Evas.Object.Smart.smart_resize;
+ Efl.Canvas.Group.group_calculate;
+ Efl.Canvas.Group.group_move;
+ Efl.Canvas.Group.group_resize;
Elm.Pan.content_size.get;
Elm.Pan.pos;
Elm.Pan.pos_min.get;
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
Elm.Widget.theme_apply;
Elm.Widget.event;
Elm.Layout.sizing_eval;
}
EOLIAN static void
-_elm_plug_evas_object_smart_smart_add(Eo *obj, void *sd EINA_UNUSED)
+_elm_plug_efl_canvas_group_group_add(Eo *obj, void *sd EINA_UNUSED)
{
Evas_Object *p_obj;
Ecore_Evas *ee;
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
ee = ecore_evas_ecore_evas_get(evas_object_evas_get(obj));
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
+ Efl.Canvas.Group.group_add;
Elm.Widget.theme_apply;
Elm.Widget.on_focus;
}
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_add;
Elm.Widget.focus_direction;
Elm.Widget.focus_next_manager_is;
Elm.Widget.theme_apply;
Eina_Bool);
EOLIAN static void
-_elm_prefs_evas_object_smart_smart_add(Eo *obj, Elm_Prefs_Data *_pd EINA_UNUSED)
+_elm_prefs_efl_canvas_group_group_add(Eo *obj, Elm_Prefs_Data *_pd EINA_UNUSED)
{
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
}
}
EOLIAN static void
-_elm_prefs_evas_object_smart_smart_del(Eo *obj, Elm_Prefs_Data *sd)
+_elm_prefs_efl_canvas_group_group_del(Eo *obj, Elm_Prefs_Data *sd)
{
sd->delete_me = EINA_TRUE;
eina_stringshare_del(sd->file);
eina_stringshare_del(sd->page);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EOLIAN static Eina_Bool
Eo.Base.constructor;
Efl.File.file.set;
Efl.File.file.get;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_add;
Elm.Widget.focus_next;
}
events {
}
EOLIAN static void
-_elm_progressbar_evas_object_smart_smart_add(Eo *obj, Elm_Progressbar_Data *priv)
+_elm_progressbar_efl_canvas_group_group_add(Eo *obj, Elm_Progressbar_Data *priv)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
priv->orientation = EFL_ORIENT_RIGHT;
}
EOLIAN static void
-_elm_progressbar_evas_object_smart_smart_del(Eo *obj, Elm_Progressbar_Data *sd)
+_elm_progressbar_efl_canvas_group_group_del(Eo *obj, Elm_Progressbar_Data *sd)
{
Elm_Progress_Status *progress_obj;
}
}
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EOLIAN static const Elm_Layout_Part_Alias_Description*
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
Elm.Widget.theme_apply;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_direction_manager_is;
}
EOLIAN static void
-_elm_radio_evas_object_smart_smart_add(Eo *obj, Elm_Radio_Data *priv)
+_elm_radio_efl_canvas_group_group_add(Eo *obj, Elm_Radio_Data *priv)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
- evas_obj_smart_add(eo_super(obj, ELM_CHECK_CLASS));
+ efl_canvas_group_add(eo_super(obj, ELM_CHECK_CLASS));
elm_widget_sub_object_parent_add(obj);
if (!elm_layout_theme_set(obj, "radio", "base", elm_widget_style_get(obj)))
}
EOLIAN static void
-_elm_radio_evas_object_smart_smart_del(Eo *obj, Elm_Radio_Data *sd)
+_elm_radio_efl_canvas_group_group_del(Eo *obj, Elm_Radio_Data *sd)
{
sd->group->radios = eina_list_remove(sd->group->radios, obj);
if (!sd->group->radios) free(sd->group);
- evas_obj_smart_del(eo_super(obj, ELM_CHECK_CLASS));
+ efl_canvas_group_del(eo_super(obj, ELM_CHECK_CLASS));
}
EOLIAN static const Elm_Layout_Part_Alias_Description*
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
Elm.Widget.theme_apply;
Elm.Widget.activate;
Elm.Widget.event;
#endif
EOLIAN static void
-_elm_route_evas_object_smart_smart_add(Eo *obj, Elm_Route_Data *priv)
+_elm_route_efl_canvas_group_group_add(Eo *obj, Elm_Route_Data *priv)
{
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
elm_widget_can_focus_set(obj, EINA_FALSE);
}
EOLIAN static void
-_elm_route_evas_object_smart_smart_del(Eo *obj, Elm_Route_Data *_pd EINA_UNUSED)
+_elm_route_efl_canvas_group_group_del(Eo *obj, Elm_Route_Data *_pd EINA_UNUSED)
{
_clear_route(obj);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
/**
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
Elm.Widget.theme_apply;
}
}
EOLIAN static void
-_elm_scroller_evas_object_smart_smart_add(Eo *obj, Elm_Scroller_Data *priv)
+_elm_scroller_efl_canvas_group_group_add(Eo *obj, Elm_Scroller_Data *priv)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
Evas_Coord minw, minh;
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
elm_widget_can_focus_set(obj, EINA_TRUE);
}
EOLIAN static void
-_elm_scroller_evas_object_smart_smart_move(Eo *obj, Elm_Scroller_Data *sd, Evas_Coord x, Evas_Coord y)
+_elm_scroller_efl_canvas_group_group_move(Eo *obj, Elm_Scroller_Data *sd, Evas_Coord x, Evas_Coord y)
{
- evas_obj_smart_move(eo_super(obj, MY_CLASS), x, y);
+ efl_canvas_group_move(eo_super(obj, MY_CLASS), x, y);
evas_object_move(sd->hit_rect, x, y);
}
EOLIAN static void
-_elm_scroller_evas_object_smart_smart_resize(Eo *obj, Elm_Scroller_Data *sd, Evas_Coord w, Evas_Coord h)
+_elm_scroller_efl_canvas_group_group_resize(Eo *obj, Elm_Scroller_Data *sd, Evas_Coord w, Evas_Coord h)
{
- evas_obj_smart_resize(eo_super(obj, MY_CLASS), w, h);
+ efl_canvas_group_resize(eo_super(obj, MY_CLASS), w, h);
evas_object_resize(sd->hit_rect, w, h);
}
EOLIAN static void
-_elm_scroller_evas_object_smart_smart_member_add(Eo *obj, Elm_Scroller_Data *sd, Evas_Object *member)
+_elm_scroller_efl_canvas_group_group_member_add(Eo *obj, Elm_Scroller_Data *sd, Evas_Object *member)
{
- evas_obj_smart_member_add(eo_super(obj, MY_CLASS), member);
+ efl_canvas_group_member_add(eo_super(obj, MY_CLASS), member);
if (sd->hit_rect)
evas_object_raise(sd->hit_rect);
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_move;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_member_add;
- Evas.Object.Smart.smart_resize;
+ Efl.Canvas.Group.group_move;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_member_add;
+ Efl.Canvas.Group.group_resize;
Elm.Widget.theme_apply;
Elm.Widget.activate;
Elm.Widget.focus_next_manager_is;
}
EOLIAN static void
-_elm_segment_control_evas_object_smart_smart_add(Eo *obj, Elm_Segment_Control_Data *sd)
+_elm_segment_control_efl_canvas_group_group_add(Eo *obj, Elm_Segment_Control_Data *sd)
{
sd->obj = obj;
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
if (!elm_layout_theme_set
}
EOLIAN static void
-_elm_segment_control_evas_object_smart_smart_del(Eo *obj, Elm_Segment_Control_Data *sd)
+_elm_segment_control_efl_canvas_group_group_del(Eo *obj, Elm_Segment_Control_Data *sd)
{
Elm_Object_Item *eo_it;
eo_del(eo_it);
}
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
static Eina_Bool _elm_segment_control_smart_focus_next_enable = EINA_FALSE;
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
Elm.Widget.theme_apply;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_next;
}
EOLIAN static void
-_elm_separator_evas_object_smart_smart_add(Eo *obj, Elm_Separator_Data *sd EINA_UNUSED)
+_elm_separator_efl_canvas_group_group_add(Eo *obj, Elm_Separator_Data *sd EINA_UNUSED)
{
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
elm_widget_can_focus_set(obj, EINA_FALSE);
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
+ Efl.Canvas.Group.group_add;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_direction_manager_is;
Elm.Widget.theme_apply;
}
EOLIAN static void
-_elm_slider_evas_object_smart_smart_calculate(Eo *obj, Elm_Slider_Data *sd)
+_elm_slider_efl_canvas_group_group_calculate(Eo *obj, Elm_Slider_Data *sd)
{
elm_layout_freeze(obj);
}
EOLIAN static void
-_elm_slider_evas_object_smart_smart_add(Eo *obj, Elm_Slider_Data *priv)
+_elm_slider_efl_canvas_group_group_add(Eo *obj, Elm_Slider_Data *priv)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
priv->orientation = EFL_ORIENT_RIGHT;
}
EOLIAN static void
-_elm_slider_evas_object_smart_smart_del(Eo *obj, Elm_Slider_Data *sd)
+_elm_slider_efl_canvas_group_group_del(Eo *obj, Elm_Slider_Data *sd)
{
eina_stringshare_del(sd->indicator);
eina_stringshare_del(sd->units);
evas_object_del(sd->popup);
evas_object_del(sd->popup2);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EOLIAN static const Elm_Layout_Part_Alias_Description*
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_calculate;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
+ Efl.Canvas.Group.group_calculate;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
Elm.Widget.theme_apply;
Elm.Widget.activate;
Elm.Widget.focus_next_manager_is;
}
EOLIAN static void
-_elm_slideshow_evas_object_smart_smart_add(Eo *obj, Elm_Slideshow_Data *priv)
+_elm_slideshow_efl_canvas_group_group_add(Eo *obj, Elm_Slideshow_Data *priv)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
priv->count_item_pre_before = 2;
}
EOLIAN static void
-_elm_slideshow_evas_object_smart_smart_del(Eo *obj, Elm_Slideshow_Data *sd)
+_elm_slideshow_efl_canvas_group_group_del(Eo *obj, Elm_Slideshow_Data *sd)
{
const char *layout;
EINA_LIST_FREE(sd->layout.list, layout)
eina_stringshare_del(layout);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EAPI Evas_Object *
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_direction_manager_is;
Elm.Widget.event;
}
EOLIAN static void
-_elm_spinner_evas_object_smart_smart_add(Eo *obj, Elm_Spinner_Data *priv)
+_elm_spinner_efl_canvas_group_group_add(Eo *obj, Elm_Spinner_Data *priv)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
ELM_SPINNER_DATA_GET(obj, sd);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
priv->val_max = 100.0;
}
EOLIAN static void
-_elm_spinner_evas_object_smart_smart_del(Eo *obj, Elm_Spinner_Data *sd)
+_elm_spinner_efl_canvas_group_group_del(Eo *obj, Elm_Spinner_Data *sd)
{
Elm_Spinner_Special_Value *sv;
}
}
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EOLIAN static Eina_Bool
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
Elm.Widget.theme_apply;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_direction_manager_is;
}
EOLIAN static void
-_elm_table_evas_object_smart_smart_add(Eo *obj, void *_pd EINA_UNUSED)
+_elm_table_efl_canvas_group_group_add(Eo *obj, void *_pd EINA_UNUSED)
{
Evas_Object *table;
evas_object_event_callback_add
(table, EVAS_CALLBACK_CHANGED_SIZE_HINTS, _on_size_hints_changed, obj);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_can_focus_set(obj, EINA_FALSE);
elm_widget_highlight_ignore_set(obj, EINA_FALSE);
}
EOLIAN static void
-_elm_table_evas_object_smart_smart_del(Eo *obj, void *_pd EINA_UNUSED)
+_elm_table_efl_canvas_group_group_del(Eo *obj, void *_pd EINA_UNUSED)
{
Eina_List *l;
Evas_Object *child;
}
}
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EAPI Evas_Object *
}
EOLIAN void
-_elm_table_evas_object_smart_smart_calculate(Eo *obj, void *pd EINA_UNUSED)
+_elm_table_efl_canvas_group_group_calculate(Eo *obj, void *pd EINA_UNUSED)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_calculate;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_calculate;
Elm.Widget.focus_direction;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_next;
}
EOLIAN static void
-_elm_thumb_evas_object_smart_smart_show(Eo *obj, Elm_Thumb_Data *sd)
+_elm_thumb_efl_canvas_group_group_show(Eo *obj, Elm_Thumb_Data *sd)
{
- evas_obj_smart_show(eo_super(obj, MY_CLASS));
+ efl_canvas_group_show(eo_super(obj, MY_CLASS));
_thumb_show(sd);
}
EOLIAN static void
-_elm_thumb_evas_object_smart_smart_hide(Eo *obj, Elm_Thumb_Data *sd)
+_elm_thumb_efl_canvas_group_group_hide(Eo *obj, Elm_Thumb_Data *sd)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
- evas_obj_smart_hide(eo_super(obj, MY_CLASS));
+ efl_canvas_group_hide(eo_super(obj, MY_CLASS));
if (sd->thumb.request)
{
}
EOLIAN static void
-_elm_thumb_evas_object_smart_smart_add(Eo *obj, Elm_Thumb_Data *_pd EINA_UNUSED)
+_elm_thumb_efl_canvas_group_group_add(Eo *obj, Elm_Thumb_Data *_pd EINA_UNUSED)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
if (!elm_layout_theme_set(obj, "thumb", "base", elm_widget_style_get(obj)))
}
EOLIAN static void
-_elm_thumb_evas_object_smart_smart_del(Eo *obj, Elm_Thumb_Data *sd)
+_elm_thumb_efl_canvas_group_group_del(Eo *obj, Elm_Thumb_Data *sd)
{
if (sd->thumb.request)
{
ecore_event_handler_del(sd->eeh);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EAPI Evas_Object *
Eo.Base.constructor;
Efl.File.file.set;
Efl.File.file.get;
- Evas.Object.Smart.smart_hide;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_show;
+ Efl.Canvas.Group.group_hide;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_show;
Efl.Ui.Draggable.drag_target.set;
Efl.Ui.Draggable.drag_target.get;
}
}
EOLIAN static void
-_elm_toolbar_evas_object_smart_smart_add(Eo *obj, Elm_Toolbar_Data *priv)
+_elm_toolbar_efl_canvas_group_group_add(Eo *obj, Elm_Toolbar_Data *priv)
{
Evas_Object *edje;
edje = edje_object_add(evas_object_evas_get(obj));
elm_widget_resize_object_set(obj, edje, EINA_TRUE);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_theme_object_set
(obj, edje, "toolbar", "base", elm_widget_style_get(obj));
}
EOLIAN static void
-_elm_toolbar_evas_object_smart_smart_del(Eo *obj, Elm_Toolbar_Data *sd)
+_elm_toolbar_efl_canvas_group_group_del(Eo *obj, Elm_Toolbar_Data *sd)
{
Elm_Toolbar_Item_Data *it, *next;
if (sd->more_item) elm_wdg_item_del(EO_OBJ(sd->more_item));
ecore_timer_del(sd->long_timer);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EOLIAN static void
-_elm_toolbar_evas_object_smart_smart_move(Eo *obj, Elm_Toolbar_Data *sd, Evas_Coord x, Evas_Coord y)
+_elm_toolbar_efl_canvas_group_group_move(Eo *obj, Elm_Toolbar_Data *sd, Evas_Coord x, Evas_Coord y)
{
- evas_obj_smart_move(eo_super(obj, MY_CLASS), x, y);
+ efl_canvas_group_move(eo_super(obj, MY_CLASS), x, y);
evas_object_move(sd->hit_rect, x, y);
}
EOLIAN static void
-_elm_toolbar_evas_object_smart_smart_resize(Eo *obj, Elm_Toolbar_Data *sd, Evas_Coord w, Evas_Coord h)
+_elm_toolbar_efl_canvas_group_group_resize(Eo *obj, Elm_Toolbar_Data *sd, Evas_Coord w, Evas_Coord h)
{
- evas_obj_smart_resize(eo_super(obj, MY_CLASS), w, h);
+ efl_canvas_group_resize(eo_super(obj, MY_CLASS), w, h);
evas_object_resize(sd->hit_rect, w, h);
}
EOLIAN static void
-_elm_toolbar_evas_object_smart_smart_member_add(Eo *obj, Elm_Toolbar_Data *sd, Evas_Object *member)
+_elm_toolbar_efl_canvas_group_group_member_add(Eo *obj, Elm_Toolbar_Data *sd, Evas_Object *member)
{
- evas_obj_smart_member_add(eo_super(obj, MY_CLASS), member);
+ efl_canvas_group_member_add(eo_super(obj, MY_CLASS), member);
if (sd->hit_rect)
evas_object_raise(sd->hit_rect);
}
EOLIAN void
-_elm_toolbar_evas_object_smart_smart_calculate(Eo *obj, Elm_Toolbar_Data *pd EINA_UNUSED)
+_elm_toolbar_efl_canvas_group_group_calculate(Eo *obj, Elm_Toolbar_Data *pd EINA_UNUSED)
{
_sizing_eval(obj);
}
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_calculate;
- Evas.Object.Smart.smart_move;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_member_add;
- Evas.Object.Smart.smart_resize;
+ Efl.Canvas.Group.group_calculate;
+ Efl.Canvas.Group.group_move;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_member_add;
+ Efl.Canvas.Group.group_resize;
Elm.Widget.focus_next_manager_is;
Elm.Widget.access;
Elm.Widget.focus_next;
}
EOLIAN static void
-_elm_video_evas_object_smart_smart_add(Eo *obj, Elm_Video_Data *priv)
+_elm_video_efl_canvas_group_group_add(Eo *obj, Elm_Video_Data *priv)
{
_elm_emotion_init();
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
elm_widget_can_focus_set(obj, EINA_TRUE);
}
EOLIAN static void
-_elm_video_evas_object_smart_smart_del(Eo *obj, Elm_Video_Data *sd)
+_elm_video_efl_canvas_group_group_del(Eo *obj, Elm_Video_Data *sd)
{
ecore_timer_del(sd->timer);
if (sd->remember) emotion_object_last_position_save(sd->emotion);
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EAPI Evas_Object *
Eo.Base.constructor;
Efl.File.file.set;
Efl.File.file.get;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_direction_manager_is;
Elm.Widget.event;
}
EOLIAN static void
-_elm_widget_evas_object_smart_smart_add(Eo *obj, Elm_Widget_Smart_Data *priv)
+_elm_widget_efl_canvas_group_group_add(Eo *obj, Elm_Widget_Smart_Data *priv)
{
priv->obj = obj;
}
EOLIAN static void
-_elm_widget_evas_object_smart_smart_del(Eo *obj, Elm_Widget_Smart_Data *sd)
+_elm_widget_efl_canvas_group_group_del(Eo *obj, Elm_Widget_Smart_Data *sd)
{
Evas_Object *sobj;
Elm_Translate_String_Data *ts;
}
EOLIAN static void
-_elm_widget_evas_object_smart_smart_move(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd, Evas_Coord x, Evas_Coord y)
+_elm_widget_efl_canvas_group_group_move(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd, Evas_Coord x, Evas_Coord y)
{
sd->x = x;
sd->y = y;
}
EOLIAN static void
-_elm_widget_evas_object_smart_smart_resize(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd, Evas_Coord w, Evas_Coord h)
+_elm_widget_efl_canvas_group_group_resize(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd, Evas_Coord w, Evas_Coord h)
{
sd->w = w;
sd->h = h;
}
EOLIAN static void
-_elm_widget_evas_object_smart_smart_show(Eo *obj, Elm_Widget_Smart_Data *_pd)
+_elm_widget_efl_canvas_group_group_show(Eo *obj, Elm_Widget_Smart_Data *_pd)
{
Eina_Iterator *it;
Evas_Object *o;
}
EOLIAN static void
-_elm_widget_evas_object_smart_smart_hide(Eo *obj, Elm_Widget_Smart_Data *_pd)
+_elm_widget_efl_canvas_group_group_hide(Eo *obj, Elm_Widget_Smart_Data *_pd)
{
Eina_Iterator *it;
Evas_Object *o;
}
EOLIAN static void
-_elm_widget_evas_object_smart_smart_color_set(Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSED, int r, int g, int b, int a)
+_elm_widget_efl_canvas_group_group_color_set(Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSED, int r, int g, int b, int a)
{
Eina_Iterator *it;
Evas_Object *o;
}
EOLIAN static void
-_elm_widget_evas_object_smart_smart_no_render_set(Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSED, Eina_Bool hide)
+_elm_widget_efl_canvas_group_group_no_render_set(Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSED, Eina_Bool hide)
{
Eina_Iterator *it;
Evas_Object *o;
}
EOLIAN static void
-_elm_widget_evas_object_smart_smart_clip_set(Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSED, Evas_Object *clip)
+_elm_widget_efl_canvas_group_group_clip_set(Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSED, Evas_Object *clip)
{
Eina_Iterator *it;
Evas_Object *o;
}
EOLIAN static void
-_elm_widget_evas_object_smart_smart_clip_unset(Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSED)
+_elm_widget_efl_canvas_group_group_clip_unset(Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSED)
{
Eina_Iterator *it;
Evas_Object *o;
}
EOLIAN static void
-_elm_widget_evas_object_smart_smart_calculate(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *_pd EINA_UNUSED)
+_elm_widget_efl_canvas_group_group_calculate(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *_pd EINA_UNUSED)
{
/* a NO-OP, on the base */
}
EOLIAN static void
-_elm_widget_evas_object_smart_smart_member_add(Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSED, Evas_Object *child)
+_elm_widget_efl_canvas_group_group_member_add(Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSED, Evas_Object *child)
{
int r, g, b, a;
- evas_obj_smart_member_add(eo_super(obj, MY_CLASS), child);
+ efl_canvas_group_member_add(eo_super(obj, MY_CLASS), child);
if (evas_object_data_get(child, "_elm_leaveme")) return;
}
EOLIAN static void
-_elm_widget_evas_object_smart_smart_member_del(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *_pd EINA_UNUSED, Evas_Object *child)
+_elm_widget_efl_canvas_group_group_member_del(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *_pd EINA_UNUSED, Evas_Object *child)
{
if (!evas_object_data_get(child, "_elm_leaveme"))
evas_object_clip_unset(child);
- evas_obj_smart_member_del(eo_super(obj, MY_CLASS), child);
+ efl_canvas_group_member_del(eo_super(obj, MY_CLASS), child);
}
// internal funcs
struct Elm.Cursor;
struct @extern Elm.Theme;
-abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Interface.Atspi_Component)
+abstract Elm.Widget (Efl.Canvas.Group, Elm.Interface.Atspi_Accessible, Elm.Interface.Atspi_Component)
{
legacy_prefix: elm_widget;
eo_prefix: elm_obj_widget;
the focus from this object, passing it back to the previous element in the
focus chain list.
- Warning: Only visible object can get a focus. Call @Evas.Object.Smart.smart_show
+ Warning: Only visible object can get a focus. Call @Efl.Canvas.Group.group_show
before calling this API, if you want to give a focus to the evas object.]]
set {
[[$true set the focus to the object,
Eo.Base.destructor;
Eo.Base.dbg_info_get;
Eo.Base.provider_find;
- Evas.Object.Smart.smart_hide;
- Evas.Object.Smart.smart_calculate;
- Evas.Object.Smart.smart_clip_unset;
- Evas.Object.Smart.smart_show;
- Evas.Object.Smart.smart_color.set;
- Evas.Object.Smart.smart_move;
- Evas.Object.Smart.smart_member_del;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_clip.set;
- Evas.Object.Smart.smart_member_add;
- Evas.Object.Smart.smart_resize;
- Evas.Object.Smart.smart_no_render.set;
+ Efl.Canvas.Group.group_hide;
+ Efl.Canvas.Group.group_calculate;
+ Efl.Canvas.Group.group_clip_unset;
+ Efl.Canvas.Group.group_show;
+ Efl.Canvas.Group.group_color.set;
+ Efl.Canvas.Group.group_move;
+ Efl.Canvas.Group.group_member_del;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_clip.set;
+ Efl.Canvas.Group.group_member_add;
+ Efl.Canvas.Group.group_resize;
+ Efl.Canvas.Group.group_no_render.set;
Elm.Interface.Atspi_Accessible.name.get;
Elm.Interface.Atspi_Accessible.state_set.get;
Elm.Interface.Atspi_Accessible.children.get;
-class Emotion.Object (Evas.Object.Smart, Efl.File, Efl.Player, Efl.Image, Efl.Image.Load) {
+class Emotion.Object (Efl.Canvas.Group, Efl.File, Efl.Player, Efl.Image, Efl.Image.Load) {
legacy_prefix: emotion_object;
eo_prefix: emotion_obj;
event_prefix: emotion_object;
}
implements {
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_move;
- Evas.Object.Smart.smart_resize;
- Evas.Object.Smart.smart_show;
- Evas.Object.Smart.smart_hide;
- Evas.Object.Smart.smart_color.set;
- Evas.Object.Smart.smart_clip.set;
- Evas.Object.Smart.smart_clip_unset;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_move;
+ Efl.Canvas.Group.group_resize;
+ Efl.Canvas.Group.group_show;
+ Efl.Canvas.Group.group_hide;
+ Efl.Canvas.Group.group_color.set;
+ Efl.Canvas.Group.group_clip.set;
+ Efl.Canvas.Group.group_clip_unset;
Efl.File.file.set;
Efl.File.file.get;
Efl.Player.play.set;
/*******************************************/
EOLIAN static void
-_emotion_object_evas_object_smart_smart_add(Evas_Object *obj, Emotion_Object_Data *sd)
+_emotion_object_efl_canvas_group_group_add(Evas_Object *obj, Emotion_Object_Data *sd)
{
unsigned int *pixel;
}
EOLIAN static void
-_emotion_object_evas_object_smart_smart_del(Evas_Object *obj EINA_UNUSED, Emotion_Object_Data *sd)
+_emotion_object_efl_canvas_group_group_del(Evas_Object *obj EINA_UNUSED, Emotion_Object_Data *sd)
{
if (!sd) return;
if (sd->engine_instance)
}
EOLIAN static void
-_emotion_object_evas_object_smart_smart_move(Evas_Object *obj, Emotion_Object_Data *sd, Evas_Coord x, Evas_Coord y)
+_emotion_object_efl_canvas_group_group_move(Evas_Object *obj, Emotion_Object_Data *sd, Evas_Coord x, Evas_Coord y)
{
int w, h;
}
EOLIAN static void
-_emotion_object_evas_object_smart_smart_resize(Evas_Object *obj, Emotion_Object_Data *sd, Evas_Coord w, Evas_Coord h)
+_emotion_object_efl_canvas_group_group_resize(Evas_Object *obj, Emotion_Object_Data *sd, Evas_Coord w, Evas_Coord h)
{
_emotion_object_aspect_border_apply(obj, sd, w, h);
evas_object_resize(sd->bg, w, h);
}
EOLIAN static void
-_emotion_object_evas_object_smart_smart_show(Evas_Object *obj EINA_UNUSED, Emotion_Object_Data *sd)
+_emotion_object_efl_canvas_group_group_show(Evas_Object *obj EINA_UNUSED, Emotion_Object_Data *sd)
{
int a;
}
EOLIAN static void
-_emotion_object_evas_object_smart_smart_hide(Evas_Object *obj EINA_UNUSED, Emotion_Object_Data *sd)
+_emotion_object_efl_canvas_group_group_hide(Evas_Object *obj EINA_UNUSED, Emotion_Object_Data *sd)
{
evas_object_hide(sd->obj);
if (sd->crop.clipper) evas_object_hide(sd->crop.clipper);
}
EOLIAN static void
-_emotion_object_evas_object_smart_smart_color_set(Evas_Object *obj EINA_UNUSED, Emotion_Object_Data *sd, int r, int g, int b, int a)
+_emotion_object_efl_canvas_group_group_color_set(Evas_Object *obj EINA_UNUSED, Emotion_Object_Data *sd, int r, int g, int b, int a)
{
evas_object_color_set(sd->obj, r, g, b, a);
evas_object_color_set(sd->crop.clipper, r, g, b, a);
}
EOLIAN static void
-_emotion_object_evas_object_smart_smart_clip_set(Evas_Object *obj EINA_UNUSED, Emotion_Object_Data *sd, Evas_Object * clip)
+_emotion_object_efl_canvas_group_group_clip_set(Evas_Object *obj EINA_UNUSED, Emotion_Object_Data *sd, Evas_Object * clip)
{
if (sd->crop.clipper) evas_object_clip_set(sd->crop.clipper, clip);
else evas_object_clip_set(sd->obj, clip);
}
EOLIAN static void
-_emotion_object_evas_object_smart_smart_clip_unset(Evas_Object *obj EINA_UNUSED, Emotion_Object_Data *sd)
+_emotion_object_efl_canvas_group_group_clip_unset(Evas_Object *obj EINA_UNUSED, Emotion_Object_Data *sd)
{
if (sd->crop.clipper) evas_object_clip_unset(sd->crop.clipper);
else evas_object_clip_unset(sd->obj);
*
* @{
*/
-#include "canvas/evas_object_smart.eo.h"
+#include "canvas/efl_canvas_group.eo.h"
/**
* @}
*/
*
* @{
*/
-#include "canvas/efl_canvas_object_internal_smart_clipped.eo.h"
+#include "canvas/efl_canvas_group_clipped.eo.h"
/**
* @}
*/
*
* This function will return @c null when a non-smart object is passed.
*
- * See also @ref Evas.Object.Smart.smart_member_add,
- * @ref Evas.Object.Smart.smart_member_del and @ref evas_object_smart_iterator_new.
+ * See also @ref Efl.Canvas.Group.group_member_add,
+ * @ref Efl.Canvas.Group.group_member_del and @ref evas_object_smart_iterator_new.
*
* @return Returns the list of the member objects of @c obj.
*
EAPI Eina_List *evas_object_smart_members_get(const Evas_Object *obj) EINA_WARN_UNUSED_RESULT;
/**
+ * @brief Set or unset the flag signalling that a given smart object needs to
+ * get recalculated.
+ *
+ * If this flag is set, then the @c calculate() smart function of @c obj will
+ * be called, if one is provided, during rendering phase of Evas (see
+ * evas_render()), after which this flag will be automatically unset.
+ *
+ * If that smart function is not provided for the given object, this flag will
+ * be left unchanged.
+ *
+ * @note just setting this flag will not make the canvas' whole scene dirty, by
+ * itself, and evas_render() will have no effect. To force that, use
+ * evas_object_smart_changed(), that will also call this function
+ * automatically, with @c true as parameter.
+ *
+ * See also @ref evas_object_smart_need_recalculate_get,
+ * @ref evas_object_smart_calculate and @ref evas_smart_objects_calculate().
+ *
+ * @param[in] value whether one wants to set ($true) or to unset ($false) the
+ * flag.
+ *
+ * @ingroup Evas_Object_Smart
+ */
+EAPI void evas_object_smart_need_recalculate_set(Evas_Object *obj, Eina_Bool value);
+
+/**
+ * @brief Get the value of the flag signalling that a given smart object needs
+ * to get recalculated.
+ *
+ * @note this flag will be unset during the rendering phase, when the
+ * @c calculate() smart function is called, if one is provided. If it's not
+ * provided, then the flag will be left unchanged after the rendering phase.
+ *
+ * See also @ref evas_object_smart_need_recalculate_set, for more details.
+ *
+ * @return whether one wants to set ($true) or to unset ($false) the flag.
+ *
+ * @ingroup Evas_Object_Smart
+ */
+EAPI Eina_Bool evas_object_smart_need_recalculate_get(const Evas_Object *obj);
+
+/**
+ * @brief Retrieves an iterator of the member objects of a given Evas smart
+ * object.
+ *
+ * See also @ref Efl.Canvas.Group.group_member_add and
+ * @ref Efl.Canvas.Group.group_member_del
+ *
+ * @return Returns the iterator of the member objects of @c obj.
+ *
+ * @since 1.8
+ *
+ * @ingroup Evas_Object_Smart
+ */
+EAPI Eina_Iterator *evas_object_smart_iterator_new(const Evas_Object *obj) EINA_WARN_UNUSED_RESULT;
+
+/**
+ * @brief Call the calculate() smart function immediately on a given smart
+ * object.
+ *
+ * This will force immediate calculations (see #Evas_Smart_Class) needed for
+ * renderization of this object and, besides, unset the flag on it telling it
+ * needs recalculation for the next rendering phase.
+ *
+ * See also @ref evas_object_smart_need_recalculate_set
+ *
+ * @ingroup Evas_Object_Smart
+ */
+EAPI void evas_object_smart_calculate(Evas_Object *obj);
+
+/**
+ * @brief Mark smart object as changed, dirty.
+ *
+ * This will flag the given object as needing recalculation, forcefully. As an
+ * effect, on the next rendering cycle its calculate() (see #Evas_Smart_Class)
+ * smart function will be called.
+ *
+ * See also @ref evas_object_smart_need_recalculate_set and
+ * @ref evas_object_smart_calculate.
+ *
+ * @ingroup Evas_Object_Smart
+ */
+EAPI void evas_object_smart_changed(Evas_Object *obj);
+
+/**
+ * @brief Moves all children objects of a given smart object relative to a
+ * given offset.
+ *
+ * This will make each of @c obj object's children to move, from where they
+ * before, with those delta values (offsets) on both directions.
+ *
+ * @note This is most useful on custom smart @c move functions.
+ *
+ * @note Clipped smart objects already make use of this function on their
+ * @c move smart function definition.
+ *
+ * @param[in] dx Horizontal offset (delta).
+ * @param[in] dy Vertical offset (delta).
+ *
+ * @ingroup Evas_Object_Smart
+ */
+EAPI void evas_object_smart_move_children_relative(Evas_Object *obj, Evas_Coord dx, Evas_Coord dy);
+
+/**
* This gets the internal counter that counts the number of smart calculations
*
* @param e The canvas to get the calculate counter from
*/
EAPI int evas_smart_objects_calculate_count_get(const Evas *e);
-#include "canvas/evas_object_smart.eo.legacy.h"
+#include "canvas/efl_canvas_group.eo.legacy.h"
/**
* @}
*/
EAPI Evas_Object *evas_object_smart_clipped_clipper_get(const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
-#include "canvas/efl_canvas_object_internal_smart_clipped.eo.legacy.h"
+#include "canvas/efl_canvas_group_clipped.eo.legacy.h"
/**
* @}
--- /dev/null
+class Efl.Canvas.Group (Evas.Object)
+{
+ [[A group object is a container of other canvas objects. Its children
+ move along their parent, are often clipped with a common clipper.
+ This is part of the legacy smart object concept.
+
+ A group is not necessarily a container (see $Efl.Container), in the
+ sense that a standard widget may not have any empty slots for content,
+ but is still a group of low-level canvas objects (clipper, raw objects,
+ etc...).
+ ]]
+ legacy_prefix: evas_object_smart;
+ data: Evas_Smart_Data;
+ methods {
+ @property group_need_recalculate {
+ [[Indicates that the group's layout need to be recalculated.
+
+ If this flag is set, then the @.group_calculate function will
+ be called, during rendering phase of the canvas. After that,
+ this flag will be automatically unset.
+
+ Note: just setting this flag will not make the canvas' whole scene
+ dirty, by itself, and evas_render() will have no effect. To
+ force that, use @.group_change, that will also call this function
+ automatically, with $true as parameter.
+
+ See also @.group_calculate.
+ ]]
+ set {
+ legacy: evas_object_smart_need_recalculate_set;
+ }
+ get {
+ legacy: evas_object_smart_need_recalculate_get;
+ }
+ values {
+ value: bool;
+ }
+ }
+ group_change {
+ [[Marks the object as dirty.
+
+ This also forcefully marks the given object as needing
+ recalculation. As an effect, on the next rendering cycle its
+ @.group_calculate method will be called.
+ ]]
+ legacy: evas_object_smart_changed;
+ }
+ group_children_move {
+ [[Move all children of this object using relative coordinates.
+
+ This will make each children move, from where they before, by
+ a certain delta (offsets) in both directions.
+
+ Note: Clipped smart objects already make use of this function on
+ their $move smart function definition.
+ ]]
+ params {
+ @in dx: int; [[Horizontal offset (delta).]]
+ @in dy: int; [[Vertical offset (delta).]]
+ }
+ legacy: evas_object_smart_move_children_relative;
+ }
+ group_calculate {
+ [[Triggers an immediate recalculation of this object's geometry.
+
+ This will also reset the flag @.group_need_recalculate.
+ ]]
+ legacy: evas_object_smart_calculate;
+ }
+ group_children_iterate @const {
+ [[Returns an iterator over the children of this object, that are
+ canvas objects.
+
+ This returns the list of "smart" children. This might be different
+ from both the $Eo.Base children list as well as the $Efl.Container
+ content list.
+ ]]
+ return: free(own(iterator<Efl.Gfx>), eina_iterator_free);
+ legacy: evas_object_smart_iterator_new;
+ }
+ @property group_clip {
+ set {
+ [[No description supplied by the EAPI.]]
+ legacy: null;
+ }
+ values {
+ clip: Evas.Object;
+ }
+ }
+ @property group_color {
+ set {
+ [[No description supplied by the EAPI.]]
+ legacy: null;
+ }
+ values {
+ r: int;
+ g: int;
+ b: int;
+ a: int;
+ }
+ }
+ group_show {
+ [[No description supplied by the EAPI.]]
+ legacy: null;
+ }
+ group_move {
+ [[No description supplied by the EAPI.]]
+ legacy: null;
+ params {
+ @in x: Evas.Coord;
+ @in y: Evas.Coord;
+ }
+ }
+ @property group_no_render {
+ [[Propagates the value of no-render to the smart children.]]
+ set { legacy: null; }
+ values { hide: bool; }
+ }
+ group_hide {
+ [[No description supplied by the EAPI.]]
+ legacy: null;
+ }
+ group_add {
+ [[Instantiates a new smart object described by $s.
+
+ This is the function one should use when defining the public
+ function adding an instance of the new smart object to a given
+ canvas. It will take care of setting all of its internals to work
+ as they should, if the user set things properly, as seem on the
+ #EVAS_SMART_SUBCLASS_NEW, for example.]]
+ legacy: null;
+ }
+ group_member_add {
+ [[Set an Evas object as a member of a given smart object.
+
+ Members will automatically be stacked and layered together with the
+ smart object. The various stacking functions will operate on
+ members relative to the other members instead of the entire canvas,
+ since they now live on an exclusive layer (see
+ evas_object_stack_above(), for more details).
+
+ Any $smart_obj object's specific implementation of the
+ $member_add() smart function will take place too, naturally.
+
+ See also @.group_member_del.]]
+
+ params {
+ @in sub_obj: Evas.Object @nonull; [[The member object.]]
+ }
+ legacy: null;
+ }
+ group_resize {
+ [[No description supplied by the EAPI.]]
+ legacy: null;
+ params {
+ @in w: Evas.Coord;
+ @in h: Evas.Coord;
+ }
+ }
+ group_clip_unset {
+ [[No description supplied by the EAPI.]]
+ legacy: null;
+ }
+ group_member_del {
+ [[Removes a member object from a given smart object.
+
+ This removes a member object from a smart object, if it was added
+ to any. The object will still be on the canvas, but no longer
+ associated with whichever smart object it was associated with.
+
+ See also @.group_member_add for more details.]]
+
+ params {
+ @in sub_obj: Evas.Object; [[the member object.]]
+ }
+ legacy: null;
+ }
+ group_del {
+ [[Deletes a smart object.]]
+ legacy: null;
+ }
+ }
+ implements {
+ class.constructor;
+ class.destructor;
+ Eo.Base.constructor;
+ Evas.Object.paragraph_direction.set;
+ Evas.Object.paragraph_direction.get;
+ }
+}
--- /dev/null
+abstract Efl.Canvas.Group.Clipped (Efl.Canvas.Group)
+{
+ [[Internal class representing a canvas object group with a clipper.]]
+ data: Evas_Object_Smart_Clipped_Data;
+ implements {
+ Efl.Canvas.Group.group_hide;
+ Efl.Canvas.Group.group_clip.set;
+ Efl.Canvas.Group.group_clip_unset;
+ Efl.Canvas.Group.group_show;
+ Efl.Canvas.Group.group_color.set;
+ Efl.Canvas.Group.group_move;
+ Efl.Canvas.Group.group_member_del;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_member_add;
+ }
+}
+++ /dev/null
-abstract Efl.Canvas.Object.Internal.Smart.Clipped (Evas.Object.Smart)
-{
- [[Internal class representing a canvas object group with a clipper.]]
- data: Evas_Object_Smart_Clipped_Data;
- implements {
- Evas.Object.Smart.smart_hide;
- Evas.Object.Smart.smart_clip.set;
- Evas.Object.Smart.smart_clip_unset;
- Evas.Object.Smart.smart_show;
- Evas.Object.Smart.smart_color.set;
- Evas.Object.Smart.smart_move;
- Evas.Object.Smart.smart_member_del;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_member_add;
- }
-}
type @extern Eina_Free_Cb: __undefined_type; /* FIXME: Function pointers are not supported */
type @extern va_list: __undefined_type; /* FIXME: va_list is not supported */
-class Evas.Box (Efl.Canvas.Object.Internal.Smart.Clipped)
+class Evas.Box (Efl.Canvas.Group.Clipped)
{
legacy_prefix: evas_object_box;
eo_prefix: evas_obj_box;
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_calculate;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_resize;
+ Efl.Canvas.Group.group_calculate;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_resize;
}
events {
child,added;
}
if (obj->is_smart)
{
- evas_obj_smart_clip_set(eo_obj, eo_clip);
+ efl_canvas_group_clip_set(eo_obj, eo_clip);
}
if (obj->cur->clipper)
{
if (evas_object_intercept_call_clip_unset(eo_obj, obj)) return;
if (obj->is_smart)
{
- evas_obj_smart_clip_unset(eo_obj);
+ efl_canvas_group_clip_unset(eo_obj);
}
if (obj->cur->clipper)
{
{
obj->no_render = enable;
if (obj->is_smart)
- evas_obj_smart_no_render_set(eo_obj, enable);
+ efl_canvas_group_no_render_set(eo_obj, enable);
}
EOLIAN Eina_Bool
-class Evas.Grid (Efl.Canvas.Object.Internal.Smart.Clipped)
+class Evas.Grid (Efl.Canvas.Group.Clipped)
{
legacy_prefix: evas_object_grid;
eo_prefix: evas_obj_grid;
const Eina_Inlist *lst;
Evas_Object_Protected_Data *child;
- if (!eo_isa(eo_obj, EVAS_OBJECT_SMART_CLASS)) return NULL;
+ if (!eo_isa(eo_obj, EFL_CANVAS_GROUP_CLASS)) return NULL;
lst = evas_object_smart_members_get_direct(eo_obj);
EINA_INLIST_FOREACH(lst, child)
{
}
EOLIAN static void
-_evas_box_evas_object_smart_smart_add(Eo *o, Evas_Object_Box_Data *priv)
+_evas_box_efl_canvas_group_group_add(Eo *o, Evas_Object_Box_Data *priv)
{
- evas_obj_smart_add(eo_super(o, MY_CLASS));
+ efl_canvas_group_add(eo_super(o, MY_CLASS));
evas_object_event_callback_add
(o, EVAS_CALLBACK_CHANGED_SIZE_HINTS, _on_hints_changed, o);
}
EOLIAN static void
-_evas_box_evas_object_smart_smart_del(Eo *o, Evas_Object_Box_Data *priv)
+_evas_box_efl_canvas_group_group_del(Eo *o, Evas_Object_Box_Data *priv)
{
Eina_List *l;
if (priv->layout.data && priv->layout.free_data)
priv->layout.free_data(priv->layout.data);
- evas_obj_smart_del(eo_super(o, MY_CLASS));
+ efl_canvas_group_del(eo_super(o, MY_CLASS));
}
EOLIAN static void
-_evas_box_evas_object_smart_smart_resize(Eo *o, Evas_Object_Box_Data *_pd EINA_UNUSED, Evas_Coord w, Evas_Coord h)
+_evas_box_efl_canvas_group_group_resize(Eo *o, Evas_Object_Box_Data *_pd EINA_UNUSED, Evas_Coord w, Evas_Coord h)
{
Evas_Coord ow, oh;
evas_object_geometry_get(o, NULL, NULL, &ow, &oh);
}
EOLIAN static void
-_evas_box_evas_object_smart_smart_calculate(Eo *o, Evas_Object_Box_Data *priv)
+_evas_box_efl_canvas_group_group_calculate(Eo *o, Evas_Object_Box_Data *priv)
{
if (priv->layout.cb)
{
if (obj->is_smart)
{
- evas_obj_smart_move(eo_obj, x, y);
+ efl_canvas_group_move(eo_obj, x, y);
}
EINA_COW_STATE_WRITE_BEGIN(obj, state_write, cur)
if (obj->is_smart)
{
- evas_obj_smart_resize(eo_obj, w, h);
+ efl_canvas_group_resize(eo_obj, w, h);
}
EINA_COW_STATE_WRITE_BEGIN(obj, state_write, cur)
if (evas_object_intercept_call_show(eo_obj, obj)) return;
if (obj->is_smart)
{
- evas_obj_smart_show(eo_obj);
+ efl_canvas_group_show(eo_obj);
}
EINA_COW_STATE_WRITE_BEGIN(obj, state_write, cur)
{
if (evas_object_intercept_call_hide(eo_obj, obj)) return;
if (obj->is_smart)
{
- evas_obj_smart_hide(eo_obj);
+ efl_canvas_group_hide(eo_obj);
}
EINA_COW_STATE_WRITE_BEGIN(obj, state_write, cur)
if (evas_object_intercept_call_color_set(eo_obj, obj, r, g, b, a)) return;
if (obj->is_smart)
{
- evas_obj_smart_color_set(eo_obj, r, g, b, a);
+ efl_canvas_group_color_set(eo_obj, r, g, b, a);
}
if ((obj->cur->color.r == r) &&
(obj->cur->color.g == g) &&
#include "evas_common_private.h"
#include "evas_private.h"
-#define MY_CLASS EVAS_OBJECT_SMART_CLASS
+#define MY_CLASS EFL_CANVAS_GROUP_CLASS
#define MY_CLASS_NAME "Evas_Smart"
#define MY_CLASS_NAME_LEGACY "Evas_Object_Smart"
#define EVAS_OBJECT_SMART_GET_OR_RETURN(eo_obj, ...) \
- Evas_Smart_Data *o = eo_isa(eo_obj, EVAS_OBJECT_SMART_CLASS) ? \
- eo_data_scope_get(eo_obj, EVAS_OBJECT_SMART_CLASS) : NULL; \
+ Evas_Smart_Data *o = eo_isa(eo_obj, EFL_CANVAS_GROUP_CLASS) ? \
+ eo_data_scope_get(eo_obj, EFL_CANVAS_GROUP_CLASS) : NULL; \
do { if (!o) { MAGIC_CHECK_FAILED(eo_obj,0,MAGIC_SMART) return __VA_ARGS__; } } while (0)
extern Eina_Hash* signals_hash_table;
static unsigned int evas_object_smart_id_get(Evas_Object *eo_obj);
static unsigned int evas_object_smart_visual_id_get(Evas_Object *eo_obj);
static void *evas_object_smart_engine_data_get(Evas_Object *eo_obj);
-static void _evas_object_smart_smart_paragraph_direction_set_internal(Eo *eo_obj,
+static void _efl_canvas_group_group_paragraph_direction_set_internal(Eo *eo_obj,
Evas_BiDi_Direction dir);
static const Evas_Object_Func object_func =
return NULL;
MAGIC_CHECK_END();
- if (!eo_isa(eo_obj, EVAS_OBJECT_SMART_CLASS)) return NULL;
+ if (!eo_isa(eo_obj, EFL_CANVAS_GROUP_CLASS)) return NULL;
s = evas_object_smart_smart_get(eo_obj);
if (!s) return NULL;
}
EAPI Evas_Smart*
-evas_object_smart_smart_get(const Evas_Object_Smart *eo_obj)
+evas_object_smart_smart_get(const Efl_Canvas_Group *eo_obj)
{
Evas_Object_Protected_Data *obj = EVAS_OBJ_GET_OR_RETURN(eo_obj, NULL);
return obj->smart.smart;
MAGIC_CHECK(eo_obj, Evas_Object, MAGIC_OBJ);
return;
MAGIC_CHECK_END();
- evas_obj_smart_member_add(smart_obj, eo_obj);
+ efl_canvas_group_member_add(smart_obj, eo_obj);
}
EOLIAN static void
-_evas_object_smart_smart_member_add(Eo *smart_obj, Evas_Smart_Data *o, Evas_Object *eo_obj)
+_efl_canvas_group_group_member_add(Eo *smart_obj, Evas_Smart_Data *o, Evas_Object *eo_obj)
{
Evas_Object_Protected_Data *obj = eo_data_scope_get(eo_obj, EVAS_OBJECT_CLASS);
if (obj->is_smart)
{
- member_o = eo_data_scope_get(eo_obj, EVAS_OBJECT_SMART_CLASS);
+ member_o = eo_data_scope_get(eo_obj, EFL_CANVAS_GROUP_CLASS);
if ((member_o->inherit_paragraph_direction) &&
(member_o->paragraph_direction != o->paragraph_direction))
{
member_o->paragraph_direction = o->paragraph_direction;
- _evas_object_smart_smart_paragraph_direction_set_internal(eo_obj, o->paragraph_direction);
+ _efl_canvas_group_group_paragraph_direction_set_internal(eo_obj, o->paragraph_direction);
}
}
if (!obj->smart.parent) return;
Evas_Object *smart_obj = obj->smart.parent;
- evas_obj_smart_member_del(smart_obj, eo_obj);
+ efl_canvas_group_member_del(smart_obj, eo_obj);
}
EOLIAN static void
-_evas_object_smart_smart_member_del(Eo *smart_obj, Evas_Smart_Data *_pd EINA_UNUSED, Evas_Object *eo_obj)
+_efl_canvas_group_group_member_del(Eo *smart_obj, Evas_Smart_Data *_pd EINA_UNUSED, Evas_Object *eo_obj)
{
Evas_Object_Protected_Data *obj = eo_data_scope_get(eo_obj, EVAS_OBJECT_CLASS);
Evas_Smart_Data *member_o;
if (obj->is_smart)
{
- member_o = eo_data_scope_get(eo_obj, EVAS_OBJECT_SMART_CLASS);
+ member_o = eo_data_scope_get(eo_obj, EFL_CANVAS_GROUP_CLASS);
if ((member_o->inherit_paragraph_direction) &&
(member_o->paragraph_direction != EVAS_BIDI_DIRECTION_NEUTRAL))
{
member_o->paragraph_direction = EVAS_BIDI_DIRECTION_NEUTRAL;
- _evas_object_smart_smart_paragraph_direction_set_internal(eo_obj, EVAS_BIDI_DIRECTION_NEUTRAL);
+ _efl_canvas_group_group_paragraph_direction_set_internal(eo_obj, EVAS_BIDI_DIRECTION_NEUTRAL);
}
}
}
static Eina_Bool
-_evas_object_smart_smart_iterator_next(Evas_Object_Smart_Iterator *it, void **data)
+_efl_canvas_group_group_iterator_next(Evas_Object_Smart_Iterator *it, void **data)
{
Evas_Object *eo;
}
static Evas_Object *
-_evas_object_smart_smart_iterator_get_container(Evas_Object_Smart_Iterator *it)
+_efl_canvas_group_group_iterator_get_container(Evas_Object_Smart_Iterator *it)
{
return it->parent;
}
static void
-_evas_object_smart_smart_iterator_free(Evas_Object_Smart_Iterator *it)
+_efl_canvas_group_group_iterator_free(Evas_Object_Smart_Iterator *it)
{
eo_unref(it->parent);
free(it);
// Should we have an eo_children_iterator_new API and just inherit from it ?
EOLIAN static Eina_Iterator*
-_evas_object_smart_smart_iterator_new(const Eo *eo_obj, Evas_Smart_Data *priv)
+_efl_canvas_group_group_children_iterate(const Eo *eo_obj, Evas_Smart_Data *priv)
{
Evas_Object_Smart_Iterator *it;
Evas_Object_Protected_Data *obj = eo_data_scope_get(eo_obj, EVAS_OBJECT_CLASS);
it->parent = eo_ref(eo_obj);
it->current = priv->contained;
- it->iterator.next = FUNC_ITERATOR_NEXT(_evas_object_smart_smart_iterator_next);
- it->iterator.get_container = FUNC_ITERATOR_GET_CONTAINER(_evas_object_smart_smart_iterator_get_container);
- it->iterator.free = FUNC_ITERATOR_FREE(_evas_object_smart_smart_iterator_free);
+ it->iterator.next = FUNC_ITERATOR_NEXT(_efl_canvas_group_group_iterator_next);
+ it->iterator.get_container = FUNC_ITERATOR_GET_CONTAINER(_efl_canvas_group_group_iterator_get_container);
+ it->iterator.free = FUNC_ITERATOR_FREE(_efl_canvas_group_group_iterator_free);
return &it->iterator;
}
}
void
-_evas_object_smart_smart_members_all_del(Evas_Object *eo_obj)
+_efl_canvas_group_group_members_all_del(Evas_Object *eo_obj)
{
Evas_Smart_Data *o = eo_data_scope_get(eo_obj, MY_CLASS);
Evas_Object_Protected_Data *memobj;
MAGIC_CHECK(eo_e, Evas, MAGIC_EVAS);
return NULL;
MAGIC_CHECK_END();
- eo_obj = eo_add(EVAS_OBJECT_SMART_CLASS, eo_e);
+ eo_obj = eo_add(EFL_CANVAS_GROUP_CLASS, eo_e);
evas_object_smart_attach(eo_obj, s);
return eo_obj;
}
EOLIAN static Eo *
-_evas_object_smart_eo_base_constructor(Eo *eo_obj, Evas_Smart_Data *class_data EINA_UNUSED)
+_efl_canvas_group_eo_base_constructor(Eo *eo_obj, Evas_Smart_Data *class_data EINA_UNUSED)
{
Evas_Smart_Data *smart;
evas_object_smart_init(eo_obj);
evas_obj_type_set(eo_obj, MY_CLASS_NAME_LEGACY);
- evas_obj_smart_add(eo_obj);
+ efl_canvas_group_add(eo_obj);
return eo_obj;
}
EOLIAN static void
-_evas_object_smart_smart_add(Eo *eo_obj, Evas_Smart_Data *o EINA_UNUSED)
+_efl_canvas_group_group_add(Eo *eo_obj, Evas_Smart_Data *o EINA_UNUSED)
{
// If this function is reached, so we do nothing except trying to call
// the function of the legacy smart class.
}
EOLIAN static void
-_evas_object_smart_smart_del(Eo *eo_obj EINA_UNUSED, Evas_Smart_Data *o EINA_UNUSED)
+_efl_canvas_group_group_del(Eo *eo_obj EINA_UNUSED, Evas_Smart_Data *o EINA_UNUSED)
{
}
EOLIAN static void
-_evas_object_smart_smart_resize(Eo *eo_obj, Evas_Smart_Data *o EINA_UNUSED, Evas_Coord w, Evas_Coord h)
+_efl_canvas_group_group_resize(Eo *eo_obj, Evas_Smart_Data *o EINA_UNUSED, Evas_Coord w, Evas_Coord h)
{
// If this function is reached, so we do nothing except trying to call
// the function of the legacy smart class.
}
EOLIAN static void
-_evas_object_smart_smart_move(Eo *eo_obj, Evas_Smart_Data *o EINA_UNUSED, Evas_Coord x, Evas_Coord y)
+_efl_canvas_group_group_move(Eo *eo_obj, Evas_Smart_Data *o EINA_UNUSED, Evas_Coord x, Evas_Coord y)
{
// If this function is reached, so we do nothing except trying to call
// the function of the legacy smart class.
}
EOLIAN static void
-_evas_object_smart_smart_show(Eo *eo_obj, Evas_Smart_Data *o EINA_UNUSED)
+_efl_canvas_group_group_show(Eo *eo_obj, Evas_Smart_Data *o EINA_UNUSED)
{
// If this function is reached, so we do nothing except trying to call
// the function of the legacy smart class.
}
EOLIAN static void
-_evas_object_smart_smart_hide(Eo *eo_obj, Evas_Smart_Data *o EINA_UNUSED)
+_efl_canvas_group_group_hide(Eo *eo_obj, Evas_Smart_Data *o EINA_UNUSED)
{
// If this function is reached, so we do nothing except trying to call
// the function of the legacy smart class.
}
EOLIAN static void
-_evas_object_smart_smart_color_set(Eo *eo_obj, Evas_Smart_Data *o EINA_UNUSED, int r, int g, int b, int a)
+_efl_canvas_group_group_color_set(Eo *eo_obj, Evas_Smart_Data *o EINA_UNUSED, int r, int g, int b, int a)
{
// If this function is reached, so we do nothing except trying to call
// the function of the legacy smart class.
}
EOLIAN static void
-_evas_object_smart_smart_clip_set(Eo *eo_obj, Evas_Smart_Data *o EINA_UNUSED, Evas_Object *clip)
+_efl_canvas_group_group_clip_set(Eo *eo_obj, Evas_Smart_Data *o EINA_UNUSED, Evas_Object *clip)
{
// If this function is reached, so we do nothing except trying to call
// the function of the legacy smart class.
}
EOLIAN static void
-_evas_object_smart_smart_clip_unset(Eo *eo_obj, Evas_Smart_Data *o EINA_UNUSED)
+_efl_canvas_group_group_clip_unset(Eo *eo_obj, Evas_Smart_Data *o EINA_UNUSED)
{
// If this function is reached, so we do nothing except trying to call
// the function of the legacy smart class.
}
EOLIAN static void
-_evas_object_smart_smart_no_render_set(Eo *eo_obj, Evas_Smart_Data *o EINA_UNUSED, Eina_Bool hide)
+_efl_canvas_group_group_no_render_set(Eo *eo_obj, Evas_Smart_Data *o EINA_UNUSED, Eina_Bool hide)
{
Evas_Object_Protected_Data *obj2;
Evas_Object_Smart_Clipped_Data *cso;
Evas_Object *cso_clipper;
- if (eo_isa(eo_obj, EFL_CANVAS_OBJECT_INTERNAL_SMART_CLIPPED_CLASS))
- cso = eo_data_scope_get(eo_obj, EFL_CANVAS_OBJECT_INTERNAL_SMART_CLIPPED_CLASS);
+ if (eo_isa(eo_obj, EFL_CANVAS_GROUP_CLIPPED_CLASS))
+ cso = eo_data_scope_get(eo_obj, EFL_CANVAS_GROUP_CLIPPED_CLASS);
else
cso = evas_object_smart_data_get(eo_obj);
cso_clipper = cso ? cso->clipper : NULL;
}
}
- evas_obj_smart_add(eo_obj);
+ efl_canvas_group_add(eo_obj);
}
EAPI void
}
EOLIAN static void
-_evas_object_smart_smart_need_recalculate_set(Eo *eo_obj, Evas_Smart_Data *o, Eina_Bool value)
+_efl_canvas_group_group_need_recalculate_set(Eo *eo_obj, Evas_Smart_Data *o, Eina_Bool value)
{
Evas_Object_Protected_Data *obj = eo_data_scope_get(eo_obj, EVAS_OBJECT_CLASS);
}
EOLIAN static Eina_Bool
-_evas_object_smart_smart_need_recalculate_get(Eo *eo_obj EINA_UNUSED, Evas_Smart_Data *o)
+_efl_canvas_group_group_need_recalculate_get(Eo *eo_obj EINA_UNUSED, Evas_Smart_Data *o)
{
return o->need_recalculate;
}
EOLIAN static void
-_evas_object_smart_smart_calculate(Eo *eo_obj, Evas_Smart_Data *o)
+_efl_canvas_group_group_calculate(Eo *eo_obj, Evas_Smart_Data *o)
{
Evas_Object_Protected_Data *obj = eo_data_scope_get(eo_obj, EVAS_OBJECT_CLASS);
if (obj->smart.smart && obj->smart.smart->smart_class->calculate)
obj->smart.smart->smart_class->calculate(obj->object);
else
- evas_obj_smart_calculate(obj->object);
+ efl_canvas_group_calculate(obj->object);
}
}
}
EOLIAN static void
-_evas_object_smart_smart_changed(Eo *eo_obj, Evas_Smart_Data *o EINA_UNUSED)
+_efl_canvas_group_group_change(Eo *eo_obj, Evas_Smart_Data *o EINA_UNUSED)
{
Evas_Object_Protected_Data *obj = eo_data_scope_get(eo_obj, EVAS_OBJECT_CLASS);
evas_object_async_block(obj);
evas_object_change(eo_obj, obj);
- evas_obj_smart_need_recalculate_set(eo_obj, 1);
+ efl_canvas_group_need_recalculate_set(eo_obj, 1);
}
Eina_Bool
if (s && s->smart_class->del)
s->smart_class->del(eo_obj);
else
- evas_obj_smart_del(eo_obj);
+ efl_canvas_group_del(eo_obj);
if (obj->smart.parent) evas_object_smart_member_del(eo_obj);
if (s)
}
static void
-_evas_object_smart_class_constructor(Eo_Class *klass EINA_UNUSED)
+_efl_canvas_group_class_constructor(Eo_Class *klass EINA_UNUSED)
{
_evas_smart_class_names_hash_table = eina_hash_string_small_new(NULL);
evas_smart_legacy_type_register(MY_CLASS_NAME_LEGACY, klass);
}
static void
-_evas_object_smart_class_destructor(Eo_Class *klass EINA_UNUSED)
+_efl_canvas_group_class_destructor(Eo_Class *klass EINA_UNUSED)
{
eina_hash_free(_evas_smart_class_names_hash_table);
}
static void
-_evas_object_smart_smart_paragraph_direction_set_internal(Eo *eo_obj,
+_efl_canvas_group_group_paragraph_direction_set_internal(Eo *eo_obj,
Evas_BiDi_Direction dir)
{
Evas_Object_Protected_Data *o;
if (o->is_smart)
{
- member_o = eo_data_scope_get(o->object, EVAS_OBJECT_SMART_CLASS);
+ member_o = eo_data_scope_get(o->object, EFL_CANVAS_GROUP_CLASS);
if ((member_o->inherit_paragraph_direction) &&
(member_o->paragraph_direction != dir))
{
member_o->paragraph_direction = dir;
- _evas_object_smart_smart_paragraph_direction_set_internal(o->object, dir);
+ _efl_canvas_group_group_paragraph_direction_set_internal(o->object, dir);
}
}
}
}
EOLIAN static void
-_evas_object_smart_evas_object_paragraph_direction_set(Eo *eo_obj, Evas_Smart_Data *o, Evas_BiDi_Direction dir)
+_efl_canvas_group_evas_object_paragraph_direction_set(Eo *eo_obj, Evas_Smart_Data *o, Evas_BiDi_Direction dir)
{
Evas_Object_Protected_Data *obj = eo_data_scope_get(eo_obj, EVAS_OBJECT_CLASS);
Evas_Smart_Data *parent;
if (obj->smart.parent)
{
- parent = eo_data_scope_get(obj->smart.parent, EVAS_OBJECT_SMART_CLASS);
+ parent = eo_data_scope_get(obj->smart.parent, EFL_CANVAS_GROUP_CLASS);
if (parent)
parent_dir = parent->paragraph_direction;
evas_object_change(eo_obj, obj);
}
- _evas_object_smart_smart_paragraph_direction_set_internal(eo_obj, o->paragraph_direction);
+ _efl_canvas_group_group_paragraph_direction_set_internal(eo_obj, o->paragraph_direction);
}
EOLIAN static Evas_BiDi_Direction
-_evas_object_smart_evas_object_paragraph_direction_get(Eo *eo_obj EINA_UNUSED, Evas_Smart_Data *o)
+_efl_canvas_group_evas_object_paragraph_direction_get(Eo *eo_obj EINA_UNUSED, Evas_Smart_Data *o)
{
return o->paragraph_direction;
}
-#include "canvas/evas_object_smart.eo.c"
+#include "canvas/efl_canvas_group.eo.c"
+++ /dev/null
-class Evas.Object.Smart (Evas.Object)
-{
- legacy_prefix: evas_object_smart;
- eo_prefix: evas_obj_smart;
- data: Evas_Smart_Data;
- methods {
- @property smart_need_recalculate {
- set {
- [[Set or unset the flag signalling that a given smart object needs to
- get recalculated.
-
- If this flag is set, then the $calculate() smart function of
- $obj will be called, if one is provided, during rendering phase of
- Evas (see evas_render()), after which this flag will be
- automatically unset.
-
- If that smart function is not provided for the given object, this
- flag will be left unchanged.
-
- Note: just setting this flag will not make the canvas' whole scene
- dirty, by itself, and evas_render() will have no effect. To
- force that, use evas_object_smart_changed(), that will also
- call this function automatically, with $true as parameter.
-
- See also @.smart_need_recalculate.get, @.smart_calculate and
- \@ref evas_smart_objects_calculate().]]
- legacy: evas_object_smart_need_recalculate_set;
- }
- get {
- [[Get the value of the flag signalling that a given smart object needs to
- get recalculated.
-
- Note: this flag will be unset during the rendering phase, when the
- $calculate() smart function is called, if one is provided.
- If it's not provided, then the flag will be left unchanged
- after the rendering phase.
-
- See also @.smart_need_recalculate.set, for more details.]]
- legacy: evas_object_smart_need_recalculate_get;
- }
- values {
- value: bool; [[whether one wants to set ($true) or to unset
- ($false) the flag.]]
- }
- }
- @property smart_clip {
- set {
- [[No description supplied by the EAPI.]]
- legacy: null;
- }
- values {
- clip: Evas.Object;
- }
- }
- @property smart_color {
- set {
- [[No description supplied by the EAPI.]]
- legacy: null;
- }
- values {
- r: int;
- g: int;
- b: int;
- a: int;
- }
- }
- smart_show {
- [[No description supplied by the EAPI.]]
- legacy: null;
- }
- smart_move {
- [[No description supplied by the EAPI.]]
- legacy: null;
- params {
- @in x: Evas.Coord;
- @in y: Evas.Coord;
- }
- }
- @property smart_no_render {
- [[Propagates the value of no-render to the smart children.]]
- set { legacy: null; }
- values { hide: bool; }
- }
- smart_iterator_new @const {
- [[Retrieves an iterator of the member objects of a given Evas smart object.
-
- See also @.smart_member_add and @.smart_member_del
-
- @since 1.8]]
- return: free(own(iterator<Evas.Object>), eina_iterator_free)
- @warn_unused; [[Returns the iterator of the member objects of $obj.]]
- legacy: evas_object_smart_iterator_new;
- }
- smart_hide {
- [[No description supplied by the EAPI.]]
- legacy: null;
- }
- smart_calculate {
- [[Call the calculate() smart function immediately on a given smart object.
-
- This will force immediate calculations (see #Evas_Smart_Class)
- needed for renderization of this object and, besides, unset the
- flag on it telling it needs recalculation for the next rendering
- phase.
-
- See also @.smart_need_recalculate.set]]
- legacy: evas_object_smart_calculate;
- }
- smart_add {
- [[Instantiates a new smart object described by $s.
-
- This is the function one should use when defining the public
- function adding an instance of the new smart object to a given
- canvas. It will take care of setting all of its internals to work
- as they should, if the user set things properly, as seem on the
- #EVAS_SMART_SUBCLASS_NEW, for example.]]
- legacy: null;
- }
- smart_member_add {
- [[Set an Evas object as a member of a given smart object.
-
- Members will automatically be stacked and layered together with the
- smart object. The various stacking functions will operate on
- members relative to the other members instead of the entire canvas,
- since they now live on an exclusive layer (see
- evas_object_stack_above(), for more details).
-
- Any $smart_obj object's specific implementation of the
- $member_add() smart function will take place too, naturally.
-
- See also @.smart_member_del.]]
-
- params {
- @in sub_obj: Evas.Object @nonull; [[The member object.]]
- }
- legacy: null;
- }
- smart_resize {
- [[No description supplied by the EAPI.]]
- legacy: null;
- params {
- @in w: Evas.Coord;
- @in h: Evas.Coord;
- }
- }
- smart_clip_unset {
- [[No description supplied by the EAPI.]]
- legacy: null;
- }
- smart_changed {
- [[Mark smart object as changed, dirty.
-
- This will flag the given object as needing recalculation,
- forcefully. As an effect, on the next rendering cycle its
- calculate() (see #Evas_Smart_Class) smart function will be called.
-
- See also @.smart_need_recalculate.set and @.smart_calculate.]]
- legacy: evas_object_smart_changed;
- }
- smart_member_del {
- [[Removes a member object from a given smart object.
-
- This removes a member object from a smart object, if it was added
- to any. The object will still be on the canvas, but no longer
- associated with whichever smart object it was associated with.
-
- See also @.smart_member_add for more details.]]
-
- params {
- @in sub_obj: Evas.Object; [[the member object.]]
- }
- legacy: null;
- }
- smart_del {
- [[Deletes a smart object.]]
- legacy: null;
- }
- smart_move_children_relative {
- [[Moves all children objects of a given smart object relative to a
- given offset.
-
- This will make each of $obj object's children to move, from where
- they before, with those delta values (offsets) on both directions.
-
- Note: This is most useful on custom smart $move functions.
-
- Note: Clipped smart objects already make use of this function on
- their $move smart function definition.
- ]]
- params {
- @in dx: Evas.Coord; [[Horizontal offset (delta).]]
- @in dy: Evas.Coord; [[Vertical offset (delta).]]
- }
- legacy: evas_object_smart_move_children_relative;
- }
- }
- implements {
- class.constructor;
- class.destructor;
- Eo.Base.constructor;
- Evas.Object.paragraph_direction.set;
- Evas.Object.paragraph_direction.get;
- }
-}
#include "evas_common_private.h"
#include "evas_private.h"
-#define MY_CLASS EFL_CANVAS_OBJECT_INTERNAL_SMART_CLIPPED_CLASS
+#define MY_CLASS EFL_CANVAS_GROUP_CLIPPED_CLASS
#define CSO_DATA_GET(eo_obj, ptr) \
Evas_Object_Smart_Clipped_Data *ptr = (eo_isa(eo_obj, MY_CLASS) ? \
if (!ptr) return;
EOLIAN void
-_evas_object_smart_smart_move_children_relative(Eo *eo_obj, Evas_Object_Protected_Data *obj EINA_UNUSED, Evas_Coord dx, Evas_Coord dy)
+_efl_canvas_group_group_children_move(Eo *eo_obj, Evas_Object_Protected_Data *obj EINA_UNUSED, Evas_Coord dx, Evas_Coord dy)
{
const Eina_Inlist *lst;
{
Evas_Object_Smart_Clipped_Data *obj;
- if (!eo_isa(eo_obj, EFL_CANVAS_OBJECT_INTERNAL_SMART_CLIPPED_CLASS))
+ if (!eo_isa(eo_obj, EFL_CANVAS_GROUP_CLIPPED_CLASS))
return NULL;
- obj = eo_data_scope_get(eo_obj, EFL_CANVAS_OBJECT_INTERNAL_SMART_CLIPPED_CLASS);
+ obj = eo_data_scope_get(eo_obj, EFL_CANVAS_GROUP_CLIPPED_CLASS);
return obj->clipper;
}
}
EOLIAN static void
-_efl_canvas_object_internal_smart_clipped_evas_object_smart_smart_add(Eo *eo_obj, Evas_Object_Smart_Clipped_Data *obj EINA_UNUSED)
+_efl_canvas_group_clipped_efl_canvas_group_group_add(Eo *eo_obj, Evas_Object_Smart_Clipped_Data *obj EINA_UNUSED)
{
evas_object_smart_clipped_smart_add(eo_obj);
}
evas_object_del(clipper);
}
- _evas_object_smart_smart_members_all_del(eo_obj);
+ _efl_canvas_group_group_members_all_del(eo_obj);
/* If it's a legacy smart object, we should free the cso. */
if (!eo_isa(eo_obj, MY_CLASS))
}
EOLIAN static void
-_efl_canvas_object_internal_smart_clipped_evas_object_smart_smart_del(Eo *eo_obj, Evas_Object_Smart_Clipped_Data *obj EINA_UNUSED)
+_efl_canvas_group_clipped_efl_canvas_group_group_del(Eo *eo_obj, Evas_Object_Smart_Clipped_Data *obj EINA_UNUSED)
{
evas_object_smart_clipped_smart_del(eo_obj);
}
}
EOLIAN static void
-_efl_canvas_object_internal_smart_clipped_evas_object_smart_smart_move(Eo *eo_obj, Evas_Object_Smart_Clipped_Data *obj EINA_UNUSED, Evas_Coord x, Evas_Coord y)
+_efl_canvas_group_clipped_efl_canvas_group_group_move(Eo *eo_obj, Evas_Object_Smart_Clipped_Data *obj EINA_UNUSED, Evas_Coord x, Evas_Coord y)
{
evas_object_smart_clipped_smart_move(eo_obj, x, y);
}
static void
-evas_object_smart_clipped_smart_show(Evas_Object *eo_obj)
+evas_object_smart_clipped_group_show(Evas_Object *eo_obj)
{
CSO_DATA_GET_OR_RETURN(eo_obj, cso);
if (evas_object_clipees_has(cso->clipper))
}
EOLIAN static void
-_efl_canvas_object_internal_smart_clipped_evas_object_smart_smart_show(Eo *eo_obj, Evas_Object_Smart_Clipped_Data *obj EINA_UNUSED)
+_efl_canvas_group_clipped_efl_canvas_group_group_show(Eo *eo_obj, Evas_Object_Smart_Clipped_Data *obj EINA_UNUSED)
{
- evas_object_smart_clipped_smart_show(eo_obj);
+ evas_object_smart_clipped_group_show(eo_obj);
}
static void
-evas_object_smart_clipped_smart_hide(Evas_Object *eo_obj)
+evas_object_smart_clipped_group_hide(Evas_Object *eo_obj)
{
CSO_DATA_GET_OR_RETURN(eo_obj, cso);
evas_object_hide(cso->clipper);
}
EOLIAN static void
-_efl_canvas_object_internal_smart_clipped_evas_object_smart_smart_hide(Eo *eo_obj, Evas_Object_Smart_Clipped_Data *obj EINA_UNUSED)
+_efl_canvas_group_clipped_efl_canvas_group_group_hide(Eo *eo_obj, Evas_Object_Smart_Clipped_Data *obj EINA_UNUSED)
{
- evas_object_smart_clipped_smart_hide(eo_obj);
+ evas_object_smart_clipped_group_hide(eo_obj);
}
static void
}
EOLIAN static void
-_efl_canvas_object_internal_smart_clipped_evas_object_smart_smart_color_set(Eo *eo_obj, Evas_Object_Smart_Clipped_Data *obj EINA_UNUSED, int r, int g, int b, int a)
+_efl_canvas_group_clipped_efl_canvas_group_group_color_set(Eo *eo_obj, Evas_Object_Smart_Clipped_Data *obj EINA_UNUSED, int r, int g, int b, int a)
{
evas_object_smart_clipped_smart_color_set(eo_obj, r, g, b, a);
}
}
EOLIAN static void
-_efl_canvas_object_internal_smart_clipped_evas_object_smart_smart_clip_set(Eo *eo_obj, Evas_Object_Smart_Clipped_Data *obj EINA_UNUSED, Evas_Object *clip)
+_efl_canvas_group_clipped_efl_canvas_group_group_clip_set(Eo *eo_obj, Evas_Object_Smart_Clipped_Data *obj EINA_UNUSED, Evas_Object *clip)
{
evas_object_smart_clipped_smart_clip_set(eo_obj, clip);
}
}
EOLIAN static void
-_efl_canvas_object_internal_smart_clipped_evas_object_smart_smart_clip_unset(Eo *eo_obj, Evas_Object_Smart_Clipped_Data *obj EINA_UNUSED)
+_efl_canvas_group_clipped_efl_canvas_group_group_clip_unset(Eo *eo_obj, Evas_Object_Smart_Clipped_Data *obj EINA_UNUSED)
{
evas_object_smart_clipped_smart_clip_unset(eo_obj);
}
}
EOLIAN static void
-_efl_canvas_object_internal_smart_clipped_evas_object_smart_smart_member_add(Eo *eo_obj, Evas_Object_Smart_Clipped_Data *obj EINA_UNUSED, Evas_Object *member)
+_efl_canvas_group_clipped_efl_canvas_group_group_member_add(Eo *eo_obj, Evas_Object_Smart_Clipped_Data *obj EINA_UNUSED, Evas_Object *member)
{
- evas_obj_smart_member_add(eo_super(eo_obj, MY_CLASS), member);
+ efl_canvas_group_member_add(eo_super(eo_obj, MY_CLASS), member);
evas_object_smart_clipped_smart_member_add(eo_obj, member);
}
}
EOLIAN static void
-_efl_canvas_object_internal_smart_clipped_evas_object_smart_smart_member_del(Eo *eo_obj, Evas_Object_Smart_Clipped_Data *obj EINA_UNUSED, Evas_Object *member)
+_efl_canvas_group_clipped_efl_canvas_group_group_member_del(Eo *eo_obj, Evas_Object_Smart_Clipped_Data *obj EINA_UNUSED, Evas_Object *member)
{
evas_object_smart_clipped_smart_member_del(eo_obj, member);
- evas_obj_smart_member_del(eo_super(eo_obj, MY_CLASS), member);
+ efl_canvas_group_member_del(eo_super(eo_obj, MY_CLASS), member);
}
EAPI void
sc->add = evas_object_smart_clipped_smart_add;
sc->del = evas_object_smart_clipped_smart_del;
sc->move = evas_object_smart_clipped_smart_move;
- sc->show = evas_object_smart_clipped_smart_show;
- sc->hide = evas_object_smart_clipped_smart_hide;
+ sc->show = evas_object_smart_clipped_group_show;
+ sc->hide = evas_object_smart_clipped_group_hide;
sc->color_set = evas_object_smart_clipped_smart_color_set;
sc->clip_set = evas_object_smart_clipped_smart_clip_set;
sc->clip_unset = evas_object_smart_clipped_smart_clip_unset;
return class;
}
-#include "canvas/efl_canvas_object_internal_smart_clipped.eo.c"
+#include "canvas/efl_canvas_group_clipped.eo.c"
}
EOLIAN static void
-_evas_table_evas_object_smart_smart_add(Eo *obj, Evas_Table_Data *priv)
+_evas_table_efl_canvas_group_group_add(Eo *obj, Evas_Table_Data *priv)
{
priv->pad.h = 0;
priv->pad.v = 0;
priv->expand_h = 0;
priv->expand_v = 0;
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
}
EOLIAN static void
-_evas_table_evas_object_smart_smart_del(Eo *obj, Evas_Table_Data *priv)
+_evas_table_efl_canvas_group_group_del(Eo *obj, Evas_Table_Data *priv)
{
Eina_List *l;
priv->cache = NULL;
}
- evas_obj_smart_del(eo_super(obj, MY_CLASS));
+ efl_canvas_group_del(eo_super(obj, MY_CLASS));
}
EOLIAN static void
-_evas_table_evas_object_smart_smart_resize(Eo *obj, Evas_Table_Data *_pd EINA_UNUSED, Evas_Coord w, Evas_Coord h)
+_evas_table_efl_canvas_group_group_resize(Eo *obj, Evas_Table_Data *_pd EINA_UNUSED, Evas_Coord w, Evas_Coord h)
{
Evas_Coord ow, oh;
evas_object_geometry_get(obj, NULL, NULL, &ow, &oh);
}
EOLIAN static void
-_evas_table_evas_object_smart_smart_calculate(Eo *o, Evas_Table_Data *priv)
+_evas_table_efl_canvas_group_group_calculate(Eo *o, Evas_Table_Data *priv)
{
Evas *e;
if (priv->is_mirrored != mirrored)
{
priv->is_mirrored = mirrored;
- evas_obj_smart_calculate(o);
+ efl_canvas_group_calculate(o);
}
}
(current->cur->visible) &&
(!current->delete_me) &&
(current->cur->cache.clip.visible) &&
- (!eo_isa(eo_current, EVAS_OBJECT_SMART_CLASS)))
+ (!eo_isa(eo_current, EFL_CANVAS_GROUP_CLASS)))
{
Eina_Bool included = EINA_FALSE;
item = 2
}
-class Evas.Table (Efl.Canvas.Object.Internal.Smart.Clipped)
+class Evas.Table (Efl.Canvas.Group.Clipped)
{
legacy_prefix: evas_object_table;
eo_prefix: evas_obj_table;
implements {
class.constructor;
Eo.Base.constructor;
- Evas.Object.Smart.smart_add;
- Evas.Object.Smart.smart_del;
- Evas.Object.Smart.smart_calculate;
- Evas.Object.Smart.smart_resize;
+ Efl.Canvas.Group.group_add;
+ Efl.Canvas.Group.group_del;
+ Efl.Canvas.Group.group_calculate;
+ Efl.Canvas.Group.group_resize;
}
}
void evas_object_smart_member_stack_above(Evas_Object *member, Evas_Object *other);
void evas_object_smart_member_stack_below(Evas_Object *member, Evas_Object *other);
const Eina_Inlist *evas_object_smart_members_get_direct(const Evas_Object *obj);
-void _evas_object_smart_smart_members_all_del(Evas_Object *obj);
+void _efl_canvas_group_group_members_all_del(Evas_Object *obj);
void evas_call_smarts_calculate(Evas *e);
void evas_object_smart_bounding_box_update(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj);
void evas_object_smart_need_bounding_box_update(Evas_Object *eo_obj, Evas_Smart_Data *o, Evas_Object_Protected_Data *obj);
}
EOLIAN static void
-_elm_web_none_evas_object_smart_smart_add(Eo *obj, Elm_Web_None_Data *_pd EINA_UNUSED)
+_elm_web_none_efl_canvas_group_group_add(Eo *obj, Elm_Web_None_Data *_pd EINA_UNUSED)
{
Evas_Object *resize_obj;
elm_object_text_set(resize_obj, "WebKit not supported!");
elm_widget_resize_object_set(obj, resize_obj, EINA_TRUE);
- evas_obj_smart_add(eo_super(obj, MY_CLASS));
+ efl_canvas_group_add(eo_super(obj, MY_CLASS));
elm_widget_sub_object_parent_add(obj);
}
class Elm.Web.None (Elm.Web)
{
implements {
- Evas.Object.Smart.smart_add;
+ Efl.Canvas.Group.group_add;
Elm.Web.tab_propagate.get;
Elm.Web.tab_propagate.set;
Elm.Web.webkit_view.get;