Add a mouseover effect for the filelist

This commit is contained in:
Jaime Thomas
2008-08-06 03:25:11 +00:00
parent 9833e39485
commit 1b88e0ae57
4 changed files with 79 additions and 8 deletions

View File

@ -26,23 +26,73 @@ group {
}
part {
name: "filelist";
type: SWALLOW;
name: "filelist_container";
type: IMAGE;
description {
state: "default" 0.0;
min: 245 245;
max: 99999 350;
align: 0.0 0.0;
color: 255 255 255 0;
rel1 {
to: "background";
offset: 5 5;
}
rel2 {
offset: -5 -5;
}
image {
normal: "focus.png";
border: 7 7 7 7;
}
}
}
description {
state: "focused" 0.0;
inherit: "default" 0.0;
color: 255 255 255 155;
}
}
part {
name: "filelist";
type: SWALLOW;
description {
state: "default" 0.0;
rel1 {
to: "filelist_container";
offset: 3 3;
}
rel2 {
to: "filelist_container";
offset: -4 -4;
}
}
}
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;
}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 B

View File

@ -1,3 +1,4 @@
images {
image: "background.png" COMP;
image: "focus.png" COMP;
}