Add a mouseover effect for the filelist
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
BIN
experimental/ecdb/trunk/data/themes/default/images/focus.png
Normal file
BIN
experimental/ecdb/trunk/data/themes/default/images/focus.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 243 B |
@ -1,3 +1,4 @@
|
||||
images {
|
||||
image: "background.png" COMP;
|
||||
image: "focus.png" COMP;
|
||||
}
|
||||
|
Reference in New Issue
Block a user