static void
_smart_show(Evas_Object *obj)
{
- Eina_List *list, *l;
- Evas_Object *o;
INTERNAL_ENTRY;
- list = evas_object_smart_members_get(obj);
- EINA_LIST_FOREACH(list, l, o)
- {
- if (evas_object_data_get(o, "_elm_leaveme")) continue;
- evas_object_show(o);
- }
+ evas_object_show(sd->resize_obj);
}
static void
_smart_hide(Evas_Object *obj)
{
- Eina_List *list, *l;
- Evas_Object *o;
INTERNAL_ENTRY;
- list = evas_object_smart_members_get(obj);
- EINA_LIST_FOREACH(list, l, o)
- {
- if (evas_object_data_get(o, "_elm_leaveme")) continue;
- evas_object_hide(o);
- }
+ evas_object_hide(sd->resize_obj);
_if_focused_revert(obj);
}
static void
_smart_color_set(Evas_Object *obj, int r, int g, int b, int a)
{
- Eina_List *list, *l;
- Evas_Object *o;
INTERNAL_ENTRY;
- list = evas_object_smart_members_get(obj);
- EINA_LIST_FOREACH(list, l, o)
- {
- if (evas_object_data_get(o, "_elm_leaveme")) continue;
- evas_object_color_set(o, r, g, b, a);
- }
+ evas_object_color_set(sd->resize_obj, r, g, b, a);
}
static void
_smart_clip_set(Evas_Object *obj, Evas_Object *clip)
{
- Eina_List *list, *l;
- Evas_Object *o;
INTERNAL_ENTRY;
- list = evas_object_smart_members_get(obj);
- EINA_LIST_FOREACH(list, l, o)
- {
- if (evas_object_data_get(o, "_elm_leaveme")) continue;
- evas_object_clip_set(o, clip);
- }
+ evas_object_clip_set(sd->resize_obj, clip);
}
static void
_smart_clip_unset(Evas_Object *obj)
{
- Eina_List *list, *l;
- Evas_Object *o;
INTERNAL_ENTRY;
-// evas_object_clip_unset(sd->resize_obj);
+ evas_object_clip_unset(sd->resize_obj);
// return;
- list = evas_object_smart_members_get(obj);
- EINA_LIST_FOREACH(list, l, o)
- {
- if (evas_object_data_get(o, "_elm_leaveme")) continue;
- evas_object_clip_unset(o);
- }
}
static void