extra theme goodness for the startup feedback

SVN revision: 16731
This commit is contained in:
Carsten Haitzler 2005-09-16 07:03:36 +00:00
parent 95d396e643
commit 51c018ee5b
6 changed files with 355 additions and 24 deletions

View File

@ -11,6 +11,10 @@ images {
image: "e17_ibar_arrow_l.png" COMP; image: "e17_ibar_arrow_l.png" COMP;
image: "e17_ibar_arrow_r.png" COMP; image: "e17_ibar_arrow_r.png" COMP;
image: "e17_ibar_arrow_u.png" COMP; image: "e17_ibar_arrow_u.png" COMP;
image: "e17_ibar_lamp_exec_d.png" COMP;
image: "e17_ibar_lamp_exec_l.png" COMP;
image: "e17_ibar_lamp_exec_r.png" COMP;
image: "e17_ibar_lamp_exec_u.png" COMP;
image: "e17_pager_desk.png" COMP; image: "e17_pager_desk.png" COMP;
} }
group { group {
@ -170,6 +174,9 @@ group {
data { data {
// item: "item_list", "item item2 item3"; // item: "item_list", "item item2 item3";
} }
script {
public orient;
}
parts { parts {
part { part {
name: "top"; name: "top";
@ -231,33 +238,353 @@ group {
} }
} }
} }
part {
name: "glow";
mouse_events: 0;
/***/
description {
state: "default" 0.0;
visible: 0;
align: 0.5 1.0;
min: 115 64;
rel1 {
to: "top";
relative: 0.0 1.0;
offset: 0 -6;
}
rel2 {
to: "top";
relative: 1.0 1.0;
offset: -1 -6;
}
image {
normal: "e17_ibar_lamp_exec_d.png";
}
}
description {
state: "default2" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
}
description {
state: "default3" 0.0;
inherit: "default" 0.0;
visible: 1;
min: 230 128;
color: 255 255 255 0;
}
/***/
description {
state: "top" 0.0;
visible: 0;
align: 0.5 0.0;
min: 115 64;
rel1 {
to: "top";
relative: 0.0 0.0;
offset: 0 5;
}
rel2 {
to: "top";
relative: 1.0 0.0;
offset: -1 5;
}
image {
normal: "e17_ibar_lamp_exec_u.png";
}
}
description {
state: "top2" 0.0;
inherit: "top" 0.0;
visible: 1;
color: 255 255 255 255;
}
description {
state: "top3" 0.0;
inherit: "top" 0.0;
visible: 1;
min: 230 128;
color: 255 255 255 0;
}
/***/
description {
state: "left" 0.0;
visible: 0;
align: 0.0 0.5;
min: 64 115;
rel1 {
to: "top";
relative: 0.0 0.0;
offset: 5 0;
}
rel2 {
to: "top";
relative: 0.0 1.0;
offset: 5 -1;
}
image {
normal: "e17_ibar_lamp_exec_l.png";
}
}
description {
state: "left2" 0.0;
inherit: "left" 0.0;
visible: 1;
color: 255 255 255 255;
}
description {
state: "left3" 0.0;
inherit: "left" 0.0;
visible: 1;
min: 128 230;
color: 255 255 255 0;
}
/***/
description {
state: "right" 0.0;
visible: 0;
align: 1.0 0.5;
min: 64 115;
rel1 {
to: "top";
relative: 1.0 0.0;
offset: -6 0;
}
rel2 {
to: "top";
relative: 1.0 1.0;
offset: -5 -1;
}
image {
normal: "e17_ibar_lamp_exec_r.png";
}
}
description {
state: "right2" 0.0;
inherit: "right" 0.0;
visible: 1;
color: 255 255 255 255;
}
description {
state: "right3" 0.0;
inherit: "right" 0.0;
visible: 1;
min: 128 230;
color: 255 255 255 0;
}
}
/* generic signal handler s for exec feedback */
program {
name: "exec_start";
signal: "start";
source: "";
script {
new ori = get_int(orient);
if (ori == 0) run_program(PROGRAM:"ord_exec_start");
else if (ori == 1) run_program(PROGRAM:"oru_exec_start");
else if (ori == 2) run_program(PROGRAM:"orr_exec_start");
else if (ori == 3) run_program(PROGRAM:"orl_exec_start");
}
}
program {
name: "exec_exec";
signal: "exec";
source: "";
script {
new ori = get_int(orient);
if (ori == 0) run_program(PROGRAM:"ord_exec_exec");
else if (ori == 1) run_program(PROGRAM:"oru_exec_exec");
else if (ori == 2) run_program(PROGRAM:"orr_exec_exec");
else if (ori == 3) run_program(PROGRAM:"orl_exec_exec");
}
}
program {
name: "exec_stop";
signal: "stop";
source: "";
script {
new ori = get_int(orient);
stop_programs_on(PART:"glow");
if (ori == 0) set_state(PART:"glow", "default", 0.0);
else if (ori == 1) set_state(PART:"glow", "top", 0.0);
else if (ori == 2) set_state(PART:"glow", "right", 0.0);
else if (ori == 3) set_state(PART:"glow", "left", 0.0);
}
}
/* bottom progs */
program {
name: "ord_exec_start";
action: STATE_SET "default2" 0.0;
transition: DECELERATE 0.1;
target: "glow";
after: "ord_exec_start2";
}
program {
name: "ord_exec_start2";
action: STATE_SET "default3" 0.0;
transition: ACCELERATE 1.0;
target: "glow";
after: "ord_exec_start3";
}
program {
name: "ord_exec_start3";
action: STATE_SET "default" 0.0;
target: "glow";
after: "ord_exec_start";
}
program {
name: "ord_exec_exec";
action: STATE_SET "default2" 0.0;
transition: DECELERATE 0.1;
target: "glow";
after: "ord_exec_exec2";
}
program {
name: "ord_exec_exec2";
action: STATE_SET "default3" 0.0;
transition: ACCELERATE 1.0;
target: "glow";
after: "exec_stop";
}
program {
name: "oru_exec_start";
action: STATE_SET "top2" 0.0;
transition: DECELERATE 0.1;
target: "glow";
after: "oru_exec_start2";
}
program {
name: "oru_exec_start2";
action: STATE_SET "top3" 0.0;
transition: ACCELERATE 1.0;
target: "glow";
after: "oru_exec_start3";
}
program {
name: "oru_exec_start3";
action: STATE_SET "top" 0.0;
target: "glow";
after: "oru_exec_start";
}
program {
name: "oru_exec_exec";
action: STATE_SET "top2" 0.0;
transition: DECELERATE 0.1;
target: "glow";
after: "oru_exec_exec2";
}
program {
name: "oru_exec_exec2";
action: STATE_SET "top3" 0.0;
transition: ACCELERATE 1.0;
target: "glow";
after: "exec_stop";
}
program {
name: "orr_exec_start";
action: STATE_SET "right2" 0.0;
transition: DECELERATE 0.1;
target: "glow";
after: "orr_exec_start2";
}
program {
name: "orr_exec_start2";
action: STATE_SET "right3" 0.0;
transition: ACCELERATE 1.0;
target: "glow";
after: "orr_exec_start3";
}
program {
name: "orr_exec_start3";
action: STATE_SET "right" 0.0;
target: "glow";
after: "orr_exec_start";
}
program {
name: "orr_exec_exec";
action: STATE_SET "right2" 0.0;
transition: DECELERATE 0.1;
target: "glow";
after: "orr_exec_exec2";
}
program {
name: "orr_exec_exec2";
action: STATE_SET "right3" 0.0;
transition: ACCELERATE 1.0;
target: "glow";
after: "exec_stop";
}
program {
name: "orl_exec_start";
action: STATE_SET "left2" 0.0;
transition: DECELERATE 0.1;
target: "glow";
after: "orl_exec_start2";
}
program {
name: "orl_exec_start2";
action: STATE_SET "left3" 0.0;
transition: ACCELERATE 1.0;
target: "glow";
after: "orl_exec_start3";
}
program {
name: "orl_exec_start3";
action: STATE_SET "left" 0.0;
target: "glow";
after: "orl_exec_start";
}
program {
name: "orl_exec_exec";
action: STATE_SET "left2" 0.0;
transition: DECELERATE 0.1;
target: "glow";
after: "orl_exec_exec2";
}
program {
name: "orl_exec_exec2";
action: STATE_SET "left3" 0.0;
transition: ACCELERATE 1.0;
target: "glow";
after: "exec_stop";
}
program { program {
name: "orient"; name: "orient";
signal: "set_orientation"; signal: "set_orientation";
source: "bottom"; source: "*";
action: STATE_SET "default" 0.0; script {
target: "top"; // sig, src
} if (!strcmp(src, "left")) {
program { set_int(orient, 3);
name: "orient2"; set_state(PART:"top", "left", 0.0);
signal: "set_orientation"; set_state(PART:"glow", "left", 0.0);
source: "top"; }
action: STATE_SET "top" 0.0; else if (!strcmp(src, "right")) {
target: "top"; set_int(orient, 2);
} set_state(PART:"top", "right", 0.0);
program { set_state(PART:"glow", "right", 0.0);
name: "orient3"; }
signal: "set_orientation"; else if (!strcmp(src, "top")) {
source: "left"; set_int(orient, 1);
action: STATE_SET "left" 0.0; set_state(PART:"top", "top", 0.0);
target: "top"; set_state(PART:"glow", "top", 0.0);
} }
program { else if (!strcmp(src, "bottom")) {
name: "orient4"; set_int(orient, 0);
signal: "set_orientation"; set_state(PART:"top", "default", 0.0);
source: "right"; set_state(PART:"glow", "default", 0.0);
action: STATE_SET "right" 0.0; }
target: "top"; }
} }
} }
} }

View File

@ -65,6 +65,10 @@ e17_ibar_lamp_d.png \
e17_ibar_lamp_l.png \ e17_ibar_lamp_l.png \
e17_ibar_lamp_r.png \ e17_ibar_lamp_r.png \
e17_ibar_lamp_u.png \ e17_ibar_lamp_u.png \
e17_ibar_lamp_exec_d.png \
e17_ibar_lamp_exec_l.png \
e17_ibar_lamp_exec_r.png \
e17_ibar_lamp_exec_u.png \
e17_ibar_over_h.png \ e17_ibar_over_h.png \
e17_ibar_over_v.png \ e17_ibar_over_v.png \
e17_clock_bg.png \ e17_clock_bg.png \

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB