forked from enlightenment/enlightenment
make them different sizes for debugging help fun and an extra clip show
check for correctness SVN revision: 18201
This commit is contained in:
parent
d929192b3d
commit
246580b240
|
@ -349,7 +349,8 @@ _e_box_smart_adopt(E_Smart_Data *sd, Evas_Object *obj)
|
||||||
evas_object_data_set(obj, "e_box_data", bi);
|
evas_object_data_set(obj, "e_box_data", bi);
|
||||||
evas_object_event_callback_add(obj, EVAS_CALLBACK_FREE,
|
evas_object_event_callback_add(obj, EVAS_CALLBACK_FREE,
|
||||||
_e_box_smart_item_del_hook, NULL);
|
_e_box_smart_item_del_hook, NULL);
|
||||||
if (!evas_object_visible_get(sd->clip))
|
if ((!evas_object_visible_get(sd->clip)) &&
|
||||||
|
(evas_object_visible_get(sd->obj)))
|
||||||
evas_object_show(sd->clip);
|
evas_object_show(sd->clip);
|
||||||
return bi;
|
return bi;
|
||||||
}
|
}
|
||||||
|
@ -631,8 +632,8 @@ _e_box_smart_add(Evas_Object *obj)
|
||||||
sd->h = 0;
|
sd->h = 0;
|
||||||
sd->clip = evas_object_rectangle_add(evas_object_evas_get(obj));
|
sd->clip = evas_object_rectangle_add(evas_object_evas_get(obj));
|
||||||
evas_object_smart_member_add(sd->clip, obj);
|
evas_object_smart_member_add(sd->clip, obj);
|
||||||
evas_object_move(sd->clip, -100000, -100000);
|
evas_object_move(sd->clip, -100004, -100004);
|
||||||
evas_object_resize(sd->clip, 200000, 200000);
|
evas_object_resize(sd->clip, 200008, 200008);
|
||||||
evas_object_color_set(sd->clip, 255, 255, 255, 255);
|
evas_object_color_set(sd->clip, 255, 255, 255, 255);
|
||||||
evas_object_smart_data_set(obj, sd);
|
evas_object_smart_data_set(obj, sd);
|
||||||
}
|
}
|
||||||
|
|
|
@ -545,8 +545,8 @@ _e_fm_smart_add(Evas_Object *object)
|
||||||
sd->clip = evas_object_rectangle_add(sd->evas);
|
sd->clip = evas_object_rectangle_add(sd->evas);
|
||||||
evas_object_smart_member_add(sd->clip, object);
|
evas_object_smart_member_add(sd->clip, object);
|
||||||
evas_object_show(sd->clip);
|
evas_object_show(sd->clip);
|
||||||
evas_object_move(sd->clip, -100000, -100000);
|
evas_object_move(sd->clip, -100003, -100003);
|
||||||
evas_object_resize(sd->clip, 200000, 200000);
|
evas_object_resize(sd->clip, 200006, 200006);
|
||||||
evas_object_color_set(sd->clip, 255, 255, 255, 255);
|
evas_object_color_set(sd->clip, 255, 255, 255, 255);
|
||||||
|
|
||||||
evas_object_clip_set(sd->bg, sd->clip);
|
evas_object_clip_set(sd->bg, sd->clip);
|
||||||
|
|
|
@ -242,7 +242,8 @@ _e_layout_smart_adopt(E_Smart_Data *sd, Evas_Object *obj)
|
||||||
evas_object_data_set(obj, "e_layout_data", li);
|
evas_object_data_set(obj, "e_layout_data", li);
|
||||||
evas_object_event_callback_add(obj, EVAS_CALLBACK_FREE,
|
evas_object_event_callback_add(obj, EVAS_CALLBACK_FREE,
|
||||||
_e_layout_smart_item_del_hook, NULL);
|
_e_layout_smart_item_del_hook, NULL);
|
||||||
if (!evas_object_visible_get(sd->clip))
|
if ((!evas_object_visible_get(sd->clip)) &&
|
||||||
|
(evas_object_visible_get(sd->obj)))
|
||||||
evas_object_show(sd->clip);
|
evas_object_show(sd->clip);
|
||||||
return li;
|
return li;
|
||||||
}
|
}
|
||||||
|
@ -343,8 +344,8 @@ _e_layout_smart_add(Evas_Object *obj)
|
||||||
sd->vh = 1;
|
sd->vh = 1;
|
||||||
sd->clip = evas_object_rectangle_add(evas_object_evas_get(obj));
|
sd->clip = evas_object_rectangle_add(evas_object_evas_get(obj));
|
||||||
evas_object_smart_member_add(sd->clip, obj);
|
evas_object_smart_member_add(sd->clip, obj);
|
||||||
evas_object_move(sd->clip, -100000, -100000);
|
evas_object_move(sd->clip, -100001, -100001);
|
||||||
evas_object_resize(sd->clip, 200000, 200000);
|
evas_object_resize(sd->clip, 200002, 200002);
|
||||||
evas_object_color_set(sd->clip, 255, 255, 255, 255);
|
evas_object_color_set(sd->clip, 255, 255, 255, 255);
|
||||||
evas_object_smart_data_set(obj, sd);
|
evas_object_smart_data_set(obj, sd);
|
||||||
}
|
}
|
||||||
|
|
|
@ -252,7 +252,8 @@ _e_table_smart_adopt(E_Smart_Data *sd, Evas_Object *obj)
|
||||||
evas_object_event_callback_add(obj, EVAS_CALLBACK_FREE,
|
evas_object_event_callback_add(obj, EVAS_CALLBACK_FREE,
|
||||||
_e_table_smart_item_del_hook, NULL);
|
_e_table_smart_item_del_hook, NULL);
|
||||||
evas_object_stack_below(obj, sd->obj);
|
evas_object_stack_below(obj, sd->obj);
|
||||||
if (!evas_object_visible_get(sd->clip))
|
if ((!evas_object_visible_get(sd->clip)) &&
|
||||||
|
(evas_object_visible_get(sd->obj)))
|
||||||
evas_object_show(sd->clip);
|
evas_object_show(sd->clip);
|
||||||
return ti;
|
return ti;
|
||||||
}
|
}
|
||||||
|
@ -789,8 +790,8 @@ _e_table_smart_add(Evas_Object *obj)
|
||||||
sd->h = 0;
|
sd->h = 0;
|
||||||
sd->clip = evas_object_rectangle_add(evas_object_evas_get(obj));
|
sd->clip = evas_object_rectangle_add(evas_object_evas_get(obj));
|
||||||
evas_object_smart_member_add(sd->clip, obj);
|
evas_object_smart_member_add(sd->clip, obj);
|
||||||
evas_object_move(sd->clip, -100000, -100000);
|
evas_object_move(sd->clip, -100002, -100002);
|
||||||
evas_object_resize(sd->clip, 200000, 200000);
|
evas_object_resize(sd->clip, 200004, 200004);
|
||||||
evas_object_color_set(sd->clip, 255, 255, 255, 255);
|
evas_object_color_set(sd->clip, 255, 255, 255, 255);
|
||||||
evas_object_smart_data_set(obj, sd);
|
evas_object_smart_data_set(obj, sd);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue