[SVN Merge] Reverting back elm_widget modification need to be verified.
authorPrince Kr Dubey <prince.dubey@samsung.com>
Mon, 11 Oct 2010 16:06:32 +0000 (21:36 +0530)
committerPrince Kr Dubey <prince.dubey@samsung.com>
Mon, 11 Oct 2010 16:06:32 +0000 (21:36 +0530)
src/lib/elm_widget.c

index 656f67d..35eafee 100644 (file)
@@ -1333,74 +1333,38 @@ _smart_resize(Evas_Object *obj, Evas_Coord w, Evas_Coord h)
 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