Change usage of eo_do_super to the new prototype.

This commit is contained in:
Tom Hacohen 2013-03-18 16:07:38 +00:00
parent c9534bab25
commit d75cb616da
68 changed files with 424 additions and 398 deletions

View File

@ -553,7 +553,7 @@ _elm_ctxpopup_smart_sub_object_add(Eo *obj, void *_pd EINA_UNUSED, va_list *list
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;
}
@ -666,7 +666,7 @@ _elm_ctxpopup_smart_theme(Eo *obj, void *_pd, va_list *list)
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
@ -704,7 +704,7 @@ _elm_ctxpopup_smart_content_set(Eo *obj, void *_pd, va_list *list)
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;
}
@ -749,7 +749,7 @@ _elm_ctxpopup_smart_content_get(Eo *obj, void *_pd, va_list *list)
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;
}
@ -768,7 +768,7 @@ _elm_ctxpopup_smart_content_unset(Eo *obj, void *_pd, va_list *list)
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;
}
@ -1035,7 +1035,7 @@ _elm_ctxpopup_smart_disable(Eo *obj, void *_pd, va_list *list)
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));
@ -1048,7 +1048,7 @@ _elm_ctxpopup_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
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)))
@ -1088,7 +1088,7 @@ _elm_ctxpopup_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
/* 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);
@ -1117,7 +1117,7 @@ _elm_ctxpopup_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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
@ -1146,7 +1146,7 @@ elm_ctxpopup_add(Evas_Object *parent)
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));

View File

@ -41,7 +41,7 @@ _elm_fileselector_smart_del_do(Elm_Fileselector_Smart_Data *sd)
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
@ -82,7 +82,7 @@ _elm_fileselector_smart_theme(Eo *obj, void *_pd, va_list *list)
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);
@ -754,7 +754,7 @@ _elm_fileselector_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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);
@ -909,7 +909,7 @@ _constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
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));

View File

@ -35,7 +35,7 @@ _elm_fileselector_button_smart_theme(Eo *obj, void *_pd EINA_UNUSED, va_list *li
/* 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);
@ -154,7 +154,7 @@ _elm_fileselector_button_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED
{
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"));
@ -188,7 +188,7 @@ _elm_fileselector_button_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED
evas_object_del(win);
}
eo_do_super(obj, evas_obj_smart_del());
eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static void
@ -213,7 +213,7 @@ _constructor(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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));

View File

@ -190,7 +190,7 @@ _elm_fileselector_entry_smart_theme(Eo *obj, void *_pd, va_list *list)
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);
@ -223,7 +223,7 @@ _elm_fileselector_entry_smart_disable(Eo *obj, void *_pd, va_list *list)
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);
@ -246,7 +246,7 @@ _elm_fileselector_entry_smart_text_set(Eo *obj, void *_pd, va_list *list)
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;
}
@ -267,7 +267,7 @@ _elm_fileselector_entry_smart_text_get(Eo *obj, void *_pd, va_list *list)
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;
}
@ -286,7 +286,7 @@ _elm_fileselector_entry_smart_content_set(Eo *obj, void *_pd, va_list *list)
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;
}
@ -308,7 +308,7 @@ _elm_fileselector_entry_smart_content_get(Eo *obj, void *_pd, va_list *list)
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;
}
@ -326,7 +326,7 @@ _elm_fileselector_entry_smart_content_unset(Eo *obj, void *_pd, va_list *list)
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;
}
@ -340,7 +340,7 @@ _elm_fileselector_entry_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
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)))
@ -397,7 +397,7 @@ _elm_fileselector_entry_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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 *
@ -412,7 +412,7 @@ elm_fileselector_entry_add(Evas_Object *parent)
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));

View File

@ -39,7 +39,7 @@ _elm_hoversel_smart_theme(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
/* 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);
@ -204,7 +204,7 @@ static void
_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);
@ -229,7 +229,7 @@ _elm_hoversel_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
}
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
@ -258,7 +258,7 @@ elm_hoversel_add(Evas_Object *parent)
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));

View File

@ -48,7 +48,7 @@ _elm_multibuttonentry_smart_theme(Eo *obj, void *_pd, va_list *list)
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)
@ -330,7 +330,7 @@ _elm_multibuttonentry_smart_on_focus(Eo *obj, void *_pd, va_list *list)
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))
@ -1444,7 +1444,7 @@ _elm_multibuttonentry_smart_text_set(Eo *obj, void *_pd EINA_UNUSED, va_list *li
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;
}
@ -1466,7 +1466,7 @@ _elm_multibuttonentry_smart_text_get(Eo *obj, void *_pd, va_list *list)
*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 *
@ -1513,7 +1513,7 @@ _elm_multibuttonentry_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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)))
@ -1560,7 +1560,7 @@ _elm_multibuttonentry_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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;
@ -1669,7 +1669,7 @@ elm_multibuttonentry_add(Evas_Object *parent)
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));

View File

@ -900,7 +900,7 @@ _elm_naviframe_smart_signal_emit(Eo *obj, void *_pd, va_list *list)
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
@ -1271,7 +1271,7 @@ _elm_naviframe_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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);
@ -1332,7 +1332,7 @@ _elm_naviframe_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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
@ -1406,7 +1406,7 @@ elm_naviframe_add(Evas_Object *parent)
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));

View File

@ -112,7 +112,7 @@ _elm_player_smart_theme(Eo *obj, void *_pd, va_list *list)
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) \
@ -442,7 +442,7 @@ _elm_player_smart_content_set(Eo *obj, void *_pd, va_list *list)
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;
}
@ -506,7 +506,7 @@ end:
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;
@ -552,7 +552,7 @@ _elm_player_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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
@ -575,7 +575,7 @@ static void
_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));

View File

@ -207,7 +207,7 @@ _elm_popup_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
_list_del(sd);
}
eo_do_super(obj, evas_obj_smart_del());
eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static void
@ -286,7 +286,7 @@ _elm_popup_smart_theme(Eo *obj, void *_pd, va_list *list)
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));
@ -411,7 +411,7 @@ _elm_popup_smart_sub_object_del(Eo *obj, void *_pd, va_list *list)
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)
@ -955,7 +955,7 @@ _elm_popup_smart_text_set(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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;
}
@ -991,7 +991,7 @@ _elm_popup_smart_text_get(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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
@ -1447,7 +1447,7 @@ _elm_popup_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
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);
@ -1549,7 +1549,7 @@ elm_popup_add(Evas_Object *parent)
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));

View File

@ -13,7 +13,7 @@ static Evas_Object * _elm_access_add(Evas_Object *parent);
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);
}
@ -898,7 +898,7 @@ _elm_access_add(Evas_Object *parent)
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));

View File

@ -107,7 +107,7 @@ _elm_actionslider_smart_theme(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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)
@ -368,7 +368,7 @@ _elm_actionslider_smart_text_set(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
_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;
}
@ -381,7 +381,7 @@ _elm_actionslider_smart_text_get(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
_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
@ -390,7 +390,7 @@ _elm_actionslider_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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;
@ -436,7 +436,7 @@ elm_actionslider_add(Evas_Object *parent)
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));

View File

@ -101,7 +101,7 @@ _elm_bg_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
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))
@ -136,7 +136,7 @@ elm_bg_add(Evas_Object *parent)
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));
}

View File

@ -129,7 +129,7 @@ _elm_box_smart_theme(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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);
@ -185,7 +185,7 @@ _elm_box_smart_sub_object_del(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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);
@ -406,7 +406,7 @@ _elm_box_smart_add(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
(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,
@ -447,7 +447,7 @@ _elm_box_smart_del(Eo *obj, void *_pd, 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 *
@ -462,7 +462,7 @@ elm_box_add(Evas_Object *parent)
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));

View File

@ -133,7 +133,7 @@ _elm_bubble_smart_text_set(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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")))
@ -195,7 +195,7 @@ _elm_bubble_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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
@ -245,7 +245,7 @@ elm_bubble_add(Evas_Object *parent)
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));

View File

@ -118,7 +118,7 @@ _elm_button_smart_theme(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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);
@ -136,7 +136,7 @@ _elm_button_smart_sub_object_del(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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);
@ -156,7 +156,7 @@ _elm_button_smart_content_set(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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);
@ -292,7 +292,7 @@ _elm_button_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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))
@ -347,7 +347,7 @@ elm_button_add(Evas_Object *parent)
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));

View File

@ -545,7 +545,7 @@ _elm_calendar_smart_theme(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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);
@ -943,7 +943,7 @@ _elm_calendar_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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;
@ -1041,7 +1041,7 @@ _elm_calendar_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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;
@ -1176,7 +1176,7 @@ _constructor(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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));

View File

@ -79,7 +79,7 @@ _elm_check_smart_sub_object_del(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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);
@ -113,7 +113,7 @@ _elm_check_smart_content_set(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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);
@ -174,7 +174,7 @@ _elm_check_smart_theme(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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");
@ -286,7 +286,7 @@ _elm_check_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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", "",
@ -340,7 +340,7 @@ elm_check_add(Evas_Object *parent)
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));

View File

@ -579,7 +579,7 @@ _elm_clock_smart_theme(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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);
@ -666,7 +666,7 @@ _elm_clock_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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;
@ -708,7 +708,7 @@ _elm_clock_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
/* 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;
@ -819,7 +819,7 @@ elm_clock_add(Evas_Object *parent)
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));

View File

@ -1070,7 +1070,7 @@ _elm_colorselector_smart_theme(Eo *obj, void *_pd, va_list *list)
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;
@ -1461,7 +1461,7 @@ _elm_colorselector_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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)))
@ -1557,7 +1557,7 @@ _elm_colorselector_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
/* 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]);
}
@ -1767,7 +1767,7 @@ elm_colorselector_add(Evas_Object *parent)
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));

View File

@ -597,7 +597,7 @@ _elm_conformant_smart_theme(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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);
@ -896,7 +896,7 @@ _on_prop_change(void *data,
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);
@ -934,7 +934,7 @@ _elm_conformant_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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
@ -980,7 +980,7 @@ _constructor(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
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));

View File

@ -496,7 +496,7 @@ _elm_datetime_smart_theme(Eo *obj, void *_pd, va_list *list)
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))
@ -764,7 +764,7 @@ _elm_datetime_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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)))
@ -830,7 +830,7 @@ _elm_datetime_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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 *
@ -845,7 +845,7 @@ elm_datetime_add(Evas_Object *parent)
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));

View File

@ -131,7 +131,7 @@ _elm_dayselector_smart_theme(Eo *obj, void *_pd, va_list *list)
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)
@ -246,7 +246,7 @@ _elm_dayselector_smart_content_set(Eo *obj, void *_pd, va_list *list)
{
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)
@ -265,7 +265,7 @@ _elm_dayselector_smart_content_set(Eo *obj, void *_pd, va_list *list)
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);
@ -320,7 +320,7 @@ _elm_dayselector_smart_content_unset(Eo *obj, void *_pd, va_list *list)
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);
@ -422,7 +422,7 @@ _elm_dayselector_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
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!");
@ -453,7 +453,7 @@ _elm_dayselector_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
}
/* handles freeing sd */
eo_do_super(obj, evas_obj_smart_del());
eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
EAPI Evas_Object *
@ -468,7 +468,7 @@ elm_dayselector_add(Evas_Object *parent)
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));

View File

@ -774,7 +774,7 @@ _elm_diskselector_smart_theme(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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);
@ -837,7 +837,7 @@ _elm_diskselector_smart_sub_object_del(Eo *obj, void *_pd EINA_UNUSED, va_list *
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)
@ -863,7 +863,7 @@ _elm_diskselector_smart_on_focus(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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))
@ -1258,7 +1258,7 @@ _elm_diskselector_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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));
@ -1409,7 +1409,7 @@ _elm_diskselector_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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
@ -1419,7 +1419,7 @@ _elm_diskselector_smart_move(Eo *obj, void *_pd, va_list *list)
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);
}
@ -1431,7 +1431,7 @@ _elm_diskselector_smart_resize(Eo *obj, void *_pd, va_list *list)
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);
}
@ -1442,7 +1442,7 @@ _elm_diskselector_smart_member_add(Eo *obj, void *_pd, va_list *list)
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);
@ -1466,7 +1466,7 @@ elm_diskselector_add(Evas_Object *parent)
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));
@ -1658,7 +1658,7 @@ _scroller_policy_get(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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;
}
@ -1682,7 +1682,7 @@ _scroller_policy_set(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
(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

View File

@ -487,7 +487,7 @@ _elm_entry_smart_theme(Eo *obj, void *_pd, va_list *list)
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));
@ -922,7 +922,7 @@ _elm_entry_smart_sub_object_del(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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;
@ -2408,14 +2408,14 @@ _elm_entry_smart_callback_add(Eo *obj, void *_pd, va_list *list)
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));
}
@ -2438,14 +2438,14 @@ _elm_entry_smart_callback_del(Eo *obj, void *_pd, va_list *list)
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));
}
@ -2461,7 +2461,7 @@ _elm_entry_smart_content_set(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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
@ -2483,7 +2483,7 @@ _elm_entry_smart_content_unset(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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
@ -2778,7 +2778,7 @@ _elm_entry_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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;
@ -3005,7 +3005,7 @@ _elm_entry_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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
@ -3015,7 +3015,7 @@ _elm_entry_smart_move(Eo *obj, void *_pd, va_list *list)
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);
@ -3029,7 +3029,7 @@ _elm_entry_smart_resize(Eo *obj, void *_pd, va_list *list)
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);
}
@ -3040,7 +3040,7 @@ _elm_entry_smart_member_add(Eo *obj, void *_pd, va_list *list)
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);
@ -3073,7 +3073,7 @@ elm_entry_add(Evas_Object *parent)
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));
@ -4644,7 +4644,7 @@ _scroller_policy_set(Eo *obj, void *_pd, va_list *list)
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
@ -4665,7 +4665,7 @@ _bounce_set(Eo *obj, void *_pd, va_list *list)
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

View File

@ -95,7 +95,7 @@ _elm_flip_smart_theme(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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);
@ -147,7 +147,7 @@ _elm_flip_smart_sub_object_add(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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);
@ -169,7 +169,7 @@ _elm_flip_smart_sub_object_del(Eo *obj, void *_pd, va_list *list)
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)
@ -1801,7 +1801,7 @@ _elm_flip_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
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);
@ -1848,7 +1848,7 @@ _elm_flip_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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 *
@ -1866,7 +1866,7 @@ _constructor(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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));

View File

@ -362,7 +362,7 @@ _elm_flipselector_smart_theme(Eo *obj, void *_pd, va_list *list)
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");
@ -553,7 +553,7 @@ _elm_flipselector_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
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)))
@ -589,7 +589,7 @@ _elm_flipselector_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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 *
@ -606,7 +606,7 @@ _constructor(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
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));

View File

@ -169,7 +169,7 @@ _elm_frame_smart_add(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
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",
@ -212,7 +212,7 @@ elm_frame_add(Evas_Object *parent)
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));

View File

@ -1914,7 +1914,7 @@ _elm_gengrid_smart_on_focus(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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) &&
@ -1973,7 +1973,7 @@ _mirrored_set(Evas_Object *obj,
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);
@ -1993,7 +1993,7 @@ _elm_gengrid_smart_theme(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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));
@ -2385,7 +2385,7 @@ _elm_gengrid_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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);
@ -2448,7 +2448,7 @@ _elm_gengrid_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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
@ -2458,7 +2458,7 @@ _elm_gengrid_smart_move(Eo *obj, void *_pd, va_list *list)
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);
}
@ -2470,7 +2470,7 @@ _elm_gengrid_smart_resize(Eo *obj, void *_pd, va_list *list)
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);
}
@ -2481,7 +2481,7 @@ _elm_gengrid_smart_member_add(Eo *obj, void *_pd, va_list *list)
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);
@ -2525,7 +2525,7 @@ _constructor(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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));
@ -3405,7 +3405,7 @@ _bounce_set(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
{
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
@ -3536,7 +3536,7 @@ _scroller_policy_set(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
(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
@ -3556,7 +3556,7 @@ _scroller_policy_get(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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;
}

View File

@ -228,7 +228,7 @@ _elm_genlist_pan_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
psd->resize_job = NULL;
}
eo_do_super(obj, evas_obj_smart_del());
eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static void
@ -2484,7 +2484,7 @@ _elm_genlist_smart_sub_object_add(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
* 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;
@ -2506,7 +2506,7 @@ _elm_genlist_smart_sub_object_del(Eo *obj, void *_pd, va_list *list)
* 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;
@ -2522,7 +2522,7 @@ _elm_genlist_smart_on_focus(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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) &&
@ -2624,7 +2624,7 @@ _elm_genlist_smart_theme(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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));
@ -4722,7 +4722,7 @@ _elm_genlist_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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);
@ -4808,7 +4808,7 @@ _elm_genlist_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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
@ -4818,7 +4818,7 @@ _elm_genlist_smart_move(Eo *obj, void *_pd, va_list *list)
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);
}
@ -4830,7 +4830,7 @@ _elm_genlist_smart_resize(Eo *obj, void *_pd, va_list *list)
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);
}
@ -4841,7 +4841,7 @@ _elm_genlist_smart_member_add(Eo *obj, void *_pd, va_list *list)
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);
@ -4896,7 +4896,7 @@ _constructor(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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));
@ -6621,7 +6621,7 @@ _bounce_set(Eo *obj, void *_pd, va_list *list)
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));
}
@ -6773,7 +6773,7 @@ _scroller_policy_set(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
(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
@ -6793,7 +6793,7 @@ _scroller_policy_get(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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;

View File

@ -3586,7 +3586,7 @@ _elm_gesture_layer_smart_disable(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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;
@ -3641,7 +3641,7 @@ _elm_gesture_layer_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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 *
@ -3656,7 +3656,7 @@ elm_gesture_layer_add(Evas_Object *parent)
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))

View File

@ -86,7 +86,7 @@ _elm_glview_smart_resize(Eo *obj, void *_pd, va_list *list)
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;
@ -199,7 +199,7 @@ _elm_glview_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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
@ -264,7 +264,7 @@ _elm_glview_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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 *
@ -280,7 +280,7 @@ static void
_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));

