The filelist fades in and out now very nicely

This commit is contained in:
Jaime Thomas
2008-09-22 15:02:49 +00:00
parent 5d67e28cb0
commit 6ce8e91cbf
4 changed files with 148 additions and 13 deletions

View File

@ -96,6 +96,15 @@ group {
source: "b1";
}
program {
name: "b1_clicked";
signal: "mouse,up,1";
signal: "mouse,clicked,1";
action: SIGNAL_EMIT "clicked" "b1";
source: "b1";
}
program {
name: "b2_selected";
signal: "mouse,down,1";
@ -103,6 +112,14 @@ group {
source: "b2";
}
program {
name: "b2_clicked";
signal: "mouse,up,1";
signal: "mouse,clicked,1";
action: SIGNAL_EMIT "clicked" "b2";
source: "b2";
}
program {
name: "b3_selected";
signal: "mouse,down,1";
@ -110,11 +127,27 @@ group {
source: "b3";
}
program {
name: "b3_clicked";
signal: "mouse,up,1";
signal: "mouse,clicked,1";
action: SIGNAL_EMIT "clicked" "b3";
source: "b3";
}
program {
name: "b4_selected";
signal: "mouse,down,1";
action: SIGNAL_EMIT "selected" "b4";
source: "b4";
}
program {
name: "b4_clicked";
signal: "mouse,up,1";
signal: "mouse,clicked,1";
action: SIGNAL_EMIT "clicked" "b4";
source: "b4";
}
}
}

View File

@ -39,6 +39,21 @@ group {
max: 99999 99999;
min: 99999 0;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 0.0 0.0;
offset: 0 0;
}
}
description {
state: "visible" 0.0;
inherit: "default" 0.0;
rel1 {
relative: 0.0 0.0;
offset: 0 145;
@ -91,6 +106,7 @@ group {
state: "default" 0.0;
min: 42 5;
max: 42 5;
color: 255 255 255 255;
rel1 {
to_y: "paned_draggie";
@ -111,14 +127,37 @@ group {
}
part {
name: "filelist_container";
type: IMAGE;
name: "filelist_clip";
type: RECT;
description {
state: "default" 0.0;
visible: 0;
rel1 {
offset: 5 5;
}
rel2 {
to_y: "paned_draggie";
offset: -6 -12;
}
}
description {
state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part {
name: "filelist_container";
type: IMAGE;
clip_to: "filelist_clip";
description {
state: "default" 0.0;
min: 0 130;
max: 99999 99999;
align: 0.0 0.0;
color: 255 255 255 0;
rel1 {
@ -146,6 +185,7 @@ group {
part {
name: "filelist";
type: SWALLOW;
clip_to: "filelist_clip";
description {
state: "default" 0.0;
@ -165,6 +205,7 @@ group {
part {
name: "filelist_overlay";
type: IMAGE;
clip_to: "filelist_clip";
mouse_events: 1;
repeat_events: 1;
@ -197,6 +238,7 @@ group {
name: "filelist_overlay_text";
type: TEXT;
effect: NONE;
clip_to: "filelist_clip";
mouse_events: 1;
repeat_events: 1;
@ -256,6 +298,38 @@ group {
}
programs {
program {
name: "filelist,visible";
signal: "ecdb,filelist,visible";
source: "ecdb";
after: "filelist,visible_swallow";
action: STATE_SET "visible" 0.0;
target: "paned_container";
transition: DECELERATE 0.5;
}
program {
name: "filelist,visible_swallow";
action: STATE_SET "visible" 0.0;
target: "filelist_clip";
}
program {
name: "filelist,hide";
signal: "ecdb,filelist,hide";
source: "ecdb";
action: STATE_SET "default" 0.0;
target: "paned_container";
transition: DECELERATE 0.5;
}
program {
name: "filelist,hide_swallow";
after: "filelist,hide";
action: STATE_SET "default" 0.0;
target: "filelist_clip";
}
program {
name: "filelist,focus,in";
signal: "ecdb,filelist,in";