Hi,

Attached is a patch to apply color changes to swallowed object. This
is useful to hide or fade the swallowed objects by just applying on
the placeholder.

May I apply it? was it left out for any reason?

--
Gustavo Sverzut Barbieri
--------------------------------------
Jabber: [EMAIL PROTECTED]
  MSN: [EMAIL PROTECTED]
 ICQ#: 17249123
Skype: gsbarbieri
Mobile: +55 (81) 9927 0010
Index: libs/edje/src/lib/edje_calc.c
===================================================================
RCS file: /var/cvs/e/e17/libs/edje/src/lib/edje_calc.c,v
retrieving revision 1.102
diff -u -r1.102 edje_calc.c
--- libs/edje/src/lib/edje_calc.c       27 May 2007 05:28:07 -0000      1.102
+++ libs/edje/src/lib/edje_calc.c       6 Jul 2007 17:06:23 -0000
@@ -1364,6 +1364,12 @@
        
        if (ep->swallowed_object)
          {
+            evas_object_color_set(ep->swallowed_object,
+                                  (p3.color.r * p3.color.a) / 255,
+                                  (p3.color.g * p3.color.a) / 255,
+                                  (p3.color.b * p3.color.a) / 255,
+                                  p3.color.a);
+
             evas_object_move(ep->swallowed_object, ed->x + p3.x, ed->y + p3.y);
             evas_object_resize(ep->swallowed_object, p3.w, p3.h);
             if (p3.visible) evas_object_show(ep->swallowed_object);
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to