View File

@ -115,7 +115,7 @@ _elm_grid_smart_theme(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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));
@ -131,7 +131,7 @@ _elm_grid_smart_add(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
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);
@ -158,7 +158,7 @@ _elm_grid_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 *
@ -173,7 +173,7 @@ elm_grid_add(Evas_Object *parent)
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))

View File

@ -278,7 +278,7 @@ _elm_hover_smart_theme(Eo *obj, void *_pd, va_list *list)
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);
@ -334,7 +334,7 @@ _elm_hover_smart_sub_object_add(Eo *obj, void *_pd, va_list *list)
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)
@ -354,7 +354,7 @@ _elm_hover_smart_sub_object_del(Eo *obj, void *_pd, va_list *list)
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)
@ -438,7 +438,7 @@ _elm_hover_smart_content_set(Eo *obj, void *_pd, va_list *list)
}
}
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."))
@ -469,9 +469,9 @@ _elm_hover_smart_content_get(Eo *obj, void *_pd, va_list *list)
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
@ -486,10 +486,10 @@ _elm_hover_smart_content_unset(Eo *obj, void *_pd, va_list *list)
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;
}
@ -532,7 +532,7 @@ _elm_hover_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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;
@ -572,7 +572,7 @@ _elm_hover_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
_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
@ -580,7 +580,7 @@ _elm_hover_smart_move(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
{
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);
}
@ -590,7 +590,7 @@ _elm_hover_smart_resize(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(obj, evas_obj_smart_resize(w, h));
eo_do_super(obj, MY_CLASS, evas_obj_smart_resize(w, h));
elm_layout_sizing_eval(obj);
}
@ -598,7 +598,7 @@ _elm_hover_smart_resize(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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);
}
@ -607,7 +607,7 @@ static void
_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");
@ -643,7 +643,7 @@ elm_hover_add(Evas_Object *parent)
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));

View File

@ -344,7 +344,7 @@ _elm_icon_smart_sizing_eval(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
}
#endif
eo_do_super(obj, elm_obj_image_sizing_eval());
eo_do_super(obj, MY_CLASS, elm_obj_image_sizing_eval());
sd->in_eval--;
}
@ -390,7 +390,7 @@ _elm_icon_smart_file_set(Eo *obj, void *_pd, va_list *list)
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;
}
@ -451,7 +451,7 @@ _elm_icon_smart_memfile_set(Eo *obj, void *_pd, va_list *list)
_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;
}
@ -466,7 +466,7 @@ _elm_icon_smart_theme(Eo *obj, void *_pd, va_list *list)
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;
@ -606,7 +606,7 @@ _elm_icon_thumb_resize_cb(void *data,
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;
@ -642,7 +642,7 @@ _elm_icon_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
_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 */
@ -754,7 +754,7 @@ _constructor(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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));

View File

@ -620,7 +620,7 @@ _elm_image_drag_n_drop_cb(void *elm_obj,
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;
@ -665,7 +665,7 @@ _elm_image_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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
@ -676,7 +676,7 @@ _elm_image_smart_move(Eo *obj, void *_pd, va_list *list)
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;
@ -693,7 +693,7 @@ _elm_image_smart_resize(Eo *obj, void *_pd, va_list *list)
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;
@ -712,7 +712,7 @@ _elm_image_smart_show(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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);
@ -728,7 +728,7 @@ _elm_image_smart_hide(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
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);
@ -743,7 +743,7 @@ _elm_image_smart_member_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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);
@ -759,7 +759,7 @@ _elm_image_smart_color_set(Eo *obj, void *_pd, va_list *list)
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);
@ -773,7 +773,7 @@ _elm_image_smart_clip_set(Eo *obj, void *_pd, va_list *list)
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);
@ -785,7 +785,7 @@ _elm_image_smart_clip_unset(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
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);
@ -798,7 +798,7 @@ _elm_image_smart_theme(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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());
@ -1098,7 +1098,7 @@ elm_image_add(Evas_Object *parent)
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));

View File

@ -332,7 +332,7 @@ _elm_index_smart_theme(Eo *obj, void *_pd, va_list *list)
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);
@ -896,7 +896,7 @@ _elm_index_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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)))
@ -991,7 +991,7 @@ _elm_index_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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;
@ -1112,7 +1112,7 @@ elm_index_add(Evas_Object *parent)
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));

View File

@ -63,7 +63,7 @@ _elm_pan_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
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;
}
@ -73,7 +73,7 @@ _elm_pan_smart_del(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
_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
@ -108,7 +108,7 @@ _elm_pan_smart_show(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
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);
@ -119,7 +119,7 @@ _elm_pan_smart_hide(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
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);
@ -229,7 +229,7 @@ _elm_pan_add(Evas *evas)
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));
@ -4172,7 +4172,7 @@ _elm_scroll_interface_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
_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
@ -4180,7 +4180,7 @@ _elm_scroll_interface_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
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);
@ -4202,7 +4202,7 @@ _elm_scroll_interface_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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

View File

@ -70,7 +70,7 @@ _elm_inwin_smart_focus_next(Eo *obj EINA_UNUSED, void *_pd EINA_UNUSED, va_list
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);
@ -117,7 +117,7 @@ _constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
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))

View File

@ -161,7 +161,7 @@ _elm_label_smart_theme(Eo *obj, void *_pd, va_list *list)
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);
@ -329,7 +329,7 @@ _elm_label_smart_text_set(Eo *obj, void *_pd, va_list *list)
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;
@ -376,7 +376,7 @@ _elm_label_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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))
@ -424,7 +424,7 @@ elm_label_add(Evas_Object *parent)
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));

View File

@ -101,10 +101,25 @@ _part_cursor_free(Elm_Layout_Sub_Object_Cursor *pc)
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);
}
@ -306,7 +321,7 @@ _elm_layout_smart_theme(Eo *obj, void *_pd, va_list *list)
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 */
@ -423,7 +438,7 @@ _elm_layout_smart_sub_object_add(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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;
@ -456,7 +471,7 @@ _elm_layout_smart_sub_object_del(Eo *obj, void *_pd, va_list *list)
(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)
@ -1341,7 +1356,7 @@ _elm_layout_smart_add(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
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);
@ -1400,7 +1415,17 @@ _elm_layout_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
}
}
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
@ -2118,7 +2143,7 @@ static void
_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);
{
@ -2154,7 +2179,7 @@ _constructor(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
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));
@ -2171,6 +2196,7 @@ _class_constructor(Eo_Class *klass)
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),

View File

