Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        ewins.c 


Log Message:
Add shadow and fading flags to the remembered flag list.

===================================================================
RCS file: /cvs/e/e16/e/src/ewins.c,v
retrieving revision 1.220
retrieving revision 1.221
diff -u -3 -r1.220 -r1.221
--- ewins.c     23 Feb 2008 12:09:36 -0000      1.220
+++ ewins.c     12 Mar 2008 22:27:03 -0000      1.221
@@ -1814,7 +1814,11 @@
       unsigned            nua:1;
       unsigned            ctf:1;
       unsigned            nbg:1;
-      unsigned:           29;
+      unsigned:           5;
+      unsigned:           16;
+      unsigned            no_fade:1;
+      unsigned            no_shadow:1;
+      unsigned:           6;
    } f;
 } EWinMiscFlags2;
 
@@ -1833,6 +1837,10 @@
    fm2.f.nua = ewin->props.never_use_area;
    fm2.f.ctf = ewin->props.focusclick;
    fm2.f.nbg = ewin->props.no_button_grabs;
+#if USE_COMPOSITE
+   fm2.f.no_fade = !EoGetFade(ewin);
+   fm2.f.no_shadow = !EoGetShadow(ewin);
+#endif
 
    flags[0] = fm.all;
    flags[1] = fm2.all;
@@ -1853,6 +1861,10 @@
    ewin->props.never_use_area = fm2.f.nua;
    ewin->props.focusclick = fm2.f.ctf;
    ewin->props.no_button_grabs = fm2.f.nbg;
+#if USE_COMPOSITE
+   EoSetFade(ewin, !fm2.f.no_fade);
+   EoSetShadow(ewin, !fm2.f.no_shadow);
+#endif
 }
 
 void



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to