tizen 2.4 release
[framework/uifw/elementary.git] / data / themes / edc / radio.edc
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;
5    parts {
6       part { name: "inset"; mouse_events: 0;
7          description { state: "default" 0.0;
8             rel1.offset: 2 2;
9             rel2.relative: 0.0 1.0;
10             rel2.offset: 2 -3;
11             image.normal: "inset_shadow_circle_tiny.png";
12             align: 0.0 0.5;
13             min: 13 13;
14             max: 13 13;
15             fixed: 1 1;
16          }
17          description { state: "disabled" 0.0;
18             inherit: "default" 0.0;
19             image.normal: "inset_circle_tiny.png";
20          }
21       }
22       part { name: "clip"; type: RECT;
23          description { state: "default" 0.0;
24          }
25          description { state: "disabled" 0.0;
26             inherit: "default" 0.0;
27             color: 255 255 255 64;
28          }
29       }
30       part { name: "indicator"; mouse_events: 0;
31          clip_to: "clip";
32          description { state: "default" 0.0;
33             rel1.to: "inset";
34             rel2.to: "inset";
35             image.normal: "sym_radio_alum.png";
36             min: 11 11;
37             max: 11 11;
38             visible: 0;
39          }
40          description { state: "selected" 0.0;
41             inherit: "default" 0.0;
42             visible: 1;
43          }
44       }
45       part { name: "e.text.label"; type: TEXT;
46          effect: SHADOW BOTTOM;
47          scale: 1;
48          description { state: "default" 0.0;
49             rel1.offset: 2 2;
50             rel1.to_x: "inset";
51             rel1.relative: 1.0 0.0;
52             rel2.offset: -3 -3;
53             color_class: "radio_text";
54             color3: 255 255 255 255;
55             text { font: FN; size: 10;
56                min: 1 1;
57                ellipsis: -1;
58                align: 0.0 0.5;
59                text_class: "radio_button";
60             }
61          }
62          description { state: "disabled" 0.0;
63             inherit: "default" 0.0;
64             color_class: "radio_text_disabled";
65             color3: 255 255 255 255;
66          }
67       }
68       part { name: "event"; type: RECT;
69          ignore_flags: ON_HOLD;
70          description { state: "default" 0.0;
71             color: 0 0 0 0;
72          }
73          description { state: "disabled" 0.0;
74             inherit: "default" 0.0;
75             visible: 0;
76          }
77       }
78    }
79    programs {
80       program {
81          signal: "e,state,on"; source: "e";
82          action: STATE_SET "selected" 0.0;
83          target: "indicator";
84       }
85       program {
86          signal: "e,state,off"; source: "e";
87          action: STATE_SET "default" 0.0;
88          target: "indicator";
89       }
90       program {
91          signal: "mouse,up,1"; source: "event";
92          action: SIGNAL_EMIT "e,action,toggle" "";
93       }
94       program {
95          signal: "e,state,disabled"; source: "e";
96          action: STATE_SET "disabled" 0.0;
97          target: "inset";
98          target: "clip";
99          target: "e.text.label";
100          target: "event";
101       }
102       program {
103          signal: "e,state,enabled"; source: "e";
104          action: STATE_SET "default" 0.0;
105          target: "inset";
106          target: "clip";
107          target: "e.text.label";
108          target: "event";
109       }
110    }
111 }
112
113 group { name: "e/widgets/radio_icon";
114    inherit: "e/widgets/radio";
115    parts {
116       part { name: "e.swallow.icon"; type: SWALLOW;
117          insert_before: "event";
118          clip_to: "clip";
119          description { state: "default" 0.0;
120             rel1.offset: 2 2;
121             rel1.relative: 1.0 0.0; 
122             rel1.to_x: "inset";
123             rel2.offset: 2 -3;
124             rel2.relative: 1.0 1.0;
125             rel1.to_x: "inset";
126             align: 0.0 0.5;
127             aspect: 1.0 1.0; aspect_preference: VERTICAL;
128          }
129       }
130       part { name: "e.text.label";
131          description { state: "default" 0.0;
132             rel1.to_x: "e.swallow.icon";
133          }
134          description { state: "disabled" 0.0;
135             inherit: "default" 0.0;
136             color: FN_COL_DISABLE;
137          }
138       }
139    }
140 }