@ -737,7 +737,7 @@ _elm_list_smart_disable(Eo *obj, void *_pd, va_list *list)
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))
@ -783,7 +783,7 @@ _elm_list_smart_theme(Eo *obj, void *_pd, va_list *list)
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));
@ -809,7 +809,7 @@ _elm_list_smart_on_focus(Eo *obj, void *_pd, va_list *list)
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)
@ -831,7 +831,7 @@ _elm_list_smart_sub_object_del(Eo *obj, void *_pd, va_list *list)
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;
@ -1588,7 +1588,7 @@ _elm_list_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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);
@ -1687,7 +1687,7 @@ _elm_list_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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
@ -1697,7 +1697,7 @@ _elm_list_smart_move(Eo *obj, void *_pd, va_list *list)
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);
}
@ -1709,7 +1709,7 @@ _elm_list_smart_resize(Eo *obj, void *_pd, va_list *list)
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);
}
@ -1720,7 +1720,7 @@ _elm_list_smart_member_add(Eo *obj, void *_pd, va_list *list)
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);
@ -1750,7 +1750,7 @@ elm_list_add(Evas_Object *parent)
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));
@ -1984,7 +1984,7 @@ _scroller_policy_set(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
(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

View File

@ -3849,7 +3849,7 @@ _elm_map_smart_theme(Eo *obj, void *_pd, va_list *list)
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);
@ -3952,7 +3952,7 @@ _elm_map_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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));
@ -4122,7 +4122,7 @@ _elm_map_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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
@ -4132,7 +4132,7 @@ _elm_map_smart_move(Eo *obj, void *_pd, va_list *list)
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);
}
@ -4144,7 +4144,7 @@ _elm_map_smart_resize(Eo *obj, void *_pd, va_list *list)
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);
}
@ -4155,7 +4155,7 @@ _elm_map_smart_member_add(Eo *obj, void *_pd, va_list *list)
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);
@ -4183,7 +4183,7 @@ _constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
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));

View File

@ -32,7 +32,7 @@ _elm_mapbuf_smart_theme(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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);
@ -58,7 +58,7 @@ _elm_mapbuf_smart_sub_object_del(Eo *obj, void *_pd, va_list *list)
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)
@ -139,7 +139,7 @@ _elm_mapbuf_smart_move(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
{
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);
}
@ -149,7 +149,7 @@ _elm_mapbuf_smart_resize(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(obj, evas_obj_smart_resize(w, h));
eo_do_super(obj, MY_CLASS, evas_obj_smart_resize(w, h));
_configure(obj, EINA_FALSE);
}
@ -236,7 +236,7 @@ _elm_mapbuf_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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);
@ -262,7 +262,7 @@ elm_mapbuf_add(Evas_Object *parent)
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));

View File

@ -186,7 +186,7 @@ _elm_menu_smart_theme(Eo *obj, void *_pd, va_list *list)
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);
@ -564,7 +564,7 @@ _elm_menu_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
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);
@ -607,7 +607,7 @@ _elm_menu_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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
@ -673,7 +673,7 @@ static 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));

View File

@ -120,7 +120,7 @@ _elm_notify_smart_theme(Eo *obj, void *_pd, va_list *list)
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));
@ -179,7 +179,7 @@ _elm_notify_smart_sub_object_del(Eo *obj, void *_pd, va_list *list)
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)
@ -218,7 +218,7 @@ _elm_notify_smart_resize(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(obj, evas_obj_smart_resize(w, h));
eo_do_super(obj, MY_CLASS, evas_obj_smart_resize(w, h));
_calc(obj);
}
@ -228,7 +228,7 @@ _elm_notify_smart_move(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
{
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);
}
@ -268,7 +268,7 @@ _elm_notify_smart_show(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
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);
@ -281,7 +281,7 @@ _elm_notify_smart_hide(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
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);
@ -439,7 +439,7 @@ _elm_notify_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
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;
@ -467,7 +467,7 @@ _elm_notify_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
sd->timer = NULL;
}
eo_do_super(obj, evas_obj_smart_del());
eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
EAPI Evas_Object *
@ -482,7 +482,7 @@ elm_notify_add(Evas_Object *parent)
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));

View File

@ -120,7 +120,7 @@ _elm_panel_smart_theme(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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));
@ -264,7 +264,7 @@ _elm_panel_smart_content_set(Eo *obj, void *_pd, va_list *list)
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;
}
@ -295,7 +295,7 @@ _elm_panel_smart_content_get(Eo *obj, void *_pd, va_list *list)
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;
}
@ -313,7 +313,7 @@ _elm_panel_smart_content_unset(Eo *obj, void *_pd, va_list *list)
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;
}
@ -332,7 +332,7 @@ _elm_panel_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
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);
@ -381,7 +381,7 @@ _elm_panel_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
}
}
eo_do_super(obj, evas_obj_smart_del());
eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static void
@ -410,7 +410,7 @@ elm_panel_add(Evas_Object *parent)
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));

View File

@ -52,7 +52,7 @@ _elm_panes_smart_theme(Eo *obj, void *_pd, va_list *list)
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);
@ -185,7 +185,7 @@ _elm_panes_smart_add(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
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)))
@ -223,7 +223,7 @@ elm_panes_add(Evas_Object *parent)
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));

View File

@ -51,7 +51,7 @@ _elm_photo_smart_theme(Eo *obj, void *_pd, va_list *list)
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
@ -255,7 +255,7 @@ _elm_photo_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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);
@ -303,7 +303,7 @@ _elm_photo_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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 *
@ -318,7 +318,7 @@ elm_photo_add(Evas_Object *parent)
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));

