Enlightenment CVS committal Author : rbdpngn Project : e17 Module : apps/e
Dir : e17/apps/e/data/themes Modified Files: default_border.edc Log Message: Spaces in macro calls cause Apple's cpp to insert those spaces in the result. #define IMAGE(TYPE, NAME) TYPE: "button"NAME".png" IMAGE(normal, "foo"); Results in: normal: "button" "foo"".png" Which edje_cc cannot parse correctly as it views this as 2 arguments to the normal keyword. =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/data/themes/default_border.edc,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- default_border.edc 17 Mar 2005 13:56:19 -0000 1.4 +++ default_border.edc 20 Mar 2005 06:32:06 -0000 1.5 @@ -184,7 +184,7 @@ } \ } \ } \ - BORDER_BUTTON("button", TYPE, 0.0, 0.0, -3, -3, "whole", 1.0, 1.0, 2, 2, "whole") \ + BORDER_BUTTON("button",TYPE,0.0,0.0,-3,-3,"whole",1.0,1.0,2,2,"whole") \ } \ } @@ -906,9 +906,9 @@ } } - BORDER_BUTTON("button_0", "close", 0.0, 0.0, 0, 0, "whole", 1.0, 0.0, -1, 23, "whole") - BORDER_BUTTON("button_1", "maximize", 0.0, 0.0, 3, 0, "button_0", 0.0, 1.0, 3, -1, "button_0") - BORDER_BUTTON("button_2", "minimize", 0.0, 0.0, 3, 0, "button_1", 0.0, 1.0, 3, -1, "button_1") + BORDER_BUTTON("button_0","close",0.0,0.0, 0,0,"whole",1.0,0.0,-1,23,"whole") + BORDER_BUTTON("button_1","maximize",0.0,0.0,3,0,"button_0",0.0,1.0,3,-1,"button_0") + BORDER_BUTTON("button_2","minimize",0.0,0.0,3,0,"button_1",0.0,1.0,3,-1,"button_1") part { name: "icon"; ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs