On 4/24/06, Van Munin Chhieng <[EMAIL PROTECTED]> wrote:
> Hello e17 users,
>
> I have to say those that never use e17 or any e-series never know what they
> are missing.
>
> Does anyone know where I can find document of how to make edj file for
> background. I have looked at user document but did not find anything.
> Did I miss something from the e17 website ?
>
Here's a small shell procedure I use for making wallpaper. The usage
is "make_wallpaper background1 background2 ...".
HTH :)
Save the following snippet as "make_wallpaper".
--------------------- cut -----------------------
#!/bin/sh
for i
do
target=`basename $i .jpg`.edj
workFile="/tmp/wallpaper.$$"
cat >$workFile <<__EOF__
images {
image, "$i" LOSSY 95;
}
collections {
group {
name, "desktop/background";
parts {
part {
name, "background_image";
mouse_events, 0;
description {
state, "default" 0.0;
rel1 {
relative, 0.0 0.0;
offset, 0 0;
}
rel2 {
relative, 1.0 1.0;
offset, -1 -1;
}
image {
normal, "$i";
}
fill {
origin {
relative, 0.0 0.0;
offset, 0 0;
}
size {
relative, 1.0 1.0;
offset, 0 0;
}
}
}
}
}
}
}
__EOF__
edje_cc $workFile $target
rm -f $workFile
done
--------------------paste ---------------------
--
Gopalarathnam Venkatesan
http://gopalarathnam.com/
-------------------------------------------------------
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&kid0709&bid&3057&dat1642
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users