Make the typebuf work nicely

This commit is contained in:
Jaime Thomas
2008-08-07 04:09:47 +00:00
parent 7c662dae4d
commit d334031953
4 changed files with 221 additions and 23 deletions

View File

@ -4,6 +4,7 @@ group {
part {
name: "background";
mouse_events: 0;
description {
state: "default" 0.0;
min: 255 255;
@ -28,6 +29,7 @@ group {
part {
name: "filelist_container";
type: IMAGE;
description {
state: "default" 0.0;
min: 245 245;
@ -55,11 +57,11 @@ group {
color: 255 255 255 155;
}
}
part {
name: "filelist";
type: SWALLOW;
description {
state: "default" 0.0;
@ -74,25 +76,114 @@ group {
}
}
}
part {
name: "filelist_overlay";
type: IMAGE;
mouse_events: 1;
repeat_events: 1;
programs {
program {
name: "filelist,focus,in";
signal: "ecdb,filelist,in";
source: "ecdb";
action: STATE_SET "focused" 0.0;
target: "filelist_container";
transition: LINEAR 0.5;
description {
state: "default" 0.0;
color: 255 255 255 0;
rel1 {
to: "filelist";
}
rel2 {
to: "filelist";
}
image {
normal: "text_overlay.png";
border: 7 7 7 7;
}
}
program {
name: "filelist,focus,out";
signal: "ecdb,filelist,out";
source: "ecdb";
action: STATE_SET "default" 0.0;
target: "filelist_container";
transition: LINEAR 0.5;
description {
state: "active" 0.0;
inherit: "default" 0.0;
color: 255 255 255 100;
}
}
part {
name: "filelist_overlay_text";
type: TEXT;
effect: NONE;
mouse_events: 1;
repeat_events: 1;
description {
state: "default" 0.0;
align: 0.5 0.5;
color: 255 255 255 0;
rel1 {
to: "filelist_overlay";
relative: 0.0 0.0;
}
rel2 {
to: "filelist_overlay";
relative: 1.0 1.0;
}
text {
text: "";
font: "ecdb/default";
size: 24;
min: 1 1;
align: 0.5 0.5;
}
}
description {
state: "active" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
}
programs {
program {
name: "filelist,focus,in";
signal: "ecdb,filelist,in";
source: "ecdb";
action: STATE_SET "focused" 0.0;
target: "filelist_container";
transition: LINEAR 0.5;
}
program {
name: "filelist,focus,out";
signal: "ecdb,filelist,out";
source: "ecdb";
action: STATE_SET "default" 0.0;
target: "filelist_container";
transition: LINEAR 0.5;
}
program {
name: "filelist_overlay,activate";
action: STATE_SET "active" 0.0;
signal: "ecdb,filelist_overlay,activate";
source: "ecdb";
target: "filelist_overlay";
target: "filelist_overlay_text";
transition: DECELERATE 0.5;
}
program {
name: "filelist_overlay,deactivate";
action: STATE_SET "default" 0.0;
signal: "ecdb,filelist_overlay,deactivate";
source: "ecdb";
target: "filelist_overlay";
target: "filelist_overlay_text";
transition: DECELERATE 0.5;
}
}
}