On Wed, Mar 31, 2010 at 7:59 PM, Enlightenment SVN
<[email protected]> wrote:
> Log:
> Initial support for Emotion as Edje EXTERNAL.
>
> Very crude, needs testing... but I can already play videos from inside
> editje and edje_player :-D
mandatory sample edc, sorry! Just edje_cc it and run with
edje_player... green button plays, red button pause. Nice effect, run
edje_player -a to get the window to be alpha transparent ;-)
externals {
external: "emotion";
}
collections {
group { name: "main";
parts {
part { name: "video";
type: EXTERNAL;
source: "emotion";
description { state: "default" 0;
rel1 {
offset: 10 10;
}
rel2 {
offset: -11 -61;
}
params {
choice: "engine" "xine";
string: "file" "/tmp/test.avi";
bool: "play" "1";
}
}
}
part { name: "play";
type: RECT;
description { state: "default" 0;
color: 0 255 0 128;
rel1 {
relative: 0 1;
offset: 10 -51;
}
rel2 {
relative: 0.5 1;
offset: -6 -11;
}
}
}
part { name: "pause";
type: RECT;
description { state: "default" 0;
color: 255 0 0 128;
rel1 {
relative: 0.5 1;
offset: 5 -51;
}
rel2 {
offset: -11 -11;
}
}
}
programs {
program {
signal: "mouse,clicked,1";
source: "play";
action: PARAM_SET "video" "play" "1";
}
program {
signal: "mouse,clicked,1";
source: "pause";
action: PARAM_SET "video" "play" "0";
}
}
}
}
}
--
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: [email protected]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel