express/data/themes/default.edc

1659 lines
51 KiB
Plaintext

#ifndef NO_COLORS
color_classes
{
# include "default_colors.in.edc"
# define BG_COL 32 32 32 255
}
#endif
collections
{
group
{
name: "express/base";
parts
{
part
{
name: "base.content";
type: SWALLOW;
description
{
state: "default" 0.0;
}
}
part
{
name: "dismiss";
type: SWALLOW;
description
{
state: "default" 0.0;
}
}
part
{
name: "options";
type: SWALLOW;
scale: 1;
description
{
state: "default" 0.0;
fixed: 1 1;
min: 10 10;
align: 0.0 0.5;
visible: 0;
rel1
{
relative: 1.0 0.5;
offset: 8 8;
}
rel2
{
relative: 1.0 0.5;
offset: 8 -9;
}
}
description
{
state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
align: 1.0 0.5;
rel1
{
relative: 1.0 0.5;
offset: -9 8;
}
rel2.offset: -9 -9;
}
}
}
programs
{
program
{
signal: "options,show";
source: "express";
action: STATE_SET "visible" 0.0;
transition: DECELERATE 0.3;
target: "options";
}
program
{
signal: "options,hide";
source: "express";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "options";
}
}
}
group
{
name: "express/channel";
parts
{
part
{
name: "fade";
type: RECT;
description
{
state: "default" 0.0;
}
description
{
state: "translucent" 0.0;
inherit: "default" 0.0;
color: 255 255 255 128;
}
}
part
{
name: "channel.background";
type: SWALLOW;
clip_to: "fade";
description
{
state: "default" 0.0;
}
}
part
{
name: "channel.content";
type: SWALLOW;
description
{
state: "default" 0.0;
rel1.offset: 1 1;
rel2.offset: -2 -2;
}
}
}
programs
{
program
{
signal: "translucent,on";
source: "express";
action: STATE_SET "translucent" 0.0;
target: "fade";
}
program
{
signal: "translucent,off";
source: "express";
action: STATE_SET "default" 0.0;
target: "fade";
}
}
}
group
{
name: "express/background";
images
{
image: "bg_bevel.png" COMP;
image: "bg_shine.png" COMP;
image: "bg_glint.png" COMP;
image: "bg_glow_in.png" COMP;
image: "bg_led_glow.png" COMP;
image: "bg_led_base.png" COMP;
image: "bg_led.png" COMP;
image: "bg_led_strobe.png" COMP;
image: "pm_shadow.png" COMP;
image: "pm_overlay.png" COMP;
image: "pm_fill.png" COMP;
image: "cr_glow.png" COMP;
}
set
{
name: "bg_shadow";
image
{
image: "bg_shadow.png" COMP;
size: 0 0 200 150;
}
image
{
image: "bg_shadow2.png" COMP;
size: 200 150 400 300;
}
image
{
image: "bg_shadow3.png" COMP;
size: 400 300 99999 99999;
}
}
sounds
{
sample
{
name: "bell" LOSSY 64;
source: "bell.wav";
}
}
parts
{
part
{
name: "shadow";
type: IMAGE;
mouse_events: 0;
description
{
state: "default" 0.0;
image.normal: "bg_shadow";
fill.smooth: 0;
visible: 0;
}
description
{
state: "translucent" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part
{
name: "base";
type: RECT;
mouse_events: 1;
description
{
state: "default" 0.0;
color: BG_COL;
}
description
{
state: "translucent" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part
{
name: "background.content";
type: SWALLOW;
description
{
state: "default" 0.0;
}
}
part
{
name: "chlcount_clip";
type: RECT;
description
{
state: "default" 0.0;
color: 255 255 255 0;
visible: 0;
}
description
{
state: "on" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
visible: 1;
}
}
part
{
name: "chlmissed.label";
type: TEXT;
mouse_events: 0;
effect: GLOW;
scale: 1;
clip_to: "chlcount_clip";
description
{
state: "default" 0.0;
rel1
{
offset: -4 0;
to: "chlcount.label";
}
rel2
{
relative: 0.0 1.0;
offset: -5 -1;
to: "chlcount.label";
}
color: 255 153 51 64;
color2: 255 51 0 18;
color3: 255 0 0 8;
align: 1.0 0.5;
text
{
font: "Sans";
size: 8;
align: 1.0 0.5;
min: 1 1;
}
}
description
{
state: "over" 0.0;
inherit: "default" 0.0;
color: 255 255 64 255;
color2: 255 153 51 128;
color3: 255 0 0 20;
}
}
part
{
name: "chlcount.label";
type: TEXT;
mouse_events: 0;
effect: GLOW;
scale: 1;
clip_to: "chlcount_clip";
description
{
state: "default" 0.0;
rel1
{
relative: -0.2 0.0;
to: "chlcount.control";
}
rel2
{
relative: -0.2 1.0;
to: "chlcount.control";
}
color: 51 153 255 64;
color2: 51 153 255 18;
color3: 51 153 255 8;
align: 1.0 0.5;
text
{
font: "Sans";
size: 8;
align: 1.0 0.5;
min: 1 1;
}
}
description
{
state: "over" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
color2: 51 153 255 128;
color3: 51 153 255 20;
}
}
part
{
name: "chlcount_glow_r0";
type: IMAGE;
clip_to: "chlcount_clip";
description
{
state: "default" 0.0;
rel1
{
offset: -4 -4;
to: "chlcount_r0";
}
rel2
{
offset: 3 3;
to: "chlcount_r0";
}
image
{
normal: "cr_glow.png";
border: 9 9 9 9;
}
color: 51 153 255 32;
}
description
{
state: "over" 0.0;
inherit: "default" 0.0;
color: 51 153 255 255;
}
}
part
{
name: "chlcount_glow_r1";
type: IMAGE;
clip_to: "chlcount_clip";
description
{
state: "default" 0.0;
rel1
{
offset: -4 -4;
to: "chlcount_r1";
}
rel2
{
offset: 3 3;
to: "chlcount_r1";
}
image
{
normal: "cr_glow.png";
border: 9 9 9 9;
}
color: 51 153 255 32;
}
description
{
state: "over" 0.0;
inherit: "default" 0.0;
color: 51 153 255 255;
}
}
part
{
name: "chlcount_glow_r2";
type: IMAGE;
clip_to: "chlcount_clip";
description
{
state: "default" 0.0;
rel1
{
offset: -4 -4;
to: "chlcount_r2";
}
rel2
{
offset: 3 3;
to: "chlcount_r2";
}
image
{
normal: "cr_glow.png";
border: 9 9 9 9;
}
color: 51 153 255 32;
}
description
{
state: "over" 0.0;
inherit: "default" 0.0;
color: 51 153 255 255;
}
}
part
{
name: "chlcount_glow_r3";
type: IMAGE;
clip_to: "chlcount_clip";
description
{
state: "default" 0.0;
rel1
{
offset: -4 -4;
to: "chlcount_r3";
}
rel2
{
offset: 3 3;
to: "chlcount_r3";
}
image
{
normal: "cr_glow.png";
border: 9 9 9 9;
}
color: 51 153 255 32;
}
description
{
state: "over" 0.0;
inherit: "default" 0.0;
color: 51 153 255 255;
}
}
part
{
name: "chlcount_r0";
type: RECT;
clip_to: "chlcount_clip";
description
{
state: "default" 0.0;
rel1
{
relative: 0.05 0.05;
to: "chlcount.control";
}
rel2
{
relative: 0.45 0.45;
to: "chlcount.control";
}
color: 255 255 255 32;
}
description
{
state: "over" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part
{
name: "chlcount_r1";
type: RECT;
clip_to: "chlcount_clip";
description
{
state: "default" 0.0;
rel1
{
relative: 0.55 0.05;
to: "chlcount.control";
}
rel2
{
relative: 0.95 0.45;
to: "chlcount.control";
}
color: 255 255 255 32;
}
description
{
state: "over" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part
{
name: "chlcount_r2";
type: RECT;
clip_to: "chlcount_clip";
description
{
state: "default" 0.0;
rel1
{
relative: 0.05 0.55;
to: "chlcount.control";
}
rel2
{
relative: 0.45 0.95;
to: "chlcount.control";
}
color: 255 255 255 32;
}
description
{
state: "over" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part
{
name: "chlcount_r3";
type: RECT;
clip_to: "chlcount_clip";
description
{
state: "default" 0.0;
rel1
{
relative: 0.55 0.55;
to: "chlcount.control";
}
rel2
{
relative: 0.95 0.95;
to: "chlcount.control";
}
color: 255 255 255 32;
}
description
{
state: "over" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part
{
name: "chlcount.control";
type: SWALLOW;
clip_to: "chlcount_clip";
description
{
state: "default" 0.0;
rel1
{
relative: 1.0 0.0;
offset: -3 2;
}
rel2
{
relative: 1.0 0.0;
offset: -3 2;
}
align: 1.0 0.0;
min: 16 16;
}
}
part
{
name: "chlcount_ev";
type: RECT;
repeat_events: 1;
clip_to: "chlcount_clip";
description
{
state: "default" 0.0;
rel1.to: "chlcount.control";
rel2.to: "chlcount.control";
color: 0 0 0 0;
}
}
part
{
name: "glow";
type: IMAGE;
mouse_events: 0;
description
{
state: "default" 0.0;
image
{
normal: "bg_glow_in.png";
border: 7 7 7 7;
middle: 0;
}
fill.smooth: 0;
color: 51 153 255 0;
}
description
{
state: "focused" 0.0;
inherit: "default" 0.0;
color: 51 153 255 255;
}
description
{
state: "focused2" 0.0;
inherit: "default" 0.0;
color: 51 153 255 64;
}
}
part
{
name: "bevel";
type: IMAGE;
mouse_events: 0;
description
{
state: "default" 0.0;
image
{
normal: "bg_bevel.png";
border: 3 3 5 3;
middle: 0;
}
fill.smooth: 0;
}
}
part
{
name: "glint_clip";
type: RECT;
description
{
state: "default" 0.0;
}
}
part
{
name: "glint";
type: IMAGE;
mouse_events: 0;
clip_to: "glint_clip";
description
{
state: "default" 0.0;
fixed: 1 1;
min: 79 5;
max: 79 5;
rel2
{
relative: 1.0 0.0;
offset: -1 0;
}
image.normal: "bg_glint.png";
color: 255 255 255 128;
}
description
{
state: "focused" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part
{
name: "shine";
type: IMAGE;
mouse_events: 0;
description
{
state: "default" 0.0;
image.normal: "bg_shine.png";
fill.smooth: 0;
align: 0.5 0.0;
aspect: (255 / 120) (255 / 120);
aspect_preference: HORIZONTAL;
color: 255 255 255 64;
}
description
{
state: "focused" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
/* TODO: bell */
}
programs
{
program
{
signal: "translucent,on";
source: "express";
action: STATE_SET "translucent" 0.0;
target: "base";
target: "shadow";
}
program
{
signal: "translucent,off";
source: "express";
action: STATE_SET "default" 0.0;
target: "base";
target: "shadow";
}
program
{
signal: "mouse,in";
source: "chlcount_ev";
action: STATE_SET "over" 0.0;
transition: DECELERATE 0.5;
target: "chlcount_r0";
target: "chlcount_r1";
target: "chlcount_r2";
target: "chlcount_r3";
target: "chlcount_glow_r0";
target: "chlcount_glow_r1";
target: "chlcount_glow_r2";
target: "chlcount_glow_r3";
target: "chlcount.label";
target: "chlmissed.label";
}
program
{
signal: "mouse,out";
source: "chlcount_ev";
action: STATE_SET "default" 0.0;
transition: DECELERATE 2.0;
target: "chlcount_r0";
target: "chlcount_r1";
target: "chlcount_r2";
target: "chlcount_r3";
target: "chlcount_glow_r0";
target: "chlcount_glow_r1";
target: "chlcount_glow_r2";
target: "chlcount_glow_r3";
target: "chlcount.label";
target: "chlmissed.label";
}
program
{
signal: "mouse,clicked,1";
source: "chlcount_ev";
action: SIGNAL_EMIT "chlcount,go" "express";
}
program
{
signal: "mouse,wheel,0,-1";
source: "chlcount_ev";
action: SIGNAL_EMIT "chlcount,prev" "express";
}
program
{
signal: "mouse,wheel,0,1";
source: "chlcount_ev";
action: SIGNAL_EMIT "chlcount,next" "express";
}
program
{
signal: "chlcount,off";
source: "express";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "chlcount_clip";
}
program
{
signal: "chlcount,on";
source: "express";
action: STATE_SET "on" 0.0;
transition: DECELERATE 0.5;
target: "chlcount_clip";
}
program
{
signal: "chlmissed,off";
source: "express";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "chlmissed.label";
}
program
{
signal: "chlmissed,on";
source: "express";
action: STATE_SET "over" 0.0;
transition: DECELERATE 0.5;
target: "chlmissed.label";
after: "chlmissed2";
}
program
{
name: "chlmissed2";
signal: "chlmissed,on";
source: "express";
action: STATE_SET "default" 0.0;
transition: DECELERATE 3.0;
target: "chlmissed.label";
}
program
{
signal: "focus,in";
source: "express";
action: STATE_SET "focused" 0.0;
target: "glint";
target: "glow";
target: "shine";
after: "focus_in2";
}
program
{
name: "focus_in2";
action: STATE_SET "focused2" 0.0;
transition: DECELERATE 0.5;
target: "glow";
}
program
{
signal: "focus,out";
source: "express";
action: STATE_SET "default" 0.0;
target: "glint";
target: "glow";
target: "shine";
}
}
}
group
{
name: "express/cursor";
images
{
image: "cr_key.png" COMP;
image: "cr_out.png" COMP;
image: "cr_pulse.png" COMP;
image: "cr_glow.png" COMP;
}
sounds
{
sample
{
name: "key-tap1" LOSSY 64;
source: "kbd-tap.wav";
}
sample
{
name: "key-tap2" LOSSY 64;
source: "kbd-tap2.wav";
}
sample
{
name: "key-tap3" LOSSY 64;
source: "kbd-tap3.wav";
}
sample
{
name: "key-tap4" LOSSY 64;
source: "kbd-tap4.wav";
}
sample
{
name: "key-tap5" LOSSY 64;
source: "kbd-tap5.wav";
}
}
parts
{
part
{
name: "key";
type: IMAGE;
mouse_events: 0;
description
{
state: "default" 0.0;
rel1
{
offset: -5 -5;
to: "outline";
}
rel2
{
offset: 4 4;
to: "outline";
}
image
{
normal: "cr_key.png";
border: 4 4 4 4;
}
color: 51 153 255 0;
}
description
{
state: "on" 0.0;
inherit: "default" 0.0;
color: 51 153 255 255;
}
description
{
state: "out" 0.0;
inherit: "default" 0.0;
rel1.offset: -7 -15;
rel2.offset: 6 14;
}
}
part
{
name: "pulse";
type: IMAGE;
mouse_events: 0;
description
{
state: "default" 0.0;
rel1
{
offset: -4 -4;
to: "outline";
}
rel2
{
offset: 3 3;
to: "outline";
}
image
{
normal: "cr_pulse.png";
border: 4 4 4 4;
}
color: 51 153 255 0;
}
description
{
state: "on" 0.0;
inherit: "default" 0.0;
color: 51 153 255 255;
}
description
{
state: "out" 0.0;
inherit: "default" 0.0;
rel1.offset: -8 -8;
rel2.offset: 7 7;
}
}
part
{
name: "glow";
type: IMAGE;
mouse_events: 0;
description
{
state: "default" 0.0;
rel1.offset: -4 -4;
rel2.offset: 3 3;
image
{
normal: "cr_glow.png";
border: 9 9 9 9;
}
color: 51 153 255 40;
}
description
{
state: "focused" 0.0;
inherit: "default" 0.0;
color: 51 153 255 255;
}
}
part
{
name: "outline";
type: IMAGE;
mouse_events: 0;
description
{
state: "default" 0.0;
image
{
normal: "cr_out.png";
border: 3 3 3 3;
}
color: 51 153 255 80;
}
description
{
state: "focused" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
}
programs
{
program
{
name: "focus_in";
signal: "focus,in";
source: "express";
action: STATE_SET "focused" 0.0;
target: "glow";
target: "outline";
after: "focus2";
after: "pulse";
}
program
{
name: "focus2";
in: 0.5 0.0;
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.2;
target: "glow";
target: "outline";
after: "focus3";
}
program
{
name: "focus3";
in: 0.5 0.0;
action: STATE_SET "focused" 0.0;
target: "glow";
target: "outline";
after: "focus2";
after: "pulse";
}
program
{
name: "pulse";
action: STATE_SET "on" 0.0;
target: "pulse";
after: "pulse2";
}
program
{
name: "pulse2";
action: STATE_SET "out" 0.0;
transition: DECELERATE 0.4;
target: "pulse";
}
program
{
signal: "focus,out";
source: "express";
action: ACTION_STOP;
target: "focus_in";
target: "focus2";
target: "focus3";
target: "pulse";
target: "pulse2";
after: "focus_out2";
}
program
{
name: "focus_out2";
action: STATE_SET "default" 0.0;
target: "glow";
target: "outline";
}
program
{
signal: "key,down";
source: "express";
script
{
#if (EFL_VERSION_MAJOR > 1) || (EFL_VERSION_MINOR >= 8)
new buf[32];
snprintf(buf, 31, "key-down%i", (rand() % 5) + 1);
run_program(get_program_id(buf));
#else
run_program(PROGRAM:"key-down4");
#endif
}
}
program
{
name: "key-down1";
action: PLAY_SAMPLE "key-tap1" 1.0;
}
program
{
name: "key-down2";
action: PLAY_SAMPLE "key-tap2" 1.0;
}
program
{
name: "key-down3";
action: PLAY_SAMPLE "key-tap3" 1.0;
}
program
{
name: "key-down4";
action: PLAY_SAMPLE "key-tap4" 1.0;
}
program
{
name: "key-down5";
action: PLAY_SAMPLE "key-tap5" 1.0;
}
program
{
signal: "key,down";
source: "express";
action: STATE_SET "default" 0.0;
target: "key";
after: "key2";
}
program
{
name: "key2";
action: STATE_SET "on" 0.0;
target: "key";
after: "key3";
}
program
{
name: "key3";
action: STATE_SET "out" 0.0;
transition: DECELERATE 0.3;
target: "key";
}
}
}
group
{
name: "express/selector/background";
images
{
image: "pm_overlay.png" COMP;
image: "pm_fill.png" COMP;
image: "inset_shadow.png" COMP;
}
set
{
name: "bg_shadow";
image
{
image: "bg_shadow.png" COMP;
size: 0 0 200 150;
}
image
{
image: "bg_shadow2.png" COMP;
size: 200 150 400 300;
}
image
{
image: "bg_shadow3.png" COMP;
size: 400 300 99999 99999;
}
}
parts
{
part
{
name: "shadow";
type: IMAGE;
mouse_events: 0;
description
{
state: "default" 0.0;
image.normal: "bg_shadow";
fill.smooth: 0;
}
}
part
{
name: "fill";
type: IMAGE;
mouse_events: 0;
description
{
state: "default" 0.0;
image.normal: "pm_fill.png";
fill
{
size
{
relative: 0.0 0.0;
offset: 64 64;
}
}
}
description
{
state: "translucent" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part
{
name: "clip";
type: RECT;
description
{
state: "default" 0.0;
}
}
part
{
name: "content";
type: SWALLOW;
clip_to: "clip";
description
{
state: "default" 0.0;
}
}
part
{
name: "overlay";
type: IMAGE;
mouse_events: 0;
description
{
state: "default" 0.0;
image.normal: "pm_overlay.png";
fill.smooth: 0;
color: 255 255 255 0;
}
description
{
state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part
{
name: "overlay_shadow";
type: IMAGE;
mouse_events: 0;
description
{
state: "default" 0.0;
image
{
normal: "inset_shadow.png";
border: 5 5 7 3;
middle: 0;
}
fill.smooth: 0;
color: 255 255 255 0;
}
description
{
state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
}
programs
{
program
{
signal: "translucent,on";
source: "express";
action: STATE_SET "translucent" 0.0;
target: "fill";
}
program
{
signal: "translucent,off";
source: "express";
action: STATE_SET "default" 0.0;
target: "fill";
}
program
{
signal: "begin";
source: "express";
action: STATE_SET "visible" 0.0;
transition: DECELERATE 0.3;
target: "overlay";
target: "overlay_shadow";
}
program
{
signal: "end";
source: "express";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.3 CURRENT;
target: "overlay";
target: "overlay_shadow";
}
}
}
group
{
name: "express/selector/entry";
images
{
image: "bg_bevel.png" COMP;
image: "bg_shine.png" COMP;
image: "bg_glint.png" COMP;
image: "bg_led_glow.png" COMP;
image: "bg_led_base.png" COMP;
image: "bg_led.png" COMP;
image: "bg_led_strobe.png" COMP;
image: "pm_shadow.png" COMP;
image: "cr_glow.png" COMP;
}
parts
{
part
{
name: "clip";
type: RECT;
description
{
state: "default" 0.0;
rel1.to: "content";
rel2.to: "content";
color: 128 128 128 255;
}
description
{
state: "selected" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part
{
name: "shadow";
type: IMAGE;
mouse_events: 0;
description
{
state: "default" 0.0;
image
{
normal: "pm_shadow.png";
border: 64 64 64 64;
border_scale_by: 0.1;
}
fill.smooth: 0;
fixed: 1 1;
rel1
{
offset: -5 -5;
to: "content";
}
rel2
{
offset: 4 4;
to: "content";
}
color: 255 255 255 128;
}
description
{
state: "selected" 0.0;
inherit: "default" 0.0;
rel1.offset: -40 -40;
rel2.offset: 39 39;
image.border_scale_by: 1.0;
color: 255 255 255 255;
}
}
part
{
name: "glow";
type: IMAGE;
mouse_events: 0;
description
{
state: "default" 0.0;
rel1
{
offset: -4 -4;
to: "content";
}
rel2
{
offset: 3 3;
to: "content";
}
image
{
normal: "cr_glow.png";
border: 9 9 9 9;
}
color: 51 153 255 0;
}
description
{
state: "selected" 0.0;
inherit: "default" 0.0;
color: 51 153 255 255;
}
}
part
{
name: "base";
type: RECT;
clip_to: "clip";
description
{
state: "default" 0.0;
rel1.to: "content";
rel2.to: "content";
color: 32 32 32 255;
}
}
part
{
name: "content";
type: SWALLOW;
clip_to: "clip";
description
{
state: "default" 0.0;
rel1.relative: 0.1 0.1;
rel2.relative: 0.9 0.9;
}
description
{
state: "selected" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
}
}
part
{
name: "overlay";
type: IMAGE;
mouse_events: 0;
description
{
state: "default" 0.0;
rel1.to: "content";
rel2.to: "content";
fixed: 1 1;
image.normal: "pm_overlay.png";
fill.smooth: 0;
}
}
part
{
name: "bevel";
type: IMAGE;
mouse_events: 0;
description
{
state: "default" 0.0;
rel1.to: "content";
rel2.to: "content";
fixed: 1 1;
image
{
normal: "bg_bevel.png";
border: 3 3 5 3;
middle: 0;
}
fill.smooth: 0;
}
}
part
{
name: "label";
type: TEXT;
mouse_events: 0;
effect: GLOW;
scale: 1;
description
{
state: "default" 0.0;
rel1.to: "content";
rel2.to: "content";
color: 51 153 255 255;
color2: 51 153 255 24;
color3: 51 153 255 18;
align: 0.5 1.0;
text
{
font: "Sans";
size: 10;
align: 0.5 1.0;
min: 0 1;
}
}
description
{
state: "selected" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
color2: 51 153 255 128;
color3: 51 153 255 20;
}
}
part
{
name: "clip2";
type: RECT;
description
{
state: "default" 0.0;
rel1.to: "content";
rel2.to: "content";
}
}
part
{
name: "glint";
type: IMAGE;
mouse_events: 0;
clip_to: "clip2";
description
{
state: "default" 0.0;
fixed: 1 1;
min: 79 5;
max: 79 5;
rel1.to: "content";
rel2
{
relative: 1.0 0.0;
offset: -1 0;
to: "content";
}
image.normal: "bg_glint.png";
}
}
part
{
name: "shine";
type: IMAGE;
mouse_events: 0;
clip_to: "clip2";
description
{
state: "default" 0.0;
fixed: 1 1;
rel1.to: "content";
rel2.to: "content";
image.normal: "bg_shine.png";
fill.smooth: 0;
align: 0.5 0.0;
aspect: (255 / 120) (255 / 120);
aspect_preference: HORIZONTAL;
}
}
/* TODO: Bell */
}
programs
{
program
{
signal: "selected";
source: "express";
action: STATE_SET "selected" 0.0;
transition: DECELERATE 0.2 CURRENT;
target: "content";
target: "label";
target: "shadow";
target: "clip";
target: "glow";
}
program
{
signal: "unselected";
source: "express";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.4 CURRENT;
target: "content";
target: "label";
target: "shadow";
target: "clip";
target: "glow";
}
program
{
signal: "selected,start";
source: "express";
action: STATE_SET "selected" 0.0;
target: "content";
target: "label";
target: "shadow";
target: "clip";
target: "glow";
}
}
}
#define ICON(grp, img) \
group \
{ \
name: "elm/icon/"##grp##"/default"; \
min: 10 10; \
max: 80 80; \
images.image: img COMP; \
parts \
{ \
part \
{ \
name: "base"; \
type: IMAGE; \
description \
{ \
state: "default" 0.0; \
aspect: 1.0 1.0; \
aspect_preference: BOTH; \
image.normal: img; \
} \
} \
} \
}
ICON("settings", "icon_settings.png");
#undef ICON
}