summaryrefslogtreecommitdiff
path: root/data/elementary/themes/edc/efl/multibuttonentry.edc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--data/elementary/themes/edc/efl/multibuttonentry.edc341
1 files changed, 0 insertions, 341 deletions
diff --git a/data/elementary/themes/edc/efl/multibuttonentry.edc b/data/elementary/themes/edc/efl/multibuttonentry.edc
deleted file mode 100644
index 5996a6c..0000000
--- a/data/elementary/themes/edc/efl/multibuttonentry.edc
+++ /dev/null
@@ -1,341 +0,0 @@
1group { "efl/multibuttonentry";
2 data.item: "horizontal_pad" 0;
3 data.item: "vertical_pad" 0;
4 data.item: "closed_height" 0;
5 parts {
6 rect { "bg";
7 scale;
8 desc { "default";
9 color_class: "multibuttonentry_bg";
10 }
11 }
12 swallow { "elm.swallow.background";
13 scale;
14 desc { "default";
15 rel.to: "bg";
16 }
17 }
18 swallow { "box.swallow";
19 desc { "default";
20 rel.to: "bg";
21 }
22 }
23 }
24}
25
26group { "efl/multibuttonentry/label";
27 parts {
28 text { "elm.text";
29 nomouse;
30 effect: GLOW;
31 scale;
32 desc { "default";
33 color: FN_COL_HIGHLIGHT;
34 color_class: "multibuttonentry_label";
35 text { font: FNBD; size: 10;
36 min: 1 1;
37 ellipsis: -1;
38 align: 0.5 0.5;
39 text_class: "multibuttonentry_label";
40 }
41 rel1.offset: 2 2;
42 rel2.offset: -5 -5;
43 }
44 }
45 }
46}
47
48group { "efl/multibuttonentry/guidetext";
49 parts {
50 text { "elm.text";
51 scale;
52 effect: SHADOW BOTTOM;
53 desc { "default";
54 rel1.offset: 2 2;
55 rel2.offset: -4 -4;
56 color: FN_COL_DISABLE;
57 text { font: FNBD; size: 10;
58 min: 0 1;
59 align: 0.0 0.5;
60 }
61 }
62 }
63 }
64}
65
66group { "efl/multibuttonentry/btn";
67 images.image: "button_normal.png" COMP;
68 images.image: "button_clicked.png" COMP;
69 images.image: "sym_close_dark_normal.png" COMP;
70 images.image: "sym_close_dark_selected.png" COMP;
71 images.image: "win_glow.png" COMP;
72 styles {
73 style { name: "efl_multibuttonentry_textblock_style";
74 base: "font="FN" align=0.5 font_size=10 color=#ffffffff style=shadow,bottom shadow_color=#00000080 text_class=multibuttonentry_item ellipsis=1.0";
75 tag: "br" "\n";
76 tag: "ps" "ps";
77 tag: "hilight" "+ font="FNBD;
78 tag: "b" "+ font="FNBD;
79 tag: "tab" "\t";
80 }
81 }
82
83 script {
84 public disabled = 0;
85 }
86
87 parts {
88 rect { "bg";
89 desc { "default";
90 color_class: "multibuttonentry_item_bg";
91 }
92 desc { "pressed";
93 color_class: "multibuttonentry_item_bg_selected";
94 }
95 }
96 image { "base";
97 desc { "default";
98 image.normal: "button_normal.png";
99 image.border: 4 4 3 5;
100 image.middle: SOLID;
101 rel1.offset: -1 0;
102 rel2.offset: 0 1;
103 fill.smooth: 0;
104 }
105 desc { "pressed";
106 inherit: "default";
107 image.normal: "button_clicked.png";
108 image.border: 5 5 4 6;
109 }
110 }
111 image { "glow";
112 nomouse;
113 desc { "default";
114 image.normal: "win_glow.png";
115 image.border: 9 9 9 9;
116 image.middle: 0;
117 rel1.offset: -2 -3;
118 rel1.to: "base";
119 rel2.offset: 1 0;
120 rel2.to: "base";
121 fill.smooth: 0;
122 color: 255 255 255 0;
123 hid;
124 }
125 desc { "focused";
126 inherit: "default";
127 color: 255 255 255 255;
128 vis;
129 }
130 desc { "unfocused";
131 inherit: "default";
132 }
133 }
134 image { "close";
135 nomouse;
136 desc { "default";
137 image.normal: "sym_close_dark_normal.png";
138 rel1.to: "del";
139 rel2.to: "del";
140 min: 15 15;
141 max: 15 15;
142 fixed: 1 1;
143 }
144 desc { "clicked";
145 inherit: "default";
146 image.normal: "sym_close_dark_selected.png";
147 }
148 }
149 rect { "del";
150 scale;
151 desc { "default";
152 fixed: 1 0;
153 min: 4 4;
154 align: 1.0 0.5;
155 aspect: 1.0 1.0; aspect_preference: VERTICAL;
156 rel1.relative: 1.0 0.0;
157 rel1.to: "base";
158 rel1.offset: -6 5;
159 rel2.offset: -6 -7;
160 rel2.to: "base";
161 color: 0 0 0 0;
162 }
163 }
164 textblock { "elm.btn.text";
165 nomouse;
166 scale;
167 desc { "default";
168 color_class: "multibuttonentry_item_text";
169 text { style: "efl_multibuttonentry_textblock_style";
170 min: 1 1;
171 ellipsis: -1;
172 text_class: "multibuttonentry_item_text";
173 }
174 hid;
175 rel1.offset: 5 5;
176 rel1.to: "base";
177 rel2.to_x: "del";
178 rel2.to_y: "base";
179 rel2.relative: 0.0 1.0;
180 rel2.offset: -3 -7;
181 }
182 }
183 textblock { "text";
184 nomouse;
185 scale;
186 desc { "default";
187 color_class: "multibuttonentry_item_text";
188 text { style: "efl_multibuttonentry_textblock_style";
189 text_source: "elm.btn.text";
190 min: 0 1;
191 align: 0.0 0.5;
192 text_class: "multibuttonentry_item_text";
193 }
194 align: 0.0 0.5;
195 rel1.offset: 5 5;
196 rel1.to: "base";
197 rel2.to_x: "del";
198 rel2.to_y: "base";
199 rel2.relative: 0.0 1.0;
200 rel2.offset: -3 -7;
201 }
202 desc { "pressed";
203 inherit: "default";
204 color_class: "multibuttonentry_item_text_pressed";
205 text {
206 text_class: "multibuttonentry_item_text_pressed";
207 }
208 }
209 desc { "disabled";
210 inherit: "default";
211 color_class: "multibuttonentry_item_text_disabled";
212 text {
213 text_class: "multibuttonentry_item_text_disabled";
214 }
215 }
216 }
217 }
218 programs {
219 program {
220 signal: "mouse,clicked,1";
221 source: "base";
222 script {
223 if (get_int(disabled) == 0) {
224 emit("clicked", "");
225 }
226 }
227 }
228 program {
229 signal: "elm,state,default";
230 source: "elm";
231 action: STATE_SET "default";
232 target: "glow";
233 }
234 program {
235 signal: "elm,state,focused";
236 source: "elm";
237 action: STATE_SET "focused";
238 target: "glow";
239 }
240 program {
241 signal: "elm,state,enabled";
242 source: "elm";
243 script {
244 set_state(PART:"text", "default", 0.0);
245 set_int(disabled , 0);
246 }
247 }
248 program {
249 signal: "elm,state,disabled";
250 source: "elm";
251 script {
252 new st[31];
253 new Float: vl;
254 get_state(PART:"glow", st, 30, vl);
255 if (!strcmp(st, "focused"))
256 set_state(PART:"glow", "default", 0.0);
257 set_state(PART:"text", "disabled", 0.0);
258 set_int(disabled , 1);
259 }
260 }
261 program {
262 signal: "elm,state,unfocused";
263 source: "elm";
264 action: STATE_SET "unfocused";
265 target: "glow";
266 }
267 program {
268 signal: "mouse,down,1";
269 source: "base";
270 script {
271 if (get_int(disabled) == 0) {
272 set_state(PART:"base", "pressed", 0.0);
273 set_state(PART:"bg", "pressed", 0.0);
274 set_state(PART:"text", "pressed", 0.0);
275 }
276 }
277 }
278 program {
279 signal: "mouse,up,1";
280 source: "base";
281 script {
282 if (get_int(disabled) == 0) {
283 set_state(PART:"base", "default", 0.0);
284 set_state(PART:"bg", "default", 0.0);
285 set_state(PART:"text", "default", 0.0);
286 }
287 }
288 }
289 program {
290 signal: "mouse,clicked,1";
291 source: "del";
292 action: SIGNAL_EMIT "elm,deleted" "elm";
293 }
294 program {
295 signal: "mouse,down,1";
296 source: "del";
297 action: STATE_SET "clicked";
298 target: "close";
299 }
300 program {
301 signal: "mouse,up,1";
302 source: "del";
303 action: STATE_SET "default";
304 target: "close";
305 }
306 }
307}
308
309group { "efl/multibuttonentry/closedbutton";
310 styles {
311 style { name: "textblock_style_efl_multibuttonentry_default";
312 base: "font="FNBD" font_size=10 text_class=multibuttonentry_closed style=glow color=#3399ffff glow_color=#3399ff18 align=center glow2_color=#3399ff12 wrap=char";
313 tag: "br" "\n";
314 tag: "ps" "ps";
315 tag: "hilight" "+ font="FNBD;
316 tag: "b" "+ font="FNBD;
317 tag: "tab" "\t";
318 }
319 }
320 parts {
321 rect { "bg";
322 desc { "default";
323 color: 0 0 0 0;
324 }
325 }
326 textblock { "elm.text";
327 nomouse;
328 scale;
329 desc { "default";
330 rel1.offset: 2 2;
331 rel1.to: "bg";
332 rel2.offset: -3 -3;
333 rel2.to: "bg";
334 text { style: "textblock_style_multibuttonentry_default";
335 min: 1 1;
336 ellipsis: -1;
337 }
338 }
339 }
340 }
341}