add pulse to lyric scroller indicators

This commit is contained in:
zmike 2014-04-21 00:13:30 -04:00
parent 32035b677f
commit cdf8954757
1 changed files with 50 additions and 11 deletions

View File

@ -909,20 +909,22 @@
hid;
}
desc { "visible";
color: 255 255 255 200;
color: 255 255 255 180;
vis;
}
}
part { "glow_top"; clip: "top_clip";
desc {
desc { "default";
fixed: 0 1;
min: 16 2;
image.normal: "glow_top.png";
aspect: 330 32;
rel2.relative: 1 0;
rel2.to_y: "elm.swallow.content";
rel2.offset: -3 -1;
rel1.offset: 2 4;
rel1.offset: 0 4;
}
desc { "glow"; inherit: "default";
color: 255 255 255 100;
}
}
program { name: "scr_eval";
@ -943,14 +945,32 @@
}
}
}
program { name: "top_visible";
program { "top_visible";
filter: "top_clip" "default";
script {
run_program(get_program_id("tp_vis"));
run_program(get_program_id("tp_glow"));
}
}
program { "tp_vis";
action: STATE_SET "visible";
target: "top_clip";
transition: LINEAR 0.2;
}
program { "tp_glow";
action: STATE_SET "glow";
target: "glow_top";
transition: SINUSOIDAL 0.7;
sequence {
action: STATE_SET "default";
target: "glow_top";
transition: SINUSOIDAL 0.7;
after: "tp_glow";
}
}
program { name: "top_hidden";
action: STATE_SET "default";
target: "top_clip";
targets: "top_clip" "glow_top";
transition: LINEAR 0.2;
}
program { signal: "elm,action,show,vbar"; source: "elm";
@ -975,7 +995,7 @@
hid;
}
desc { "visible";
color: 255 255 255 200;
color: 255 255 255 180;
vis;
}
}
@ -987,18 +1007,37 @@
aspect: 330 32;
rel1.relative: 0 1;
rel1.to_y: "elm.swallow.content";
rel1.offset: 2 0;
rel2.offset: -3 -1;
}
desc { "glow"; inherit: "default";
color: 255 255 255 100;
}
}
program { name: "bottom_visible";
program { "bottom_visible";
filter: "bottom_clip" "default";
script {
run_program(get_program_id("btm_vis"));
run_program(get_program_id("btm_glow"));
}
}
program { "btm_vis";
action: STATE_SET "visible";
target: "bottom_clip";
transition: LINEAR 0.2;
}
program { "btm_glow";
action: STATE_SET "glow";
target: "glow_bottom";
transition: SINUSOIDAL 0.7;
sequence {
action: STATE_SET "default";
target: "glow_bottom";
transition: SINUSOIDAL 0.7;
after: "btm_glow";
}
}
program { name: "bottom_hidden";
action: STATE_SET "default";
target: "bottom_clip";
targets: "bottom_clip" "glow_bottom";
transition: LINEAR 0.2;
}
swallow { "elm.swallow.content"; mouse;