2005-10-10 05:16:18 -07:00
|
|
|
images {
|
2005-10-16 00:32:12 -07:00
|
|
|
image: "e17_menu_radio0.png" COMP;
|
2005-10-10 05:16:18 -07:00
|
|
|
image: "e17_menu_radio1.png" COMP;
|
|
|
|
image: "e17_menu_radio2.png" COMP;
|
2005-10-12 09:02:33 -07:00
|
|
|
image: "focus.png" COMP;
|
2005-10-10 05:16:18 -07:00
|
|
|
}
|
|
|
|
group {
|
2006-08-22 20:39:02 -07:00
|
|
|
name: "e/widgets/radio";
|
2005-10-10 05:16:18 -07:00
|
|
|
parts {
|
|
|
|
part {
|
|
|
|
name: "outline";
|
|
|
|
mouse_events: 0;
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
min: 16 16;
|
|
|
|
max: 16 16;
|
|
|
|
align: 0.0 0.5;
|
|
|
|
fixed: 1 1;
|
|
|
|
rel1 {
|
|
|
|
relative: 0.0 0.0;
|
2005-10-13 18:10:50 -07:00
|
|
|
offset: 2 2;
|
2005-10-10 05:16:18 -07:00
|
|
|
}
|
|
|
|
rel2 {
|
2005-10-10 08:27:51 -07:00
|
|
|
relative: 0.0 1.0;
|
2005-10-13 18:10:50 -07:00
|
|
|
offset: 2 -3;
|
2005-10-10 05:16:18 -07:00
|
|
|
}
|
|
|
|
image {
|
|
|
|
normal: "e17_menu_radio1.png";
|
|
|
|
}
|
|
|
|
}
|
2005-10-16 00:32:12 -07:00
|
|
|
description {
|
|
|
|
state: "disabled" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
image {
|
2006-03-02 22:26:32 -08:00
|
|
|
normal: "e17_menu_radio0.png";
|
2005-10-16 00:32:12 -07:00
|
|
|
}
|
|
|
|
}
|
2005-10-10 05:16:18 -07:00
|
|
|
}
|
|
|
|
part {
|
|
|
|
name: "item1";
|
|
|
|
mouse_events: 0;
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
rel1 {
|
|
|
|
to: "outline";
|
|
|
|
relative: 0.0 0.0;
|
|
|
|
offset: 0 0;
|
|
|
|
}
|
|
|
|
rel2 {
|
|
|
|
to: "outline";
|
|
|
|
relative: 1.0 1.0;
|
|
|
|
offset: -1 -1;
|
|
|
|
}
|
|
|
|
image {
|
|
|
|
normal: "e17_menu_radio2.png";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
description {
|
|
|
|
state: "active" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part {
|
2006-08-22 00:39:11 -07:00
|
|
|
name: "e.text.label";
|
2005-10-10 05:16:18 -07:00
|
|
|
type: TEXT;
|
|
|
|
effect: SHADOW;
|
|
|
|
mouse_events: 0;
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
2005-10-10 08:27:51 -07:00
|
|
|
min: 16 16;
|
2005-10-10 05:16:18 -07:00
|
|
|
rel1 {
|
|
|
|
to_x: "outline";
|
|
|
|
relative: 1.0 0.0;
|
2005-10-13 18:10:50 -07:00
|
|
|
offset: 2 2;
|
2005-10-10 05:16:18 -07:00
|
|
|
}
|
|
|
|
rel2 {
|
|
|
|
relative: 1.0 1.0;
|
2005-10-16 05:24:30 -07:00
|
|
|
offset: -2 -2;
|
2005-10-10 05:16:18 -07:00
|
|
|
}
|
|
|
|
color: 0 0 0 255;
|
|
|
|
color3: 255 255 255 128;
|
2006-10-05 19:25:57 -07:00
|
|
|
color_class: "radio_text";
|
2005-10-10 05:16:18 -07:00
|
|
|
text {
|
|
|
|
text: "Radio Button";
|
|
|
|
font: "Edje-Vera";
|
|
|
|
size: 10;
|
|
|
|
min: 1 1;
|
|
|
|
align: 0.0 0.5;
|
2006-03-19 04:24:19 -08:00
|
|
|
text_class: "radio_button";
|
2005-10-10 05:16:18 -07:00
|
|
|
}
|
|
|
|
}
|
2005-10-16 00:32:12 -07:00
|
|
|
description {
|
|
|
|
state: "disabled" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 0 0 0 128;
|
|
|
|
color3: 255 255 255 64;
|
2006-10-05 19:25:57 -07:00
|
|
|
color_class: "radio_text_disabled";
|
2005-10-16 00:32:12 -07:00
|
|
|
}
|
2005-10-10 05:16:18 -07:00
|
|
|
}
|
|
|
|
part {
|
|
|
|
name: "event";
|
|
|
|
type: RECT;
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
2005-10-16 00:32:12 -07:00
|
|
|
description {
|
|
|
|
state: "disabled" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
2005-10-10 05:16:18 -07:00
|
|
|
}
|
2005-10-12 09:02:33 -07:00
|
|
|
part {
|
|
|
|
name: "focus";
|
|
|
|
mouse_events: 0;
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
color: 255 255 255 0;
|
|
|
|
image {
|
|
|
|
normal: "focus.png";
|
|
|
|
border: 7 7 7 7;
|
|
|
|
middle: 0;
|
|
|
|
}
|
|
|
|
fill {
|
|
|
|
smooth: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
description {
|
|
|
|
state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
}
|
|
|
|
}
|
2005-10-10 05:16:18 -07:00
|
|
|
}
|
|
|
|
programs {
|
|
|
|
program {
|
|
|
|
name: "turn_on1";
|
2006-08-22 00:39:11 -07:00
|
|
|
signal: "e,state,on";
|
|
|
|
source: "e";
|
2005-10-10 05:16:18 -07:00
|
|
|
action: STATE_SET "active" 0.0;
|
|
|
|
target: "item1";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
name: "turn_off1";
|
2006-08-22 00:39:11 -07:00
|
|
|
signal: "e,state,off";
|
|
|
|
source: "e";
|
2005-10-10 05:16:18 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "item1";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
name: "click";
|
|
|
|
signal: "mouse,down,1";
|
|
|
|
source: "event";
|
2006-08-22 00:39:11 -07:00
|
|
|
action: SIGNAL_EMIT "e,action,toggle" "";
|
2005-10-10 05:16:18 -07:00
|
|
|
}
|
2005-10-12 09:02:33 -07:00
|
|
|
program {
|
|
|
|
name: "focus_in";
|
2006-08-22 00:39:11 -07:00
|
|
|
signal: "e,state,focused";
|
|
|
|
source: "e";
|
2005-10-12 09:02:33 -07:00
|
|
|
action: STATE_SET "focused" 0.0;
|
|
|
|
transition: DECELERATE 0.2;
|
|
|
|
target: "focus";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
name: "focus_out";
|
2006-08-22 00:39:11 -07:00
|
|
|
signal: "e,state,unfocused";
|
|
|
|
source: "e";
|
2005-10-12 09:02:33 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: ACCELERATE 0.5;
|
|
|
|
target: "focus";
|
|
|
|
}
|
2005-10-16 00:32:12 -07:00
|
|
|
program {
|
|
|
|
name: "disable";
|
2006-08-22 00:39:11 -07:00
|
|
|
signal: "e,state,disabled";
|
|
|
|
source: "e";
|
2005-10-16 00:32:12 -07:00
|
|
|
action: STATE_SET "disabled" 0.0;
|
|
|
|
target: "outline";
|
|
|
|
target: "event";
|
2006-08-22 00:39:11 -07:00
|
|
|
target: "e.text.label";
|
2005-10-16 00:32:12 -07:00
|
|
|
}
|
|
|
|
program {
|
|
|
|
name: "enable";
|
2006-08-22 00:39:11 -07:00
|
|
|
signal: "e,state,enabled";
|
|
|
|
source: "e";
|
2005-10-16 00:32:12 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "outline";
|
|
|
|
target: "event";
|
2006-08-22 00:39:11 -07:00
|
|
|
target: "e.text.label";
|
2005-10-16 00:32:12 -07:00
|
|
|
}
|
2005-10-10 05:16:18 -07:00
|
|
|
}
|
|
|
|
}
|
2006-05-21 04:00:04 -07:00
|
|
|
|
|
|
|
group {
|
2006-08-22 20:39:02 -07:00
|
|
|
name: "e/widgets/radio_icon";
|
2006-05-21 04:00:04 -07:00
|
|
|
parts {
|
|
|
|
part {
|
|
|
|
name: "outline";
|
|
|
|
mouse_events: 0;
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
min: 16 16;
|
|
|
|
max: 16 16;
|
|
|
|
align: 0.0 0.5;
|
|
|
|
fixed: 1 1;
|
|
|
|
rel1 {
|
|
|
|
relative: 0.0 0.0;
|
|
|
|
offset: 2 2;
|
|
|
|
}
|
|
|
|
rel2 {
|
|
|
|
relative: 0.0 1.0;
|
|
|
|
offset: 2 -3;
|
|
|
|
}
|
|
|
|
image {
|
|
|
|
normal: "e17_menu_radio1.png";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
description {
|
|
|
|
state: "disabled" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
image {
|
|
|
|
normal: "e17_menu_radio0.png";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part {
|
|
|
|
name: "item1";
|
|
|
|
mouse_events: 0;
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
rel1 {
|
|
|
|
to: "outline";
|
|
|
|
relative: 0.0 0.0;
|
|
|
|
offset: 0 0;
|
|
|
|
}
|
|
|
|
rel2 {
|
|
|
|
to: "outline";
|
|
|
|
relative: 1.0 1.0;
|
|
|
|
offset: -1 -1;
|
|
|
|
}
|
|
|
|
image {
|
|
|
|
normal: "e17_menu_radio2.png";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
description {
|
|
|
|
state: "active" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part {
|
2006-08-22 00:39:11 -07:00
|
|
|
name: "e.swallow.icon";
|
2006-05-21 04:00:04 -07:00
|
|
|
type: SWALLOW;
|
|
|
|
mouse_events: 0;
|
|
|
|
clip_to: "icon_clip";
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
min: 16 16;
|
|
|
|
rel1 {
|
|
|
|
to_x: "outline";
|
|
|
|
relative: 1.0 0.0;
|
|
|
|
offset: 2 2;
|
|
|
|
}
|
2006-05-21 08:10:20 -07:00
|
|
|
rel2 {
|
|
|
|
relative: 1.0 1.0;
|
|
|
|
offset: -2 -2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
description {
|
|
|
|
state: "label_visible" 0.0;
|
|
|
|
min: 16 16;
|
|
|
|
rel1 {
|
|
|
|
to_x: "outline";
|
|
|
|
relative: 1.0 0.0;
|
|
|
|
offset: 2 2;
|
|
|
|
}
|
2006-05-21 04:00:04 -07:00
|
|
|
rel2 {
|
2006-08-22 00:39:11 -07:00
|
|
|
to_y: "e.text.label";
|
2006-05-21 04:00:04 -07:00
|
|
|
relative: 1.0 0.0;
|
|
|
|
offset: -2 -2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part {
|
|
|
|
name: "icon_clip";
|
|
|
|
type: RECT;
|
|
|
|
mouse_events: 0;
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
min: 16 16;
|
|
|
|
rel1 {
|
2006-08-22 00:39:11 -07:00
|
|
|
to: "e.swallow.icon";
|
2006-05-21 04:00:04 -07:00
|
|
|
}
|
|
|
|
rel2 {
|
2006-08-22 00:39:11 -07:00
|
|
|
to: "e.swallow.icon";
|
2006-05-21 04:00:04 -07:00
|
|
|
}
|
|
|
|
color: 255 255 255 255;
|
|
|
|
}
|
|
|
|
description {
|
|
|
|
state: "disabled" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 255 255 255 128;
|
|
|
|
}
|
|
|
|
}
|
2006-05-21 08:10:20 -07:00
|
|
|
part {
|
|
|
|
name: "label_clip";
|
|
|
|
type: RECT;
|
|
|
|
mouse_events: 0;
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description {
|
|
|
|
state: "label_visible" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
2006-05-21 04:00:04 -07:00
|
|
|
part {
|
2006-08-22 00:39:11 -07:00
|
|
|
name: "e.text.label";
|
2006-05-21 04:00:04 -07:00
|
|
|
type: TEXT;
|
|
|
|
effect: SHADOW;
|
|
|
|
mouse_events: 0;
|
2006-05-21 08:10:20 -07:00
|
|
|
clip_to: "label_clip";
|
2006-05-21 04:00:04 -07:00
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
min: 16 16;
|
|
|
|
rel1 {
|
|
|
|
to_x: "outline";
|
|
|
|
relative: 1.0 1.0;
|
|
|
|
offset: 2 -2;
|
|
|
|
}
|
|
|
|
rel2 {
|
|
|
|
relative: 1.0 1.0;
|
|
|
|
offset: -2 -2;
|
|
|
|
}
|
|
|
|
color: 0 0 0 255;
|
|
|
|
color3: 255 255 255 128;
|
2006-10-05 19:25:57 -07:00
|
|
|
color_class: "radio_text";
|
2006-05-21 04:00:04 -07:00
|
|
|
text {
|
2006-05-21 08:10:20 -07:00
|
|
|
text: "";
|
2006-05-21 04:00:04 -07:00
|
|
|
font: "Edje-Vera";
|
|
|
|
size: 10;
|
|
|
|
min: 1 1;
|
|
|
|
align: 0.5 0.5;
|
|
|
|
text_class: "radio_button";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
description {
|
|
|
|
state: "disabled" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 0 0 0 128;
|
|
|
|
color3: 255 255 255 64;
|
2006-10-05 19:25:57 -07:00
|
|
|
color_class: "radio_text_disabled";
|
2006-05-21 04:00:04 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part {
|
|
|
|
name: "event";
|
|
|
|
type: RECT;
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
description {
|
|
|
|
state: "disabled" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part {
|
|
|
|
name: "focus";
|
|
|
|
mouse_events: 0;
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
color: 255 255 255 0;
|
|
|
|
image {
|
|
|
|
normal: "focus.png";
|
|
|
|
border: 7 7 7 7;
|
|
|
|
middle: 0;
|
|
|
|
}
|
|
|
|
fill {
|
|
|
|
smooth: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
description {
|
|
|
|
state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
programs {
|
2006-05-21 08:10:20 -07:00
|
|
|
program {
|
|
|
|
name: "label_on";
|
2006-08-22 00:39:11 -07:00
|
|
|
signal: "e,state,labeled";
|
|
|
|
source: "e";
|
2006-05-21 08:10:20 -07:00
|
|
|
action: STATE_SET "label_visible" 0.0;
|
2006-08-22 00:39:11 -07:00
|
|
|
target: "e.swallow.icon";
|
2006-05-21 08:10:20 -07:00
|
|
|
target: "label_clip";
|
|
|
|
}
|
2006-05-21 04:00:04 -07:00
|
|
|
program {
|
|
|
|
name: "turn_on1";
|
2006-08-22 00:39:11 -07:00
|
|
|
signal: "e,state,on";
|
|
|
|
source: "e";
|
2006-05-21 04:00:04 -07:00
|
|
|
action: STATE_SET "active" 0.0;
|
|
|
|
target: "item1";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
name: "turn_off1";
|
2006-08-22 00:39:11 -07:00
|
|
|
signal: "e,state,off";
|
|
|
|
source: "e";
|
2006-05-21 04:00:04 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "item1";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
name: "click";
|
|
|
|
signal: "mouse,down,1";
|
|
|
|
source: "event";
|
2006-08-22 00:39:11 -07:00
|
|
|
action: SIGNAL_EMIT "e,action,toggle" "";
|
2006-05-21 04:00:04 -07:00
|
|
|
}
|
|
|
|
program {
|
|
|
|
name: "focus_in";
|
2006-08-22 00:39:11 -07:00
|
|
|
signal: "e,state,focused";
|
|
|
|
source: "e";
|
2006-05-21 04:00:04 -07:00
|
|
|
action: STATE_SET "focused" 0.0;
|
|
|
|
transition: DECELERATE 0.2;
|
|
|
|
target: "focus";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
name: "focus_out";
|
2006-08-22 00:39:11 -07:00
|
|
|
signal: "e,state,unfocused";
|
|
|
|
source: "e";
|
2006-05-21 04:00:04 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: ACCELERATE 0.5;
|
|
|
|
target: "focus";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
name: "disable";
|
2006-08-22 00:39:11 -07:00
|
|
|
signal: "e,state,disabled";
|
|
|
|
source: "e";
|
2006-05-21 04:00:04 -07:00
|
|
|
action: STATE_SET "disabled" 0.0;
|
|
|
|
target: "outline";
|
|
|
|
target: "event";
|
2006-08-22 00:39:11 -07:00
|
|
|
target: "e.text.label";
|
2006-05-21 04:00:04 -07:00
|
|
|
target: "icon_clip";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
name: "enable";
|
2006-08-22 00:39:11 -07:00
|
|
|
signal: "e,state,enabled";
|
|
|
|
source: "e";
|
2006-05-21 04:00:04 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "outline";
|
|
|
|
target: "event";
|
2006-08-22 00:39:11 -07:00
|
|
|
target: "e.text.label";
|
2006-05-21 04:00:04 -07:00
|
|
|
target: "icon_clip";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|