aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/elementary/data/themes/widgets/gengrid.edc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libraries/elementary/data/themes/widgets/gengrid.edc1474
1 files changed, 1474 insertions, 0 deletions
diff --git a/libraries/elementary/data/themes/widgets/gengrid.edc b/libraries/elementary/data/themes/widgets/gengrid.edc
new file mode 100644
index 0000000..44b02f6
--- /dev/null
+++ b/libraries/elementary/data/themes/widgets/gengrid.edc
@@ -0,0 +1,1474 @@
1group { name: "elm/gengrid/item/default/default";
2 data.item: "texts" "elm.text";
3 data.item: "contents" "elm.swallow.icon elm.swallow.end";
4 images {
5 image: "bt_sm_base1.png" COMP;
6 image: "bt_sm_shine.png" COMP;
7 image: "bt_sm_hilight.png" COMP;
8 image: "ilist_1.png" COMP;
9 image: "ilist_item_shadow.png" COMP;
10 }
11 parts {
12 part { name: "event";
13 type: RECT;
14 repeat_events: 1;
15 description {
16 state: "default" 0.0;
17 color: 0 0 0 0;
18 }
19 }
20 part { name: "reorder_bg";
21 mouse_events: 0;
22 description { state: "default" 0.0;
23 visible: 0;
24 color: 255 255 255 0;
25 rel1 {
26 relative: 0.0 0.0;
27 offset: -10 -10;
28 }
29 rel2 {
30 relative: 1.0 1.0;
31 offset: 12 12;
32 }
33 image {
34 normal: "bt_bases.png";
35 border: 6 6 6 6;
36 }
37 }
38 description { state: "enabled" 0.0;
39 inherit: "default" 0.0;
40 visible: 1;
41 color: 255 255 255 255;
42 }
43 }
44 part { name: "base_sh";
45 mouse_events: 0;
46 description { state: "default" 0.0;
47 align: 0.0 0.0;
48 min: 0 10;
49 fixed: 1 1;
50 rel1 {
51 to: "base";
52 relative: 0.0 1.0;
53 offset: 0 0;
54 }
55 rel2 {
56 to: "base";
57 relative: 1.0 1.0;
58 offset: -1 0;
59 }
60 image {
61 normal: "ilist_item_shadow.png";
62 }
63 fill.smooth: 0;
64 }
65 }
66 part { name: "base";
67 mouse_events: 0;
68 description { state: "default" 0.0;
69 image {
70 normal: "ilist_1.png";
71 border: 2 2 2 2;
72 }
73 fill.smooth: 0;
74 }
75 }
76 part { name: "bg";
77 clip_to: "disclip";
78 mouse_events: 0;
79 description { state: "default" 0.0;
80 visible: 0;
81 color: 255 255 255 0;
82 rel1 {
83 relative: 0.0 0.0;
84 offset: -5 -5;
85 }
86 rel2 {
87 relative: 1.0 1.0;
88 offset: 4 4;
89 }
90 image {
91 normal: "bt_sm_base1.png";
92 border: 6 6 6 6;
93 }
94 image.middle: SOLID;
95 }
96 description { state: "selected" 0.0;
97 inherit: "default" 0.0;
98 visible: 1;
99 color: 255 255 255 255;
100 rel1 {
101 relative: 0.0 0.0;
102 offset: -2 -2;
103 }
104 rel2 {
105 relative: 1.0 1.0;
106 offset: 1 1;
107 }
108 }
109 }
110 part { name: "elm.swallow.pad";
111 type: SWALLOW;
112 description { state: "default" 0.0;
113 fixed: 1 0;
114 align: 0.0 0.5;
115 rel1 {
116 relative: 0.0 1.0;
117 offset: 0 -10;
118 }
119 rel2 {
120 to_y: "elm.text";
121 relative: 0.0 0.0;
122 offset: -1 -1;
123 }
124 }
125 }
126 part { name: "elm.swallow.icon";
127 clip_to: "disclip";
128 type: SWALLOW;
129 description { state: "default" 0.0;
130 fixed: 1 0;
131 align: 0.5 0.5;
132 rel1 {
133 relative: 0.0 0.0;
134 offset: -1 4;
135 }
136 rel2 {
137 to_y: "elm.swallow.pad";
138 relative: 1.0 0.0;
139 offset: -1 -5;
140 }
141 }
142 }
143 part { name: "elm.swallow.end";
144 clip_to: "disclip";
145 type: SWALLOW;
146 description { state: "default" 0.0;
147 fixed: 1 0;
148 align: 1.0 0.0;
149 aspect: 1.0 1.0;
150 aspect_preference: HORIZONTAL;
151 rel1 {
152 relative: 1.0 0.0;
153 offset: -5 -5;
154 }
155 rel2 {
156 relative: 1.0 1.0;
157 offset: 5 5;
158 }
159 }
160 }
161 part { name: "elm.text";
162 clip_to: "disclip";
163 type: TEXT;
164 effect: SOFT_SHADOW;
165 mouse_events: 0;
166 scale: 1;
167 description { state: "default" 0.0;
168 rel1 {
169 relative: 0.0 1.0;
170 offset: 0 0;
171 }
172 rel2 {
173 relative: 1.0 1.0;
174 offset: -5 -5;
175 }
176 color: 0 0 0 255;
177 color3: 0 0 0 0;
178 text {
179 font: "Sans";
180 size: 10;
181 min: 0 1;
182 align: 0.5 0.0;
183 text_class: "grid_item";
184 }
185 }
186 description { state: "selected" 0.0;
187 inherit: "default" 0.0;
188 color: 224 224 224 255;
189 color3: 0 0 0 64;
190 }
191 }
192 part { name: "fg1";
193 clip_to: "disclip";
194 mouse_events: 0;
195 description { state: "default" 0.0;
196 visible: 0;
197 color: 255 255 255 0;
198 rel1.to: "bg";
199 rel2.relative: 1.0 0.5;
200 rel2.to: "bg";
201 image {
202 normal: "bt_sm_hilight.png";
203 border: 6 6 6 0;
204 }
205 }
206 description { state: "selected" 0.0;
207 inherit: "default" 0.0;
208 visible: 1;
209 color: 255 255 255 255;
210 }
211 }
212 part { name: "fg2";
213 clip_to: "disclip";
214 mouse_events: 0;
215 description { state: "default" 0.0;
216 visible: 0;
217 color: 255 255 255 0;
218 rel1.to: "bg";
219 rel2.to: "bg";
220 image {
221 normal: "bt_sm_shine.png";
222 border: 6 6 6 0;
223 }
224 }
225 description { state: "selected" 0.0;
226 inherit: "default" 0.0;
227 visible: 1;
228 color: 255 255 255 255;
229 }
230 }
231 part { name: "disclip";
232 type: RECT;
233 description { state: "default" 0.0;
234 rel1.to: "bg";
235 rel2.to: "bg";
236 }
237 description { state: "disabled" 0.0;
238 inherit: "default" 0.0;
239 color: 255 255 255 64;
240 }
241 }
242 }
243 programs {
244 // signal: elm,state,%s,active
245 // a "check" item named %s went active
246 // signal: elm,state,%s,passive
247 // a "check" item named %s went passive
248 // default is passive
249 program { name: "go_active";
250 signal: "elm,state,selected";
251 source: "elm";
252 action: STATE_SET "selected" 0.0;
253 target: "bg";
254 target: "fg1";
255 target: "fg2";
256 target: "elm.text";
257 }
258 program { name: "go_passive";
259 signal: "elm,state,unselected";
260 source: "elm";
261 action: STATE_SET "default" 0.0;
262 target: "bg";
263 target: "fg1";
264 target: "fg2";
265 target: "elm.text";
266 transition: LINEAR 0.1;
267 }
268 program { name: "go_disabled";
269 signal: "elm,state,disabled";
270 source: "elm";
271 action: STATE_SET "disabled" 0.0;
272 target: "disclip";
273 }
274 program { name: "go_enabled";
275 signal: "elm,state,enabled";
276 source: "elm";
277 action: STATE_SET "default" 0.0;
278 target: "disclip";
279 }
280 program { name: "go_reorder_disabled";
281 signal: "elm,state,reorder,disabled";
282 source: "elm";
283 action: STATE_SET "default" 0.0;
284 target: "reorder_bg";
285 transition: DECELERATE 0.5;
286 }
287 program { name: "go_reorder_enabled";
288 signal: "elm,state,reorder,enabled";
289 source: "elm";
290 action: STATE_SET "enabled" 0.0;
291 target: "reorder_bg";
292 transition: DECELERATE 0.5;
293 }
294 }
295}
296group { name: "elm/gengrid/item/default_style/default";
297 styles
298 {
299 style { name: "gengrid_style";
300 base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item";
301 tag: "br" "\n";
302 tag: "ps" "ps";
303 tag: "hilight" "+ font_weight=Bold";
304 tag: "b" "+ font_weight=Bold";
305 tag: "tab" "\t";
306 }
307 style { name: "gengrid_selected_style";
308 base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item";
309 tag: "br" "\n";
310 tag: "ps" "ps";
311 tag: "hilight" "+ font_weight=Bold";
312 tag: "b" "+ font_weight=Bold";
313 tag: "tab" "\t";
314 }
315 }
316 data.item: "texts" "elm.text";
317 data.item: "contents" "elm.swallow.icon elm.swallow.end";
318 images {
319 image: "bt_sm_base1.png" COMP;
320 image: "bt_sm_shine.png" COMP;
321 image: "bt_sm_hilight.png" COMP;
322 image: "ilist_1.png" COMP;
323 image: "ilist_item_shadow.png" COMP;
324 }
325 parts {
326 part { name: "event";
327 type: RECT;
328 repeat_events: 1;
329 description { state: "default" 0.0;
330 color: 0 0 0 0;
331 }
332 }
333 part { name: "base_sh";
334 mouse_events: 0;
335 description { state: "default" 0.0;
336 align: 0.0 0.0;
337 min: 0 10;
338 fixed: 1 1;
339 rel1 {
340 to: "base";
341 relative: 0.0 1.0;
342 offset: 0 0;
343 }
344 rel2 {
345 to: "base";
346 relative: 1.0 1.0;
347 offset: -1 0;
348 }
349 image {
350 normal: "ilist_item_shadow.png";
351 }
352 fill.smooth: 0;
353 }
354 }
355 part { name: "base";
356 mouse_events: 0;
357 description { state: "default" 0.0;
358 min: 16 28;
359 image {
360 normal: "ilist_1.png";
361 border: 2 2 2 2;
362 }
363 fill.smooth: 0;
364 }
365 }
366 part { name: "bg";
367 clip_to: "disclip";
368 mouse_events: 0;
369 description { state: "default" 0.0;
370 visible: 0;
371 color: 255 255 255 0;
372 rel1 {
373 relative: 0.0 0.0;
374 offset: -5 -5;
375 }
376 rel2 {
377 relative: 1.0 1.0;
378 offset: 4 4;
379 }
380 image {
381 normal: "bt_sm_base1.png";
382 border: 6 6 6 6;
383 }
384 image.middle: SOLID;
385 }
386 description { state: "selected" 0.0;
387 inherit: "default" 0.0;
388 visible: 1;
389 color: 255 255 255 255;
390 rel1 {
391 relative: 0.0 0.0;
392 offset: -2 -2;
393 }
394 rel2 {
395 relative: 1.0 1.0;
396 offset: 1 1;
397 }
398 }
399 }
400 part { name: "elm.swallow.pad";
401 type: SWALLOW;
402 description { state: "default" 0.0;
403 fixed: 1 0;
404 align: 0.0 0.5;
405 rel1 {
406 relative: 0.0 0.0;
407 offset: 4 4;
408 }
409 rel2 {
410 relative: 0.0 1.0;
411 offset: 4 -5;
412 }
413 }
414 }
415 part { name: "elm.swallow.icon";
416 clip_to: "disclip";
417 type: SWALLOW;
418 description { state: "default" 0.0;
419 fixed: 1 0;
420 align: 0.0 0.5;
421 rel1 {
422 to_x: "elm.swallow.pad";
423 relative: 1.0 0.0;
424 offset: -1 4;
425 }
426 rel2 {
427 to_x: "elm.swallow.pad";
428 relative: 1.0 1.0;
429 offset: -1 -5;
430 }
431 }
432 }
433 part { name: "elm.swallow.end";
434 clip_to: "disclip";
435 type: SWALLOW;
436 description { state: "default" 0.0;
437 fixed: 1 0;
438 align: 1.0 0.5;
439 aspect: 1.0 1.0;
440 aspect_preference: VERTICAL;
441 rel1 {
442 relative: 1.0 0.0;
443 offset: -5 4;
444 }
445 rel2 {
446 relative: 1.0 1.0;
447 offset: -5 -5;
448 }
449 }
450 }
451 part { name: "elm.text";
452 clip_to: "disclip";
453 type: TEXTBLOCK;
454 mouse_events: 0;
455 scale: 1;
456 description {
457 state: "default" 0.0;
458 align: 0.0 0.5;
459 fixed: 0 1;
460 rel1 {
461 to_x: "elm.swallow.icon";
462 to_y: "base";
463 relative: 1.0 0.5;
464 offset: 0 4;
465 }
466 rel2 {
467 to_x: "elm.swallow.end";
468 to_y: "base";
469 relative: 0.0 0.5;
470 offset: -1 -5;
471 }
472 text {
473 style: "gengrid_style";
474 min: 1 1;
475 }
476 }
477 description { state: "selected" 0.0;
478 inherit: "default" 0.0;
479 text {
480 style: "gengrid_selected_style";
481 }
482 }
483 }
484 part { name: "fg1";
485 clip_to: "disclip";
486 mouse_events: 0;
487 description { state: "default" 0.0;
488 visible: 0;
489 color: 255 255 255 0;
490 rel1.to: "bg";
491 rel2.relative: 1.0 0.5;
492 rel2.to: "bg";
493 image {
494 normal: "bt_sm_hilight.png";
495 border: 6 6 6 0;
496 }
497 }
498 description { state: "selected" 0.0;
499 inherit: "default" 0.0;
500 visible: 1;
501 color: 255 255 255 255;
502 }
503 }
504 part { name: "fg2";
505 clip_to: "disclip";
506 mouse_events: 0;
507 description { state: "default" 0.0;
508 visible: 0;
509 color: 255 255 255 0;
510 rel1.to: "bg";
511 rel2.to: "bg";
512 image {
513 normal: "bt_sm_shine.png";
514 border: 6 6 6 0;
515 }
516 }
517 description { state: "selected" 0.0;
518 inherit: "default" 0.0;
519 visible: 1;
520 color: 255 255 255 255;
521 }
522 }
523 part { name: "disclip";
524 type: RECT;
525 description { state: "default" 0.0;
526 rel1.to: "bg";
527 rel2.to: "bg";
528 }
529 description { state: "disabled" 0.0;
530 inherit: "default" 0.0;
531 color: 255 255 255 64;
532 }
533 }
534 }
535 programs {
536 // signal: elm,state,%s,active
537 // a "check" item named %s went active
538 // signal: elm,state,%s,passive
539 // a "check" item named %s went passive
540 // default is passive
541 program { name: "go_active";
542 signal: "elm,state,selected";
543 source: "elm";
544 action: STATE_SET "selected" 0.0;
545 target: "bg";
546 target: "fg1";
547 target: "fg2";
548 target: "elm.text";
549 }
550 program { name: "go_passive";
551 signal: "elm,state,unselected";
552 source: "elm";
553 action: STATE_SET "default" 0.0;
554 target: "bg";
555 target: "fg1";
556 target: "fg2";
557 target: "elm.text";
558 transition: LINEAR 0.1;
559 }
560 program { name: "go_disabled";
561 signal: "elm,state,disabled";
562 source: "elm";
563 action: STATE_SET "disabled" 0.0;
564 target: "disclip";
565 }
566 program { name: "go_enabled";
567 signal: "elm,state,enabled";
568 source: "elm";
569 action: STATE_SET "default" 0.0;
570 target: "disclip";
571 }
572 }
573}
574
575group { name: "elm/gengrid/item/up/default";
576 data.item: "texts" "elm.text";
577 images {
578 image: "bt_sm_base1.png" COMP;
579 image: "bt_sm_shine.png" COMP;
580 image: "bt_sm_hilight.png" COMP;
581 image: "arrow_up.png" COMP;
582 }
583 parts {
584 part { name: "event";
585 type: RECT;
586 repeat_events: 1;
587 description { state: "default" 0.0;
588 color: 0 0 0 0;
589 }
590 }
591 part { name: "bg";
592 clip_to: "disclip";
593 mouse_events: 0;
594 description { state: "default" 0.0;
595 visible: 0;
596 color: 255 255 255 0;
597 rel1.offset: -3 -3;
598 rel2.offset: 2 2;
599 image { normal: "bt_sm_base1.png";
600 border: 6 6 6 6;
601 middle: SOLID;
602 }
603 }
604 description { state: "selected" 0.0;
605 inherit: "default" 0.0;
606 visible: 1;
607 color: 255 255 255 255;
608 }
609 }
610 part { name: "image";
611 type: IMAGE;
612 mouse_events: 0;
613 description { state: "default" 0.0;
614 aspect_preference: BOTH;
615 aspect: 1.0 1.0;
616 image.normal: "arrow_up.png";
617 rel2 {
618 to_y: "elm.text";
619 relative: 1.0 0.0;
620 offset: -1 -2;
621 }
622 }
623 }
624 part { name: "elm.text";
625 clip_to: "disclip";
626 type: TEXT;
627 effect: SOFT_SHADOW;
628 mouse_events: 0;
629 scale: 1;
630 description { state: "default" 0.0;
631 rel1 {
632 relative: 0.0 1.0;
633 offset: 20 -25;
634 }
635 rel2 {
636 relative: 1.0 1.0;
637 offset: -21 -3;
638 }
639 color: 0 0 0 255;
640 color3: 0 0 0 0;
641 text {
642 font: "Sans";
643 size: 10;
644 min: 0 1;
645 align: 0.5 0.0;
646 text_class: "grid_item";
647 }
648 }
649 description { state: "selected" 0.0;
650 inherit: "default" 0.0;
651 color: 224 224 224 255;
652 color3: 0 0 0 64;
653 }
654 }
655 part { name: "fg1";
656 clip_to: "disclip";
657 mouse_events: 0;
658 description { state: "default" 0.0;
659 visible: 0;
660 color: 255 255 255 0;
661 rel1.offset: -3 -3;
662 rel2 {
663 relative: 1.0 0.5;
664 offset: 2 -1;
665 }
666 image {
667 normal: "bt_sm_hilight.png";
668 border: 6 6 6 0;
669 }
670 }
671 description { state: "selected" 0.0;
672 inherit: "default" 0.0;
673 visible: 1;
674 color: 255 255 255 255;
675 }
676 }
677 part { name: "fg2";
678 clip_to: "disclip";
679 mouse_events: 0;
680 description { state: "default" 0.0;
681 visible: 0;
682 color: 255 255 255 0;
683 rel1.offset: -3 -3;
684 rel2.offset: 2 2;
685 image {
686 normal: "bt_sm_shine.png";
687 border: 6 6 6 0;
688 }
689 }
690 description { state: "selected" 0.0;
691 inherit: "default" 0.0;
692 visible: 1;
693 color: 255 255 255 255;
694 }
695 }
696 part { name: "disclip";
697 type: RECT;
698 description { state: "default" 0.0;
699 rel1.to: "bg";
700 rel2.to: "bg";
701 }
702 description { state: "disabled" 0.0;
703 inherit: "default" 0.0;
704 color: 255 255 255 64;
705 }
706 }
707 }
708 programs {
709 program { name: "go_active";
710 signal: "elm,state,selected";
711 source: "elm";
712 action: STATE_SET "selected" 0.0;
713 target: "bg";
714 target: "fg1";
715 target: "fg2";
716 target: "elm.text";
717 }
718 program { name: "go_passive";
719 signal: "elm,state,unselected";
720 source: "elm";
721 action: STATE_SET "default" 0.0;
722 target: "bg";
723 target: "fg1";
724 target: "fg2";
725 target: "elm.text";
726 transition: LINEAR 0.1;
727 }
728 program { name: "go_disabled";
729 signal: "elm,state,disabled";
730 source: "elm";
731 action: STATE_SET "disabled" 0.0;
732 target: "disclip";
733 }
734 program { name: "go_enabled";
735 signal: "elm,state,enabled";
736 source: "elm";
737 action: STATE_SET "default" 0.0;
738 target: "disclip";
739 }
740 }
741}
742
743group { name: "elm/gengrid/item/album-preview/default";
744 data.item: "texts" "elm.text";
745 data.item: "contents" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
746 data.item: "states" "have_files";
747 images {
748 image: "bt_sm_base1.png" COMP;
749 image: "bt_sm_shine.png" COMP;
750 image: "bt_sm_hilight.png" COMP;
751 image: "icon_folder.png" COMP;
752 }
753 parts {
754 part { name: "event";
755 type: RECT;
756 repeat_events: 1;
757 description { state: "default" 0.0;
758 color: 0 0 0 0;
759 }
760 }
761 part { name: "bg";
762 clip_to: "disclip";
763 mouse_events: 0;
764 description { state: "default" 0.0;
765 visible: 0;
766 color: 255 255 255 0;
767 rel1.offset: -3 -3;
768 rel2.offset: 2 2;
769 image {
770 normal: "bt_sm_base1.png";
771 border: 6 6 6 6;
772 middle: SOLID;
773 }
774 }
775 description { state: "selected" 0.0;
776 inherit: "default" 0.0;
777 visible: 1;
778 color: 255 255 255 255;
779 }
780 }
781 part { name: "image";
782 type: IMAGE;
783 mouse_events: 0;
784 description { state: "default" 0.0;
785 aspect_preference: BOTH;
786 aspect: 1.0 1.0;
787 image.normal: "icon_folder.png";
788 rel2 {
789 to_y: "elm.text";
790 relative: 1.0 0.0;
791 offset: -1 -2;
792 }
793 }
794 }
795 part { name: "have-files-clipper";
796 type: RECT;
797 description { state: "default" 0.0;
798 color: 255 255 255 0;
799 visible: 0;
800 }
801 description { state: "visible" 0.0;
802 inherit: "default" 0.0;
803 color: 255 255 255 255;
804 visible: 1;
805 }
806 }
807 part { name: "icon_box_margin";
808 type: RECT;
809 mouse_events: 0;
810 clip_to: "have-files-clipper";
811 description { state: "default" 0.0;
812 color: 0 0 0 255;
813 rel1 {
814 to: "icon_box";
815 offset: -1 -1;
816 }
817 rel2 {
818 to: "icon_box";
819 offset: 0 0;
820 }
821 }
822 }
823 part { name: "icon_box";
824 type: RECT;
825 mouse_events: 0;
826 clip_to: "have-files-clipper";
827 description { state: "default" 0.0;
828 color: 255 255 255 255;
829 align: 1.0 1.0;
830 min: 32 32;
831 rel1 {
832 relative: 0.25 0.25;
833 offset: 0 0;
834 }
835 rel2 {
836 relative: 1.0 0.0;
837 offset: -11 -4;
838 to_y: "elm.text";
839 }
840 }
841 }
842 part { name: "elm.swallow.icon.1";
843 type: SWALLOW;
844 mouse_events: 0;
845 clip_to: "have-files-clipper";
846 description { state: "default" 0.0;
847 rel1 {
848 relative: 0.0 0.0;
849 to: "icon_box";
850 }
851 rel2 {
852 relative: 0.5 0.5;
853 offset: -1 -1;
854 to: "icon_box";
855 }
856 }
857 }
858 part { name: "elm.swallow.icon.2";
859 type: SWALLOW;
860 mouse_events: 0;
861 clip_to: "have-files-clipper";
862 description { state: "default" 0.0;
863 rel1 {
864 relative: 0.5 0.0;
865 to: "icon_box";
866 }
867 rel2 {
868 relative: 1.0 0.5;
869 offset: -1 -1;
870 to: "icon_box";
871 }
872 }
873 }
874 part { name: "elm.swallow.icon.3";
875 type: SWALLOW;
876 mouse_events: 0;
877 clip_to: "have-files-clipper";
878 description { state: "default" 0.0;
879 rel1 {
880 relative: 0.0 0.5;
881 to: "icon_box";
882 }
883 rel2 {
884 relative: 0.5 1.0;
885 offset: -1 -1;
886 to: "icon_box";
887 }
888 }
889 }
890 part { name: "elm.swallow.icon.4";
891 type: SWALLOW;
892 mouse_events: 0;
893 clip_to: "have-files-clipper";
894 description { state: "default" 0.0;
895 rel1 {
896 relative: 0.5 0.5;
897 to: "icon_box";
898 }
899 rel2 {
900 relative: 1.0 1.0;
901 offset: -1 -1;
902 to: "icon_box";
903 }
904 }
905 }
906 part { name: "elm.text";
907 clip_to: "disclip";
908 type: TEXT;
909 effect: SOFT_SHADOW;
910 mouse_events: 0;
911 scale: 1;
912 description { state: "default" 0.0;
913 rel1 {
914 relative: 0.0 1.0;
915 offset: 20 -30;
916 }
917 rel2 {
918 relative: 1.0 1.0;
919 offset: -21 -15;
920 }
921 color: 0 0 0 255;
922 color3: 0 0 0 0;
923 text {
924 font: "Sans";
925 size: 10;
926 min: 0 1;
927 align: 0.5 0.0;
928 text_class: "grid_item";
929 }
930 }
931 description { state: "selected" 0.0;
932 inherit: "default" 0.0;
933 color: 255 255 255 255;
934 }
935 }
936 part { name: "fg1";
937 clip_to: "disclip";
938 mouse_events: 0;
939 description { state: "default" 0.0;
940 visible: 0;
941 color: 255 255 255 0;
942 rel1.offset: -3 -3;
943 rel2 {
944 relative: 1.0 0.5;
945 offset: 2 -1;
946 }
947 image {
948 normal: "bt_sm_hilight.png";
949 border: 6 6 6 0;
950 }
951 }
952 description { state: "selected" 0.0;
953 inherit: "default" 0.0;
954 visible: 1;
955 color: 255 255 255 255;
956 }
957 }
958 part { name: "fg2";
959 clip_to: "disclip";
960 mouse_events: 0;
961 description { state: "default" 0.0;
962 visible: 0;
963 color: 255 255 255 0;
964 rel1.offset: -3 -3;
965 rel2.offset: 2 2;
966 image {
967 normal: "bt_sm_shine.png";
968 border: 6 6 6 0;
969 }
970 }
971 description { state: "selected" 0.0;
972 inherit: "default" 0.0;
973 visible: 1;
974 color: 255 255 255 255;
975 }
976 }
977 part { name: "disclip";
978 type: RECT;
979 description { state: "default" 0.0;
980 rel1.to: "bg";
981 rel2.to: "bg";
982 }
983 description { state: "disabled" 0.0;
984 inherit: "default" 0.0;
985 color: 255 255 255 64;
986 }
987 }
988 }
989 programs {
990 program { name: "go_active";
991 signal: "elm,state,selected";
992 source: "elm";
993 action: STATE_SET "selected" 0.0;
994 target: "bg";
995 target: "fg1";
996 target: "fg2";
997 target: "elm.text";
998 }
999 program { name: "go_passive";
1000 signal: "elm,state,unselected";
1001 source: "elm";
1002 action: STATE_SET "default" 0.0;
1003 target: "bg";
1004 target: "fg1";
1005 target: "fg2";
1006 target: "elm.text";
1007 transition: LINEAR 0.1;
1008 }
1009 program { name: "go_disabled";
1010 signal: "elm,state,disabled";
1011 source: "elm";
1012 action: STATE_SET "disabled" 0.0;
1013 target: "disclip";
1014 }
1015 program { name: "go_enabled";
1016 signal: "elm,state,enabled";
1017 source: "elm";
1018 action: STATE_SET "default" 0.0;
1019 target: "disclip";
1020 }
1021 program {
1022 signal: "elm,state,have_files,active";
1023 source: "elm";
1024 action: STATE_SET "visible" 0.0;
1025 target: "have-files-clipper";
1026 }
1027 }
1028}
1029
1030group { name: "elm/gengrid/item/thumb/default";
1031 data {
1032 item: "contents" "elm.swallow.icon";
1033 item: "texts" "elm.text";
1034 }
1035 images {
1036 image: "bt_sm_base1.png" COMP;
1037 image: "bt_sm_shine.png" COMP;
1038 image: "bt_sm_hilight.png" COMP;
1039 image: "thumb_shadow.png" COMP;
1040 }
1041 parts {
1042 part { name: "event";
1043 type: RECT;
1044 repeat_events: 1;
1045 description { state: "default" 0.0;
1046 color: 0 0 0 0;
1047 }
1048 }
1049 part { name: "bg";
1050 mouse_events: 0;
1051 description { state: "default" 0.0;
1052 visible: 0;
1053 color: 255 255 255 0;
1054 rel1.offset: -3 -3;
1055 rel2.offset: 2 2;
1056 image {
1057 normal: "bt_sm_base1.png";
1058 border: 6 6 6 6;
1059 middle: SOLID;
1060 }
1061 }
1062 description { state: "selected" 0.0;
1063 inherit: "default" 0.0;
1064 visible: 1;
1065 color: 255 255 255 255;
1066 }
1067 }
1068 part { name: "border-shadow";
1069 type: IMAGE;
1070 mouse_events: 0;
1071 description { state: "default" 0.0;
1072 rel1 {
1073 to: "elm.swallow.icon";
1074 offset: -18 -18;
1075 }
1076 rel2 {
1077 to_x: "elm.swallow.icon";
1078 to_y: "elm.text";
1079 offset: 17 17;
1080 }
1081 image {
1082 normal: "thumb_shadow.png";
1083 border: 17 17 17 17;
1084 middle: NONE;
1085 }
1086 }
1087 }
1088 part { name: "border";
1089 type: RECT;
1090 mouse_events: 0;
1091 description { state: "default" 0.0;
1092 rel1 {
1093 to: "border-shadow";
1094 offset: 16 16;
1095 }
1096 rel2 {
1097 to: "border-shadow";
1098 offset: -15 -15;
1099 }
1100 }
1101 }
1102 part { name: "elm.swallow.icon";
1103 type: SWALLOW;
1104 mouse_events: 0;
1105 description { state: "default" 0.0;
1106 aspect_preference: BOTH;
1107 aspect: 1.0 1.0;
1108 rel1.offset: 0 8;
1109 rel2 {
1110 to_y: "elm.text";
1111 relative: 1.0 0.0;
1112 offset: -1 -2;
1113 }
1114 }
1115 }
1116 part { name: "elm.text";
1117 type: TEXT;
1118 effect: SOFT_SHADOW;
1119 mouse_events: 0;
1120 scale: 1;
1121 description { state: "default" 0.0;
1122 color: 0 0 0 255;
1123 color3: 0 0 0 0;
1124 align: 0.5 1.0;
1125 rel1 {
1126 relative: 0.0 1.0;
1127 offset: 20 -30;
1128 }
1129 rel2 {
1130 relative: 1.0 1.0;
1131 offset: -21 -15;
1132 }
1133 text {
1134 font: "Sans";
1135 size: 10;
1136 min: 0 1;
1137 align: 0.5 0.0;
1138 text_class: "grid_item";
1139 }
1140 }
1141 }
1142 part { name: "fg1";
1143 mouse_events: 0;
1144 description { state: "default" 0.0;
1145 visible: 0;
1146 color: 255 255 255 0;
1147 rel1.offset: -3 -3;
1148 rel2 {
1149 relative: 1.0 0.5;
1150 offset: 2 -1;
1151 }
1152 image {
1153 normal: "bt_sm_hilight.png";
1154 border: 6 6 6 0;
1155 }
1156 }
1157 description { state: "selected" 0.0;
1158 inherit: "default" 0.0;
1159 visible: 1;
1160 color: 255 255 255 255;
1161 }
1162 }
1163 part { name: "fg2";
1164 mouse_events: 0;
1165 description { state: "default" 0.0;
1166 visible: 0;
1167 color: 255 255 255 0;
1168 rel1.offset: -3 -3;
1169 rel2.offset: 2 2;
1170 image {
1171 image: "bt_sm_shine.png";
1172 border: 6 6 6 0;
1173 }
1174 }
1175 description { state: "selected" 0.0;
1176 inherit: "default" 0.0;
1177 visible: 1;
1178 color: 255 255 255 255;
1179 }
1180 }
1181 }
1182 programs {
1183 program {
1184 signal: "elm,state,selected";
1185 source: "elm";
1186 action: STATE_SET "selected" 0.0;
1187 target: "bg";
1188 target: "fg1";
1189 target: "fg2";
1190 }
1191 program {
1192 signal: "elm,state,unselected";
1193 source: "elm";
1194 action: STATE_SET "default" 0.0;
1195 target: "bg";
1196 target: "fg1";
1197 target: "fg2";
1198 transition: LINEAR 0.1;
1199 }
1200 }
1201}
1202group { name: "elm/gengrid/item/group_index/default";
1203 data.item: "selectraise" "on";
1204 data.item: "texts" "elm.text";
1205 data.item: "contents" "elm.swallow.icon elm.swallow.end";
1206 // data.item: "states" "";
1207 images {
1208 image: "bt_sm_base1.png" COMP;
1209 image: "bt_sm_shine.png" COMP;
1210 image: "bt_sm_hilight.png" COMP;
1211 image: "ilist_item_shadow.png" COMP;
1212 image: "group_index.png" COMP;
1213 }
1214 parts {
1215 part {
1216 name: "event";
1217 type: RECT;
1218 repeat_events: 0;
1219 description {
1220 state: "default" 0.0;
1221 color: 0 0 0 0;
1222 }
1223 }
1224 part {
1225 name: "base_sh";
1226 mouse_events: 0;
1227 description {
1228 state: "default" 0.0;
1229 align: 0.0 0.0;
1230 min: 0 10;
1231 fixed: 1 1;
1232 rel1 {
1233 to: "base";
1234 relative: 0.0 1.0;
1235 offset: 0 0;
1236 }
1237 rel2 {
1238 to: "base";
1239 relative: 1.0 1.0;
1240 offset: -1 0;
1241 }
1242 image {
1243 normal: "ilist_item_shadow.png";
1244 }
1245 fill.smooth: 0;
1246 }
1247 }
1248 part {
1249 name: "base";
1250 mouse_events: 0;
1251 description {
1252 state: "default" 0.0;
1253 image {
1254 normal: "group_index.png";
1255 border: 2 2 2 2;
1256 }
1257 fill.smooth: 0;
1258 }
1259 }
1260 part { name: "bg";
1261 clip_to: "disclip";
1262 mouse_events: 0;
1263 description { state: "default" 0.0;
1264 visible: 0;
1265 color: 255 255 255 0;
1266 rel1 {
1267 relative: 0.0 0.0;
1268 offset: -5 -5;
1269 }
1270 rel2 {
1271 relative: 1.0 1.0;
1272 offset: 4 4;
1273 }
1274 image {
1275 normal: "bt_sm_base1.png";
1276 border: 6 6 6 6;
1277 }
1278 image.middle: SOLID;
1279 }
1280 description { state: "selected" 0.0;
1281 inherit: "default" 0.0;
1282 visible: 1;
1283 color: 255 255 255 255;
1284 rel1 {
1285 relative: 0.0 0.0;
1286 offset: -2 -2;
1287 }
1288 rel2 {
1289 relative: 1.0 1.0;
1290 offset: 1 1;
1291 }
1292 }
1293 }
1294 part { name: "elm.swallow.pad";
1295 type: SWALLOW;
1296 description { state: "default" 0.0;
1297 fixed: 1 0;
1298 align: 0.0 0.5;
1299 rel1 {
1300 relative: 0.0 0.0;
1301 offset: 4 4;
1302 }
1303 rel2 {
1304 relative: 0.0 1.0;
1305 offset: 4 -5;
1306 }
1307 }
1308 }
1309 part { name: "elm.swallow.icon";
1310 clip_to: "disclip";
1311 type: SWALLOW;
1312 description { state: "default" 0.0;
1313 fixed: 1 0;
1314 align: 0.0 0.5;
1315 rel1 {
1316 to_x: "elm.swallow.pad";
1317 relative: 1.0 0.0;
1318 offset: -1 4;
1319 }
1320 rel2 {
1321 to_x: "elm.swallow.pad";
1322 relative: 1.0 1.0;
1323 offset: -1 -5;
1324 }
1325 }
1326 }
1327 part { name: "elm.swallow.end";
1328 clip_to: "disclip";
1329 type: SWALLOW;
1330 description { state: "default" 0.0;
1331 fixed: 1 0;
1332 align: 1.0 0.5;
1333 aspect: 1.0 1.0;
1334 aspect_preference: VERTICAL;
1335 rel1 {
1336 relative: 1.0 0.0;
1337 offset: -5 4;
1338 }
1339 rel2 {
1340 relative: 1.0 1.0;
1341 offset: -5 -5;
1342 }
1343 }
1344 }
1345 part { name: "elm.text";
1346 clip_to: "disclip";
1347 type: TEXT;
1348 effect: SOFT_SHADOW;
1349 mouse_events: 0;
1350 scale: 1;
1351 description {
1352 state: "default" 0.0;
1353 // min: 16 16;
1354 rel1 {
1355 to_x: "elm.swallow.icon";
1356 relative: 1.0 0.0;
1357 offset: 0 4;
1358 }
1359 rel2 {
1360 to_x: "elm.swallow.end";
1361 relative: 0.0 1.0;
1362 offset: -1 -5;
1363 }
1364 color: 0 0 0 255;
1365 color3: 0 0 0 0;
1366 text {
1367 font: "Sans";
1368 size: 10;
1369 min: 1 1;
1370 // min: 0 1;
1371 align: -1.0 0.5;
1372 text_class: "list_item";
1373 }
1374 }
1375 description { state: "selected" 0.0;
1376 inherit: "default" 0.0;
1377 color: 224 224 224 255;
1378 color3: 0 0 0 64;
1379 }
1380 }
1381 part { name: "fg1";
1382 clip_to: "disclip";
1383 mouse_events: 0;
1384 description { state: "default" 0.0;
1385 visible: 0;
1386 color: 255 255 255 0;
1387 rel1.to: "bg";
1388 rel2.relative: 1.0 0.5;
1389 rel2.to: "bg";
1390 image {
1391 normal: "bt_sm_hilight.png";
1392 border: 6 6 6 0;
1393 }
1394 }
1395 description { state: "selected" 0.0;
1396 inherit: "default" 0.0;
1397 visible: 1;
1398 color: 255 255 255 255;
1399 }
1400 }
1401 part { name: "fg2";
1402 clip_to: "disclip";
1403 mouse_events: 0;
1404 description { state: "default" 0.0;
1405 visible: 0;
1406 color: 255 255 255 0;
1407 rel1.to: "bg";
1408 rel2.to: "bg";
1409 image {
1410 normal: "bt_sm_shine.png";
1411 border: 6 6 6 0;
1412 }
1413 }
1414 description { state: "selected" 0.0;
1415 inherit: "default" 0.0;
1416 visible: 1;
1417 color: 255 255 255 255;
1418 }
1419 }
1420 part { name: "disclip";
1421 type: RECT;
1422 description { state: "default" 0.0;
1423 rel1.to: "bg";
1424 rel2.to: "bg";
1425 }
1426 description { state: "disabled" 0.0;
1427 inherit: "default" 0.0;
1428 color: 255 255 255 64;
1429 }
1430 }
1431 }
1432 programs {
1433 // signal: elm,state,%s,active
1434 // a "check" item named %s went active
1435 // signal: elm,state,%s,passive
1436 // a "check" item named %s went passive
1437 // default is passive
1438 program {
1439 name: "go_active";
1440 signal: "elm,state,selected";
1441 source: "elm";
1442 action: STATE_SET "selected" 0.0;
1443 target: "bg";
1444 target: "fg1";
1445 target: "fg2";
1446 target: "elm.text";
1447 }
1448 program {
1449 name: "go_passive";
1450 signal: "elm,state,unselected";
1451 source: "elm";
1452 action: STATE_SET "default" 0.0;
1453 target: "bg";
1454 target: "fg1";
1455 target: "fg2";
1456 target: "elm.text";
1457 transition: LINEAR 0.1;
1458 }
1459 program {
1460 name: "go_disabled";
1461 signal: "elm,state,disabled";
1462 source: "elm";
1463 action: STATE_SET "disabled" 0.0;
1464 target: "disclip";
1465 }
1466 program {
1467 name: "go_enabled";
1468 signal: "elm,state,enabled";
1469 source: "elm";
1470 action: STATE_SET "default" 0.0;
1471 target: "disclip";
1472 }
1473 }
1474}