and now alt tab window is no longer as offensive

SVN revision: 15288
This commit is contained in:
Carsten Haitzler 2005-06-13 09:21:05 +00:00
parent 25024073f2
commit 759636bd4a
3 changed files with 630 additions and 54 deletions

View File

@ -1,6 +1,12 @@
images { images {
image: "e17_menu_bg.png" COMP; image: "e17_menu_bg.png" COMP;
image: "e17_winlist_top.png" COMP;
image: "e17_winlist_bottom.png" COMP;
image: "e17_ibar_bg_h.png" COMP;
image: "e17_ibar_over_v.png" COMP;
image: "e17_gadman_overlay.png" COMP;
} }
group { group {
name: "widgets/winlist/main"; name: "widgets/winlist/main";
parts { parts {
@ -71,6 +77,7 @@ group {
part { part {
name: "list_swallow"; name: "list_swallow";
type: SWALLOW; type: SWALLOW;
clip_to: "list_clip";
description { description {
state: "default" 0.0; state: "default" 0.0;
color: 0 0 0 0; color: 0 0 0 0;
@ -79,52 +86,48 @@ group {
offset: 16 16; offset: 16 16;
} }
rel2 { rel2 {
relative: 1.0 1.0; relative: 1.0 0.0;
offset: -17 -17; offset: -17 -17;
to_y: "icon_swallow";
} }
} }
} }
}
}
group {
name: "widgets/winlist/item";
parts {
part { part {
name: "base"; name: "list_clip";
mouse_events: 0; type: RECT;
type: RECT;
description { description {
state: "default" 0.0; state: "default" 0.0;
color: 255 255 255 255;
rel1 { rel1 {
relative: 0.0 1.0; relative: 0.0 0.0;
offset: 1 0; offset: 0 0;
to_y: "base2"; to_y: "list_swallow";
} }
rel2 { rel2 {
relative: 1.0 1.0; relative: 1.0 1.0;
offset: -2 -2; offset: -1 -1;
to_y: "list_swallow";
} }
color: 221 221 221 255;
} }
} }
part { part {
name: "base2"; name: "top";
mouse_events: 0; mouse_events: 0;
description { description {
state: "default" 0.0; state: "default" 0.0;
max: 99999 48;
align: 0.5 0.0;
rel1 { rel1 {
relative: 0.0 0.0; relative: 0.0 0.0;
offset: 1 1; offset: 1 1;
} }
rel2 { rel2 {
relative: 1.0 1.0; relative: 1.0 0.0;
offset: -2 -2; offset: -2 16;
to_y: "list_swallow";
} }
image { image {
normal: "e17_menu_bg.png"; normal: "e17_winlist_top.png";
border: 0 0 0 20;
middle: 0;
} }
fill { fill {
smooth: 0; smooth: 0;
@ -132,21 +135,94 @@ group {
} }
} }
part { part {
name: "base3"; name: "bottom";
mouse_events: 0; mouse_events: 0;
description { description {
state: "default" 0.0; state: "default" 0.0;
rel1 { rel1 {
relative: 0.0 0.0; relative: 0.0 1.0;
offset: 0 0; offset: 1 -3;
to_y: "list_swallow";
} }
rel2 { rel2 {
relative: 1.0 1.0; relative: 1.0 1.0;
offset: -1 -1; offset: -2 -2;
} }
image { image {
normal: "e17_menu_bg_border.png"; normal: "e17_winlist_bottom.png";
border: 1 1 1 1; border: 0 0 5 0;
middle: 0;
}
fill {
smooth: 0;
}
}
}
part {
name: "title_bg";
description {
state: "default" 0.0;
rel1 {
to: "title_overlay";
}
rel2 {
to: "title_overlay";
}
image {
normal: "e17_ibar_bg_h.png";
border: 6 6 6 6;
}
fill {
smooth: 0;
}
}
}
part {
name: "title_text";
type: TEXT;
effect: SOFT_SHADOW;
mouse_events: 0;
description {
state: "default" 0.0;
align: 0.5 1.0;
rel1 {
relative: 0.0 1.0;
offset: 26 -24;
}
rel2 {
relative: 1.0 1.0;
offset: -27 -24;
}
color: 0 0 0 255;
color3: 0 0 0 22;
text {
text: "Title goes here";
font: "Edje Vera Bold";
size: 10;
min: 0 1;
align: 0.0 0.5;
}
}
}
part {
name: "title_overlay";
mouse_events: 0;
description {
state: "default" 0.0;
align: 0.5 1.0;
rel1 {
relative: 0.0 0.0;
offset: 16 -7;
to_y: "title_text";
}
rel2 {
relative: 1.0 1.0;
offset: -17 6;
to_y: "title_text";
}
image {
normal: "e17_ibar_over_h.png";
border: 13 13 13 13;
middle: 0; middle: 0;
} }
fill { fill {
@ -161,18 +237,243 @@ group {
state: "default" 0.0; state: "default" 0.0;
color: 0 0 0 0; color: 0 0 0 0;
aspect: 1.0 1.0; aspect: 1.0 1.0;
align: 0.0 0.5; align: 0.5 1.0;
min: 32 32;
aspect_preference: VERTICAL; aspect_preference: VERTICAL;
rel1 { rel1 {
relative: 0.0 0.0; relative: 0.0 0.0;
offset: 4 4; offset: 1 -12;
to_y: "title_overlay";
} }
rel2 { rel2 {
relative: 0.0 1.0; relative: 1.0 0.0;
offset: 4 -5; offset: -2 -12;
to_y: "title_overlay";
} }
} }
} }
part {
name: "icon_overlay";
mouse_events: 1;
description {
state: "default" 0.0;
rel1 {
to: "icon_swallow";
relative: 0.0 0.0;
offset: -8 -8;
}
rel2 {
to: "icon_swallow";
relative: 1.0 1.0;
offset: 7 7;
}
image {
normal: "e17_gadman_overlay.png";
border: 15 15 15 15;
}
}
}
}
}
group {
name: "widgets/winlist/item";
parts {
part {
name: "title_outline";
mouse_events: 0;
description {
state: "default" 0.0;
min: 14 14;
visible: 1;
rel1 {
relative: 1.0 0.0;
offset: 1 -1;
to_x: "icon_swallow";
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
image {
normal: "e17_titlebar_outline.png";
border: 8 8 8 8;
middle: 0;
}
fill {
smooth: 0;
}
color: 255 255 255 255;
}
description {
state: "active" 0.0;
inherit: "default" 0.0;
color: 255 255 255 0;
}
}
part {
name: "title_shadow2";
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_shadow2.png";
border: 8 8 8 8;
}
fill {
smooth: 0;
}
color: 255 255 255 0;
}
description {
state: "active" 0.0;
visible: 1;
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_shadow2.png";
border: 8 8 8 8;
}
fill {
smooth: 0;
}
color: 255 255 255 255;
}
}
part {
name: "title_shadow1";
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_shadow1.png";
border: 8 8 8 8;
}
fill {
smooth: 0;
}
color: 255 255 255 0;
}
description {
state: "active" 0.0;
visible: 1;
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_shadow1.png";
border: 8 8 8 8;
}
fill {
smooth: 0;
}
color: 255 255 255 255;
}
}
part {
name: "title_bar";
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.png";
border: 8 8 8 8;
}
color: 255 255 255 0;
}
description {
state: "active" 0.0;
visible: 1;
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.png";
border: 8 8 8 8;
}
color: 255 255 255 255;
}
}
part {
name: "title2";
type: TEXT;
mouse_events: 0;
description {
state: "default" 0.0;
align: 1.0 0.0;
visible: 0;
rel1 {
relative: 0.0 0.0;
offset: 0 6;
}
rel2 {
relative: 0.0 0.0;
offset: 0 6;
}
text {
text_source: "title_text";
source: "title_text";
min: 0 1;
text_class: "title_bar";
}
}
}
part { part {
name: "title_text"; name: "title_text";
type: TEXT; type: TEXT;
@ -180,47 +481,322 @@ group {
mouse_events: 0; mouse_events: 0;
description { description {
state: "default" 0.0; state: "default" 0.0;
color: 0 0 0 128;
color3: 255 255 255 128;
rel1 { rel1 {
relative: 1.0 0.0;
offset: 9 6;
to_x: "icon_swallow"; to_x: "icon_swallow";
relative: 1.0 0.0;
offset: 4 4;
} }
rel2 { rel2 {
relative: 1.0 1.0; relative: 1.0 1.0;
offset: -5 -5; offset: -8 -6;
} }
color: 0 0 0 255;
color3: 255 255 255 128;
text { text {
text: ""; text: "Item Label";
font: "Edje Vera"; font: "Edje Vera";
size: 10; size: 10;
min: 0 1; min: 0 1;
align: 0.0 0.5; align: 0.0 0.5;
text_class: "title_bar"; text_class: "menu_item";
}
}
}
part {
name: "title_glint_clip";
type: RECT;
mouse_events: 0;
description {
state: "default" 0.0;
rel1 {
offset: 3 3;
to: "title_bar";
}
rel2 {
offset: -4 -4;
to: "title_bar";
}
color: 255 255 255 255;
}
}
part {
name: "title_glint_1";
mouse_events: 0;
description {
state: "default" 0.0;
visible: 0;
color: 255 255 255 0;
align: 0.0 0.0;
max: 34 13;
rel1 {
relative: 0.0 0.0;
offset: 2 2;
to: "title_bar";
}
rel2 {
relative: 1.0 1.0;
offset: -3 -3;
to: "title_bar";
}
image {
normal: "e17_titlebar_glint1.png";
border: 5 0 5 0;
}
fill {
smooth: 0;
} }
} }
description { description {
state: "active" 0.0; state: "active" 0.0;
inherit: "default" 0.0; inherit: "default" 0.0;
color: 0 0 0 255; visible: 1;
color: 255 255 255 255;
}
}
part {
name: "title_glint_2";
mouse_events: 0;
clip_to: "title_glint_clip";
description {
state: "default" 0.0;
visible: 0;
color: 255 255 255 0;
align: 1.0 0.5;
max: 0 0;
rel1 {
relative: 0.0 0.0;
offset: 3 3;
to: "title_bar";
}
rel2 {
relative: 0.0 1.0;
offset: 3 -4;
to: "title_bar";
}
image {
normal: "e17_titlebar_glint2.png";
border: 0 0 5 5;
}
fill {
smooth: 0;
}
}
description {
state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
max: 169 9999;
min: 169 8;
align: 0.5 0.5;
rel1 {
relative: 0.0 0.0;
offset: 3 3;
}
rel2 {
relative: 0.0 1.0;
offset: 3 -4;
}
}
description {
state: "active2" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 128;
max: 169 9999;
min: 169 8;
align: 0.5 0.5;
rel1 {
relative: 1.0 0.0;
offset: -4 3;
}
rel2 {
relative: 1.0 1.0;
offset: -4 -4;
}
}
description {
state: "active3" 0.0;
inherit: "default" 0.0;
visible: 0;
color: 255 255 255 0;
max: 169 9999;
min: 169 8;
align: 0.0 0.5;
rel1 {
relative: 1.0 0.0;
offset: -4 3;
}
rel2 {
relative: 1.0 1.0;
offset: -4 -4;
}
}
}
part {
name: "title_glint_3";
mouse_events: 0;
description {
state: "default" 0.0;
visible: 0;
color: 255 255 255 0;
align: 1.0 1.0;
max: 34 13;
rel1 {
relative: 0.0 0.0;
offset: 2 2;
to: "title_bar";
}
rel2 {
relative: 1.0 1.0;
offset: -3 -3;
to: "title_bar";
}
image {
normal: "e17_titlebar_glint3.png";
border: 0 5 0 5;
}
fill {
smooth: 0;
}
}
description {
state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
}
}
part {
name: "icon_swallow";
type: SWALLOW;
description {
state: "default" 0.0;
color: 0 0 0 0;
aspect: 1.0 1.0;
align: 0.0 0.5;
aspect_preference: VERTICAL;
rel1 {
relative: 0.0 0.0;
offset: 1 1;
}
rel2 {
relative: 0.0 1.0;
offset: 1 4;
to_y: "title2";
}
} }
} }
} }
programs { programs {
program { program {
name: "go_active"; name: "go_active_pre";
signal: "active"; signal: "active";
source: ""; source: "";
action: STATE_SET "active" 0.0; action: STATE_SET "default" 0.0;
target: "title_text"; target: "title_outline";
target: "title_bar";
target: "title_shadow1";
target: "title_shadow2";
after: "go_active";
} }
program { program {
name: "go_passive"; name: "go_active";
signal: "passive"; action: STATE_SET "active" 0.0;
source: ""; target: "title_outline";
action: STATE_SET "default" 0.0; target: "title_bar";
target: "title_text"; transition: LINEAR 0.05;
after: "go_active2";
}
program {
name: "go_active2";
action: STATE_SET "active" 0.0;
target: "title_shadow1";
transition: LINEAR 0.05;
after: "go_active3";
after: "go_active3b";
}
program {
name: "go_active3";
action: STATE_SET "active" 0.0;
target: "title_shadow2";
transition: LINEAR 0.05;
}
program {
name: "go_active3b";
action: STATE_SET "active" 0.0;
target: "title_glint_1";
target: "title_glint_2";
transition: LINEAR 0.05;
after: "go_active4";
after: "go_active4b";
}
program {
name: "go_active4";
action: STATE_SET "active2" 0.0;
target: "title_glint_2";
transition: LINEAR 0.2;
after: "go_active5";
after: "go_active5b";
}
program {
name: "go_active4b";
action: STATE_SET "active" 0.0;
target: "title_glint_3";
transition: LINEAR 0.2;
}
program {
name: "go_active5";
action: STATE_SET "active3" 0.0;
target: "title_glint_2";
transition: LINEAR 0.05;
}
program {
name: "go_active5b";
action: STATE_SET "default" 0.0;
target: "title_glint_3";
transition: LINEAR 0.1;
after: "go_active6";
}
program {
name: "go_active6";
action: STATE_SET "default" 0.0;
target: "title_glint_1";
target: "title_glint_2";
target: "title_glint_3";
}
program {
name: "go_passive_pre";
signal: "passive";
source: "";
action: STATE_SET "active" 0.0;
target: "title_outline";
target: "title_bar";
target: "title_shadow1";
target: "title_shadow2";
after: "go_passive";
}
program {
name: "go_passive";
action: STATE_SET "default" 0.0;
target: "title_shadow2";
transition: LINEAR 0.1;
after: "go_passive2";
}
program {
name: "go_passive2";
action: STATE_SET "default" 0.0;
target: "title_shadow1";
transition: LINEAR 0.1;
after: "go_passive3";
}
program {
name: "go_passive3";
action: STATE_SET "default" 0.0;
target: "title_outline";
target: "title_bar";
transition: LINEAR 0.1;
} }
} }
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 463 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB