border resp0onds to hung/unhung signals - pulsating red glow on the titlebar

SVN revision: 15484
This commit is contained in:
Carsten Haitzler 2005-06-22 07:24:26 +00:00
parent f4c0118007
commit 4ae9d2d5bd
3 changed files with 56 additions and 0 deletions

View File

@ -215,6 +215,7 @@ images {
image: "e17_border7.png" COMP;
image: "e17_titlebar_outline.png" COMP;
image: "e17_titlebar.png" COMP;
image: "e17_titlebar_hung.png" COMP;
image: "e17_titlebar_shadow1.png" COMP;
image: "e17_titlebar_shadow2.png" COMP;
image: "e17_titlebar_glint1.png" COMP;
@ -942,6 +943,35 @@ group {
color: 255 255 255 255;
}
}
part {
name: "title_hung";
mouse_events: 0;
description {
state: "default" 0.0;
visible: 0;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
to: "title_outline";
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
to: "title_outline";
}
image {
normal: "e17_titlebar_hung.png";
border: 10 10 10 10;
}
color: 255 255 255 0;
}
description {
state: "hung" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
}
}
part {
name: "icon_swallow";
type: SWALLOW;
@ -1601,6 +1631,31 @@ group {
action: STATE_SET "default" 0.0;
target: "b5";
}
program {
name: "go_hung";
signal: "hung";
source: "";
action: STATE_SET "hung" 0.0;
target: "title_hung";
transition: DECELERATE 0.5;
after: "go_hung2";
}
program {
name: "go_hung2";
action: STATE_SET "default" 0.0;
target: "title_hung";
transition: SINUSOIDAL 1.0;
after: "go_hung";
}
program {
name: "go_unhung";
signal: "unhung";
source: "";
action: ACTION_STOP;
target: "go_hung";
target: "go_hung2";
}
}
}

View File

@ -29,6 +29,7 @@ e17_mini_button.png \
e17_mini_button_shadow1.png \
e17_mini_button_shadow2.png \
e17_titlebar.png \
e17_titlebar_hung.png \
e17_titlebar_glint1.png \
e17_titlebar_glint2.png \
e17_titlebar_glint3.png \

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB