aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/elementary/data/themes/default-desktop.edc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libraries/elementary/data/themes/default-desktop.edc2080
1 files changed, 2080 insertions, 0 deletions
diff --git a/libraries/elementary/data/themes/default-desktop.edc b/libraries/elementary/data/themes/default-desktop.edc
new file mode 100644
index 0000000..ec645dc
--- /dev/null
+++ b/libraries/elementary/data/themes/default-desktop.edc
@@ -0,0 +1,2080 @@
1externals.external: "elm";
2
3#define SCROLLBARS_ADD() \
4 images { \
5 image: "bt_sm_base2.png" COMP; \
6 image: "bt_sm_shine.png" COMP; \
7 image: "bt_sm_hilight.png" COMP; \
8 image: "sb_runnerh.png" COMP; \
9 image: "sb_runnerv.png" COMP; \
10 image: "arrow_up.png" COMP; \
11 image: "arrow_down.png" COMP; \
12 image: "arrow_right.png" COMP; \
13 image: "arrow_left.png" COMP; \
14 } \
15 script { \
16 public sbvis_v, sbvis_h; \
17 } \
18 part { name: "elm.scrollbar.base"; \
19 type: SWALLOW; \
20 mouse_events: 0; \
21 description { state: "default" 0.0; \
22 min: 0 0; \
23 fixed: 1 1; \
24 align: 0.0 0.0; \
25 rel1.relative: 1.0 1.0; \
26 } \
27 description { state: "vertical" 0.0; \
28 inherit: "default" 0.0; \
29 min: 17 0; \
30 align: 1.0 0.0; \
31 } \
32 description { state: "horizontal" 0.0; \
33 inherit: "default" 0.0; \
34 min: 0 17; \
35 align: 0.0 1.0; \
36 } \
37 description { state: "both" 0.0; \
38 inherit: "default" 0.0; \
39 min: 17 17; \
40 align: 1.0 1.0; \
41 } \
42 } \
43 part { name: "sb_vbar_clip_master"; \
44 type: RECT; \
45 mouse_events: 0; \
46 description { state: "default" 0.0; \
47 } \
48 description { state: "hidden" 0.0; \
49 visible: 0; \
50 } \
51 } \
52 part { name: "sb_vbar_clip"; \
53 type: RECT; \
54 mouse_events: 0; \
55 clip_to: "sb_vbar_clip_master"; \
56 description { state: "default" 0.0; \
57 rel1.to: "sb_vbar_clip_master"; \
58 rel2.to: "sb_vbar_clip_master"; \
59 } \
60 description { state: "hidden" 0.0; \
61 inherit: "default" 0.0; \
62 visible: 0; \
63 max: 0 99999; \
64 } \
65 } \
66 part { name: "sb_vbar"; \
67 type: RECT; \
68 mouse_events: 0; \
69 clip_to: "sb_vbar_clip"; \
70 description { state: "default" 0.0; \
71 min: 17 0; \
72 fixed: 1 1; \
73 color: 0 0 0 0; \
74 align: 0.5 0.5; \
75 rel1 { \
76 to_y: "sb_vbar_a1"; \
77 to_x: "elm.scrollbar.base"; \
78 relative: 0.0 1.0; \
79 offset: 0 -1; \
80 } \
81 rel2 { \
82 to_y: "sb_vbar_a2"; \
83 relative: 1.0 0.0; \
84 offset: -1 -2; \
85 } \
86 } \
87 } \
88 part { name: "sb_vbar_runner"; \
89 mouse_events: 0; \
90 clip_to: "sb_vbar_clip"; \
91 description { state: "default" 0.0; \
92 min: 3 0; \
93 max: 3 99999; \
94 fixed: 1 1; \
95 align: 1.0 0.5; \
96 rel1 { \
97 to: "sb_vbar"; \
98 relative: 0.5 0.0; \
99 offset: 0 2; \
100 } \
101 rel2 { \
102 to: "sb_vbar"; \
103 relative: 0.5 1.0; \
104 offset: 0 -2; \
105 } \
106 image { \
107 normal: "sb_runnerv.png"; \
108 border: 0 0 4 4; \
109 } \
110 fill.smooth: 0; \
111 } \
112 } \
113 part { name: "sb_vbar_p1"; \
114 type: RECT; \
115 mouse_events: 1; \
116 clip_to: "sb_vbar_clip"; \
117 description { state: "default" 0.0; \
118 color: 0 0 0 0; \
119 fixed: 1 1; \
120 rel1 { \
121 to: "sb_vbar_a1"; \
122 relative: 0.0 1.0; \
123 } \
124 rel2 { \
125 to: "elm.dragable.vbar"; \
126 relative: 1.0 0.0; \
127 } \
128 } \
129 } \
130 part { name: "sb_vbar_p2"; \
131 type: RECT; \
132 mouse_events: 1; \
133 clip_to: "sb_vbar_clip"; \
134 description { state: "default" 0.0; \
135 color: 0 0 0 0; \
136 fixed: 1 1; \
137 rel1 { \
138 to: "elm.dragable.vbar"; \
139 relative: 0.0 1.0; \
140 } \
141 rel2 { \
142 to: "sb_vbar_a2"; \
143 relative: 1.0 0.0; \
144 } \
145 } \
146 } \
147 part { name: "sb_vbar_a1"; \
148 type: RECT; \
149 mouse_events: 1; \
150 clip_to: "sb_vbar_clip"; \
151 description { state: "default" 0.0; \
152 min: 17 17; \
153 fixed: 1 1; \
154 align: 0.5 0.0; \
155 aspect: 1.0 1.0; \
156 aspect_preference: HORIZONTAL; \
157 color: 0 0 0 0; \
158 rel1 { \
159 to_y: "sb_vbar_clip"; \
160 to_x: "elm.scrollbar.base"; \
161 relative: 0.0 0.0; \
162 offset: 0 1; \
163 } \
164 rel2 { \
165 to: "elm.scrollbar.base"; \
166 relative: 1.0 0.0; \
167 offset: -1 -2; \
168 } \
169 } \
170 } \
171 part { name: "sb_vbar_a1_arrow"; \
172 mouse_events: 0; \
173 clip_to: "sb_vbar_clip"; \
174 description { state: "default" 0.0; \
175 rel1.to: "sb_vbar_a1"; \
176 rel2.to: "sb_vbar_a1"; \
177 image.normal: "arrow_up.png"; \
178 } \
179 description { state: "clicked" 0.0; \
180 inherit: "default" 0.0; \
181 rel1.offset: 0 -1; \
182 rel2.offset: -1 -2; \
183 } \
184 } \
185 part { name: "sb_vbar_a2"; \
186 type: RECT; \
187 mouse_events: 1; \
188 clip_to: "sb_vbar_clip"; \
189 description { state: "default" 0.0; \
190 min: 17 17; \
191 fixed: 1 1; \
192 align: 0.5 1.0; \
193 aspect: 1.0 1.0; \
194 aspect_preference: HORIZONTAL; \
195 color: 0 0 0 0; \
196 rel1.to: "elm.scrollbar.base"; \
197 rel2 { \
198 to: "elm.scrollbar.base"; \
199 relative: 1.0 0.0; \
200 } \
201 } \
202 } \
203 part { name: "sb_vbar_a2_arrow"; \
204 mouse_events: 0; \
205 clip_to: "sb_vbar_clip"; \
206 description { state: "default" 0.0; \
207 rel1.to: "sb_vbar_a2"; \
208 rel2.to: "sb_vbar_a2"; \
209 image.normal: "arrow_down.png"; \
210 } \
211 description { state: "clicked" 0.0; \
212 inherit: "default" 0.0; \
213 rel1.offset: 0 1; \
214 rel2.offset: -1 0; \
215 } \
216 } \
217 part { name: "elm.dragable.vbar"; \
218 type: RECT; \
219 mouse_events: 1; \
220 clip_to: "sb_vbar_clip"; \
221 dragable { \
222 x: 0 0 0; \
223 y: 1 1 0; \
224 confine: "sb_vbar"; \
225 } \
226 description { state: "default" 0.0; \
227 min: 17 17; \
228 fixed: 1 1; \
229 aspect: 1.0 0.5; \
230 aspect_preference: VERTICAL; \
231 align: 0.5 0.0; \
232 color: 0 0 0 0; \
233 rel1 { \
234 to_y: "sb_vbar"; \
235 to_x: "elm.scrollbar.base"; \
236 relative: 0.0 0.0; \
237 } \
238 rel2.to_y: "sb_vbar"; \
239 } \
240 } \
241 part { name: "elm.dragable.vbar.image"; \
242 mouse_events: 0; \
243 clip_to: "sb_vbar_clip"; \
244 description { state: "default" 0.0; \
245 rel1.to: "elm.dragable.vbar"; \
246 rel2.to: "elm.dragable.vbar"; \
247 image { \
248 normal: "bt_sm_base2.png"; \
249 border: 6 6 6 6; \
250 } \
251 } \
252 } \
253 part { name: "sb_vbar_over1"; \
254 clip_to: "sb_vbar_clip"; \
255 mouse_events: 0; \
256 description { state: "default" 0.0; \
257 rel1.to: "elm.dragable.vbar.image"; \
258 rel2 { \
259 to: "elm.dragable.vbar.image"; \
260 relative: 1.0 0.5; \
261 } \
262 image { \
263 normal: "bt_sm_hilight.png"; \
264 border: 6 6 6 0; \
265 } \
266 } \
267 } \
268 part { name: "sb_vbar_over2"; \
269 clip_to: "sb_vbar_clip"; \
270 mouse_events: 0; \
271 description { state: "default" 0.0; \
272 rel1.to: "elm.dragable.vbar.image"; \
273 rel2.to: "elm.dragable.vbar.image"; \
274 image { \
275 normal: "bt_sm_shine.png"; \
276 border: 6 6 6 0; \
277 } \
278 } \
279 } \
280 part { name: "sb_hbar_clip_master"; \
281 type: RECT; \
282 mouse_events: 0; \
283 description { state: "default" 0.0; \
284 } \
285 description { state: "hidden" 0.0; \
286 visible: 0; \
287 } \
288 } \
289 part { name: "sb_hbar_clip"; \
290 type: RECT; \
291 mouse_events: 0; \
292 clip_to: "sb_hbar_clip_master"; \
293 description { state: "default" 0.0; \
294 rel1.to: "sb_hbar_clip_master"; \
295 rel2.to: "sb_hbar_clip_master"; \
296 } \
297 description { state: "hidden" 0.0; \
298 inherit: "default" 0.0; \
299 visible: 0; \
300 max: 99999 0; \
301 } \
302 } \
303 part { name: "sb_hbar"; \
304 type: RECT; \
305 mouse_events: 0; \
306 clip_to: "sb_hbar_clip"; \
307 description { state: "default" 0.0; \
308 min: 0 17; \
309 fixed: 1 1; \
310 color: 0 0 0 0; \
311 align: 0.5 0.5; \
312 rel1 { \
313 to_x: "sb_hbar_a1"; \
314 to_y: "elm.scrollbar.base"; \
315 relative: 1.0 0.0; \
316 offset: -1 0; \
317 } \
318 rel2 { \
319 to_x: "sb_hbar_a2"; \
320 relative: 0.0 1.0; \
321 offset: -2 -1; \
322 } \
323 } \
324 } \
325 part { name: "sb_hbar_runner"; \
326 mouse_events: 0; \
327 clip_to: "sb_hbar_clip"; \
328 description { state: "default" 0.0; \
329 min: 0 3; \
330 max: 99999 3; \
331 fixed: 1 1; \
332 align: 0.5 0.5; \
333 rel1 { \
334 to: "sb_hbar"; \
335 relative: 0.0 0.5; \
336 offset: 2 0; \
337 } \
338 rel2 { \
339 to: "sb_hbar"; \
340 relative: 1.0 0.5; \
341 offset: -2 0; \
342 } \
343 image { \
344 normal: "sb_runnerh.png"; \
345 border: 4 4 0 0; \
346 } \
347 fill.smooth: 0; \
348 } \
349 } \
350 part { name: "elm.dragable.hbar"; \
351 type: RECT; \
352 mouse_events: 1; \
353 clip_to: "sb_hbar_clip"; \
354 dragable { \
355 x: 1 1 0; \
356 y: 0 0 0; \
357 confine: "sb_hbar"; \
358 } \
359 description { state: "default" 0.0; \
360 min: 17 17; \
361 fixed: 1 1; \
362 aspect_preference: HORIZONTAL; \
363 align: 0.0 1.0; \
364 color: 0 0 0 0; \
365 rel1 { \
366 to_x: "sb_hbar"; \
367 relative: 0.0 1.0; \
368 } \
369 rel2.to_x: "sb_hbar"; \
370 } \
371 } \
372 part { name: "elm.dragable.hbar.image"; \
373 mouse_events: 0; \
374 clip_to: "sb_hbar_clip"; \
375 description { state: "default" 0.0; \
376 rel1.to: "elm.dragable.hbar"; \
377 rel2.to: "elm.dragable.hbar"; \
378 image { \
379 normal: "bt_sm_base2.png"; \
380 border: 6 6 6 6; \
381 } \
382 } \
383 } \
384 part { name: "sb_hbar_over1"; \
385 clip_to: "sb_hbar_clip"; \
386 mouse_events: 0; \
387 description { state: "default" 0.0; \
388 rel1.to: "elm.dragable.hbar.image"; \
389 rel2 { \
390 to: "elm.dragable.hbar.image"; \
391 relative: 1.0 0.5; \
392 } \
393 image { \
394 normal: "bt_sm_hilight.png"; \
395 border: 6 6 6 0; \
396 } \
397 } \
398 } \
399 part { name: "sb_hbar_over2"; \
400 clip_to: "sb_hbar_clip"; \
401 mouse_events: 0; \
402 description { state: "default" 0.0; \
403 rel1.to: "elm.dragable.hbar.image"; \
404 rel2.to: "elm.dragable.hbar.image"; \
405 image { \
406 normal: "bt_sm_shine.png"; \
407 border: 6 6 6 0; \
408 } \
409 } \
410 } \
411 part { name: "sb_hbar_p1"; \
412 type: RECT; \
413 mouse_events: 1; \
414 clip_to: "sb_hbar_clip"; \
415 description { state: "default" 0.0; \
416 color: 0 0 0 0; \
417 fixed: 1 1; \
418 rel1 { \
419 to: "sb_hbar_a1"; \
420 relative: 1.0 0.0; \
421 } \
422 rel2 { \
423 to: "elm.dragable.hbar"; \
424 relative: 0.0 1.0; \
425 } \
426 } \
427 } \
428 part { name: "sb_hbar_p2"; \
429 type: RECT; \
430 mouse_events: 1; \
431 clip_to: "sb_hbar_clip"; \
432 description { state: "default" 0.0; \
433 color: 0 0 0 0; \
434 fixed: 1 1; \
435 rel1 { \
436 to: "elm.dragable.hbar"; \
437 relative: 1.0 0.0; \
438 } \
439 rel2 { \
440 to: "sb_hbar_a2"; \
441 relative: 0.0 1.0; \
442 } \
443 } \
444 } \
445 part { name: "sb_hbar_a1"; \
446 type: RECT; \
447 mouse_events: 1; \
448 clip_to: "sb_hbar_clip"; \
449 description { state: "default" 0.0; \
450 min: 17 17; \
451 fixed: 1 1; \
452 align: 0.0 1.0; \
453 aspect: 1.0 1.0; \
454 aspect_preference: VERTICAL; \
455 color: 0 0 0 0; \
456 rel1 { \
457 to_x: "sb_hbar_clip"; \
458 to_y: "elm.scrollbar.base"; \
459 relative: 0.0 0.0; \
460 } \
461 rel2 { \
462 to: "elm.scrollbar.base"; \
463 relative: 0.0 1.0; \
464 offset: -1 -1; \
465 } \
466 } \
467 } \
468 part { name: "sb_hbar_a1_arrow"; \
469 mouse_events: 0; \
470 clip_to: "sb_hbar_clip"; \
471 description { state: "default" 0.0; \
472 rel1.to: "sb_hbar_a1"; \
473 rel2.to: "sb_hbar_a1"; \
474 image.normal: "arrow_left.png"; \
475 } \
476 description { state: "clicked" 0.0; \
477 inherit: "default" 0.0; \
478 rel1.offset: -1 0; \
479 rel2.offset: -2 -1; \
480 } \
481 } \
482 part { name: "sb_hbar_a2"; \
483 type: RECT; \
484 mouse_events: 1; \
485 clip_to: "sb_hbar_clip"; \
486 description { state: "default" 0.0; \
487 min: 17 17; \
488 align: 1.0 1.0; \
489 aspect: 1.0 1.0; \
490 fixed: 1 1; \
491 aspect_preference: VERTICAL; \
492 color: 0 0 0 0; \
493 rel1 { \
494 to: "elm.scrollbar.base"; \
495 relative: 1.0 0.0; \
496 } \
497 rel2 { \
498 to: "elm.scrollbar.base"; \
499 relative: 0.0 1.0; \
500 } \
501 } \
502 } \
503 part { name: "sb_hbar_a2_arrow"; \
504 mouse_events: 0; \
505 clip_to: "sb_hbar_clip"; \
506 description { state: "default" 0.0; \
507 rel1.to: "sb_hbar_a2"; \
508 rel2.to: "sb_hbar_a2"; \
509 image.normal: "arrow_right.png"; \
510 } \
511 description { state: "clicked" 0.0; \
512 inherit: "default" 0.0; \
513 rel1.offset: 1 0; \
514 rel2.offset: 0 -1; \
515 } \
516 } \
517 part { name: "disabler"; \
518 type: RECT; \
519 description { state: "default" 0.0; \
520 rel1.to: "clipper"; \
521 rel2.to: "clipper"; \
522 color: 0 0 0 0; \
523 visible: 0; \
524 } \
525 description { state: "disabled" 0.0; \
526 inherit: "default" 0.0; \
527 visible: 1; \
528 color: 128 128 128 128; \
529 } \
530 } \
531 programs { \
532 program { name: "load"; \
533 signal: "load"; \
534 source: ""; \
535 script { \
536 set_state(PART:"sb_hbar_clip", "hidden", 0.0); \
537 set_state(PART:"sb_vbar_clip", "hidden", 0.0); \
538 set_int(sbvis_h, 0); \
539 set_int(sbvis_v, 0); \
540 } \
541 } \
542 program { name: "vbar_show"; \
543 signal: "elm,action,show,vbar"; \
544 source: "elm"; \
545 script { \
546 set_state(PART:"sb_vbar_clip_master", "default", 0.0); \
547 set_int(sbvis_v, 1); \
548 if (get_int(sbvis_h)) \
549 set_state(PART:"elm.scrollbar.base", "both", 0.0); \
550 else \
551 set_state(PART:"elm.scrollbar.base", "vertical", 0.0); \
552 emit("do-show-vbar", ""); \
553 } \
554 } \
555 program { name: "vbar_hide"; \
556 signal: "elm,action,hide,vbar"; \
557 source: "elm"; \
558 script { \
559 set_state(PART:"sb_vbar_clip_master", "hidden", 0.0); \
560 set_int(sbvis_v, 0); \
561 if (get_int(sbvis_h)) \
562 set_state(PART:"elm.scrollbar.base", "horizontal", 0.0); \
563 else \
564 set_state(PART:"elm.scrollbar.base", "default", 0.0); \
565 emit("do-hide-vbar", ""); \
566 } \
567 } \
568 program { name: "sb_vbar_down"; \
569 signal: "mouse,down,1"; \
570 source: "elm.dragable.vbar"; \
571 action: STATE_SET "clicked" 0.0; \
572 target: "elm.dragable.vbar"; \
573 } \
574 program { name: "sb_vbar_up"; \
575 signal: "mouse,up,1"; \
576 source: "elm.dragable.vbar"; \
577 action: STATE_SET "default" 0.0; \
578 target: "elm.dragable.vbar"; \
579 } \
580 program { name: "sb_vbar_show"; \
581 signal: "do-show-vbar"; \
582 source: ""; \
583 action: STATE_SET "default" 0.0; \
584 transition: LINEAR 0.1; \
585 target: "sb_vbar_clip"; \
586 } \
587 program { name: "sb_vbar_hide"; \
588 signal: "do-hide-vbar"; \
589 source: ""; \
590 action: STATE_SET "hidden" 0.0; \
591 transition: LINEAR 1.0; \
592 target: "sb_vbar_clip"; \
593 } \
594 program { name: "sb_vbar_a1_down"; \
595 signal: "mouse,down,1"; \
596 source: "sb_vbar_a1"; \
597 action: STATE_SET "clicked" 0.0; \
598 target: "sb_vbar_a1_arrow"; \
599 } \
600 program { name: "sb_vbar_a1_down2"; \
601 signal: "mouse,down,1"; \
602 source: "sb_vbar_a1"; \
603 action: DRAG_VAL_STEP 0.0 -1.0; \
604 target: "elm.dragable.vbar"; \
605 } \
606 program { name: "sb_vbar_a1_up"; \
607 signal: "mouse,up,1"; \
608 source: "sb_vbar_a1"; \
609 action: STATE_SET "default" 0.0; \
610 target: "sb_vbar_a1_arrow"; \
611 } \
612 program { name: "sb_vbar_a2_down"; \
613 signal: "mouse,down,1"; \
614 source: "sb_vbar_a2"; \
615 action: STATE_SET "clicked" 0.0; \
616 target: "sb_vbar_a2_arrow"; \
617 } \
618 program { name: "sb_vbar_a2_down2"; \
619 signal: "mouse,down,1"; \
620 source: "sb_vbar_a2"; \
621 action: DRAG_VAL_STEP 0.0 1.0; \
622 target: "elm.dragable.vbar"; \
623 } \
624 program { name: "sb_vbar_a2_up"; \
625 signal: "mouse,up,1"; \
626 source: "sb_vbar_a2"; \
627 action: STATE_SET "default" 0.0; \
628 target: "sb_vbar_a2_arrow"; \
629 } \
630 program { name: "sb_vbar_p1_down"; \
631 signal: "mouse,down,1"; \
632 source: "sb_vbar_p1"; \
633 action: DRAG_VAL_PAGE 0.0 -1.0; \
634 target: "elm.dragable.vbar"; \
635 } \
636 program { name: "sb_vbar_p2_down"; \
637 signal: "mouse,down,1"; \
638 source: "sb_vbar_p2"; \
639 action: DRAG_VAL_PAGE 0.0 1.0; \
640 target: "elm.dragable.vbar"; \
641 } \
642 program { name: "hbar_show"; \
643 signal: "elm,action,show,hbar"; \
644 source: "elm"; \
645 script { \
646 set_state(PART:"sb_hbar_clip_master", "default", 0.0); \
647 set_int(sbvis_h, 1); \
648 if (get_int(sbvis_v)) \
649 set_state(PART:"elm.scrollbar.base", "both", 0.0); \
650 else \
651 set_state(PART:"elm.scrollbar.base", "horizontal", 0.0); \
652 emit("do-show-hbar", ""); \
653 } \
654 } \
655 program { name: "hbar_hide"; \
656 signal: "elm,action,hide,hbar"; \
657 source: "elm"; \
658 script { \
659 set_state(PART:"sb_hbar_clip_master", "hidden", 0.0); \
660 set_int(sbvis_h, 0); \
661 if (get_int(sbvis_v)) \
662 set_state(PART:"elm.scrollbar.base", "vertical", 0.0); \
663 else \
664 set_state(PART:"elm.scrollbar.base", "default", 0.0); \
665 emit("do-hide-hbar", ""); \
666 } \
667 } \
668 program { name: "sb_hbar_down"; \
669 signal: "mouse,down,1"; \
670 source: "elm.dragable.hbar"; \
671 action: STATE_SET "clicked" 0.0; \
672 target: "elm.dragable.hbar"; \
673 } \
674 program { name: "sb_hbar_up"; \
675 signal: "mouse,up,1"; \
676 source: "elm.dragable.hbar"; \
677 action: STATE_SET "default" 0.0; \
678 target: "elm.dragable.hbar"; \
679 } \
680 program { name: "sb_hbar_show"; \
681 signal: "do-show-hbar"; \
682 source: ""; \
683 action: STATE_SET "default" 0.0; \
684 transition: LINEAR 0.1; \
685 target: "sb_hbar_clip"; \
686 } \
687 program { name: "sb_hbar_hide"; \
688 signal: "do-hide-hbar"; \
689 source: ""; \
690 action: STATE_SET "hidden" 0.0; \
691 transition: LINEAR 1.0; \
692 target: "sb_hbar_clip"; \
693 } \
694 program { name: "sb_hbar_a1_down"; \
695 signal: "mouse,down,1"; \
696 source: "sb_hbar_a1"; \
697 action: STATE_SET "clicked" 0.0; \
698 target: "sb_hbar_a1_arrow"; \
699 } \
700 program { name: "sb_hbar_a1_down2"; \
701 signal: "mouse,down,1"; \
702 source: "sb_hbar_a1"; \
703 action: DRAG_VAL_STEP -1.0 0.0; \
704 target: "elm.dragable.hbar"; \
705 } \
706 program { name: "sb_hbar_a1_up"; \
707 signal: "mouse,up,1"; \
708 source: "sb_hbar_a1"; \
709 action: STATE_SET "default" 0.0; \
710 target: "sb_hbar_a1_arrow"; \
711 } \
712 program { name: "sb_hbar_a2_down"; \
713 signal: "mouse,down,1"; \
714 source: "sb_hbar_a2"; \
715 action: STATE_SET "clicked" 0.0; \
716 target: "sb_hbar_a2_arrow"; \
717 } \
718 program { name: "sb_hbar_a2_down2"; \
719 signal: "mouse,down,1"; \
720 source: "sb_hbar_a2"; \
721 action: DRAG_VAL_STEP 1.0 0.0; \
722 target: "elm.dragable.hbar"; \
723 } \
724 program { name: "sb_hbar_a2_up"; \
725 signal: "mouse,up,1"; \
726 source: "sb_hbar_a2"; \
727 action: STATE_SET "default" 0.0; \
728 target: "sb_hbar_a2_arrow"; \
729 } \
730 program { name: "sb_hbar_p1_down"; \
731 signal: "mouse,down,1"; \
732 source: "sb_hbar_p1"; \
733 action: DRAG_VAL_PAGE -1.0 0.0; \
734 target: "elm.dragable.hbar"; \
735 } \
736 program { name: "sb_hbar_p2_down"; \
737 signal: "mouse,down,1"; \
738 source: "sb_hbar_p2"; \
739 action: DRAG_VAL_PAGE 1.0 0.0; \
740 target: "elm.dragable.hbar"; \
741 } \
742 program { name: "disable"; \
743 signal: "elm,state,disabled"; \
744 source: "elm"; \
745 action: STATE_SET "disabled" 0.0; \
746 target: "disabler"; \
747 } \
748 program { name: "enable"; \
749 signal: "elm,state,enabled"; \
750 source: "elm"; \
751 action: STATE_SET "default" 0.0; \
752 target: "disabler"; \
753 } \
754 } \
755
756collections {
757
758 group { name: "elm/scroller/base/default";
759 alias: "elm/list/base/default";
760 alias: "elm/genlist/base/default";
761 alias: "elm/gengrid/base/default";
762
763 data {
764 item: "focus_highlight" "on";
765 }
766
767 images {
768 image: "shelf_inset.png" COMP;
769 image: "sl_bt2_2.png" COMP;
770 }
771
772 parts {
773 part { name: "bg";
774 type: RECT;
775 mouse_events: 0;
776 description { state: "default" 0.0;
777 rel1.offset: 1 1;
778 rel2.offset: -2 -2;
779 color: 255 255 255 0;
780 }
781 }
782 part { name: "clipper";
783 type: RECT;
784 mouse_events: 0;
785 description { state: "default" 0.0;
786 rel1.to: "bg";
787 rel2.to: "bg";
788 }
789 }
790 part { name: "elm.swallow.content";
791 type: SWALLOW;
792 clip_to: "clipper";
793 description { state: "default" 0.0;
794 rel2 {
795 to_x: "sb_vbar";
796 to_y: "sb_hbar";
797 relative: 0.0 0.0;
798 offset: -1 -1;
799 }
800 }
801 }
802 part { name: "conf_over";
803 mouse_events: 0;
804 description { state: "default" 0.0;
805 image {
806 normal: "shelf_inset.png";
807 border: 7 7 7 7;
808 middle: 0;
809 }
810 fill.smooth: 0;
811 }
812 }
813 part { name: "focus_highlight";
814 mouse_events: 0;
815 description { state: "default" 0.0;
816 rel1.offset: -1 -1;
817 rel2.offset: 0 0;
818 image {
819 normal: "sl_bt2_2.png";
820 border: 7 7 7 7;
821 middle: 0;
822 }
823 fill.smooth: 0;
824 color: 200 155 0 0;
825 }
826 description { state: "enabled" 0.0;
827 inherit: "default" 0.0;
828 color: 200 155 0 255;
829 }
830 }
831 SCROLLBARS_ADD()
832 }
833 }
834
835 group { name: "elm/scroller/entry/default";
836
837 data {
838 item: "focus_highlight" "on";
839 }
840
841 images {
842 image: "shelf_inset.png" COMP;
843 image: "sl_bt2_2.png" COMP;
844 }
845
846 parts {
847 part { name: "bg";
848 type: RECT;
849 mouse_events: 0;
850 description { state: "default" 0.0;
851 rel1.offset: 1 1;
852 rel2.offset: -2 -2;
853 color: 255 255 255 255;
854 }
855 }
856 part { name: "clipper";
857 type: RECT;
858 mouse_events: 0;
859 description { state: "default" 0.0;
860 rel1.to: "bg";
861 rel2.to: "bg";
862 }
863 }
864 part { name: "content.clipper";
865 type: RECT;
866 mouse_events: 0;
867 clip_to: "clipper";
868 description { state: "default" 0.0;
869 rel1 {
870 to: "elm.swallow.icon";
871 relative: 1.0 0.0;
872 }
873 rel2 {
874 to: "elm.swallow.end";
875 relative: 0.0 1.0;
876 }
877 }
878 }
879 part { name: "elm.swallow.icon";
880 type: SWALLOW;
881 clip_to: "clipper";
882 description { state: "default" 0.0;
883 fixed: 1 1;
884 visible: 0;
885 rel1 {
886 to: "bg";
887 relative: 0.0 0.0;
888 offset: 0 0;
889 }
890 rel2 {
891 to: "bg";
892 relative: 0.0 1.0;
893 offset: -1 -1;
894 }
895 }
896 description { state: "visible" 0.0;
897 inherit: "default" 0.0;
898 visible: 1;
899 }
900 }
901 part { name: "elm.swallow.end";
902 type: SWALLOW;
903 clip_to: "clipper";
904 description { state: "default" 0.0;
905 fixed: 1 1;
906 visible: 0;
907 rel1 {
908 to: "bg";
909 relative: 1.0 0.0;
910 offset: 0 0;
911 }
912 rel2 {
913 to_x: "elm.dragable.vbar";
914 to_y: "elm.dragable.hbar";
915 relative: 0.0 0.0;
916 offset: -1 -1;
917 }
918 }
919 description { state: "visible" 0.0;
920 inherit: "default" 0.0;
921 visible: 1;
922 }
923 }
924 part { name: "elm.swallow.content";
925 type: SWALLOW;
926 clip_to: "content.clipper";
927 description { state: "default" 0.0;
928 rel1 {
929 to: "elm.swallow.icon";
930 relative: 1.0 0.0;
931 offset: 4 4;
932 }
933 rel2 {
934 to: "elm.swallow.end";
935 relative: 0.0 1.0;
936 offset: -5 -5;
937 }
938 }
939 }
940 part { name: "conf_over";
941 mouse_events: 0;
942 description { state: "default" 0.0;
943 image {
944 normal: "shelf_inset.png";
945 border: 7 7 7 7;
946 middle: 0;
947 }
948 fill.smooth: 0;
949 }
950 }
951 part { name: "focus_highlight";
952 mouse_events: 0;
953 description { state: "default" 0.0;
954 rel1.offset: -1 -1;
955 rel2.offset: 0 0;
956 image {
957 normal: "sl_bt2_2.png";
958 border: 7 7 7 7;
959 middle: 0;
960 }
961 fill.smooth: 0;
962 color: 200 155 0 0;
963 }
964 description { state: "enabled" 0.0;
965 inherit: "default" 0.0;
966 color: 200 155 0 255;
967 }
968 }
969 SCROLLBARS_ADD()
970 }
971 programs {
972 program { name: "icon_show";
973 signal: "elm,action,show,icon";
974 source: "elm";
975 action: STATE_SET "visible" 0.0;
976 target: "elm.swallow.icon";
977 }
978 program { name: "icon_hide";
979 signal: "elm,action,hide,icon";
980 source: "elm";
981 action: STATE_SET "default" 0.0;
982 target: "elm.swallow.icon";
983 }
984 program { name: "end_show";
985 signal: "elm,action,show,end";
986 source: "elm";
987 action: STATE_SET "visible" 0.0;
988 target: "elm.swallow.end";
989 }
990 program { name: "end_hide";
991 signal: "elm,action,hide,end";
992 source: "elm";
993 action: STATE_SET "default" 0.0;
994 target: "elm.swallow.end";
995 }
996 program { name: "highlight_show";
997 signal: "elm,action,focus_highlight,show";
998 source: "elm";
999 action: STATE_SET "enabled" 0.0;
1000 transition: ACCELERATE 0.3;
1001 target: "focus_highlight";
1002 target: "conf_over";
1003 }
1004 program { name: "highlight_hide";
1005 signal: "elm,action,focus_highlight,hide";
1006 source: "elm";
1007 action: STATE_SET "default" 0.0;
1008 transition: DECELERATE 0.3;
1009 target: "focus_highlight";
1010 target: "conf_over";
1011 }
1012 }
1013 }
1014
1015 group { name: "elm/photocam/base/default";
1016
1017 images {
1018 image: "shelf_inset.png" COMP;
1019 image: "busy-1.png" COMP;
1020 image: "busy-2.png" COMP;
1021 image: "busy-3.png" COMP;
1022 image: "busy-4.png" COMP;
1023 image: "busy-5.png" COMP;
1024 image: "busy-6.png" COMP;
1025 image: "busy-7.png" COMP;
1026 image: "busy-8.png" COMP;
1027 image: "busy-9.png" COMP;
1028 }
1029 parts {
1030 part { name: "bg";
1031 type: RECT;
1032 description { state: "default" 0.0;
1033 rel1.offset: 1 1;
1034 rel2.offset: -2 -2;
1035 color: 255 255 255 0;
1036 }
1037 }
1038 part { name: "clipper";
1039 type: RECT;
1040 mouse_events: 0;
1041 description { state: "default" 0.0;
1042 rel1.to: "bg";
1043 rel2.to: "bg";
1044 }
1045 }
1046 part { name: "elm.swallow.content";
1047 clip_to: "clipper";
1048 type: SWALLOW;
1049 description { state: "default" 0.0;
1050 rel1.offset: 1 1;
1051 rel2.offset: -2 -2;
1052 }
1053 }
1054 part { name: "busy_clip";
1055 type: RECT;
1056 mouse_events: 0;
1057 description { state: "default" 0.0;
1058 visible: 0;
1059 color: 255 255 255 0;
1060 }
1061 description { state: "active" 0.0;
1062 visible: 1;
1063 color: 255 255 255 255;
1064 }
1065 }
1066 part { name: "busy";
1067 clip_to: "busy_clip";
1068 mouse_events: 0;
1069 description { state: "default" 0.0;
1070 fixed: 1 1;
1071 min: 32 32;
1072 aspect: 1.0 1.0;
1073 align: 1.0 1.0;
1074 aspect_preference: BOTH;
1075 rel1 {
1076 relative: 0.9 0.9;
1077 offset: -9 -9;
1078 }
1079 rel2 {
1080 relative: 0.9 0.9;
1081 offset: -9 -9;
1082 }
1083 image {
1084 normal: "busy-9.png";
1085 tween: "busy-1.png";
1086 tween: "busy-2.png";
1087 tween: "busy-3.png";
1088 tween: "busy-4.png";
1089 tween: "busy-5.png";
1090 tween: "busy-6.png";
1091 tween: "busy-7.png";
1092 tween: "busy-8.png";
1093 }
1094 }
1095 }
1096 part { name: "conf_over";
1097 mouse_events: 0;
1098 description { state: "default" 0.0;
1099 rel1.offset: 0 0;
1100 rel2.offset: -1 -1;
1101 image {
1102 normal: "shelf_inset.png";
1103 border: 7 7 7 7;
1104 middle: 0;
1105 }
1106 fill.smooth : 0;
1107 }
1108 }
1109 SCROLLBARS_ADD()
1110 }
1111 programs {
1112 program { name: "go1";
1113 signal: "elm,state,busy,start";
1114 source: "elm";
1115 action: STATE_SET "active" 0.0;
1116 transition: SINUSOIDAL 1.0;
1117 target: "busy_clip";
1118 }
1119 program { name: "go2";
1120 signal: "elm,state,busy,start";
1121 source: "elm";
1122 action: STATE_SET "default" 0.0;
1123 transition: LINEAR 0.5;
1124 target: "busy";
1125 after: "go2";
1126 }
1127 program { name: "stop1";
1128 signal: "elm,state,busy,stop";
1129 source: "elm";
1130 action: STATE_SET "default" 0.0;
1131 transition: SINUSOIDAL 1.0;
1132 target: "busy_clip";
1133 after: "stop2";
1134 }
1135 program { name: "stop2";
1136 action: ACTION_STOP;
1137 target: "go2";
1138 }
1139 }
1140 }
1141
1142 ///////////////////////////////////////////////////////////////////////////////
1143 group { name: "elm/map/base/default";
1144 images {
1145 image: "shelf_inset.png" COMP;
1146 image: "busy-1.png" COMP;
1147 image: "busy-2.png" COMP;
1148 image: "busy-3.png" COMP;
1149 image: "busy-4.png" COMP;
1150 image: "busy-5.png" COMP;
1151 image: "busy-6.png" COMP;
1152 image: "busy-7.png" COMP;
1153 image: "busy-8.png" COMP;
1154 image: "busy-9.png" COMP;
1155 }
1156 parts {
1157 part { name: "bg";
1158 type: RECT;
1159 description { state: "default" 0.0;
1160 rel1.offset: 1 1;
1161 rel2.offset: -2 -2;
1162 color: 255 255 255 0;
1163 }
1164 }
1165 part { name: "clipper";
1166 type: RECT;
1167 mouse_events: 0;
1168 description { state: "default" 0.0;
1169 rel1.to: "bg";
1170 rel2.to: "bg";
1171 }
1172 }
1173 part { name: "elm.swallow.content";
1174 clip_to: "clipper";
1175 type: SWALLOW;
1176 description { state: "default" 0.0;
1177 rel1.offset: 1 1;
1178 rel2.offset: -2 -2;
1179 }
1180 }
1181 part { name: "busy_clip";
1182 type: RECT;
1183 mouse_events: 0;
1184 description { state: "default" 0.0;
1185 visible: 0;
1186 color: 255 255 255 0;
1187 }
1188 description { state: "active" 0.0;
1189 visible: 1;
1190 color: 255 255 255 255;
1191 }
1192 }
1193 part { name: "busy";
1194 clip_to: "busy_clip";
1195 mouse_events: 0;
1196 description { state: "default" 0.0;
1197 fixed: 1 1;
1198 min: 32 32;
1199 aspect: 1.0 1.0;
1200 align: 1.0 1.0;
1201 aspect_preference: BOTH;
1202 rel1 {
1203 relative: 0.9 0.9;
1204 offset: -9 -9;
1205 }
1206 rel2 {
1207 relative: 0.9 0.9;
1208 offset: -9 -9;
1209 }
1210 image {
1211 normal: "busy-9.png";
1212 tween: "busy-1.png";
1213 tween: "busy-2.png";
1214 tween: "busy-3.png";
1215 tween: "busy-4.png";
1216 tween: "busy-5.png";
1217 tween: "busy-6.png";
1218 tween: "busy-7.png";
1219 tween: "busy-8.png";
1220 }
1221 }
1222 }
1223 part { name: "conf_over";
1224 mouse_events: 0;
1225 description { state: "default" 0.0;
1226 rel1.offset: 0 0;
1227 rel2.offset: -1 -1;
1228 image {
1229 normal: "shelf_inset.png";
1230 border: 7 7 7 7;
1231 middle: 0;
1232 }
1233 fill.smooth : 0;
1234 }
1235 }
1236 SCROLLBARS_ADD()
1237 }
1238 programs {
1239 program { name: "go1";
1240 signal: "elm,state,busy,start";
1241 source: "elm";
1242 action: STATE_SET "active" 0.0;
1243 transition: SINUSOIDAL 1.0;
1244 target: "busy_clip";
1245 }
1246 program { name: "go2";
1247 signal: "elm,state,busy,start";
1248 source: "elm";
1249 action: STATE_SET "default" 0.0;
1250 transition: LINEAR 0.5;
1251 target: "busy";
1252 after: "go2";
1253 }
1254 program { name: "stop1";
1255 signal: "elm,state,busy,stop";
1256 source: "elm";
1257 action: STATE_SET "default" 0.0;
1258 transition: SINUSOIDAL 1.0;
1259 target: "busy_clip";
1260 after: "stop2";
1261 }
1262 program { name: "stop2";
1263 action: ACTION_STOP;
1264 target: "go2";
1265 }
1266 }
1267 }
1268
1269 group { name: "elm/list/base/hoverlist";
1270 data {
1271 item: "focus_highlight" "on";
1272 }
1273 images {
1274 image: "sl_bt2_2.png" COMP;
1275 }
1276 parts {
1277 part { name: "bg";
1278 type: RECT;
1279 description { state: "default" 0.0;
1280 rel1.offset: 2 2;
1281 rel2.offset: -3 -3;
1282 color: 255 255 255 0;
1283 }
1284 }
1285 part { name: "clipper";
1286 type: RECT;
1287 mouse_events: 0;
1288 description { state: "default" 0.0;
1289 rel1 {
1290 to: "bg";
1291 offset: 2 2;
1292 }
1293 rel2 {
1294 to: "bg";
1295 offset: -3 -3;
1296 }
1297 }
1298 }
1299 part { name: "elm.swallow.content";
1300 clip_to: "clipper";
1301 type: SWALLOW;
1302 description { state: "default" 0.0;
1303 rel1 {
1304 to: "bg";
1305 offset: 2 2;
1306 }
1307 rel2 {
1308 to: "bg";
1309 offset: -3 -3;
1310 }
1311 }
1312 }
1313 part { name: "focus_highlight";
1314 mouse_events: 0;
1315 description { state: "default" 0.0;
1316 rel1.offset: -1 -1;
1317 rel2.offset: 0 0;
1318 image {
1319 normal: "sl_bt2_2.png";
1320 border: 7 7 7 7;
1321 middle: 0;
1322 }
1323 fill.smooth : 0;
1324 color: 200 155 0 0;
1325 }
1326 description { state: "enabled" 0.0;
1327 inherit: "default" 0.0;
1328 color: 200 155 0 255;
1329 }
1330 }
1331 SCROLLBARS_ADD()
1332 }
1333 programs {
1334 program { name: "highlight_show";
1335 signal: "elm,action,focus_highlight,show";
1336 source: "elm";
1337 action: STATE_SET "enabled" 0.0;
1338 transition: ACCELERATE 0.3;
1339 target: "focus_highlight";
1340 }
1341 program { name: "highlight_hide";
1342 signal: "elm,action,focus_highlight,hide";
1343 source: "elm";
1344 action: STATE_SET "default" 0.0;
1345 transition: DECELERATE 0.3;
1346 target: "focus_highlight";
1347 }
1348 }
1349 }
1350
1351//------------------------------------------------------------
1352 group { name: "elm/entry/base/default";
1353 styles
1354 {
1355 style { name: "entry_textblock_style";
1356 base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry";
1357 tag: "br" "\n";
1358 tag: "ps" "ps";
1359 tag: "tab" "\t";
1360 tag: "em" "+ font=Sans:style=Oblique";
1361 tag: "b" "+ font=Sans:style=Bold";
1362 tag: "link" "+ color=#800 underline=on underline_color=#8008";
1363 tag: "hilight" "+ font=Sans:style=Bold";
1364 }
1365 style { name: "entry_textblock_disabled_style";
1366 base: "font=Sans font_size=10 color=#00000080 wrap=word text_class=entry";
1367 tag: "br" "\n";
1368 tag: "ps" "ps";
1369 tag: "tab" "\t";
1370 tag: "em" "+ font=Sans:style=Oblique";
1371 tag: "b" "+ font=Sans:style=Bold";
1372 tag: "link" "+ color=#00000080 underline=on underline_color=#00000080";
1373 tag: "hilight" "+ font=Sans:style=Bold";
1374 }
1375 }
1376 data {
1377// item: context_menu_orientation "horizontal";
1378 }
1379 parts {
1380 part { name: "elm.text";
1381 type: TEXTBLOCK;
1382 mouse_events: 1;
1383 scale: 1;
1384 entry_mode: EDITABLE;
1385 select_mode: DEFAULT;
1386 multiline: 1;
1387 source: "elm/entry/selection/default"; // selection under
1388 // source2: "X"; // selection over
1389 // source3: "X"; // cursor under
1390 source4: "elm/entry/cursor/default"; // cursorover
1391 source5: "elm/entry/anchor/default"; // anchor under
1392 // source6: "X"; // anchor over
1393 description { state: "default" 0.0;
1394 /* we gotta use 0 0 here, because of scrolled entries */
1395 fixed: 0 0;
1396 text {
1397 style: "entry_textblock_style";
1398 min: 0 1;
1399 align: 0.0 0.0;
1400 }
1401 }
1402 description { state: "disabled" 0.0;
1403 inherit: "default" 0.0;
1404 text {
1405 style: "entry_textblock_disabled_style";
1406 min: 0 1;
1407 }
1408 }
1409 }
1410 }
1411 programs {
1412 program { name: "focus";
1413 signal: "load";
1414 source: "";
1415 action: FOCUS_SET;
1416 target: "elm.text";
1417 }
1418 program { name: "disable";
1419 signal: "elm,state,disabled";
1420 source: "elm";
1421 action: STATE_SET "disabled" 0.0;
1422 target: "elm.text";
1423 }
1424 program { name: "enable";
1425 signal: "elm,state,enabled";
1426 source: "elm";
1427 action: STATE_SET "default" 0.0;
1428 target: "elm.text";
1429 }
1430 }
1431 }
1432
1433 group { name: "elm/entry/base-charwrap/default";
1434 styles
1435 {
1436 style { name: "entry_textblock_style_charwrap";
1437 base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry";
1438 tag: "br" "\n";
1439 tag: "ps" "ps";
1440 tag: "tab" "\t";
1441 tag: "em" "+ font=Sans:style=Oblique";
1442 tag: "b" "+ font=Sans:style=Bold";
1443 tag: "link" "+ color=#800 underline=on underline_color=#8008";
1444 tag: "hilight" "+ font=Sans:style=Bold";
1445 }
1446 style { name: "entry_textblock_disabled_style_charwrap";
1447 base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
1448 tag: "br" "\n";
1449 tag: "ps" "ps";
1450 tag: "tab" "\t";
1451 tag: "em" "+ font=Sans:style=Oblique";
1452 tag: "b" "+ font=Sans:style=Bold";
1453 tag: "link" "+ color=#00000080 underline=on underline_color=#00000080";
1454 tag: "hilight" "+ font=Sans:style=Bold";
1455 }
1456 }
1457 parts {
1458 part { name: "elm.text";
1459 type: TEXTBLOCK;
1460 mouse_events: 1;
1461 scale: 1;
1462 entry_mode: EDITABLE;
1463 select_mode: DEFAULT;
1464 multiline: 1;
1465 source: "elm/entry/selection/default"; // selection under
1466// source2: "X"; // selection over
1467// source3: "X"; // cursor under
1468 source4: "elm/entry/cursor/default"; // cursorover
1469 source5: "elm/entry/anchor/default"; // anchor under
1470// source6: "X"; // anchor over
1471 description { state: "default" 0.0;
1472 fixed: 1 0;
1473 text {
1474 style: "entry_textblock_style_charwrap";
1475 min: 0 1;
1476 align: 0.0 0.0;
1477 }
1478 }
1479 description { state: "disabled" 0.0;
1480 inherit: "default" 0.0;
1481 text {
1482 style: "entry_textblock_disabled_style_charwrap";
1483 min: 0 1;
1484 }
1485 }
1486 }
1487 }
1488 programs {
1489 program { name: "focus";
1490 signal: "load";
1491 source: "";
1492 action: FOCUS_SET;
1493 target: "elm.text";
1494 }
1495 program { name: "disable";
1496 signal: "elm,state,disabled";
1497 source: "elm";
1498 action: STATE_SET "disabled" 0.0;
1499 target: "elm.text";
1500 }
1501 program { name: "enable";
1502 signal: "elm,state,enabled";
1503 source: "elm";
1504 action: STATE_SET "default" 0.0;
1505 target: "elm.text";
1506 }
1507 }
1508 }
1509
1510 group { name: "elm/entry/base-nowrap/default";
1511 parts {
1512 part { name: "elm.text";
1513 type: TEXTBLOCK;
1514 mouse_events: 1;
1515 scale: 1;
1516 entry_mode: EDITABLE;
1517 select_mode: DEFAULT;
1518 multiline: 1;
1519 source: "elm/entry/selection/default"; // selection under
1520 source4: "elm/entry/cursor/default"; // cursorover
1521 source5: "elm/entry/anchor/default"; // anchor under
1522 description { state: "default" 0.0;
1523 text {
1524 style: "entry_textblock_style";
1525 min: 1 1;
1526 align: 0.0 0.0;
1527 }
1528 }
1529 description { state: "disabled" 0.0;
1530 inherit: "default" 0.0;
1531 text {
1532 style: "entry_textblock_disabled_style";
1533 min: 0 1;
1534 }
1535 }
1536 }
1537/*
1538 part { name: "sel";
1539 type: RECT;
1540 mouse_events: 0;
1541 description { state: "default" 0.0;
1542 align: 1.0 1.0;
1543 max: 16 16;
1544 aspect: 1.0 1.0;
1545 color: 255 0 0 0;
1546 }
1547 description { state: "visible" 0.0;
1548 inherit: "default" 0.0;
1549 color: 255 0 0 50;
1550 }
1551 }
1552 */
1553 }
1554 programs {
1555 program { name: "focus";
1556 signal: "load";
1557 source: "";
1558 action: FOCUS_SET;
1559 target: "elm.text";
1560 }
1561 program { name: "disable";
1562 signal: "elm,state,disabled";
1563 source: "elm";
1564 action: STATE_SET "disabled" 0.0;
1565 target: "elm.text";
1566 }
1567 program { name: "enable";
1568 signal: "elm,state,enabled";
1569 source: "elm";
1570 action: STATE_SET "default" 0.0;
1571 target: "elm.text";
1572 }
1573/*
1574 program { name: "selmode0";
1575 signal: "elm,state,select,on";
1576 source: "elm";
1577 action: STATE_SET "visible" 0.0;
1578 target: "sel";
1579 }
1580 program { name: "selmode1";
1581 signal: "elm,state,select,off";
1582 source: "elm";
1583 action: STATE_SET "default" 0.0;
1584 target: "sel";
1585 }
1586 */
1587 }
1588 }
1589
1590 group { name: "elm/entry/base-single/default";
1591 styles
1592 {
1593 style { name: "entry_single_textblock_style";
1594 base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry";
1595 tag: "br" "\n";
1596 tag: "ps" "ps";
1597 tag: "tab" "\t";
1598 tag: "em" "+ font=Sans:style=Oblique";
1599 tag: "b" "+ font=Sans:style=Bold";
1600 tag: "link" "+ color=#800 underline=on underline_color=#8008";
1601 tag: "hilight" "+ font=Sans:style=Bold";
1602 }
1603 style { name: "entry_single_textblock_disabled_style";
1604 base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry";
1605 tag: "br" "\n";
1606 tag: "ps" "ps";
1607 tag: "tab" "\t";
1608 tag: "em" "+ font=Sans:style=Oblique";
1609 tag: "b" "+ font=Sans:style=Bold";
1610 tag: "link" "+ color=#00000080 underline=on underline_color=#00000080";
1611 tag: "hilight" "+ font=Sans:style=Bold";
1612 }
1613 }
1614 parts {
1615 part { name: "elm.text";
1616 type: TEXTBLOCK;
1617 mouse_events: 1;
1618 scale: 1;
1619 entry_mode: EDITABLE;
1620 select_mode: DEFAULT;
1621 multiline: 0;
1622 source: "elm/entry/selection/default"; // selection under
1623 source4: "elm/entry/cursor/default"; // cursorover
1624 source5: "elm/entry/anchor/default"; // anchor under
1625 description { state: "default" 0.0;
1626 text {
1627 style: "entry_single_textblock_style";
1628 min: 1 1;
1629 max: 0 0;
1630 align: 0.0 0.5;
1631 }
1632 }
1633 description { state: "disabled" 0.0;
1634 inherit: "default" 0.0;
1635 text {
1636 style: "entry_single_textblock_disabled_style";
1637 }
1638 }
1639 }
1640 }
1641 programs {
1642 program { name: "focus";
1643 signal: "load";
1644 source: "";
1645 action: FOCUS_SET;
1646 target: "elm.text";
1647 }
1648 program { name: "disable";
1649 signal: "elm,state,disabled";
1650 source: "elm";
1651 action: STATE_SET "disabled" 0.0;
1652 target: "elm.text";
1653 }
1654 program { name: "enable";
1655 signal: "elm,state,enabled";
1656 source: "elm";
1657 action: STATE_SET "default" 0.0;
1658 target: "elm.text";
1659 }
1660 }
1661 }
1662
1663 group { name: "elm/entry/base-single-noedit/default";
1664 parts {
1665 part { name: "elm.text";
1666 type: TEXTBLOCK;
1667 mouse_events: 1;
1668 scale: 1;
1669 entry_mode: PLAIN;
1670 select_mode: DEFAULT;
1671 multiline: 0;
1672 source: "elm/entry/selection/default"; // selection under
1673 source5: "elm/entry/anchor/default"; // anchor under
1674 description { state: "default" 0.0;
1675 text {
1676 style: "entry_single_textblock_style";
1677 min: 1 1;
1678 max: 0 0;
1679 align: 0.0 0.5;
1680 }
1681 }
1682 description { state: "disabled" 0.0;
1683 inherit: "default" 0.0;
1684 text {
1685 style: "entry_single_textblock_disabled_style";
1686 }
1687 }
1688 }
1689 }
1690 programs {
1691 program { name: "focus";
1692 signal: "load";
1693 source: "";
1694 action: FOCUS_SET;
1695 target: "elm.text";
1696 }
1697 program { name: "disable";
1698 signal: "elm,state,disabled";
1699 source: "elm";
1700 action: STATE_SET "disabled" 0.0;
1701 target: "elm.text";
1702 }
1703 program { name: "enable";
1704 signal: "elm,state,enabled";
1705 source: "elm";
1706 action: STATE_SET "default" 0.0;
1707 target: "elm.text";
1708 }
1709 }
1710 }
1711
1712 group { name: "elm/entry/base-noedit/default";
1713 parts {
1714 part { name: "elm.text";
1715 type: TEXTBLOCK;
1716 mouse_events: 1;
1717 scale: 1;
1718 entry_mode: PLAIN;
1719 select_mode: DEFAULT;
1720 multiline: 1;
1721 source: "elm/entry/selection/default"; // selection under
1722 source5: "elm/entry/anchor/default"; // anchor under
1723 description { state: "default" 0.0;
1724 fixed: 1 0;
1725 text {
1726 style: "entry_textblock_style";
1727 min: 0 1;
1728 align: 0.0 0.0;
1729 }
1730 }
1731 description { state: "disabled" 0.0;
1732 inherit: "default" 0.0;
1733 text {
1734 style: "entry_textblock_disabled_style";
1735 }
1736 }
1737 }
1738 }
1739 programs {
1740 program { name: "focus";
1741 signal: "load";
1742 source: "";
1743 action: FOCUS_SET;
1744 target: "elm.text";
1745 }
1746 program { name: "disable";
1747 signal: "elm,state,disabled";
1748 source: "elm";
1749 action: STATE_SET "disabled" 0.0;
1750 target: "elm.text";
1751 }
1752 program { name: "enable";
1753 signal: "elm,state,enabled";
1754 source: "elm";
1755 action: STATE_SET "default" 0.0;
1756 target: "elm.text";
1757 }
1758 }
1759 }
1760
1761 group { name: "elm/entry/base-noedit-charwrap/default";
1762 parts {
1763 part { name: "elm.text";
1764 type: TEXTBLOCK;
1765 mouse_events: 1;
1766 scale: 1;
1767 entry_mode: PLAIN;
1768 select_mode: DEFAULT;
1769 multiline: 1;
1770 source: "elm/entry/selection/default"; // selection under
1771 source5: "elm/entry/anchor/default"; // anchor under
1772 description { state: "default" 0.0;
1773 fixed: 1 0;
1774 text {
1775 style: "entry_textblock_style_charwrap";
1776 min: 0 1;
1777 align: 0.0 0.0;
1778 }
1779 }
1780 description { state: "disabled" 0.0;
1781 inherit: "default" 0.0;
1782 text {
1783 style: "entry_textblock_disabled_style_charwrap";
1784 }
1785 }
1786 }
1787 }
1788 programs {
1789 program { name: "focus";
1790 signal: "load";
1791 source: "";
1792 action: FOCUS_SET;
1793 target: "elm.text";
1794 }
1795 program { name: "disable";
1796 signal: "elm,state,disabled";
1797 source: "elm";
1798 action: STATE_SET "disabled" 0.0;
1799 target: "elm.text";
1800 }
1801 program { name: "enable";
1802 signal: "elm,state,enabled";
1803 source: "elm";
1804 action: STATE_SET "default" 0.0;
1805 target: "elm.text";
1806 }
1807 }
1808 }
1809
1810 group { name: "elm/entry/base-nowrap-noedit/default";
1811 parts {
1812 part { name: "elm.text";
1813 type: TEXTBLOCK;
1814 mouse_events: 1;
1815 scale: 1;
1816 entry_mode: PLAIN;
1817 select_mode: DEFAULT;
1818 multiline: 1;
1819 source: "elm/entry/selection/default"; // selection under
1820 source5: "elm/entry/anchor/default"; // anchor under
1821 description { state: "default" 0.0;
1822 text {
1823 style: "entry_textblock_style";
1824 min: 1 1;
1825 align: 0.0 0.0;
1826 }
1827 }
1828 description { state: "disabled" 0.0;
1829 inherit: "default" 0.0;
1830 text {
1831 style: "entry_textblock_disabled_style";
1832 }
1833 }
1834 }
1835 }
1836 programs {
1837 program { name: "focus";
1838 signal: "load";
1839 source: "";
1840 action: FOCUS_SET;
1841 target: "elm.text";
1842 }
1843 program { name: "disable";
1844 signal: "elm,state,disabled";
1845 source: "elm";
1846 action: STATE_SET "disabled" 0.0;
1847 target: "elm.text";
1848 }
1849 program { name: "enable";
1850 signal: "elm,state,enabled";
1851 source: "elm";
1852 action: STATE_SET "default" 0.0;
1853 target: "elm.text";
1854 }
1855 }
1856 }
1857
1858 group { name: "elm/entry/base-password/default";
1859 parts {
1860 part { name: "elm.text";
1861 type: TEXTBLOCK;
1862 mouse_events: 1;
1863 scale: 1;
1864 entry_mode: PASSWORD;
1865 select_mode: DEFAULT;
1866 multiline: 0;
1867 source: "elm/entry/selection/default"; // selection under
1868 source4: "elm/entry/cursor/default"; // cursorover
1869 source5: "elm/entry/anchor/default"; // anchor under
1870 description { state: "default" 0.0;
1871 text {
1872 style: "entry_single_textblock_style";
1873 repch: "*";
1874 min: 1 1;
1875 max: 0 0;
1876 align: 0.0 0.5;
1877 }
1878 }
1879 description { state: "disabled" 0.0;
1880 inherit: "default" 0.0;
1881 text {
1882 style: "entry_single_textblock_disabled_style";
1883 }
1884 }
1885 }
1886 }
1887 programs {
1888 program { name: "focus";
1889 signal: "load";
1890 source: "";
1891 action: FOCUS_SET;
1892 target: "elm.text";
1893 }
1894 program { name: "disable";
1895 signal: "elm,state,disabled";
1896 source: "elm";
1897 action: STATE_SET "disabled" 0.0;
1898 target: "elm.text";
1899 }
1900 program { name: "enable";
1901 signal: "elm,state,enabled";
1902 source: "elm";
1903 action: STATE_SET "default" 0.0;
1904 target: "elm.text";
1905 }
1906 }
1907 }
1908
1909 group { name: "elm/entry/cursor/default";
1910 images {
1911 image: "cur_box.png" COMP;
1912 image: "cur_hi.png" COMP;
1913 image: "cur_shad.png" COMP;
1914 image: "cur_shine.png" COMP;
1915 image: "cur_glow.png" COMP;
1916 }
1917 parts {
1918 part { name: "clip2";
1919 type: RECT;
1920 mouse_events: 0;
1921 description { state: "default" 0.0;
1922 rel1.to: "clip";
1923 rel2.to: "clip";
1924 visible: 0;
1925 }
1926 description { state: "focused" 0.0;
1927 inherit: "default" 0.0;
1928 visible: 1;
1929 }
1930 }
1931 part { name: "clip";
1932 type: RECT;
1933 mouse_events: 0;
1934 clip_to: "clip2";
1935 description { state: "default" 0.0;
1936 rel1.offset: -10 0;
1937 rel2.offset: 9 9;
1938 }
1939 description { state: "hidden" 0.0;
1940 inherit: "default" 0.0;
1941 visible: 0;
1942 }
1943 }
1944 part { name: "bg";
1945 mouse_events: 0;
1946 clip_to: "clip";
1947 description { state: "default" 0.0;
1948 rel1.to: "base";
1949 rel1.offset: -2 0;
1950 rel2.to: "base";
1951 rel2.offset: 1 1;
1952 image.border: 2 2 2 2;
1953 image.normal: "cur_shad.png";
1954 }
1955 }
1956 part { name: "base";
1957 mouse_events: 0;
1958 scale: 1;
1959 clip_to: "clip";
1960 description { state: "default" 0.0;
1961 min: 2 2;
1962 align: 0.5 1.0;
1963 rel1.relative: 0.0 1.0;
1964 rel1.offset: 0 -1;
1965 rel2.relative: 1.0 1.0;
1966 rel2.offset: -1 -1;
1967 image.normal: "cur_box.png";
1968 }
1969 }
1970 part { name: "hi";
1971 mouse_events: 0;
1972 clip_to: "clip";
1973 description { state: "default" 0.0;
1974 rel1.to: "base";
1975 rel2.to: "base";
1976 rel2.relative: 1.0 0.5;
1977 image.normal: "cur_hi.png";
1978 }
1979 }
1980 part { name: "shine";
1981 mouse_events: 0;
1982 clip_to: "clip";
1983 clip_to: "clip2";
1984 description { state: "default" 0.0;
1985 rel1.to: "base";
1986 rel2.to: "base";
1987 rel2.relative: 1.0 0.75;
1988 image.border: 2 2 1 0;
1989 image.normal: "cur_shine.png";
1990 fill.smooth: 0;
1991 }
1992 }
1993 part { name: "glow";
1994 mouse_events: 0;
1995 clip_to: "clip2";
1996 description { state: "default" 0.0;
1997 rel1.to: "base";
1998 rel1.relative: 0.0 -2.0;
1999 rel1.offset: -2 0;
2000 rel2.to: "base";
2001 rel2.relative: 1.0 0.0;
2002 rel2.offset: 1 1;
2003 image.border: 2 2 0 4;
2004 image.normal: "cur_glow.png";
2005 fill.smooth: 0;
2006 }
2007 description { state: "hidden" 0.0;
2008 inherit: "default" 0.0;
2009 color: 255 255 255 0;
2010 }
2011 }
2012 }
2013 programs {
2014 program { name: "show";
2015 signal: "show";
2016 source: "";
2017 action: STATE_SET "hidden" 0.0;
2018 in: 1.0 0.0;
2019 transition: DECELERATE 2.0;
2020 target: "glow";
2021 after: "show2";
2022 }
2023 program { name: "show2";
2024 action: STATE_SET "hidden" 0.0;
2025 in: 0.2 0.0;
2026 target: "clip";
2027 after: "show3";
2028 }
2029 program { name: "show3";
2030 action: STATE_SET "default" 0.0;
2031 in: 0.5 0.0;
2032 target: "clip";
2033 after: "show4";
2034 }
2035 program { name: "show4";
2036 action: STATE_SET "default" 0.0;
2037 in: 0.5 0.0;
2038 transition: DECELERATE 0.5;
2039 target: "glow";
2040 after: "show";
2041 }
2042 program { name: "focused";
2043 signal: "elm,action,focus";
2044 source: "elm";
2045 action: STATE_SET "focused" 0.0;
2046 target: "clip2";
2047 }
2048 program { name: "unfocused";
2049 signal: "elm,action,unfocus";
2050 source: "elm";
2051 action: STATE_SET "default" 0.0;
2052 target: "clip2";
2053 }
2054 }
2055 }
2056
2057 group { name: "elm/entry/selection/default";
2058 parts {
2059 part { name: "bg";
2060 type: RECT;
2061 mouse_events: 0;
2062 description { state: "default" 0.0;
2063 color: 128 128 128 128;
2064 }
2065 }
2066 }
2067 }
2068
2069 group { name: "elm/entry/anchor/default";
2070 parts {
2071 part { name: "bg";
2072 type: RECT;
2073 mouse_events: 0;
2074 description { state: "default" 0.0;
2075 color: 128 0 0 64;
2076 }
2077 }
2078 }
2079 }
2080}