1 group { name: "e/widgets/radio";
2 images.image: "inset_shadow_circle_tiny.png" COMP;
3 images.image: "inset_circle_tiny.png" COMP;
4 images.image: "sym_radio_alum.png" COMP;
6 part { name: "inset"; mouse_events: 0;
7 description { state: "default" 0.0;
9 rel2.relative: 0.0 1.0;
11 image.normal: "inset_shadow_circle_tiny.png";
17 description { state: "disabled" 0.0;
18 inherit: "default" 0.0;
19 image.normal: "inset_circle_tiny.png";
22 part { name: "clip"; type: RECT;
23 description { state: "default" 0.0;
25 description { state: "disabled" 0.0;
26 inherit: "default" 0.0;
27 color: 255 255 255 64;
30 part { name: "indicator"; mouse_events: 0;
32 description { state: "default" 0.0;
35 image.normal: "sym_radio_alum.png";
40 description { state: "selected" 0.0;
41 inherit: "default" 0.0;
45 part { name: "e.text.label"; type: TEXT;
46 effect: SHADOW BOTTOM;
48 description { state: "default" 0.0;
51 rel1.relative: 1.0 0.0;
53 color_class: "radio_text";
54 color3: 255 255 255 255;
55 text { font: FN; size: 10;
59 text_class: "radio_button";
62 description { state: "disabled" 0.0;
63 inherit: "default" 0.0;
64 color_class: "radio_text_disabled";
65 color3: 255 255 255 255;
68 part { name: "event"; type: RECT;
69 ignore_flags: ON_HOLD;
70 description { state: "default" 0.0;
73 description { state: "disabled" 0.0;
74 inherit: "default" 0.0;
81 signal: "e,state,on"; source: "e";
82 action: STATE_SET "selected" 0.0;
86 signal: "e,state,off"; source: "e";
87 action: STATE_SET "default" 0.0;
91 signal: "mouse,up,1"; source: "event";
92 action: SIGNAL_EMIT "e,action,toggle" "";
95 signal: "e,state,disabled"; source: "e";
96 action: STATE_SET "disabled" 0.0;
99 target: "e.text.label";
103 signal: "e,state,enabled"; source: "e";
104 action: STATE_SET "default" 0.0;
107 target: "e.text.label";
113 group { name: "e/widgets/radio_icon";
114 inherit: "e/widgets/radio";
116 part { name: "e.swallow.icon"; type: SWALLOW;
117 insert_before: "event";
119 description { state: "default" 0.0;
121 rel1.relative: 1.0 0.0;
124 rel2.relative: 1.0 1.0;
127 aspect: 1.0 1.0; aspect_preference: VERTICAL;
130 part { name: "e.text.label";
131 description { state: "default" 0.0;
132 rel1.to_x: "e.swallow.icon";
134 description { state: "disabled" 0.0;
135 inherit: "default" 0.0;
136 color: FN_COL_DISABLE;