and theme stuff for glint...

SVN revision: 12511
This commit is contained in:
Carsten Haitzler 2004-12-19 13:40:37 +00:00
parent 778b5aa20a
commit cbcd7cf4e6
1 changed files with 401 additions and 0 deletions

View File

@ -45,6 +45,9 @@ images {
image: "e17_titlebar.png" COMP;
image: "e17_titlebar_shadow1.png" COMP;
image: "e17_titlebar_shadow2.png" COMP;
image: "e17_titlebar_glint1.png" COMP;
image: "e17_titlebar_glint2.png" COMP;
image: "e17_titlebar_glint3.png" COMP;
image: "e17_button_detail_close.png" COMP;
image: "e17_button_detail_maximize.png" COMP;
image: "e17_button_detail_minimize.png" COMP;
@ -688,6 +691,157 @@ collections {
}
}
}
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;
}
}
description {
state: "active" 0.0;
inherit: "default" 0.0;
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: 169 9999;
min: 169 8;
rel1 {
relative: 0.0 0.0;
offset: 3 3;
to: "title_bar";
}
rel2 {
relative: 1.0 1.0;
offset: -4 -4;
to: "title_bar";
}
image {
normal: "e17_titlebar_glint2.png";
border: 0 0 5 5;
}
}
description {
state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
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;
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;
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;
}
}
description {
state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
}
}
part {
name: "button_0_shadow2";
mouse_events: 0;
@ -1319,6 +1473,14 @@ collections {
}
}
programs {
/*
program {
name: "TESTIES";
signal: "show";
source: "";
action: SIGNAL_EMIT "active" "";
}
*/
program {
name: "move_window1";
signal: "mouse,down,1";
@ -1471,6 +1633,7 @@ collections {
target: "title_shadow1";
transition: LINEAR 0.05;
after: "go_active3";
after: "go_active3b";
}
program {
name: "go_active3";
@ -1478,6 +1641,49 @@ collections {
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";
@ -2230,6 +2436,157 @@ collections {
}
}
}
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;
}
}
description {
state: "active" 0.0;
inherit: "default" 0.0;
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: 169 9999;
min: 169 8;
rel1 {
relative: 0.0 0.0;
offset: 3 3;
to: "title_bar";
}
rel2 {
relative: 1.0 1.0;
offset: -4 -4;
to: "title_bar";
}
image {
normal: "e17_titlebar_glint2.png";
border: 0 0 5 5;
}
}
description {
state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
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;
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;
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;
}
}
description {
state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
}
}
}
programs {
program {
@ -2257,6 +2614,7 @@ collections {
target: "title_shadow1";
transition: LINEAR 0.05;
after: "go_active3";
after: "go_active3b";
}
program {
name: "go_active3";
@ -2264,6 +2622,49 @@ collections {
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";