Enlightenment CVS committal Author : raster Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_int_config_wallpaper_import.c Log Message: white bg for center and aspect in bg gen =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_wallpaper_import.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -3 -r1.7 -r1.8 --- e_int_config_wallpaper_import.c 13 Aug 2006 02:51:34 -0000 1.7 +++ e_int_config_wallpaper_import.c 13 Aug 2006 03:17:34 -0000 1.8 @@ -258,6 +258,7 @@ const char *file; char buf[4096], cmd[4096], tmpn[4096], ipart[4096], enc[128]; char *imgdir = NULL, *homedir, *fstrip; + int cr = 255, cg = 255, cb = 255, ca = 255; FILE *f; evas = e_win_evas_get(import->win); @@ -320,7 +321,8 @@ "collections {\n" "group { name: \"desktop/background\";\n" "max: %i %i;\n" - "parts { part { name: \"bg\"; mouse_events: 0;\n" + "parts {\n" + "part { name: \"bg\"; mouse_events: 0;\n" "description { state: \"default\" 0.0;\n" "image { normal: \"%s\"; }\n" "} } } } }\n" @@ -332,7 +334,8 @@ "collections {\n" "group { name: \"desktop/background\";\n" "max: %i %i;\n" - "parts { part { name: \"bg\"; mouse_events: 0;\n" + "parts {\n" + "part { name: \"bg\"; mouse_events: 0;\n" "description { state: \"default\" 0.0;\n" "image { normal: \"%s\"; }\n" "fill { size {\n" @@ -347,12 +350,17 @@ "collections {\n" "group { name: \"desktop/background\";\n" "max: %i %i;\n" - "parts { part { name: \"bg\"; mouse_events: 0;\n" + "parts {\n" + "part { name: \"col\"; type: RECT; mouse_events: 0;\n" + "description { state: \"default\" 0.0;\n" + "color: %i %i %i %i;\n" + "} }\n" + "part { name: \"bg\"; mouse_events: 0;\n" "description { state: \"default\" 0.0;\n" "min: %i %i; max: %i %i\n" "image { normal: \"%s\"; }\n" "} } } } }\n" - , fstrip, enc, w, h, w, h, w, h, fstrip); + , fstrip, enc, w, h, cr, cg, cb, ca, w, h, w, h, fstrip); break; case IMPORT_SCALE_ASPECT_IN: fprintf(f, @@ -360,12 +368,17 @@ "collections {\n" "group { name: \"desktop/background\";\n" "max: %i %i;\n" - "parts { part { name: \"bg\"; mouse_events: 0;\n" + "parts {\n" + "part { name: \"col\"; type: RECT; mouse_events: 0;\n" + "description { state: \"default\" 0.0;\n" + "color: %i %i %i %i;\n" + "} }\n" + "part { name: \"bg\"; mouse_events: 0;\n" "description { state: \"default\" 0.0;\n" "aspect: %1.9f %1.9f; aspect_preference: BOTH;\n" "image { normal: \"%s\"; }\n" "} } } } }\n" - , fstrip, enc, w, h, (double)w / (double)h, (double)w / (double)h, fstrip); + , fstrip, enc, w, h, cr, cg, cb, ca, (double)w / (double)h, (double)w / (double)h, fstrip); break; case IMPORT_SCALE_ASPECT_OUT: fprintf(f, @@ -373,7 +386,8 @@ "collections {\n" "group { name: \"desktop/background\";\n" "max: %i %i;\n" - "parts { part { name: \"bg\"; mouse_events: 0;\n" + "parts {\n" + "part { name: \"bg\"; mouse_events: 0;\n" "description { state: \"default\" 0.0;\n" "aspect: %1.9f %1.9f; aspect_preference: NONE;\n" "image { normal: \"%s\"; }\n" ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs