From 4ae9d2d5bd441cb603faff627fdfc3f5ade52890 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Wed, 22 Jun 2005 07:24:26 +0000 Subject: [PATCH] border resp0onds to hung/unhung signals - pulsating red glow on the titlebar SVN revision: 15484 --- data/themes/default_border.edc | 55 +++++++++++++++++++++++ data/themes/images/Makefile.am | 1 + data/themes/images/e17_titlebar_hung.png | Bin 0 -> 1211 bytes 3 files changed, 56 insertions(+) create mode 100644 data/themes/images/e17_titlebar_hung.png diff --git a/data/themes/default_border.edc b/data/themes/default_border.edc index b37e1044c..02bd890e4 100644 --- a/data/themes/default_border.edc +++ b/data/themes/default_border.edc @@ -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"; + } } } diff --git a/data/themes/images/Makefile.am b/data/themes/images/Makefile.am index e25771fe5..446ae7c87 100644 --- a/data/themes/images/Makefile.am +++ b/data/themes/images/Makefile.am @@ -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 \ diff --git a/data/themes/images/e17_titlebar_hung.png b/data/themes/images/e17_titlebar_hung.png new file mode 100644 index 0000000000000000000000000000000000000000..806acf0f2b230507152585deffcd5dc5a0e0626f GIT binary patch literal 1211 zcmV;s1VsCZP)V$Tlh&oms;Fki@YUuFScp59#X*7PLFnq<`?!M@B`fwZvMAjUZ`ohdqmL<>U6PnG2CP}<*6w&E)`qv0p zDgfAtqUY;I;};W#uSBo+D@LOM`h5pPKvglAt&o=bK?Ep8U;NEKT^Xcl0j(<#8LOzJMv+56N`)YB(d&tuH9ru> z?4znK@~S%KIKEULvdr~;zaw3Dz@1JX{r<)r7Z(*yPiLGY=g@ivUSoP<9e5u6H4%eI`$}mm zrKOJeN@)=3Zxx?x3yH<@t*y(0PnZeJGOsFWWwO*V#i}X^W_eTg{UL)008KEr{ng61 zQd(-6Vy#v_nA-rF4|zc)X^Pg?*1a5zgitJHS17exO1a0|+kodSkmt6{Yk8!(lHgC( z*E?liq0}ywYKK4 zJT9~bJn!>Cq3`=b$`{mbA5sv+90V>Lhwga+fYL(fin(-+S#nX7UGC6&Hr&Nt`(t?$e8;sv Z{{dcnODO8yAvpj5002ovPDHLkV1jmkD|!F` literal 0 HcmV?d00001