[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[E-devel] Edje transition: works only in one direction
Hi list.
I have these programs:
program { /*Programs that do the mouseover animation for statusimg_bg */
name, "statusimg_bg_in";
signal, "mouse,in";
source, "statusimg_bg_over";
action, STATE_SET "state2" 1.0;
target, "statusimg_bg_over";
transition, LINEAR 0.5;
after, "statusimg_bg_in2";
}
program {
name, "statusimg_bg_in2";
action, STATE_SET "state2" 1.0;
target, "statusimg_bg";
transition, LINEAR 0.5;
}
program { /* !! TODO: TRANSITION IS NOT WORKING HERE !!! */
name, "statusimg_bg_out";
signal, "mouse,out";
source, "statusimg_bg_over";
action, STATE_SET "state1" 1.0;
target, "statusimg_bg";
transition, LINEAR 0.5;
after, "statusimg_bg_out2";
}
program {
name, "statusimg_bg_out2";
action, STATE_SET "state1" 1.0;
target, "statusimg_bg_over";
transition, LINEAR 0.5;
}
Transition works nicely at mouse,in, but it at mouse,out, it only wait
0.5 seconds, and change suddenly. These are just alpha changes, so I
don't understand.
statusimg_bg (original)
state1 - visible
state2 - hidden
statusimg_bg (glow)
state1 - hidden
state2 - visible
Thanks for the help.
Sevcsik