Eina_Bool *ret = va_arg(*list, Eina_Bool *);
Eina_Bool int_ret;
- eo_do_super(obj, elm_wdg_sub_object_add(sobj, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_sub_object_add(sobj, &int_ret));
if (ret) *ret = int_ret;
}
Eina_Bool *ret = va_arg(*list, Eina_Bool *);
if (ret) *ret = EINA_FALSE;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
elm_widget_theme_object_set
if ((part) && (strcmp(part, "default")))
{
- eo_do_super(obj, elm_obj_container_content_set(part, content, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_obj_container_content_set(part, content, &int_ret));
goto end;
}
if ((part) && (strcmp(part, "default")))
{
- eo_do_super(obj, elm_obj_container_content_get(part, ret));
+ eo_do_super(obj, MY_CLASS, elm_obj_container_content_get(part, ret));
return;
}
if ((part) && (strcmp(part, "default")))
{
- eo_do_super(obj, elm_obj_container_content_unset(part, &content));
+ eo_do_super(obj, MY_CLASS, elm_obj_container_content_unset(part, &content));
goto end;
}
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret;
- eo_do_super(obj, elm_wdg_disable(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_disable(&int_ret));
if (!int_ret) return;
elm_object_disabled_set(sd->list, elm_widget_disabled_get(obj));
{
Elm_Ctxpopup_Smart_Data *priv = _pd;
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
if (!elm_layout_theme_set
(obj, "ctxpopup", "base", elm_widget_style_get(obj)))
/* box will be our content placeholder, thus the parent's version call */
Eina_Bool ret;
- eo_do_super(obj, elm_obj_container_content_set("elm.swallow.content", priv->box, &ret));
+ eo_do_super(obj, MY_CLASS, elm_obj_container_content_set("elm.swallow.content", priv->box, &ret));
evas_object_event_callback_add(obj, EVAS_CALLBACK_SHOW, _on_show, NULL);
evas_object_event_callback_add(obj, EVAS_CALLBACK_HIDE, _on_hide, NULL);
EINA_LIST_FREE(sd->items, it)
elm_widget_item_free(it);
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static void
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
if (sd->selection) eina_stringshare_del(sd->selection);
if (sd->sel_idler) free(ecore_idler_del(sd->sel_idler));
- eo_do_super(sd->obj, evas_obj_smart_del());
+ eo_do_super(sd->obj, MY_CLASS, evas_obj_smart_del());
}
static void
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
style = elm_widget_style_get(obj);
EINA_REFCOUNT_INIT(priv);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
elm_widget_can_focus_set(obj, EINA_FALSE);
{
Elm_Fileselector_Smart_Data *sd = _pd;
sd->obj = obj;
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
/* file selector button's style has an extra bit */
eina_stringshare_replace(&(wd->style), buf);
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
eina_stringshare_replace(&(wd->style), style);
{
Elm_Fileselector_Button_Smart_Data *priv = _pd;
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
priv->window_title = eina_stringshare_add(DEFAULT_WINDOW_TITLE);
if (getenv("HOME")) priv->fsd.path = eina_stringshare_add(getenv("HOME"));
evas_object_del(win);
}
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static void
Elm_Fileselector_Button_Smart_Data *sd = _pd;
sd->obj = obj;
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
Eina_Bool *ret = va_arg(*list, Eina_Bool *);
if (ret) *ret = EINA_FALSE;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
style = elm_widget_style_get(obj);
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret;
- eo_do_super(obj, elm_wdg_disable(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_disable(&int_ret));
if (!int_ret) return;
val = elm_widget_disabled_get(obj);
if (item && strcmp(item, "default"))
{
- eo_do_super(obj, elm_obj_layout_text_set(item, label, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_obj_layout_text_set(item, label, &int_ret));
goto end;
}
if (item && strcmp(item, "default"))
{
- eo_do_super(obj, elm_obj_layout_text_get(item, text));
+ eo_do_super(obj, MY_CLASS, elm_obj_layout_text_get(item, text));
return;
}
if (part && strcmp(part, "button icon"))
{
- eo_do_super(obj, elm_obj_container_content_set(part, content, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_obj_container_content_set(part, content, &int_ret));
goto end;
}
if (part && strcmp(part, "button icon"))
{
- eo_do_super(obj, elm_obj_container_content_get(part, ret));
+ eo_do_super(obj, MY_CLASS, elm_obj_container_content_get(part, ret));
return;
}
if (part && strcmp(part, "button icon"))
{
- eo_do_super(obj, elm_obj_container_content_unset(part, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_obj_container_content_unset(part, &int_ret));
goto end;
}
{
Elm_Fileselector_Entry_Smart_Data *priv = _pd;
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
if (!elm_layout_theme_set
(obj, "fileselector_entry", "base", elm_widget_style_get(obj)))
if (sd->path) free(sd->path);
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
EAPI Evas_Object *
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
/* hoversel's style has an extra bit: orientation */
eina_stringshare_replace(&(wd->style), buf);
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
eina_stringshare_replace(&(wd->style), style);
_elm_hoversel_smart_add(Eo *obj, void *_pd __UNUSED__,
va_list *list EINA_UNUSED)
{
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
elm_widget_mirrored_automatic_set(obj, EINA_FALSE);
}
elm_hoversel_hover_parent_set(obj, NULL);
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static void
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
Eina_Bool *ret = va_arg(*list, Eina_Bool *);
if (ret) *ret = EINA_FALSE;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
EINA_LIST_FOREACH(sd->items, l, item)
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret;
- eo_do_super(obj, elm_wdg_on_focus(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_on_focus(&int_ret));
if (!int_ret) return;
if (elm_widget_focus_get(obj))
if (label) _guide_text_set(obj, label);
int_ret = EINA_TRUE;
}
- else eo_do_super(obj, elm_obj_layout_text_set(part, label, &int_ret));
+ else eo_do_super(obj, MY_CLASS, elm_obj_layout_text_set(part, label, &int_ret));
if (ret) *ret = int_ret;
}
*text = sd->guide_text_str;
}
else
- eo_do_super(obj, elm_obj_layout_text_get(part, text));
+ eo_do_super(obj, MY_CLASS, elm_obj_layout_text_get(part, text));
}
static char *
Elm_Multibuttonentry_Smart_Data *priv = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
if (!elm_layout_theme_set
(obj, "multibuttonentry", "base", elm_widget_style_get(obj)))
if (sd->end) evas_object_del(sd->end);
if (sd->rect_for_end) evas_object_del(sd->rect_for_end);
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static Eina_Bool _elm_multibuttonentry_smart_focus_next_enable = EINA_FALSE;
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
if (!sd->stack) return;
- eo_do_super(obj, elm_obj_layout_signal_emit(emission, source));
+ eo_do_super(obj, MY_CLASS, elm_obj_layout_signal_emit(emission, source));
}
/* content/text smart functions proxying things to the top item, which
Elm_Naviframe_Smart_Data *priv = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
priv->dummy_edje = wd->resize_obj;
evas_object_smart_member_add(priv->dummy_edje, obj);
sd->on_deletion = EINA_FALSE;
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static void
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
Eina_Bool int_ret;
Elm_Player_Smart_Data *sd = _pd;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
#define UPDATE_THEME(Target, Name) \
if (part && strcmp(part, "video"))
{
- eo_do_super(obj, elm_obj_container_content_set(part, content, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_obj_container_content_set(part, content, &int_ret));
if (ret) *ret = int_ret;
return;
}
static void
_elm_player_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
Elm_Player_Smart_Data *priv = _pd;
ecore_timer_del(sd->delay_update);
sd->delay_update = NULL;
}
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
#endif
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
#ifdef HAVE_EMOTION
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
_list_del(sd);
}
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static void
Elm_Popup_Smart_Data *sd = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
_mirrored_set(obj, elm_widget_mirrored_get(obj));
Elm_Popup_Smart_Data *sd = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, elm_wdg_sub_object_del(sobj, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_sub_object_del(sobj, &int_ret));
if (!int_ret) return;
if (sobj == sd->title_icon)
else if (!strcmp(part, "title,text"))
int_ret = _title_text_set(obj, label);
else
- eo_do_super(obj, elm_obj_layout_text_set(part, label, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_obj_layout_text_set(part, label, &int_ret));
if (ret) *ret = int_ret;
}
else if (!strcmp(part, "title,text"))
*text = _title_text_get(obj);
else
- eo_do_super(obj, elm_obj_layout_text_get(part, text));
+ eo_do_super(obj, MY_CLASS, elm_obj_layout_text_get(part, text));
}
static Eina_Bool
{
Elm_Popup_Smart_Data *priv = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
evas_object_size_hint_weight_set
(wd->resize_obj, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
static void
_elm_access_smart_add(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
elm_widget_can_focus_set(obj, EINA_TRUE);
}
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME));
mirrored = elm_object_mirrored_get(obj);
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
if (elm_object_mirrored_get(obj) != mirrored)
_mirrored_part_fix(obj, &part);
- eo_do_super(obj, elm_obj_layout_text_set(part, text, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_obj_layout_text_set(part, text, &int_ret));
if (ret) *ret = int_ret;
}
_mirrored_part_fix(obj, &part);
- eo_do_super(obj, elm_obj_layout_text_get(part, text));
+ eo_do_super(obj, MY_CLASS, elm_obj_layout_text_get(part, text));
}
static void
Elm_Actionslider_Smart_Data *priv = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
priv->enabled_position = ELM_ACTIONSLIDER_ALL;
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
{
Elm_Bg_Smart_Data *priv = _pd;
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
Evas_Object *parent = eo_parent_get(obj);
if (!elm_widget_sub_object_add(parent, obj))
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj, evas_obj_type_set(MY_CLASS_NAME));
}
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret = EINA_FALSE;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret = EINA_FALSE;
- eo_do_super(obj, elm_wdg_sub_object_del(child, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_sub_object_del(child, &int_ret));
if (!int_ret) return;
_sizing_eval(obj);
(wd->resize_obj, EVAS_CALLBACK_CHANGED_SIZE_HINTS,
_on_size_hints_changed, obj);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
evas_object_smart_callback_add
(wd->resize_obj, SIG_CHILD_ADDED,
}
}
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
EAPI Evas_Object *
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret = EINA_FALSE;
- eo_do_super(obj, elm_obj_layout_text_set(item, label, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_obj_layout_text_set(item, label, &int_ret));
if (!int_ret) return;
if (item && (!strcmp(item, "info") || !strcmp(item, "elm.info")))
Elm_Bubble_Smart_Data *priv = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
priv->pos = ELM_BUBBLE_POS_TOP_LEFT; //default
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret = EINA_FALSE;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
_icon_signal_emit(obj);
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret = EINA_FALSE;
- eo_do_super(obj, elm_wdg_sub_object_del(sobj, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_sub_object_del(sobj, &int_ret));
if (!int_ret) return;
_icon_signal_emit(obj);
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret = EINA_FALSE;
- eo_do_super(obj, elm_obj_container_content_set(part, content, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_obj_container_content_set(part, content, &int_ret));
if (!int_ret) return;
_icon_signal_emit(obj);
Elm_Button_Smart_Data *priv = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
Evas_Object *parent = eo_parent_get(obj);
if (!elm_widget_sub_object_add(parent, obj))
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret = EINA_FALSE;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
evas_object_smart_changed(obj);
Elm_Calendar_Smart_Data *priv = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
priv->first_interval = 0.85;
priv->year_min = 2;
for (i = 0; i < ELM_DAY_LAST; i++)
eina_stringshare_del(sd->weekdays[i]);
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static Eina_Bool _elm_calendar_smart_focus_next_enable = EINA_FALSE;
Elm_Calendar_Smart_Data *sd = _pd;
sd->obj = obj;
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret = EINA_FALSE;
- eo_do_super(obj, elm_wdg_sub_object_del(sobj, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_sub_object_del(sobj, &int_ret));
if (!int_ret) return;
_icon_signal_emit(obj);
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret = EINA_FALSE;
- eo_do_super(obj, elm_obj_container_content_set(part, content, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_obj_container_content_set(part, content, &int_ret));
if (!int_ret) return;
_icon_signal_emit(obj);
Elm_Check_Smart_Data *sd = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
if (!sd->state) elm_layout_signal_emit(obj, "elm,state,check,off", "elm");
Elm_Check_Smart_Data *priv = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
edje_object_signal_callback_add
(wd->resize_obj, "elm,action,check,on", "",
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret = EINA_FALSE;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
_time_update(obj);
Elm_Clock_Smart_Data *priv = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
priv->cur.ampm = -1;
priv->cur.seconds = EINA_TRUE;
/* NB: digits are killed for being sub objects, automatically */
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static Eina_Bool _elm_clock_smart_focus_next_enable = EINA_FALSE;
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret = EINA_FALSE;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
if (!sd->col_bars_area) return;
Elm_Colorselector_Smart_Data *priv = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
if (!elm_layout_theme_set
(obj, "colorselector", "palette", elm_object_style_get(obj)))
/* This cb_data are used during the destruction process of base.del */
for (i = 0; i < 4; i++)
tmp[i] = sd->cb_data[i];
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
for (i = 0; i < 4; i++)
free(tmp[i]);
}
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret = EINA_FALSE;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
_conformant_parts_swallow(obj);
static void
_elm_conformant_smart_add(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
elm_widget_can_focus_set(obj, EINA_FALSE);
top = elm_widget_top_get(obj);
evas_object_data_set(top, "\377 elm,conformant", NULL);
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static void
{
Evas_Object *top;
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
Elm_Datetime_Smart_Data *sd = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
if ((!dt_mod) || (!dt_mod->field_value_display))
Elm_Datetime_Smart_Data *priv = _pd;
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
if (!elm_layout_theme_set(obj, "datetime", "base",
elm_widget_style_get(obj)))
if ((dt_mod) && (dt_mod->obj_unhook))
dt_mod->obj_unhook(sd->mod_data); // module - unhook
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
EAPI Evas_Object *
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
Elm_Dayselector_Smart_Data *sd = _pd;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
EINA_LIST_FOREACH(sd->items, l, it)
{
snprintf(buf, sizeof(buf), "day%d", _item_location_get(sd, it));
- eo_do_super(obj, elm_obj_container_content_set(buf, content, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_obj_container_content_set(buf, content, &int_ret));
if (!int_ret) return;
if (!content)
snprintf(buf, sizeof(buf), "day%d", _item_location_get(sd, it));
- eo_do_super(obj, elm_obj_container_content_set(buf, content, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_obj_container_content_set(buf, content, &int_ret));
if (!int_ret)
{
elm_widget_item_free(it);
content = VIEW(it);
- eo_do_super(obj, elm_obj_container_content_unset(buf, &content));
+ eo_do_super(obj, MY_CLASS, elm_obj_container_content_unset(buf, &content));
if (!content) return;
sd->items = eina_list_remove(sd->items, it);
{
Elm_Dayselector_Smart_Data *priv = _pd;
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
if (!elm_layout_theme_set(obj, "dayselector", "base", "dayselector"))
CRITICAL("Failed to set layout!");
}
/* handles freeing sd */
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
EAPI Evas_Object *
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
Elm_Diskselector_Smart_Data *sd = _pd;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
evas = evas_object_evas_get(obj);
Elm_Diskselector_Smart_Data *sd = _pd;
- eo_do_super(obj, elm_wdg_sub_object_del(sobj, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_sub_object_del(sobj, &int_ret));
if (!int_ret) return;
EINA_LIST_FOREACH(sd->items, l, it)
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, elm_wdg_on_focus(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_on_focus(&int_ret));
if (!int_ret) return;
if (elm_widget_focus_get(obj))
edje = edje_object_add(evas_object_evas_get(obj));
elm_widget_resize_object_set(obj, edje);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
elm_widget_theme_object_set
(obj, edje, "diskselector", "base", elm_widget_style_get(obj));
sd->string_check_idle_enterer = NULL;
}
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static void
Evas_Coord y = va_arg(*list, Evas_Coord);
Elm_Diskselector_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_move(x, y));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_move(x, y));
evas_object_move(sd->hit_rect, x, y);
}
Evas_Coord h = va_arg(*list, Evas_Coord);
Elm_Diskselector_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_resize(w, h));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_resize(w, h));
evas_object_resize(sd->hit_rect, w, h);
}
Evas_Object *member = va_arg(*list, Evas_Object *);
Elm_Diskselector_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_member_add(member));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_member_add(member));
if (sd->hit_rect)
evas_object_raise(sd->hit_rect);
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
Elm_Scroller_Policy *policy_h = va_arg(*list, Elm_Scroller_Policy *);
Elm_Scroller_Policy *policy_v = va_arg(*list, Elm_Scroller_Policy *);
- eo_do_super((Eo *)obj, elm_scrollable_interface_policy_get(&s_policy_h, &s_policy_v));
+ eo_do_super((Eo *)obj, MY_CLASS, elm_scrollable_interface_policy_get(&s_policy_h, &s_policy_v));
if (policy_h) *policy_h = (Elm_Scroller_Policy)s_policy_h;
if (policy_v) *policy_v = (Elm_Scroller_Policy)s_policy_v;
}
(policy_v >= ELM_SCROLLER_POLICY_LAST))
return;
- eo_do_super(obj, elm_scrollable_interface_policy_set(policy_h, policy_v));
+ eo_do_super(obj, MY_CLASS, elm_scrollable_interface_policy_set(policy_h, policy_v));
}
EAPI void
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
Eina_Bool int_ret = EINA_FALSE;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
evas_event_freeze(evas_object_evas_get(obj));
elm_layout_signal_emit(obj, "elm,action,hide,end", "elm");
}
- eo_do_super(obj, elm_wdg_sub_object_del(sobj, ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_sub_object_del(sobj, ret));
if (!ret) return;
if (ret) *ret = EINA_TRUE;
wd->resize_obj = sd->entry_edje;
- eo_do_super(obj, elm_obj_layout_signal_callback_add
+ eo_do_super(obj, MY_CLASS, elm_obj_layout_signal_callback_add
(emission, source, func_cb, data));
if (sd->scr_edje)
{
wd->resize_obj = sd->scr_edje;
- eo_do_super(obj, elm_obj_layout_signal_callback_add
+ eo_do_super(obj, MY_CLASS, elm_obj_layout_signal_callback_add
(emission, source, func_cb, data));
}
wd->resize_obj = sd->entry_edje;
- eo_do_super(obj, elm_obj_layout_signal_callback_del
+ eo_do_super(obj, MY_CLASS, elm_obj_layout_signal_callback_del
(emission, source, func_cb, data));
if (sd->scr_edje)
{
wd->resize_obj = sd->scr_edje;
- eo_do_super(obj, elm_obj_layout_signal_callback_del
+ eo_do_super(obj, MY_CLASS, elm_obj_layout_signal_callback_del
(emission, source, func_cb, data));
}
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret = EINA_FALSE;
- eo_do_super(obj, elm_obj_container_content_set(part, content, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_obj_container_content_set(part, content, &int_ret));
if (!int_ret) return;
/* too bad entry does not follow the pattern
if (content) *content = NULL;
Evas_Object *int_content;
- eo_do_super(obj, elm_obj_container_content_unset(part, &int_content));
+ eo_do_super(obj, MY_CLASS, elm_obj_container_content_unset(part, &int_content));
if (!int_content) return;
/* too bad entry does not follow the pattern
Elm_Entry_Smart_Data *priv = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
priv->entry_edje = wd->resize_obj;
evas_event_thaw(evas_object_evas_get(obj));
evas_event_thaw_eval(evas_object_evas_get(obj));
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static void
Evas_Coord y = va_arg(*list, Evas_Coord);
Elm_Entry_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_move(x, y));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_move(x, y));
evas_object_move(sd->hit_rect, x, y);
Evas_Coord h = va_arg(*list, Evas_Coord);
Elm_Entry_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_resize(w, h));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_resize(w, h));
evas_object_resize(sd->hit_rect, w, h);
}
Evas_Object *member = va_arg(*list, Evas_Object *);
Elm_Entry_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_member_add(member));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_member_add(member));
if (sd->hit_rect)
evas_object_raise(sd->hit_rect);
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
sd->policy_h = h;
sd->policy_v = v;
- eo_do_super(obj, elm_scrollable_interface_policy_set(sd->policy_h, sd->policy_v));
+ eo_do_super(obj, MY_CLASS, elm_scrollable_interface_policy_set(sd->policy_h, sd->policy_v));
}
EAPI void
sd->h_bounce = h_bounce;
sd->v_bounce = v_bounce;
- eo_do_super(obj, elm_scrollable_interface_bounce_allow_set(h_bounce, v_bounce));
+ eo_do_super(obj, MY_CLASS, elm_scrollable_interface_bounce_allow_set(h_bounce, v_bounce));
}
EAPI void
Eina_Bool int_ret;
if (ret) *ret = EINA_FALSE;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
_sizing_eval(obj);
if (evas_object_data_get(sobj, "elm-parent") == obj)
goto end;
- eo_do_super(obj, elm_wdg_sub_object_add(sobj, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_sub_object_add(sobj, &int_ret));
if (!int_ret) return;
evas_object_data_set(sobj, "_elm_leaveme", sobj);
Elm_Flip_Smart_Data *sd = _pd;
- eo_do_super(obj, elm_wdg_sub_object_del(sobj, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_sub_object_del(sobj, &int_ret));
if (!int_ret) return;
if (sobj == sd->front.content)
{
Elm_Flip_Smart_Data *priv = _pd;
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
priv->clip = evas_object_rectangle_add(evas_object_evas_get(obj));
evas_object_static_clip_set(priv->clip, EINA_TRUE);
if (sd->animator) ecore_animator_del(sd->animator);
_state_slices_clear(sd);
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
EAPI Evas_Object *
Elm_Flip_Smart_Data *sd = _pd;
sd->obj = obj;
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
Elm_Flipselector_Smart_Data *sd = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
max_len = edje_object_data_get(wd->resize_obj, "max_len");
{
Elm_Flipselector_Smart_Data *priv = _pd;
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
if (!elm_layout_theme_set
(obj, "flipselector", "base", elm_widget_style_get(obj)))
if (sd->spin) ecore_timer_del(sd->spin);
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
EAPI Evas_Object *
{
Elm_Flipselector_Smart_Data *sd = _pd;
sd->obj = obj;
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
{
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
edje_object_signal_callback_add
(wd->resize_obj, "elm,anim,done", "elm",
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
Eina_Bool int_ret = EINA_FALSE;
Elm_Gengrid_Smart_Data *sd = _pd;
- eo_do_super(obj, elm_wdg_on_focus(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_on_focus(&int_ret));
if (!int_ret) return;
if (elm_widget_focus_get(obj) && (sd->selected) &&
ELM_GENGRID_DATA_GET(obj, sd);
- eo_do_super(obj, elm_scrollable_interface_mirrored_set(rtl));
+ eo_do_super(obj, MY_CLASS, elm_scrollable_interface_mirrored_set(rtl));
if (!sd->items) return;
it = ELM_GEN_ITEM_FROM_INLIST(sd->items);
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
_mirrored_set(obj, elm_widget_mirrored_get(obj));
Elm_Gengrid_Smart_Data *priv = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
priv->hit_rect = evas_object_rectangle_add(evas_object_evas_get(obj));
evas_object_smart_member_add(priv->hit_rect, obj);
if (sd->calc_job) ecore_job_del(sd->calc_job);
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static void
Evas_Coord y = va_arg(*list, Evas_Coord);
Elm_Gengrid_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_move(x, y));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_move(x, y));
evas_object_move(sd->hit_rect, x, y);
}
Evas_Coord h = va_arg(*list, Evas_Coord);
Elm_Gengrid_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_resize(w, h));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_resize(w, h));
evas_object_resize(sd->hit_rect, w, h);
}
Evas_Object *member = va_arg(*list, Evas_Object *);
Elm_Gengrid_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_member_add(member));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_member_add(member));
if (sd->hit_rect)
evas_object_raise(sd->hit_rect);
Elm_Gengrid_Smart_Data *sd = _pd;
sd->obj = obj;
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
{
Eina_Bool h_bounce = va_arg(*list, int);
Eina_Bool v_bounce = va_arg(*list, int);
- eo_do_super(obj, elm_scrollable_interface_bounce_allow_set(!!h_bounce, !!v_bounce));
+ eo_do_super(obj, MY_CLASS, elm_scrollable_interface_bounce_allow_set(!!h_bounce, !!v_bounce));
}
EAPI void
(policy_v >= ELM_SCROLLER_POLICY_LAST))
return;
- eo_do_super(obj, elm_scrollable_interface_policy_set(policy_h, policy_v));
+ eo_do_super(obj, MY_CLASS, elm_scrollable_interface_policy_set(policy_h, policy_v));
}
EAPI void
Elm_Scroller_Policy *policy_h = va_arg(*list, Elm_Scroller_Policy *);
Elm_Scroller_Policy *policy_v = va_arg(*list, Elm_Scroller_Policy *);
- eo_do_super((Eo *)obj, elm_scrollable_interface_policy_get(&s_policy_h, &s_policy_v));
+ eo_do_super((Eo *)obj, MY_CLASS, elm_scrollable_interface_policy_get(&s_policy_h, &s_policy_v));
if (policy_h) *policy_h = (Elm_Scroller_Policy)s_policy_h;
if (policy_v) *policy_v = (Elm_Scroller_Policy)s_policy_v;
}
psd->resize_job = NULL;
}
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static void
* creation, thus issuing TOO MANY sizing_eval()'s here. they are
* not needed at here anyway, so let's skip listening to those
* hints changes */
- eo_do_super(obj, elm_wdg_sub_object_add(sobj, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_sub_object_add(sobj, &int_ret));
if (!int_ret) return;
if (ret) *ret = EINA_TRUE;
* about too many recalculations */
sd->on_sub_del = EINA_TRUE;
- eo_do_super(obj, elm_wdg_sub_object_del(sobj, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_sub_object_del(sobj, &int_ret));
if (!int_ret) return;
sd->on_sub_del = EINA_FALSE;
Eina_Bool int_ret = EINA_FALSE;
Elm_Genlist_Smart_Data *sd = _pd;
- eo_do_super(obj, elm_wdg_on_focus(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_on_focus(&int_ret));
if (!int_ret) return;
if (elm_widget_focus_get(obj) && (sd->items) && (sd->selected) &&
Elm_Genlist_Smart_Data *sd = _pd;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
evas_event_freeze(evas_object_evas_get(sd->obj));
Elm_Genlist_Smart_Data *priv = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
priv->hit_rect = evas_object_rectangle_add(evas_object_evas_get(obj));
evas_object_smart_member_add(priv->hit_rect, obj);
if (sd->scr_hold_timer) ecore_timer_del(sd->scr_hold_timer);
if (sd->tree_effect_animator) ecore_animator_del(sd->tree_effect_animator);
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static void
Evas_Coord y = va_arg(*list, Evas_Coord);
Elm_Genlist_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_move(x, y));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_move(x, y));
evas_object_move(sd->hit_rect, x, y);
}
Evas_Coord h = va_arg(*list, Evas_Coord);
Elm_Genlist_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_resize(w, h));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_resize(w, h));
evas_object_resize(sd->hit_rect, w, h);
}
Evas_Object *member = va_arg(*list, Evas_Object *);
Elm_Genlist_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_member_add(member));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_member_add(member));
if (sd->hit_rect)
evas_object_raise(sd->hit_rect);
Elm_Genlist_Smart_Data *sd = _pd;
sd->obj = obj;
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
sd->h_bounce = !!h_bounce;
sd->v_bounce = !!v_bounce;
- eo_do_super(obj, elm_scrollable_interface_bounce_allow_set
+ eo_do_super(obj, MY_CLASS, elm_scrollable_interface_bounce_allow_set
(sd->h_bounce, sd->v_bounce));
}
(policy_v >= ELM_SCROLLER_POLICY_LAST))
return;
- eo_do_super(obj, elm_scrollable_interface_policy_set(policy_h, policy_v));
+ eo_do_super(obj, MY_CLASS, elm_scrollable_interface_policy_set(policy_h, policy_v));
}
EAPI void
Elm_Scroller_Policy *policy_h = va_arg(*list, Elm_Scroller_Policy *);
Elm_Scroller_Policy *policy_v = va_arg(*list, Elm_Scroller_Policy *);
- eo_do_super((Eo *)obj, elm_scrollable_interface_policy_get
+ eo_do_super((Eo *)obj, MY_CLASS, elm_scrollable_interface_policy_get
(&s_policy_h, &s_policy_v));
if (policy_h) *policy_h = (Elm_Scroller_Policy)s_policy_h;
if (policy_v) *policy_v = (Elm_Scroller_Policy)s_policy_v;
static void
_elm_gesture_layer_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
Elm_Gesture_Layer_Smart_Data *priv = _pd;
free(sd->gesture[i]);
}
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
EAPI Evas_Object *
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj, evas_obj_type_set(MY_CLASS_NAME));
if (!elm_widget_sub_object_add(eo_parent_get(obj), obj))
Evas_Coord h = va_arg(*list, Evas_Coord);
Elm_Glview_Smart_Data * sd = _pd;
- eo_do_super(obj, evas_obj_smart_resize(w, h));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_resize(w, h));
sd->resized = EINA_TRUE;
elm_widget_resize_object_set(obj, img);
evas_object_image_size_set(img, 1, 1);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
Elm_Glview_Smart_Data *priv = _pd;
// Evas_GL
if (sd->config) evas_gl_config_free(sd->config);
if (sd->evasgl) evas_gl_free(sd->evasgl);
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
EAPI Evas_Object *
_constructor(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
const Elm_Glview_Smart_Data *sd = _pd;
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
_mirrored_set(obj, elm_widget_mirrored_get(obj));
elm_widget_resize_object_set(obj, grid);
evas_object_grid_size_set(wd->resize_obj, 100, 100);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
elm_widget_can_focus_set(obj, EINA_FALSE);
}
}
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
EAPI Evas_Object *
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj, evas_obj_type_set(MY_CLASS_NAME));
if (!elm_widget_sub_object_add(eo_parent_get(obj), obj))
Eina_Bool int_ret;
Elm_Hover_Smart_Data *sd = _pd;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
if (sd->smt_sub) _elm_hover_smt_sub_re_eval(obj);
if (evas_object_data_get(sobj, "elm-parent") == obj)
goto end;
- eo_do_super(obj, elm_wdg_sub_object_add(sobj, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_sub_object_add(sobj, &int_ret));
if (!int_ret) return;
if (sd->smt_sub && sd->smt_sub->obj == sobj)
Eina_Bool int_ret;
Elm_Hover_Smart_Data *sd = _pd;
- eo_do_super(obj, elm_wdg_sub_object_del(sobj, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_sub_object_del(sobj, &int_ret));
if (!int_ret) return;
if (sd->smt_sub && sd->smt_sub->obj == sobj)
}
}
- eo_do_super(obj, elm_obj_container_content_set(swallow, content, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_obj_container_content_set(swallow, content, &int_ret));
if (!int_ret) return;
if (strstr(swallow, "elm.swallow.slot."))
if (!swallow) return;
if (!strcmp(swallow, "smart"))
- eo_do_super(obj, elm_obj_container_content_get(sd->smt_sub->swallow, ret));
+ eo_do_super(obj, MY_CLASS, elm_obj_container_content_get(sd->smt_sub->swallow, ret));
else
- eo_do_super(obj, elm_obj_container_content_get(swallow, ret));
+ eo_do_super(obj, MY_CLASS, elm_obj_container_content_get(swallow, ret));
}
static void
if (!swallow) return;
if (!strcmp(swallow, "smart"))
- eo_do_super(obj, elm_obj_container_content_unset
+ eo_do_super(obj, MY_CLASS, elm_obj_container_content_unset
(sd->smt_sub->swallow, &int_ret));
else
- eo_do_super(obj, elm_obj_container_content_unset
+ eo_do_super(obj, MY_CLASS, elm_obj_container_content_unset
(swallow, &int_ret));
if (ret) *ret = int_ret;
}
Elm_Hover_Smart_Data *priv = _pd;
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
for (i = 0; i < sizeof(priv->subs) / sizeof(priv->subs[0]); i++)
priv->subs[i].swallow = _content_aliases[i].alias;
_elm_hover_parent_detach(obj);
sd->parent = NULL;
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static void
{
Evas_Coord x = va_arg(*list, Evas_Coord);
Evas_Coord y = va_arg(*list, Evas_Coord);
- eo_do_super(obj, evas_obj_smart_move(x, y));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_move(x, y));
elm_layout_sizing_eval(obj);
}
{
Evas_Coord w = va_arg(*list, Evas_Coord);
Evas_Coord h = va_arg(*list, Evas_Coord);
- eo_do_super(obj, evas_obj_smart_resize(w, h));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_resize(w, h));
elm_layout_sizing_eval(obj);
}
static void
_elm_hover_smart_show(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, evas_obj_smart_show());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_show());
_hov_show_do(obj);
}
_elm_hover_smart_hide(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
Elm_Hover_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_hide());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_hide());
elm_layout_signal_emit(obj, "elm,action,hide", "elm");
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
}
#endif
- eo_do_super(obj, elm_obj_image_sizing_eval());
+ eo_do_super(obj, MY_CLASS, elm_obj_image_sizing_eval());
sd->in_eval--;
}
if (!sd->is_video)
{
- eo_do_super(obj, elm_obj_image_file_set(file, key, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_obj_image_file_set(file, key, &int_ret));
if (ret) *ret = int_ret;
return;
}
_edje_signals_free(sd);
- eo_do_super(obj, elm_obj_image_memfile_set(img, size, format, key, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_obj_image_memfile_set(img, size, format, key, &int_ret));
if (ret) *ret = int_ret;
}
if (sd->stdicon)
_elm_theme_object_icon_set(obj, sd->stdicon, elm_widget_style_get(obj));
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
if (ret) *ret = EINA_TRUE;
static void
_elm_icon_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
Elm_Icon_Smart_Data *priv = _pd;
priv->lookup_order = ELM_ICON_LOOKUP_THEME_FDO;
_edje_signals_free(sd);
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
/* WARNING: to be deprecated */
Elm_Icon_Smart_Data *sd = _pd;
sd->obj = obj;
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
static void
_elm_image_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
Elm_Image_Smart_Data *priv = _pd;
evas_object_del(sd->img);
if (sd->prev_img) evas_object_del(sd->prev_img);
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static void
Evas_Coord x = va_arg(*list, Evas_Coord);
Evas_Coord y = va_arg(*list, Evas_Coord);
- eo_do_super(obj, evas_obj_smart_move(x, y));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_move(x, y));
if ((sd->img_x == x) && (sd->img_y == y)) return;
sd->img_x = x;
Evas_Coord w = va_arg(*list, Evas_Coord);
Evas_Coord h = va_arg(*list, Evas_Coord);
- eo_do_super(obj, evas_obj_smart_resize(w, h));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_resize(w, h));
if ((sd->img_w == w) && (sd->img_h == h)) return;
sd->show = EINA_TRUE;
if (sd->preloading) return;
- eo_do_super(obj, evas_obj_smart_show());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_show());
evas_object_show(sd->img);
{
Elm_Image_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_hide());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_hide());
sd->show = EINA_FALSE;
evas_object_hide(sd->img);
Evas_Object *member = va_arg(*list, Evas_Object *);
Elm_Image_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_member_add(member));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_member_add(member));
if (sd->hit_rect)
evas_object_raise(sd->hit_rect);
int b = va_arg(*list, int);
int a = va_arg(*list, int);
- eo_do_super(obj, evas_obj_smart_color_set(r, g, b, a));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_color_set(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);
Evas_Object *clip = va_arg(*list, Evas_Object *);
- eo_do_super(obj, evas_obj_smart_clip_set(clip));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_clip_set(clip));
evas_object_clip_set(sd->img, clip);
if (sd->prev_img) evas_object_clip_set(sd->prev_img, clip);
{
Elm_Image_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_clip_unset());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_clip_unset());
evas_object_clip_unset(sd->img);
if (sd->prev_img) evas_object_clip_unset(sd->prev_img);
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret = EINA_FALSE;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
eo_do(obj, elm_obj_image_sizing_eval());
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
else
eina_stringshare_replace(&ld->group, "base/vertical");
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
elm_coords_finger_size_adjust(1, &minw, 1, &minh);
Elm_Index_Smart_Data *priv = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
if (!elm_layout_theme_set
(obj, "index", "base/vertical", elm_widget_style_get(obj)))
if (sd->delay) ecore_timer_del(sd->delay);
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static Eina_Bool _elm_index_smart_focus_next_enable = EINA_FALSE;
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
{
Elm_Pan_Smart_Data *priv = _pd;
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_PAN_CLASS, evas_obj_smart_add());
priv->self = obj;
}
{
_elm_pan_content_set(obj, NULL);
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_PAN_CLASS, evas_obj_smart_del());
}
static void
{
Elm_Pan_Smart_Data *psd = _pd;
- eo_do_super(obj, evas_obj_smart_show());
+ eo_do_super(obj, MY_PAN_CLASS, evas_obj_smart_show());
if (psd->content)
evas_object_show(psd->content);
{
Elm_Pan_Smart_Data *psd = _pd;
- eo_do_super(obj, evas_obj_smart_hide());
+ eo_do_super(obj, MY_PAN_CLASS, evas_obj_smart_hide());
if (psd->content)
evas_object_hide(psd->content);
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_PAN_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_PAN_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
_elm_scroll_scroll_bar_reset(sid);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_SCROLLABLE_INTERFACE, evas_obj_smart_add());
}
static void
{
Elm_Scrollable_Smart_Interface_Data *sid = _pd;
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_SCROLLABLE_INTERFACE, evas_obj_smart_del());
eo_do(obj, elm_scrollable_interface_content_set(NULL));
if (!sid->extern_pan) evas_object_del(sid->pan_obj);
static void
_elm_scroll_interface_constructor(Eo *obj, void *class_data EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_SCROLLABLE_INTERFACE, eo_constructor());
}
static void
static void
_elm_inwin_smart_add(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
elm_widget_can_focus_set(obj, EINA_FALSE);
elm_widget_highlight_ignore_set(obj, EINA_TRUE);
return;
}
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj, evas_obj_type_set(MY_CLASS_NAME));
if (!elm_widget_sub_object_add(parent, obj))
evas_event_freeze(evas_object_evas_get(obj));
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) goto end;
_label_format_set(wd->resize_obj, sd->format);
if (!label) label = "";
_label_format_set(wd->resize_obj, sd->format);
- eo_do_super(obj, elm_obj_layout_text_set(item, label, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_obj_layout_text_set(item, label, &int_ret));
if (int_ret)
{
sd->lastw = 0;
Elm_Label_Smart_Data *priv = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
Evas_Object *parent = eo_parent_get(obj);
if (!elm_widget_sub_object_add(parent, obj))
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
static void
_sizing_eval(Evas_Object *obj, Elm_Layout_Smart_Data *sd)
{
- Evas_Coord minw = -1, minh = -1;
-
+ Evas_Coord minh = -1, minw = -1;
Elm_Widget_Smart_Data *wd = eo_data_get(sd->obj, ELM_OBJ_WIDGET_CLASS);
- edje_object_size_min_calc(wd->resize_obj, &minw, &minh);
+
+ {
+ edje_object_size_min_restricted_calc(wd->resize_obj, &minw, &minh, wd->w, 0);
+
+ /* This is a hack to workaround the way min size hints are treated.
+ * If the minimum width is smaller than the restricted width, it
+ * means the minimum doesn't matter. */
+ if (minw <= wd->w)
+ {
+ Evas_Coord ominw = -1;
+
+ evas_object_size_hint_min_get(obj, &ominw, NULL);
+ minw = ominw;
+ }
+ }
+
+ printf("%d %d %d %d\n", minw, minh, wd->w, wd->h);
evas_object_size_hint_min_set(obj, minw, minh);
evas_object_size_hint_max_set(obj, -1, -1);
}
Elm_Layout_Smart_Data *sd = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
/* The following lines are here to support entry design; the _theme function
* of entry needs to call directly the widget _theme function */
if (evas_object_data_get(sobj, "elm-parent") == obj)
goto end;
- eo_do_super(obj, elm_wdg_sub_object_add(sobj, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_sub_object_add(sobj, &int_ret));
if (!int_ret) return;
Eina_Bool enable = EINA_TRUE;
(sobj, EVAS_CALLBACK_CHANGED_SIZE_HINTS,
_on_sub_object_size_hint_change, obj);
- eo_do_super(obj, elm_wdg_sub_object_del(sobj, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_sub_object_del(sobj, &int_ret));
if (!int_ret) return;
EINA_LIST_FOREACH(sd->subs, l, sub_d)
edje = edje_object_add(evas_object_evas_get(obj));
elm_widget_resize_object_set(obj, edje);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
elm_widget_can_focus_set(obj, EINA_FALSE);
}
}
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
+}
+
+static void
+_elm_layout_smart_resize(Eo *eo_obj, void *_pd EINA_UNUSED, va_list *list)
+{
+ Evas_Coord w = va_arg(*list, Evas_Coord);
+ Evas_Coord h = va_arg(*list, Evas_Coord);
+ eo_do_super(eo_obj, MY_CLASS, evas_obj_smart_resize(w, h));
+
+ eo_do(eo_obj, elm_obj_layout_sizing_eval());
}
/* rewrite or extend this one on your derived class as to suit your
_dbg_info_get(Eo *eo_obj, void *_pd EINA_UNUSED, va_list *list)
{
Eo_Dbg_Info *root = (Eo_Dbg_Info *) va_arg(*list, Eo_Dbg_Info *);
- eo_do_super(eo_obj, eo_dbg_info_get(root));
+ eo_do_super(eo_obj, MY_CLASS, eo_dbg_info_get(root));
Eo_Dbg_Info *group = EO_DBG_INFO_LIST_APPEND(root, MY_CLASS_NAME);
{
{
Elm_Layout_Smart_Data *sd = _pd;
sd->obj = obj;
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
EO_OP_FUNC(EVAS_OBJ_SMART_ID(EVAS_OBJ_SMART_SUB_ID_ADD), _elm_layout_smart_add),
EO_OP_FUNC(EVAS_OBJ_SMART_ID(EVAS_OBJ_SMART_SUB_ID_DEL), _elm_layout_smart_del),
+ EO_OP_FUNC(EVAS_OBJ_SMART_ID(EVAS_OBJ_SMART_SUB_ID_RESIZE), _elm_layout_smart_resize),
EO_OP_FUNC(EVAS_OBJ_SMART_ID(EVAS_OBJ_SMART_SUB_ID_CALCULATE), _elm_layout_smart_calculate),
EO_OP_FUNC(ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ON_FOCUS), _elm_layout_smart_on_focus),
Eina_Bool int_ret = EINA_FALSE;
Elm_List_Smart_Data *sd = _pd;
- eo_do_super(obj, elm_wdg_disable(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_disable(&int_ret));
if (!int_ret) return;
if (elm_widget_disabled_get(obj))
Eina_Bool int_ret = EINA_FALSE;
Elm_List_Smart_Data *sd = _pd;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
_mirrored_set(obj, elm_widget_mirrored_get(obj));
Eina_Bool int_ret = EINA_FALSE;
Elm_List_Smart_Data *sd = _pd;
- eo_do_super(obj, elm_wdg_on_focus(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_on_focus(&int_ret));
if (!int_ret) return;
if (elm_widget_focus_get(obj) && sd->selected && !sd->last_selected_item)
Elm_List_Smart_Data *sd = _pd;
- eo_do_super(obj, elm_wdg_sub_object_del(sobj, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_sub_object_del(sobj, &int_ret));
if (!int_ret) return;
if ((sobj == sd->box) || (sobj == obj)) goto end;
Elm_List_Smart_Data *priv = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
elm_widget_can_focus_set(obj, EINA_TRUE);
eina_list_free(sd->selected);
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static void
Evas_Coord y = va_arg(*list, Evas_Coord);
Elm_List_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_move(x, y));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_move(x, y));
evas_object_move(sd->hit_rect, x, y);
}
Evas_Coord h = va_arg(*list, Evas_Coord);
Elm_List_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_resize(w, h));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_resize(w, h));
evas_object_resize(sd->hit_rect, w, h);
}
Evas_Object *member = va_arg(*list, Evas_Object *);
Elm_List_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_member_add(member));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_member_add(member));
if (sd->hit_rect)
evas_object_raise(sd->hit_rect);
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
(policy_v >= ELM_SCROLLER_POLICY_LAST))
return;
- eo_do_super(obj, elm_scrollable_interface_policy_set(policy_h, policy_v));
+ eo_do_super(obj, MY_CLASS, elm_scrollable_interface_policy_set(policy_h, policy_v));
}
EAPI void
Eina_Bool int_ret = EINA_FALSE;
Elm_Map_Smart_Data *sd = _pd;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
_sizing_eval(sd);
edje = edje_object_add(evas_object_evas_get(obj));
elm_widget_resize_object_set(obj, edje);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
elm_widget_theme_object_set
(obj, edje, "map", "base", elm_widget_style_get(obj));
evas_object_del(sd->pan_obj);
sd->pan_obj = NULL;
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static void
Evas_Coord y = va_arg(*list, Evas_Coord);
Elm_Map_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_move(x, y));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_move(x, y));
evas_object_move(sd->hit_rect, x, y);
}
Evas_Coord h = va_arg(*list, Evas_Coord);
Elm_Map_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_resize(w, h));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_resize(w, h));
evas_object_resize(sd->hit_rect, w, h);
}
Evas_Object *member = va_arg(*list, Evas_Object *);
Elm_Map_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_member_add(member));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_member_add(member));
if (sd->hit_rect)
evas_object_raise(sd->hit_rect);
Elm_Map_Smart_Data *sd = _pd;
sd->obj = obj;
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret = EINA_FALSE;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
_sizing_eval(obj);
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret = EINA_FALSE;
- eo_do_super(obj, elm_wdg_sub_object_del(sobj, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_sub_object_del(sobj, &int_ret));
if (!int_ret) return;
if (sobj == sd->content)
{
Evas_Coord x = va_arg(*list, Evas_Coord);
Evas_Coord y = va_arg(*list, Evas_Coord);
- eo_do_super(obj, evas_obj_smart_move(x, y));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_move(x, y));
_configure(obj, EINA_FALSE);
}
{
Evas_Coord w = va_arg(*list, Evas_Coord);
Evas_Coord h = va_arg(*list, Evas_Coord);
- eo_do_super(obj, evas_obj_smart_resize(w, h));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_resize(w, h));
_configure(obj, EINA_FALSE);
}
Evas_Object *rect = evas_object_rectangle_add(evas_object_evas_get(obj));
elm_widget_resize_object_set(obj, rect);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
evas_object_static_clip_set(rect, EINA_TRUE);
evas_object_pass_events_set(rect, EINA_TRUE);
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME));
Elm_Menu_Item *item;
const char *s;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
ll = eina_list_append(ll, sd->items);
{
Elm_Menu_Smart_Data *priv = _pd;
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
elm_widget_can_focus_set(obj, EINA_FALSE);
if (sd->hv) evas_object_del(sd->hv);
if (sd->location) evas_object_del(sd->location);
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
void
_constructor(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
Elm_Menu_Smart_Data *sd = _pd;
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret = EINA_FALSE;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
_mirrored_set(obj, elm_widget_mirrored_get(obj));
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret = EINA_FALSE;
- eo_do_super(obj, elm_wdg_sub_object_del(sobj, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_sub_object_del(sobj, &int_ret));
if (!int_ret) return;
if (sobj == sd->content)
{
Evas_Coord w = va_arg(*list, Evas_Coord);
Evas_Coord h = va_arg(*list, Evas_Coord);
- eo_do_super(obj, evas_obj_smart_resize(w, h));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_resize(w, h));
_calc(obj);
}
{
Evas_Coord x = va_arg(*list, Evas_Coord);
Evas_Coord y = va_arg(*list, Evas_Coord);
- eo_do_super(obj, evas_obj_smart_move(x, y));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_move(x, y));
_calc(obj);
}
{
Elm_Notify_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_show());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_show());
evas_object_show(sd->notify);
if (!sd->allow_events) evas_object_show(sd->block_events);
{
Elm_Notify_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_hide());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_hide());
evas_object_hide(sd->notify);
if (!sd->allow_events) evas_object_hide(sd->block_events);
{
Elm_Notify_Smart_Data *priv = _pd;
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
priv->allow_events = EINA_TRUE;
sd->timer = NULL;
}
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
EAPI Evas_Object *
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME));
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
_mirrored_set(obj, elm_widget_mirrored_get(obj));
if (part && strcmp(part, "default"))
{
- eo_do_super(obj, elm_obj_container_content_set(part, content, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_obj_container_content_set(part, content, &int_ret));
goto end;
}
if (part && strcmp(part, "default"))
{
- eo_do_super(obj, elm_obj_container_content_get(part, ret));
+ eo_do_super(obj, MY_CLASS, elm_obj_container_content_get(part, ret));
return;
}
if (part && strcmp(part, "default"))
{
- eo_do_super(obj, elm_obj_container_content_unset(part, &content));
+ eo_do_super(obj, MY_CLASS, elm_obj_container_content_unset(part, &content));
goto end;
}
{
Elm_Panel_Smart_Data *priv = _pd;
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
elm_widget_can_focus_set(obj, EINA_TRUE);
}
}
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static void
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME));
else
eina_stringshare_replace(&ld->group, "vertical");
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
size = elm_panes_content_left_size_get(obj);
{
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
if (!elm_layout_theme_set
(obj, "panes", "vertical", elm_widget_style_get(obj)))
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
Elm_Photo_Smart_Data *sd = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
edje_object_mirrored_set
Elm_Photo_Smart_Data *priv = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
elm_widget_can_focus_set(obj, EINA_FALSE);
if (sd->long_press_timer) ecore_timer_del(sd->long_press_timer);
sd->long_press_timer = NULL;
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
EAPI Evas_Object *
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret = EINA_FALSE;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
_sizing_eval(obj);
edje = edje_object_add(evas_object_evas_get(obj));
elm_widget_resize_object_set(obj, edje);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
elm_widget_theme_object_set
(obj, edje, "photocam", "base", elm_widget_style_get(obj));
ecore_animator_del(sd->g_layer_zoom.bounce.animator);
if (sd->long_timer) ecore_timer_del(sd->long_timer);
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static void
Evas_Coord y = va_arg(*list, Evas_Coord);
Elm_Photocam_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_move(x, y));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_move(x, y));
evas_object_move(sd->hit_rect, x, y);
}
Evas_Coord h = va_arg(*list, Evas_Coord);
Elm_Photocam_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_resize(w, h));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_resize(w, h));
evas_object_resize(sd->hit_rect, w, h);
}
Evas_Object *member = va_arg(*list, Evas_Object *);
Elm_Photocam_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_member_add(member));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_member_add(member));
if (sd->hit_rect)
evas_object_raise(sd->hit_rect);
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
_zoom_do(obj, 1.0);
evas_object_smart_callback_call(obj, SIG_ZOOM_STOP, NULL);
}
- eo_do_super(obj, elm_scrollable_interface_region_bring_in(rx, ry, rw, rh));
+ eo_do_super(obj, MY_CLASS, elm_scrollable_interface_region_bring_in(rx, ry, rw, rh));
}
EAPI void
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret = EINA_FALSE;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
_sizing_eval(obj);
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
ee = ecore_evas_ecore_evas_get(evas_object_evas_get(obj));
if (!ee) return;
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
static void
_elm_prefs_smart_add(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
}
static void _item_free(Elm_Prefs_Item_Node *it);
eina_stringshare_del(sd->file);
eina_stringshare_del(sd->page);
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static void
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_elm_prefs_smart_callbacks,
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret = EINA_FALSE;
- eo_do_super(obj, elm_wdg_sub_object_del(sobj, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_sub_object_del(sobj, &int_ret));
if(!int_ret) return;
_icon_signal_emit(obj);
Eina_Bool *ret = va_arg(*list, Eina_Bool *);
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret = EINA_FALSE;
- eo_do_super(obj, elm_obj_container_content_set(part, content, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_obj_container_content_set(part, content, &int_ret));
if(!int_ret) return;
_icon_signal_emit(obj);
eina_stringshare_replace(&ld->group, "horizontal");
else eina_stringshare_replace(&ld->group, "vertical");
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
if (sd->pulse)
Elm_Progressbar_Smart_Data *priv = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
priv->horizontal = EINA_TRUE;
priv->units = eina_stringshare_add("%.0f %%");
if (sd->units) eina_stringshare_del(sd->units);
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static void
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret = EINA_FALSE;
- eo_do_super(obj, elm_wdg_sub_object_del(sobj, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_sub_object_del(sobj, &int_ret));
if(!int_ret) return;
_icon_signal_emit(obj);
Eina_Bool *ret = va_arg(*list, Eina_Bool *);
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret = EINA_FALSE;
- eo_do_super(obj, elm_obj_container_content_set(part, content, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_obj_container_content_set(part, content, &int_ret));
if(!int_ret) return;
_icon_signal_emit(obj);
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret = EINA_FALSE;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
if (sd->state) elm_layout_signal_emit(obj, "elm,state,radio,on", "elm");
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret = EINA_FALSE;
- eo_do_super(obj, elm_wdg_disable(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_disable(&int_ret));
if (!int_ret) return;
if (elm_widget_disabled_get(obj) && sd->state) _state_set(obj, EINA_FALSE);
Elm_Radio_Smart_Data *priv = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
if (!elm_layout_theme_set(obj, "radio", "base", elm_widget_style_get(obj)))
CRITICAL("Failed to set layout!");
sd->group->radios = eina_list_remove(sd->group->radios, obj);
if (!sd->group->radios) free(sd->group);
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static void
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret = EINA_FALSE;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
//TODO
{
Elm_Route_Smart_Data *priv = _pd;
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
elm_widget_can_focus_set(obj, EINA_FALSE);
{
_clear_route(obj);
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
/**
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME));
if (!elm_widget_sub_object_add(eo_parent_get(obj), obj))
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
_mirrored_set(obj, elm_widget_mirrored_get(obj));
Eina_Bool int_ret;
Elm_Scroller_Smart_Data *sd = _pd;
- eo_do_super(obj, elm_wdg_sub_object_del(sobj, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_sub_object_del(sobj, &int_ret));
if (!int_ret) return;
if (sobj == sd->content)
if (part && strcmp(part, "default"))
{
- eo_do_super(obj, elm_obj_container_content_set(part, content, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_obj_container_content_set(part, content, &int_ret));
if (ret) *ret = int_ret;
return;
}
if (part && strcmp(part, "default"))
{
- eo_do_super(obj, elm_obj_container_content_get(part, ret));
+ eo_do_super(obj, MY_CLASS, elm_obj_container_content_get(part, ret));
return;
}
if (part && strcmp(part, "default"))
{
- eo_do_super(obj, elm_obj_container_content_unset(part, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_obj_container_content_unset(part, &int_ret));
return;
}
Elm_Scroller_Smart_Data *priv = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
elm_widget_can_focus_set(obj, EINA_TRUE);
Evas_Coord y = va_arg(*list, Evas_Coord);
Elm_Scroller_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_move(x, y));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_move(x, y));
evas_object_move(sd->hit_rect, x, y);
}
Evas_Coord h = va_arg(*list, Evas_Coord);
Elm_Scroller_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_resize(w, h));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_resize(w, h));
evas_object_resize(sd->hit_rect, w, h);
}
Evas_Object *member = va_arg(*list, Evas_Object *);
Elm_Scroller_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_member_add(member));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_member_add(member));
if (sd->hit_rect)
evas_object_raise(sd->hit_rect);
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
(policy_v >= ELM_SCROLLER_POLICY_LAST))
return;
- eo_do_super(obj, elm_scrollable_interface_policy_set(policy_h, policy_v));
+ eo_do_super(obj, MY_CLASS, elm_scrollable_interface_policy_set(policy_h, policy_v));
}
EAPI void
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
rtl = elm_widget_mirrored_get(obj);
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret;
- eo_do_super(obj, elm_wdg_disable(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_disable(&int_ret));
if (!int_ret) return;
_update_list(sd);
static void
_elm_segment_control_smart_add(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
if (!elm_layout_theme_set
(obj, "segment_control", "base", elm_widget_style_get(obj)))
elm_widget_item_free(it);
}
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static Eina_Bool _elm_segment_control_smart_focus_next_enable = EINA_FALSE;
Elm_Segment_Control_Smart_Data *sd = _pd;
sd->obj = obj;
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
else
eina_stringshare_replace(&ld->group, "vertical");
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
if (ret) *ret = EINA_TRUE;
_elm_separator_smart_add(Eo *obj, void *_pd __UNUSED__,
va_list *list EINA_UNUSED)
{
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
elm_widget_can_focus_set(obj, EINA_FALSE);
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME));
elm_widget_style_get(obj));
}
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
if (sd->popup)
Elm_Slider_Smart_Data *priv = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
priv->horizontal = EINA_TRUE;
priv->indicator_show = EINA_TRUE;
if (sd->popup) evas_object_del(sd->popup);
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static void
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
_elm_slideshow_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
Elm_Slideshow_Smart_Data *priv = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
EINA_LIST_FREE(sd->layout.list, layout)
eina_stringshare_del(layout);
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
EAPI Evas_Object *
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret;
- eo_do_super(obj, elm_wdg_on_focus(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_on_focus(&int_ret));
if (!int_ret) return;
if (!elm_widget_focus_get(obj))
Elm_Spinner_Smart_Data *priv = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
priv->val_max = 100.0;
priv->step = 1.0;
}
}
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static void
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
if (ret) *ret = EINA_FALSE;
Eina_Bool super_ret;
- eo_do_super(obj, elm_wdg_theme(&super_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&super_ret));
if (super_ret == EINA_FALSE)
return;
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret;
- eo_do_super(obj, elm_wdg_sub_object_del(child, &int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_sub_object_del(child, &int_ret));
if (!int_ret) return;
_sizing_eval(obj);
evas_object_event_callback_add
(table, EVAS_CALLBACK_CHANGED_SIZE_HINTS, _on_size_hints_changed, obj);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
elm_widget_can_focus_set(obj, EINA_FALSE);
elm_widget_highlight_ignore_set(obj, EINA_FALSE);
}
}
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
EAPI Evas_Object *
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME));
if (!elm_widget_sub_object_add(eo_parent_get(obj), obj))
{
Elm_Thumb_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_show());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_show());
#ifdef ELM_ETHUMB
_thumb_show(sd);
#endif
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, evas_obj_smart_hide());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_hide());
evas_object_hide(wd->resize_obj);
Eina_Bool int_ret = EINA_FALSE;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
if (!elm_layout_theme_set(wd->resize_obj, "thumb", "base",
Elm_Thumb_Smart_Data *priv = _pd;
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
elm_widget_resize_object_set(obj, elm_layout_add(obj));
if (sd->eeh) ecore_event_handler_del(sd->eeh);
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
EAPI Evas_Object *
static void
_constructor(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set("Elm_Thumb"),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
}
Eina_Bool int_ret;
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
elm_widget_theme_object_set
edje = edje_object_add(evas_object_evas_get(obj));
elm_widget_resize_object_set(obj, edje);
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
elm_widget_theme_object_set
(obj, edje, "toolbar", "base", elm_widget_style_get(obj));
sd->long_timer = NULL;
}
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static void
Evas_Coord y = va_arg(*list, Evas_Coord);
Elm_Toolbar_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_move(x, y));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_move(x, y));
evas_object_move(sd->hit_rect, x, y);
}
Evas_Coord h = va_arg(*list, Evas_Coord);
Elm_Toolbar_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_resize(w, h));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_resize(w, h));
evas_object_resize(sd->hit_rect, w, h);
}
Evas_Object *member = va_arg(*list, Evas_Object *);
Elm_Toolbar_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_member_add(member));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_member_add(member));
if (sd->hit_rect)
evas_object_raise(sd->hit_rect);
static void
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
_elm_emotion_init();
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
elm_widget_can_focus_set(obj, EINA_TRUE);
(void) sd;
#endif
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
EAPI Evas_Object *
_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
#ifdef HAVE_EMOTION
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME));
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- eo_do_super(obj, elm_wdg_theme(&int_ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_theme(&int_ret));
if (!int_ret) return;
theme = elm_object_theme_get(obj);
evas_object_show(resize_obj);
#endif
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
#ifdef HAVE_ELEMENTARY_WEB
ewk_view_setting_user_agent_set
(void)_pd;
#endif
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
EAPI Evas_Object *
Elm_Web_Smart_Data *sd = _pd;
sd->obj = obj;
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_elm_web_smart_callbacks, NULL));
#ifdef HAVE_ELEMENTARY_WEB
elm_widget_resize_object_set(obj, _view_add(obj));
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
elm_widget_can_focus_set(obj, EINA_TRUE);
#endif
static void
_elm_web_smart_del(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
EAPI Evas_Object *
Elm_Web_Smart_Data *sd = _pd;
sd->obj = obj;
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_elm_web_smart_callbacks, NULL));
{
int r, g, b, a;
Evas_Object *child = va_arg(*params_list, Evas_Object *);
- eo_do_super(obj, evas_obj_smart_member_add(child));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_member_add(child));
if (evas_object_data_get(child, "_elm_leaveme")) return;
Evas_Object *child = va_arg(*list, Evas_Object *);
if (!evas_object_data_get(child, "_elm_leaveme"))
evas_object_clip_unset(child);
- eo_do_super(obj, evas_obj_smart_member_del(child));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_member_del(child));
}
// internal funcs
_dbg_info_get(Eo *eo_obj, void *_pd EINA_UNUSED, va_list *list)
{
Eo_Dbg_Info *root = (Eo_Dbg_Info *) va_arg(*list, Eo_Dbg_Info *);
- eo_do_super(eo_obj, eo_dbg_info_get(root));
+ eo_do_super(eo_obj, MY_CLASS, eo_dbg_info_get(root));
Eo_Dbg_Info *group = EO_DBG_INFO_LIST_APPEND(root, MY_CLASS_NAME);
EO_DBG_INFO_APPEND(group, "Wid-Type", EINA_VALUE_TYPE_STRING, elm_widget_type_get(eo_obj));
static void
_constructor(Eo *obj, void *class_data EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj, evas_obj_type_set(MY_CLASS_NAME));
eo_do(obj, elm_wdg_parent_set(eo_parent_get(obj)));
}
if (!evas_object_visible_get(obj))
_elm_win_state_eval_queue();
- eo_do_super(obj, evas_obj_smart_show());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_show());
TRAP(sd, show);
if (evas_object_visible_get(obj))
_elm_win_state_eval_queue();
- eo_do_super(obj, evas_obj_smart_hide());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_hide());
TRAP(sd, hide);
ecore_evas_callback_move_set(sd->ee, NULL);
ecore_evas_callback_state_change_set(sd->ee, NULL);
- eo_do_super(obj, evas_obj_smart_del());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
if ((!_elm_win_list) &&
(elm_policy_get(ELM_POLICY_QUIT) == ELM_POLICY_QUIT_LAST_WINDOW_CLOSED))
if (!ecore_evas_override_get(sd->ee)) return;
}
- eo_do_super(obj, evas_obj_smart_move(x, y));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_move(x, y));
if (ecore_evas_override_get(sd->ee))
{
Elm_Win_Smart_Data *sd = _pd;
- eo_do_super(obj, evas_obj_smart_resize(w, h));
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_resize(w, h));
if (sd->img_obj)
{
static void
_elm_win_smart_add(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(obj, evas_obj_smart_add());
+ eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
elm_widget_can_focus_set(obj, EINA_TRUE);
}
eo_parent_set(obj, ecore_evas_get(tmp_sd.ee));
- eo_do_super(obj, eo_constructor());
+ eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));