Tizen 2.1 base
[apps/native/ug-wifi-direct.git] / ug-wifidirect / resources / wfd_ug.edc
1 collections {
2         group {
3                 name: "progress_popup";
4                 parts {
5                         part {
6                                 name: "base";
7                                 type: RECT;
8                                 description {
9                                         state: "default" 0.0;
10                                         min: 426 270;
11                                         fixed: 1 1;
12                                         rel1 { relative: 0 0; /*offset: 0 0;*/ }
13                                         rel2 { relative: 1 1; /*offset: -1 -1;*/ }
14                                         color: 0 0 0 0;
15                                 }
16                         }
17
18                         part {
19                                 name: "popup_pb";
20                                 type: SWALLOW;
21                                 description {
22                                         state: "default" 0.0;
23                                         min: 118 100;
24                                         max: 118 100;
25                                         rel1 { relative: 0.0 0.0; }
26                                         rel2 { relative: 0.2 1.0;  }
27                                 }
28                         }
29                         part {
30                                 name: "popup_progress_text";
31                                 type: SWALLOW;
32                                 description {
33                                         state: "default" 0.0;
34                                         rel1 { relative: 0.2 0.1; to: "base";}
35                                         rel2 { relative: 1.0 0.9; to: "base";}
36                                 }
37                         }
38                 }
39         }
40
41     group { name: "elm/genlist/item/variable_height/default/default";
42         alias: "elm/genlist/item_odd/variable_height/default/default";
43
44         data.item: "stacking" "above";
45         data.item: "selectraise" "on";
46         data.item: "texts" "elm.text";
47         data.item: "contents" "elm.icon";
48         data.item: "treesize" "20";
49         images {
50             image: "00_list_bar_press_1x80.png" COMP;
51         }
52         parts {
53             part { name: "base";
54                 type: RECT;
55                     repeat_events: 1;
56                 scale: 1;
57                 description { state: "default" 0.0;
58                     min: 0 0;
59                         color: 0 0 0 0;
60                 }
61             }
62
63          part { name: "bg_image";
64             clip_to: "disclip";
65             mouse_events: 0;
66             description { state: "default" 0.0;
67                visible: 0;
68                image.normal: "00_list_bar_press_1x80.png";
69             }
70             description { state: "selected" 0.0;
71                inherit: "default" 0.0;
72                visible: 1;
73             }
74          }
75
76          part { name: "bottom_line"; 
77             type: RECT;
78             clip_to: "disclip";
79             mouse_events: 0;
80             description { state: "default" 0.0;
81                min: 0 1;
82                fixed: 0 1;
83                visible: 1;
84                color: 212 212 212 255;
85                rel1 {
86                   relative: 0.0 1.0;
87                   offset: 0 -1;
88                }
89             }
90          }
91
92          part { name: "elm.padding.left";
93             type: RECT;
94             scale: 1;
95             description {
96                state: "default" 0.0;
97                min: 15 0;
98                fixed: 1 0;
99                visible: 0;
100                rel2.relative: 0.0 1.0;
101                align: 0.0 0.0;
102             }
103          }
104
105        part { name: "elm.padding.right";
106             type: RECT;
107             scale: 1;
108             description { state: "default" 0.0;
109                min: 15 0;
110                fixed: 1 0;
111                visible: 0;
112                rel1.relative: 1.0  0.0;
113                align: 1.0 0.0;
114             }
115          }
116
117        part { name: "elm.padding.top";
118             type: RECT;
119             scale: 1;
120             description {
121                state: "default" 0.0;
122                min: 0 10;
123                fixed: 0 1;
124                visible: 0;
125                rel2.relative: 1.0 0.0;
126                align: 0.0 0.0;
127             }
128          }
129
130        part { name: "elm.padding.bottom";
131             type: RECT;
132             scale: 1;
133             description {
134                state: "default" 0.0;
135                min: 0 10;
136                fixed: 0 1;
137                visible: 0;
138                rel1.relative: 0.0 1.0;
139                align: 0.0 1.0;
140             }
141          }
142
143          part { name: "elm.text";
144             clip_to: "text_clip";
145             type: TEXTBLOCK;
146             mouse_events: 0;
147             scale: 1;
148             description { state: "default" 0.0;
149                align: 0.0 0.5;
150                min: 460 0;
151                fixed: 1 0;
152                rel1 {
153                   relative: 1 1.0;
154                   to_x: "elm.padding.left";
155                   to_y: "elm.padding.top";
156                }
157                rel2 {
158                   relative: 1 0.0;
159                   to_x: "elm.padding.left";
160                   to_y: "elm.padding.bottom";
161                }
162                text {
163                   style: textblock_style_variable_height;
164                   min: 1 1;
165                   align: 0 0.5;
166                }
167             }
168          }
169          part { name: "text_clip";
170             clip_to: "disclip";
171             type: RECT;
172             description { state: "default" 0.0;
173                align: 0.0 0.5;
174                rel1 {
175                   relative: 1 1;
176                   to_x: "elm.padding.left";
177                   to_y: "elm.padding.top";
178                }
179                rel2 {
180                   relative: 0 0;
181                   to_x: "elm.padding.right";
182                   to_y: "elm.padding.bottom";
183                }
184             }
185          }
186          part { name: "elm.icon";
187             clip_to: "disclip";
188             type: SWALLOW;
189             mouse_events: 1;
190             scale: 1;
191             description { state: "default" 0.0;
192                align: 0.5 0.5;
193                rel1 {
194                   relative: 1 1;
195                   to_x: "elm.padding.left";
196                   to_y: "elm.padding.top";
197                }
198                rel2 {
199                   relative: 0 0;
200                   to_x: "elm.padding.right";
201                   to_y: "elm.padding.bottom";
202                }
203             }
204          }
205
206         part { name: "disclip";
207             type: RECT;
208             description { state: "default" 0.0;
209                rel1.to: "base";
210                rel2.to: "base";
211             }
212             description { state: "disabled" 0.0;
213                inherit: "default" 0.0;
214 //               color: 255 255 255 64;
215                color: 0 0 0 0;
216             }
217          }
218
219       }
220       programs {
221          program { name: "go_active";
222             signal: "elm,state,selected";
223             source: "elm";
224             action: STATE_SET "selected" 0.0;
225             target: "bg_image";
226          }
227          program { name: "go_passive";
228             signal: "elm,state,unselected";
229             source: "elm";
230             action: STATE_SET "default" 0.0;
231             target: "bg_image";
232             transition: LINEAR 0.1;
233          }
234          program { name: "go_disabled";
235             signal: "elm,state,disabled";
236             source: "elm";
237             action: STATE_SET "disabled" 0.0;
238             target: "disclip";
239          }
240          program { name: "go_enabled";
241             signal: "elm,state,enabled";
242             source: "elm";
243             action: STATE_SET "default" 0.0;
244             target: "disclip";
245          }
246       }
247    }
248 }