View File

@ -876,7 +876,7 @@ _elm_photocam_smart_theme(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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);
@ -1300,7 +1300,7 @@ _elm_photocam_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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));
@ -1387,7 +1387,7 @@ _elm_photocam_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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
@ -1397,7 +1397,7 @@ _elm_photocam_smart_move(Eo *obj, void *_pd, va_list *list)
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);
}
@ -1409,7 +1409,7 @@ _elm_photocam_smart_resize(Eo *obj, void *_pd, va_list *list)
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);
}
@ -1420,7 +1420,7 @@ _elm_photocam_smart_member_add(Eo *obj, void *_pd, va_list *list)
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);
@ -1438,7 +1438,7 @@ elm_photocam_add(Evas_Object *parent)
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));
@ -2029,7 +2029,7 @@ _image_region_bring_in(Eo *obj, void *_pd, va_list *list)
_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

View File

@ -59,7 +59,7 @@ _elm_plug_smart_theme(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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);
@ -89,7 +89,7 @@ _elm_plug_smart_add(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
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;
@ -119,7 +119,7 @@ elm_plug_add(Evas_Object *parent)
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));

View File

@ -42,7 +42,7 @@ static Eina_Bool _prefs_item_widget_value_from_self(Elm_Prefs_Item_Node *,
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);
@ -463,7 +463,7 @@ _elm_prefs_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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
@ -521,7 +521,7 @@ elm_prefs_add(Evas_Object *parent)
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,

View File

@ -115,7 +115,7 @@ _elm_progressbar_smart_sub_object_del(Eo *obj, void *_pd EINA_UNUSED, va_list *l
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);
@ -134,7 +134,7 @@ _elm_progressbar_smart_content_set(Eo *obj, void *_pd EINA_UNUSED, va_list *list
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);
@ -156,7 +156,7 @@ _elm_progressbar_smart_theme(Eo *obj, void *_pd, va_list *list)
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)
@ -238,7 +238,7 @@ _elm_progressbar_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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 %%");
@ -278,7 +278,7 @@ _elm_progressbar_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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
@ -307,7 +307,7 @@ elm_progressbar_add(Evas_Object *parent)
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));

View File

@ -111,7 +111,7 @@ _elm_radio_smart_sub_object_del(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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);
@ -130,7 +130,7 @@ _elm_radio_smart_content_set(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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);
@ -177,7 +177,7 @@ _elm_radio_smart_theme(Eo *obj, void *_pd, va_list *list)
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");
@ -205,7 +205,7 @@ _elm_radio_smart_disable(Eo *obj, void *_pd, va_list *list)
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);
@ -266,7 +266,7 @@ _elm_radio_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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!");
@ -300,7 +300,7 @@ _elm_radio_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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
@ -329,7 +329,7 @@ elm_radio_add(Evas_Object *parent)
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));

View File

@ -89,7 +89,7 @@ _elm_route_smart_theme(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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
@ -137,7 +137,7 @@ _elm_route_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
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);
@ -163,7 +163,7 @@ _elm_route_smart_del(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
_clear_route(obj);
eo_do_super(obj, evas_obj_smart_del());
eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
/**
@ -186,7 +186,7 @@ elm_route_add(Evas_Object *parent)
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))

View File

@ -385,7 +385,7 @@ _elm_scroller_smart_theme(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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));
@ -486,7 +486,7 @@ _elm_scroller_smart_sub_object_del(Eo *obj, void *_pd, va_list *list)
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)
@ -654,7 +654,7 @@ _elm_scroller_smart_content_set(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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;
}
@ -687,7 +687,7 @@ _elm_scroller_smart_content_get(Eo *obj, void *_pd, va_list *list)
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;
}
@ -706,7 +706,7 @@ _elm_scroller_smart_content_unset(Eo *obj, void *_pd, va_list *list)
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;
}
@ -740,7 +740,7 @@ _elm_scroller_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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);
@ -795,7 +795,7 @@ _elm_scroller_smart_move(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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);
}
@ -807,7 +807,7 @@ _elm_scroller_smart_resize(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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);
}
@ -818,7 +818,7 @@ _elm_scroller_smart_member_add(Eo *obj, void *_pd, va_list *list)
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);
@ -836,7 +836,7 @@ elm_scroller_add(Evas_Object *parent)
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));
@ -912,7 +912,7 @@ _policy_set(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
(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

View File

@ -200,7 +200,7 @@ _elm_segment_control_smart_theme(Eo *obj, void *_pd, va_list *list)
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);
@ -228,7 +228,7 @@ _elm_segment_control_smart_disable(Eo *obj, void *_pd, va_list *list)
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);
@ -589,7 +589,7 @@ _item_new(Evas_Object *obj,
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)))
@ -616,7 +616,7 @@ _elm_segment_control_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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;
@ -694,7 +694,7 @@ _constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
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));

View File

@ -23,7 +23,7 @@ _elm_separator_smart_theme(Eo *obj, void *_pd, va_list *list)
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;
@ -46,7 +46,7 @@ static void
_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);
@ -69,7 +69,7 @@ elm_separator_add(Evas_Object *parent)
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));

View File

@ -449,7 +449,7 @@ _elm_slider_smart_theme(Eo *obj, void *_pd, va_list *list)
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)
@ -751,7 +751,7 @@ _elm_slider_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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;
@ -833,7 +833,7 @@ _elm_slider_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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
@ -862,7 +862,7 @@ elm_slider_add(Evas_Object *parent)
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));

View File

@ -308,7 +308,7 @@ static void
_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);
@ -357,7 +357,7 @@ _elm_slideshow_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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 *
@ -372,7 +372,7 @@ elm_slideshow_add(Evas_Object *parent)
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));

View File

@ -481,7 +481,7 @@ _elm_spinner_smart_on_focus(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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))
@ -624,7 +624,7 @@ _elm_spinner_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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;
@ -690,7 +690,7 @@ _elm_spinner_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
}
}
eo_do_super(obj, evas_obj_smart_del());
eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static void
@ -800,7 +800,7 @@ elm_spinner_add(Evas_Object *parent)
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));

View File

@ -119,7 +119,7 @@ _elm_table_smart_theme(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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;
@ -167,7 +167,7 @@ _elm_table_sub_object_del(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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);
@ -186,7 +186,7 @@ _elm_table_smart_add(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
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);
@ -218,7 +218,7 @@ _elm_table_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 *
@ -233,7 +233,7 @@ elm_table_add(Evas_Object *parent)
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))

View File

@ -417,7 +417,7 @@ _elm_thumb_smart_show(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
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);
@ -436,7 +436,7 @@ _elm_thumb_smart_hide(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
#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);
@ -530,7 +530,7 @@ _elm_thumb_smart_theme(Eo *obj, void *_pd __UNUSED__, va_list *list)
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",
@ -567,7 +567,7 @@ _elm_thumb_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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));
@ -613,7 +613,7 @@ _elm_thumb_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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 *
@ -628,7 +628,7 @@ elm_thumb_add(Evas_Object *parent)
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));

View File

@ -1012,7 +1012,7 @@ _elm_toolbar_smart_theme(Eo *obj, void *_pd, va_list *list)
}
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
@ -2294,7 +2294,7 @@ _elm_toolbar_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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));
@ -2408,7 +2408,7 @@ _elm_toolbar_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
sd->long_timer = NULL;
}
eo_do_super(obj, evas_obj_smart_del());
eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
static void
@ -2418,7 +2418,7 @@ _elm_toolbar_smart_move(Eo *obj, void *_pd, va_list *list)
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);
}
@ -2430,7 +2430,7 @@ _elm_toolbar_smart_resize(Eo *obj, void *_pd, va_list *list)
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);
}
@ -2441,7 +2441,7 @@ _elm_toolbar_smart_member_add(Eo *obj, void *_pd, va_list *list)
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);
@ -2542,7 +2542,7 @@ elm_toolbar_add(Evas_Object *parent)
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));

View File

@ -236,7 +236,7 @@ _elm_video_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
_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);
@ -283,7 +283,7 @@ _elm_video_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
(void) sd;
#endif
eo_do_super(obj, evas_obj_smart_del());
eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
EAPI Evas_Object *
@ -304,7 +304,7 @@ static void
_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));

View File

@ -108,7 +108,7 @@ _elm_web_smart_theme(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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);
@ -1140,7 +1140,7 @@ _elm_web_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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
@ -1203,7 +1203,7 @@ _elm_web_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
(void)_pd;
#endif
eo_do_super(obj, evas_obj_smart_del());
eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
EAPI Evas_Object *
@ -1221,7 +1221,7 @@ _constructor(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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));

View File

@ -112,7 +112,7 @@ _elm_web_smart_add(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
#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
@ -121,7 +121,7 @@ _elm_web_smart_add(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
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 *
@ -139,7 +139,7 @@ _constructor(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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));

View File

@ -399,7 +399,7 @@ _elm_widget_smart_member_add(Eo *obj, void *_pd EINA_UNUSED, va_list *params_lis
{
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;
@ -420,7 +420,7 @@ _elm_widget_smart_member_del(Eo *obj EINA_UNUSED, void *_pd EINA_UNUSED, va_list
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
@ -4057,7 +4057,7 @@ static void
_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));
@ -5523,7 +5523,7 @@ elm_widget_tree_dot_dump(const Evas_Object *top,
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)));
}

View File

@ -1207,7 +1207,7 @@ _elm_win_smart_show(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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);
@ -1221,7 +1221,7 @@ _elm_win_smart_hide(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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);
@ -1499,7 +1499,7 @@ _elm_win_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
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))
@ -1561,7 +1561,7 @@ _elm_win_smart_move(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
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))
{
@ -1590,7 +1590,7 @@ _elm_win_smart_resize(Eo *obj, void *_pd, va_list *list)
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)
{
@ -2435,7 +2435,7 @@ _elm_win_on_icon_del(void *data,
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);
@ -2779,7 +2779,7 @@ _win_constructor(Eo *obj, void *_pd, va_list *list)
}
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));