tizen 2.3.1 release
[framework/uifw/elementary.git] / data / themes / widgets / toolbar.edc
1 #define ITEM_STATE_ENABLED 0
2 #define ITEM_STATE_DISABLED 1
3
4 #define BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC 16 16
5
6 group { name: "elm/toolbar/base/default";
7    images {
8       image: "bt_dis_base.png" COMP;
9       image: "bt_dis_hilight.png" COMP;
10       image: "bt_dis_shine.png" COMP;
11       image: "arrow_right.png" COMP;
12       image: "arrow_left.png" COMP;
13       image: "arrow_up.png" COMP;
14       image: "arrow_down.png" COMP;
15    }
16    parts {
17       part { name: "base";
18          mouse_events: 1;
19          description { state: "default" 0.0;
20             rel1 {
21                relative: 0.0 0.0;
22                offset: 2 2;
23             }
24             rel2.offset: -3 -3;
25             image {
26                normal: "bt_dis_base.png";
27                border: 4 4 4 4;
28             }
29             image.middle: SOLID;
30          }
31       }
32       part { name: "clipper";
33          type: RECT;
34          mouse_events: 0;
35          description {
36             state: "default" 0.0;
37             rel1 {
38                to: "base";
39                offset: 2 2;
40             }
41             rel2 {
42                to: "base";
43                offset: -3 -3;
44             }
45          }
46       }
47       part { name: "elm.swallow.content";
48          clip_to: "clipper";
49          type: SWALLOW;
50          description {
51             state: "default" 0.0;
52             rel1.to: "clipper";
53             rel2.to: "clipper";
54          }
55       }
56       part { name: "over2";
57          mouse_events: 0;
58          description { state: "default" 0.0;
59             rel1.to: "base";
60             rel2.to: "base";
61             image {
62                normal: "bt_dis_shine.png";
63                border: 4 4 4 4;
64             }
65          }
66       }
67       part { name: "over1";
68          mouse_events: 0;
69          description { state: "default" 0.0;
70             rel1.to: "base";
71             rel2.to: "base";
72             rel2.relative: 1.0 0.5;
73             image {
74                normal: "bt_dis_hilight.png";
75                border: 4 4 4 0;
76             }
77             color: 255 255 255 128;
78          }
79       }
80       part { name: "event"; type: RECT;
81          mouse_events: 1;
82          repeat_events: 1;
83          description { state: "default" 0.0;
84             color: 0 0 0 0;
85          }
86       }
87       part { name: "left_arrow";
88          scale: 1;
89          description { state: "default" 0.0;
90             image.normal: "arrow_left.png";
91             align: 0.0 0.5;
92             min: 22 22;
93             max: 22 22;
94             visible: 0;
95          }
96          description { state: "visible" 0.0;
97             inherit: "default" 0.0;
98             visible: 1;
99          }
100       }
101       part { name: "right_arrow";
102          scale: 1;
103          description { state: "default" 0.0;
104             image.normal: "arrow_right.png";
105             align: 1.0 0.5;
106             min: 22 22;
107             max: 22 22;
108             visible: 0;
109          }
110          description { state: "visible" 0.0;
111             inherit: "default" 0.0;
112             visible: 1;
113          }
114       }
115       part { name: "up_arrow";
116          scale: 1;
117          description { state: "default" 0.0;
118             image.normal: "arrow_up.png";
119             align: 0.5 0.0;
120             min: 22 22;
121             max: 22 22;
122             visible: 0;
123          }
124          description { state: "visible" 0.0;
125             inherit: "default" 0.0;
126             visible: 1;
127          }
128       }
129       part { name: "down_arrow";
130          scale: 1;
131          description { state: "default" 0.0;
132             image.normal: "arrow_down.png";
133             align: 0.5 1.0;
134             min: 22 22;
135             max: 22 22;
136             visible: 0;
137          }
138          description { state: "visible" 0.0;
139             inherit: "default" 0.0;
140             visible: 1;
141          }
142       }
143    }
144    programs {
145       program { name: "left_show";
146          signal: "elm,action,show,left";
147          source: "elm";
148          action:  STATE_SET "visible" 0.0;
149          target: "left_arrow";
150       }
151       program { name: "left_hide";
152          signal: "elm,action,hide,left";
153          source: "elm";
154          action:  STATE_SET "default" 0.0;
155          target: "left_arrow";
156       }
157       program { name: "right_show";
158          signal: "elm,action,show,right";
159          source: "elm";
160          action:  STATE_SET "visible" 0.0;
161          target: "right_arrow";
162       }
163       program { name: "right_hide";
164          signal: "elm,action,hide,right";
165          source: "elm";
166          action:  STATE_SET "default" 0.0;
167          target: "right_arrow";
168       }
169       program { name: "up_show";
170          signal: "elm,action,show,up";
171          source: "elm";
172          action:  STATE_SET "visible" 0.0;
173          target: "up_arrow";
174       }
175       program { name: "up_hide";
176          signal: "elm,action,hide,up";
177          source: "elm";
178          action:  STATE_SET "default" 0.0;
179          target: "up_arrow";
180       }
181       program { name: "down_show";
182          signal: "elm,action,show,down";
183          source: "elm";
184          action:  STATE_SET "visible" 0.0;
185          target: "down_arrow";
186       }
187       program { name: "down_hide";
188          signal: "elm,action,hide,down";
189          source: "elm";
190          action:  STATE_SET "default" 0.0;
191          target: "down_arrow";
192       }
193       program { name: "left_go";
194          signal: "mouse,up,1";
195          source: "left_arrow";
196          action:  SIGNAL_EMIT "elm,action,left" "elm";
197       }
198       program { name: "right_go";
199          signal: "mouse,up,1";
200          source: "right_arrow";
201          action:  SIGNAL_EMIT "elm,action,right" "elm";
202       }
203       program { name: "up_go";
204          signal: "mouse,up,1";
205          source: "up_arrow";
206          action:  SIGNAL_EMIT "elm,action,up" "elm";
207       }
208       program { name: "down_go";
209          signal: "mouse,up,1";
210          source: "down_arrow";
211          action:  SIGNAL_EMIT "elm,action,down" "elm";
212       }
213    }
214 }
215
216 group { name: "elm/toolbar/more/default";
217    images {
218       image: "toolbar_separator_h.png" COMP;
219    }
220    parts {
221       part { name: "base";
222          mouse_events: 1;
223          description { state: "default" 0.0;
224             rel1.relative: 0.0 0.0;
225             rel2.relative: 1.0 0.0;
226             image {
227                normal: "bt_dis_base.png";
228                border: 4 4 4 4;
229             }
230             image.middle: SOLID;
231          }
232          description { state: "open" 0.0;
233             inherit: "default" 0.0;
234             rel2.relative: 1.0 1.0;
235          }
236          description { state: "open2" 0.0;
237             inherit: "default" 0.0;
238             rel2.relative: 1.0 2.0;
239          }
240       }
241       part { name: "clipper";
242          type: RECT;
243          mouse_events: 0;
244          description {
245             state: "default" 0.0;
246             fixed: 1 1;
247             rel1 {
248                to: "base";
249                offset: 4 4;
250             }
251             rel2 {
252                to: "base";
253                offset: -5 -5;
254             }
255          }
256          description { state: "open" 0.0;
257             inherit: "default" 0.0;
258             rel2.relative: 1.0 1.0;
259          }
260          description { state: "open2" 0.0;
261             inherit: "default" 0.0;
262             rel2.relative: 1.0 0.5;
263             rel2.offset: -5 -2;
264          }
265       }
266       part { name: "clipper2";
267          type: RECT;
268          mouse_events: 0;
269          description {
270             state: "default" 0.0;
271             fixed: 1 1;
272             rel1 {
273                relative: 0.0 0.5;
274                to: "base";
275                offset: 4 1;
276             }
277             rel2 {
278                to: "base";
279                offset: -5 -5;
280             }
281          }
282          description { state: "open" 0.0;
283             inherit: "default" 0.0;
284             rel1.relative: 0.0 1.0;
285          }
286          description { state: "open2" 0.0;
287             inherit: "default" 0.0;
288             rel1.relative: 0.0 0.5;
289          }
290       }
291       part { name: "elm.swallow.content";
292          clip_to: "clipper";
293          type: SWALLOW;
294          description {
295             state: "default" 0.0;
296             fixed: 1 1;
297             rel1.to: "clipper";
298             rel2.to: "clipper";
299          }
300       }
301       part { name: "elm.swallow.content2";
302          clip_to: "clipper2";
303          type: SWALLOW;
304          description {
305             state: "default" 0.0;
306             fixed: 1 1;
307             rel1.to: "clipper2";
308             rel2.to: "clipper2";
309          }
310       }
311       part { name: "separator2";
312          clip_to: "clipper2";
313          description { state: "default" 0.0;
314             min: 2 3;
315             max: 9999 3;
316             fixed: 1 1;
317             rel1 {
318                 relative: 0.0 0.0;
319                 offset: 0 -1;
320                 to: "clipper2";
321             }
322             rel2 {
323                 relative: 1.0 0.0;
324                 offset: -1 0;
325                 to: "clipper2";
326             }
327             image {
328                normal: "toolbar_separator_h.png";
329                border: 1 1 1 1;
330             }
331             fill {
332                smooth: 0;
333             }
334          }
335       }
336       part { name: "over2";
337          mouse_events: 0;
338          description { state: "default" 0.0;
339             rel1.to: "base";
340             rel2.to: "base";
341             image {
342                normal: "bt_dis_shine.png";
343                border: 4 4 4 4;
344             }
345          }
346       }
347       part { name: "over1";
348          mouse_events: 0;
349          description { state: "default" 0.0;
350             rel1.to: "base";
351             rel2.to: "base";
352             rel2.relative: 1.0 0.5;
353             image {
354                normal: "bt_dis_hilight.png";
355                border: 4 4 4 0;
356             }
357             color: 255 255 255 128;
358          }
359       }
360    }
361    programs {
362       program { name: "open";
363          signal:  "elm,state,open";
364          source:  "elm";
365          action:  STATE_SET "open" 0.0;
366          target:  "base";
367          target:  "clipper";
368          target:  "clipper2";
369          transition: BOUNCE 0.8 1.0 3;
370       }
371       program { name: "open2";
372          signal:  "elm,state,open2";
373          source:  "elm";
374          action:  STATE_SET "open2" 0.0;
375          target:  "base";
376          target:  "clipper";
377          target:  "clipper2";
378          transition: BOUNCE 0.8 1.0 3;
379       }
380       program { name: "close";
381          signal:  "elm,state,close";
382          source:  "elm";
383          action:  STATE_SET "default" 0.0;
384          target:  "base";
385          transition: BOUNCE 0.8 1.0 3;
386       }
387    }
388 }
389
390 group { name: "elm/toolbar/item/default";
391    images {
392       image: "toolbar_sel.png" COMP;
393    }
394    data.item: "transition_animation_on" "1";
395    parts {
396       part { name: "label2";
397          type: TEXT;
398          mouse_events:  0;
399          scale: 1;
400          clip_to: "elm.text.clipper";
401          description { state: "default" 0.0;
402             align: 0.5 1.0;
403             fixed: 0 1;
404             rel1.to: "elm.text";
405             rel2.to: "elm.text";
406             color: 0 0 0 255;
407             text {
408                font: "Sans";
409                text_source: "elm.text";
410                size: 10;
411                min: 1 1;
412                align: 0.5 0.5;
413                text_class: "toolbar_item";
414             }
415          }
416          description { state: "selected" 0.0;
417             inherit: "default" 0.0;
418             visible: 0;
419          }
420          description { state: "disabled" 0.0;
421             inherit: "default" 0.0;
422             color: 0 0 0 128;
423             color3: 0 0 0 0;
424          }
425          description { state: "disabled_visible" 0.0;
426             inherit: "default" 0.0;
427             color: 0 0 0 128;
428             color3: 0 0 0 0;
429             visible: 1;
430             text.min: 1 1;
431          }
432       }
433       part { name: "label2_new";
434          type: TEXT;
435          mouse_events:  0;
436          scale: 1;
437          clip_to: "elm.text_new.clipper";
438          description { state: "default" 0.0;
439             align: 0.5 1.0;
440             fixed: 0 1;
441             rel1.to: "elm.text_new";
442             rel2.to: "elm.text_new";
443             color: 0 0 0 255;
444             text {
445                font: "Sans";
446                text_source: "elm.text_new";
447                size: 10;
448                min: 1 1;
449                align: 0.5 0.5;
450                text_class: "toolbar_item";
451             }
452          }
453          description { state: "selected" 0.0;
454             inherit: "default" 0.0;
455             visible: 0;
456          }
457          description { state: "disabled" 0.0;
458             inherit: "default" 0.0;
459             color: 0 0 0 128;
460             color3: 0 0 0 0;
461          }
462          description { state: "disabled_visible" 0.0;
463             inherit: "default" 0.0;
464             color: 0 0 0 128;
465             color3: 0 0 0 0;
466             visible: 1;
467             text.min: 1 1;
468          }
469       }
470       part { name: "bg";
471          mouse_events: 0;
472          description { state: "default" 0.0;
473             visible: 0;
474             color: 255 255 255 0;
475             image {
476                normal: "toolbar_sel.png";
477                border: 3 3 0 0;
478             }
479             image.middle: SOLID;
480             fill.smooth: 0;
481          }
482          description { state: "selected" 0.0;
483             inherit: "default" 0.0;
484             visible: 1;
485             color: 255 255 255 255;
486          }
487          description { state: "disabled" 0.0;
488             inherit: "default" 0.0;
489             visible: 0;
490             color: 255 255 255 0;
491          }
492          description { state: "moving" 0.0;
493             inherit: "default" 0.0;
494             visible: 1;
495             color: 255 255 255 100;
496          }
497       }
498       part { name: "elm.swallow.icon";
499          type: SWALLOW;
500          clip_to: "elm.icon.clipper";
501          description { state: "default" 0.0;
502             align: 0.5 0.5;
503             rel1 {
504                relative: 0.0 0.0;
505                offset: 2 2;
506             }
507             rel2 {
508                to_y: "elm.text";
509                relative: 1.0 0.0;
510                offset: -3 -1;
511             }
512             color: 0 0 0 0;
513          }
514       }
515       part { name: "elm.swallow.icon_new";
516          type: SWALLOW;
517          clip_to: "elm.icon_new.clipper";
518          description { state: "default" 0.0;
519             align: 0.5 0.5;
520             rel1 {
521                relative: 0.0 0.0;
522                offset: 2 2;
523             }
524             rel2 {
525                to_y: "elm.text_new";
526                relative: 1.0 0.0;
527                offset: -3 -1;
528             }
529             color: 0 0 0 0;
530          }
531       }
532       part { name: "elm.text";
533          type: TEXT;
534          effect: SOFT_SHADOW;
535          mouse_events:  0;
536          scale: 1;
537          clip_to: "elm.text.clipper";
538          description { state: "default" 0.0;
539             align: 0.5 1.0;
540             fixed: 0 1;
541             rel1 {
542                relative: 0.0 1.0;
543                offset:   0 -1;
544             }
545             rel2 {
546                relative: 1.0 1.0;
547                offset:   -1 -1;
548             }
549             visible: 0;
550             color: 224 224 224 255;
551             color3: 0 0 0 32;
552             text {
553                font: "Sans:style=Bold";
554                size: 10;
555                min: 1 1;
556                align: 0.5 0.5;
557                text_class: "toolbar_item";
558             }
559          }
560          description { state: "selected" 0.0;
561             inherit: "default" 0.0;
562             visible: 1;
563          }
564          description { state: "visible" 0.0;
565             inherit: "default" 0.0;
566             visible: 1;
567             text.min: 1 1;
568          }
569          description { state: "disabled" 0.0;
570             inherit: "default" 0.0;
571             color: 0 0 0 128;
572             color3: 0 0 0 0;
573          }
574          description { state: "disabled_visible" 0.0;
575             inherit: "default" 0.0;
576             color: 0 0 0 128;
577             color3: 0 0 0 0;
578             visible: 1;
579             text.min: 1 1;
580          }
581       }
582       part { name: "elm.text_new";
583          type: TEXT;
584          effect: SOFT_SHADOW;
585          mouse_events:  0;
586          clip_to: "elm.text_new.clipper";
587          scale: 1;
588          description { state: "default" 0.0;
589             align: 0.5 1.0;
590             fixed: 0 1;
591             rel1 {
592                relative: 0.0 1.0;
593                offset:   0 -1;
594             }
595             rel2 {
596                relative: 1.0 1.0;
597                offset:   -1 -1;
598             }
599             visible: 0;
600             color: 224 224 224 255;
601             color3: 0 0 0 32;
602             text {
603                font: "Sans:style=Bold";
604                size: 10;
605                min: 1 1;
606                align: 0.5 0.5;
607                text_class: "toolbar_item";
608             }
609          }
610          description { state: "selected" 0.0;
611             inherit: "default" 0.0;
612             visible: 1;
613          }
614          description { state: "visible" 0.0;
615             inherit: "default" 0.0;
616             visible: 1;
617             text.min: 1 1;
618          }
619          description { state: "disabled" 0.0;
620             inherit: "default" 0.0;
621             color: 0 0 0 128;
622             color3: 0 0 0 0;
623          }
624          description { state: "disabled_visible" 0.0;
625             inherit: "default" 0.0;
626             color: 0 0 0 128;
627             color3: 0 0 0 0;
628             visible: 1;
629             text.min: 1 1;
630          }
631       }
632       part { name: "elm.text.clipper";
633          type: RECT;
634          description { state: "default" 0.0;
635             color: 255 255 255 255;
636          }
637          description { state: "animation" 0.0;
638             color: 255 255 255 0;
639          }
640       }
641       part { name: "elm.text_new.clipper";
642          type: RECT;
643          description { state: "default" 0.0;
644             color: 255 255 255 0;
645          }
646          description { state: "animation" 0.0;
647             color: 255 255 255 255;
648          }
649       }
650       part { name: "elm.icon.clipper";
651          type: RECT;
652          description { state: "default" 0.0;
653             color: 255 255 255 255;
654          }
655          description { state: "animation" 0.0;
656             color: 255 255 255 0;
657          }
658       }
659       part { name: "elm.icon_new.clipper";
660          type: RECT;
661          description { state: "default" 0.0;
662             color: 255 255 255 0;
663          }
664          description { state: "animation" 0.0;
665             color: 255 255 255 255;
666          }
667       }
668       part { name: "event";
669          type: RECT;
670          mouse_events: 1;
671          ignore_flags: ON_HOLD;
672          description { state: "default" 0.0;
673             color: 0 0 0 0;
674          }
675       }
676    }
677    programs {
678       program { name: "go_active";
679          signal:  "elm,state,selected";
680          source:  "elm";
681          action:  STATE_SET "selected" 0.0;
682          target:  "bg";
683          target:  "elm.text";
684          target:  "label2";
685          target:  "elm.text_new";
686          target:  "label2_new";
687          transition: LINEAR 0.2;
688       }
689       program { name: "go_passive";
690          signal:  "elm,state,unselected";
691          source:  "elm";
692          action:  STATE_SET "default" 0.0;
693          target:  "bg";
694          target:  "elm.text";
695          target:  "label2";
696          target:  "elm.text_new";
697          target:  "label2_new";
698          transition: LINEAR 0.1;
699       }
700       program { name: "moving";
701          signal: "elm,state,moving";
702          source: "elm";
703          action: STATE_SET "moving" 0.0;
704          target: "bg";
705       }
706       program { name: "go";
707          signal:  "mouse,clicked,1";
708          source:  "event";
709          action:  SIGNAL_EMIT "elm,action,click" "elm";
710       }
711       program { name: "mouse,in";
712          signal:  "mouse,in";
713          source:  "event";
714          action:  SIGNAL_EMIT "elm,mouse,in" "elm";
715       }
716       program { name: "mouse,out";
717          signal:  "mouse,out";
718          source:  "event";
719          action:  SIGNAL_EMIT "elm,mouse,out" "elm";
720       }
721       program { name: "disable";
722          signal: "elm,state,disabled";
723          source: "elm";
724          action: STATE_SET "disabled" 0.0;
725          target: "label2";
726          target: "label2_new";
727          target: "bg";
728          after: "disable_text";
729       }
730       program { name: "disable_text";
731          script {
732             new st[31];
733             new Float:vl;
734             get_state(PART:"elm.text", st, 30, vl);
735             if (!strcmp(st, "visible"))
736             {
737                set_state(PART:"elm.text", "disabled_visible", 0.0);
738                set_state(PART:"elm.text_new", "disabled_visible", 0.0);
739             }
740             else
741             {
742                set_state(PART:"elm.text", "disabled", 0.0);
743                set_state(PART:"elm.text_new", "disabled", 0.0);
744             }
745          }
746       }
747       program { name: "enable";
748          signal: "elm,state,enabled";
749          source: "elm";
750          action: STATE_SET "default" 0.0;
751          target: "label2";
752          target: "label2_new";
753          target: "bg";
754          after: "enable_text";
755       }
756       program { name: "enable_text";
757          script {
758             new st[31];
759             new Float:vl;
760             get_state(PART:"elm.text", st, 30, vl);
761             if (!strcmp(st, "disabled_visible"))
762             {
763                set_state(PART:"elm.text", "visible", 0.0);
764                set_state(PART:"elm.text_new", "visible", 0.0);
765             }
766             else
767             {
768                set_state(PART:"elm.text", "default", 0.0);
769                set_state(PART:"elm.text_new", "default", 0.0);
770             }
771          }
772       }
773       program { name: "label_set,animation,forward";
774          signal: "elm,state,label_set,forward";
775          source: "elm";
776          after: "label_set,animation";
777       }
778       program { name: "label_set,animation,backward";
779          signal: "elm,state,label_set,backward";
780          source: "elm";
781          after: "label_set,animation";
782       }
783       program { name: "label_set,animation";
784          signal: "elm,state,label_set";
785          source: "elm";
786          action: STATE_SET "animation" 0.0;
787          target: "elm.text.clipper";
788          target: "elm.text_new.clipper";
789          transition: LINEAR 0.2;
790          after: "label_set,animation,done";
791       }
792       program { name: "label_set,animation,done";
793          action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
794       }
795       program { name: "label,reset";
796          signal: "elm,state,label,reset";
797          source: "elm";
798          action: STATE_SET "default" 0.0;
799          target: "elm.text.clipper";
800          target: "elm.text_new.clipper";
801       }
802       program { name: "icon_set,animation,forward";
803          signal: "elm,state,icon_set,forward";
804          source: "elm";
805          after: "icon_set,animation";
806       }
807       program { name: "icon_set,animation,backward";
808          signal: "elm,state,icon_set,backward";
809          source: "elm";
810          after: "icon_set,animation";
811       }
812       program { name: "icon_set,animation";
813          signal: "elm,state,icon_set";
814          source: "elm";
815          action: STATE_SET "animation" 0.0;
816          target: "elm.icon.clipper";
817          target: "elm.icon_new.clipper";
818          transition: LINEAR 0.2;
819          after: "icon_set,animation,done";
820       }
821       program { name: "icon_set,animation,done";
822          action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
823       }
824       program { name: "icon,reset";
825          signal: "elm,state,icon,reset";
826          source: "elm";
827          action: STATE_SET "default" 0.0;
828          target: "elm.icon.clipper";
829          target: "elm.icon_new.clipper";
830       }
831    }
832 }
833
834 group { name: "elm/toolbar/item/item_horizontal";
835    inherit: "elm/toolbar/item/default";
836    parts {
837       part { name: "elm.swallow.icon";
838          description { state: "default" 0.0;
839             fixed: 0 0;
840             aspect: 1 1;
841             aspect_preference: VERTICAL;
842             align: 0.0 0.5;
843             rel1.offset: 3 3;
844             rel1.relative: 0 0;
845             rel2.offset: 3 -4;
846             rel2.relative: 0 1;
847             color: 0 0 0 0;
848          }
849       }
850       part { name: "elm.swallow.icon_new";
851          description { state: "default" 0.0;
852             fixed: 1 1;
853          }
854       }
855       part { name: "elm.text";
856          description { state: "default" 0.0;
857             align: 1.0 0.5;
858             min: 0 1;
859             fixed: 0 0;
860             rel1.offset: 1 0;
861             rel1.relative: 1.0 0.0;
862             rel1.to_x: "elm.swallow.icon";
863             rel2.relative: 1.0 1.0;
864             text.align: 0 0.5;
865          }
866          description { state: "selected" 0.0;
867             inherit: "default" 0.0;
868             visible: 1;
869          }
870          description { state: "visible" 0.0;
871             inherit: "default" 0.0;
872             visible: 1;
873             text.min: 1 1;
874          }
875          description { state: "disabled" 0.0;
876             inherit: "default" 0.0;
877             color: 0 0 0 128;
878             color3: 0 0 0 0;
879          }
880          description { state: "disabled_visible" 0.0;
881             inherit: "default" 0.0;
882             color: 0 0 0 128;
883             color3: 0 0 0 0;
884             visible: 1;
885             text.min: 1 1;
886          }
887       }
888       part { name: "elm.text_new";
889          description { state: "default" 0.0;
890             align: 1.0 0.5;
891             min: 0 1;
892             fixed: 0 0;
893             rel1.offset: 1 0;
894             rel1.relative: 1.0 0.0;
895             rel1.to_x: "elm.swallow.icon";
896             rel2.relative: 1.0 1.0;
897             text.align: 0 0.5;
898          }
899          description { state: "selected" 0.0;
900             inherit: "default" 0.0;
901             visible: 1;
902          }
903          description { state: "visible" 0.0;
904             inherit: "default" 0.0;
905             visible: 1;
906             text.min: 1 1;
907          }
908          description { state: "disabled" 0.0;
909             inherit: "default" 0.0;
910             color: 0 0 0 128;
911             color3: 0 0 0 0;
912          }
913          description { state: "disabled_visible" 0.0;
914             inherit: "default" 0.0;
915             color: 0 0 0 128;
916             color3: 0 0 0 0;
917             visible: 1;
918             text.min: 1 1;
919          }
920       }
921    }
922 }
923
924 group { name: "elm/toolbar/item/item_centered";
925    images {
926       image: "toolbar_sel.png" COMP;
927    }
928    data.item: "transition_animation_on" "1";
929    script {
930       public item_state = ITEM_STATE_ENABLED;
931    }
932    parts {
933       part { name: "label2";
934          type: TEXT;
935          mouse_events:  0;
936          scale: 1;
937          clip_to: "elm.text.clipper";
938          description { state: "default" 0.0;
939             align: 0.5 0.5;
940             fixed: 0 1;
941             rel1.to: "elm.text";
942             rel2.to: "elm.text";
943             color: 0 0 0 255;
944             text {
945                font: "Sans";
946                text_source: "elm.text";
947                size: 10;
948                min: 1 1;
949                align: 0.5 0.5;
950                text_class: "toolbar_item";
951             }
952          }
953          description { state: "selected" 0.0;
954             inherit: "default" 0.0;
955             visible: 0;
956          }
957          description { state: "disabled" 0.0;
958             inherit: "default" 0.0;
959             color: 0 0 0 128;
960             color3: 0 0 0 0;
961          }
962          description { state: "disabled_visible" 0.0;
963             inherit: "default" 0.0;
964             color: 0 0 0 128;
965             color3: 0 0 0 0;
966             visible: 1;
967             text.min: 1 1;
968          }
969       }
970       part { name: "label2_new";
971          type: TEXT;
972          mouse_events:  0;
973          scale: 1;
974          clip_to: "elm.text_new.clipper";
975          description { state: "default" 0.0;
976             align: 0.5 0.5;
977             fixed: 0 1;
978             rel1.to: "elm.text_new";
979             rel2.to: "elm.text_new";
980             color: 0 0 0 255;
981             text {
982                font: "Sans";
983                text_source: "elm.text_new";
984                size: 10;
985                min: 1 1;
986                align: 0.5 0.5;
987                text_class: "toolbar_item";
988             }
989          }
990          description { state: "selected" 0.0;
991             inherit: "default" 0.0;
992             visible: 0;
993          }
994          description { state: "disabled" 0.0;
995             inherit: "default" 0.0;
996             color: 0 0 0 128;
997             color3: 0 0 0 0;
998          }
999          description { state: "disabled_visible" 0.0;
1000             inherit: "default" 0.0;
1001             color: 0 0 0 128;
1002             color3: 0 0 0 0;
1003             visible: 1;
1004             text.min: 1 1;
1005          }
1006       }
1007       part { name: "bg";
1008          mouse_events: 0;
1009          description { state: "default" 0.0;
1010             visible: 0;
1011             color: 255 255 255 0;
1012             rel1 {
1013                relative: 0.0 0.0;
1014                offset: 2 2;
1015             }
1016             rel2 {
1017                relative: 1.0 1.0;
1018                offset: -2 -3;
1019             }
1020             image {
1021                normal: "toolbar_sel.png";
1022                border: 3 3 3 3;
1023             }
1024             image.middle: SOLID;
1025             fill.smooth: 0;
1026          }
1027          description { state: "selected" 0.0;
1028             inherit: "default" 0.0;
1029             visible: 1;
1030             color: 255 255 255 255;
1031          }
1032          description { state: "disabled" 0.0;
1033             inherit: "default" 0.0;
1034             visible: 0;
1035             color: 255 255 255 0;
1036          }
1037       }
1038       part { name: "padding_left_top";
1039          type: RECT;
1040          scale: 1;
1041          mouse_events: 0;
1042          description { state: "default" 0.0;
1043             align: 0.0 0.0;
1044             rel2.relative: 0.0 0.0;
1045             min: 10 8;
1046             fixed: 1 1;
1047             visible: 1;
1048             color: 0 0 0 0;
1049          }
1050       }
1051       part { name: "padding_right_bottom";
1052          type: RECT;
1053          scale: 1;
1054          mouse_events: 0;
1055          description { state: "default" 0.0;
1056             align: 1.0 1.0;
1057             rel1.relative: 1.0 1.0;
1058             min: 10 5;
1059             fixed: 1 1;
1060             visible: 1;
1061             color: 0 0 0 0;
1062          }
1063       }
1064       part {
1065          name: "icon_rect";
1066          type: RECT;
1067          scale: 1;
1068          mouse_events: 0;
1069          description { state: "default" 0.0;
1070             min: 0 0;
1071             fixed: 0 1;
1072             rel1 {
1073                relative: 1.0 1.0;
1074                to: "padding_left_top";
1075             }
1076             rel2 {
1077                relative: 0.0 1.0;
1078                to_x: "padding_right_bottom";
1079                to_y: "padding_left_top";
1080             }
1081             align: 0.5 0.0;
1082             color: 0 0 0 0;
1083          }
1084          description { state: "visible" 0.0;
1085             min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
1086             fixed: 0 1;
1087             rel1 {
1088                relative: 1.0 1.0;
1089                to: "padding_left_top";
1090             }
1091             rel2 {
1092                relative: 0.0 1.0;
1093                to_x: "padding_right_bottom";
1094                to_y: "padding_left_top";
1095             }
1096             align: 0.5 0.0;
1097             color: 0 0 0 0;
1098          }
1099          description { state: "icononly" 0.0;
1100             inherit: "default" 0.0;
1101          }
1102       }
1103       part { name: "padding_after_icon";
1104          type: RECT;
1105          scale: 1;
1106          mouse_events: 0;
1107          description { state: "default" 0.0; //when only icon or no icon is there
1108             align: 0.0 0.0;
1109             rel1 {
1110                relative: 0.0 1.0;
1111                to: "icon_rect";
1112             }
1113             rel2.to: "icon_rect";
1114             fixed: 0 1;
1115             min: 0 0;
1116             color: 0 0 0 0;
1117          }
1118          description { state: "visible" 0.0;
1119             inherit: "default" 0.0;
1120          }
1121          description { state: "icononly" 0.0;
1122             inherit: "default" 0.0;
1123          }
1124       }
1125       part { name: "padding_before_text";
1126          type: RECT;
1127          scale: 1;
1128          mouse_events: 0;
1129          description { state: "default" 0.0; //when only icon or no icon is there
1130             align: 0.5 1.0;
1131             rel1 {
1132                relative: 1.0 0.0;
1133                to_x: "padding_left_top";
1134                to_y: "elm.text";
1135             }
1136             rel2 {
1137                relative: 0.0 0.0;
1138                to_x: "padding_right_bottom";
1139                to_y: "elm.text";
1140             }
1141             fixed: 0 1;
1142             min: 0 0;
1143             color: 0 0 0 0;
1144          }
1145       }
1146       part { name: "elm.swallow.icon";
1147          type: SWALLOW;
1148          scale: 1;
1149          clip_to: "elm.icon.clipper";
1150          description { state: "default" 0.0;
1151             visible: 0;
1152             align: 0.5 0.5;
1153             rel1 {
1154                relative: 1.0 1.0;
1155                to: "padding_left_top";
1156             }
1157             rel2 {
1158                relative: 0.0 1.0;
1159                to_x: "padding_right_bottom";
1160                to_y: "padding_left_top";
1161             }
1162          //   fixed: 1 1;
1163          }
1164          description { state: "visible" 0.0;
1165          //   fixed: 1 1;
1166             min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
1167             max: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
1168             rel1 {
1169                relative: 1.0 1.0;
1170                to: "padding_left_top";
1171                offset: 0 -3;
1172             }
1173             rel2 {
1174                relative: 0.0 0.0;
1175                to: "padding_right_bottom";
1176                offset: 0 -10;
1177             }
1178             aspect: 1.0 1.0;
1179             aspect_preference: BOTH;
1180          }
1181          description { state: "icononly" 0.0;
1182             min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
1183             max: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
1184             rel1 {
1185                relative: 1.0 1.0;
1186                to: "padding_left_top";
1187             }
1188             rel2 {
1189                relative: 0.0 0.0;
1190                to: "padding_right_bottom";
1191             }
1192             aspect: 1.0 1.0;
1193             aspect_preference: BOTH;
1194          }
1195       }
1196       part { name: "elm.swallow.icon_new";
1197          type: SWALLOW;
1198          scale: 1;
1199          clip_to: "elm.icon_new.clipper";
1200          description { state: "default" 0.0;
1201             visible: 0;
1202             align: 0.5 0.5;
1203             rel1 {
1204                relative: 1.0 1.0;
1205                to: "padding_left_top";
1206             }
1207             rel2 {
1208                relative: 0.0 1.0;
1209                to_x: "padding_right_bottom";
1210                to_y: "padding_left_top";
1211             }
1212          //   fixed: 1 1;
1213          }
1214          description { state: "visible" 0.0;
1215         //    fixed: 1 1;
1216             min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
1217             max: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
1218             rel1 {
1219                relative: 1.0 1.0;
1220                to: "padding_left_top";
1221                offset: 0 -3;
1222             }
1223             rel2 {
1224                relative: 0.0 0.0;
1225                to: "padding_right_bottom";
1226                offset: 0 -10;
1227             }
1228             aspect: 1.0 1.0;
1229             aspect_preference: BOTH;
1230          }
1231          description { state: "icononly" 0.0;
1232             min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
1233             max: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
1234             rel1 {
1235                relative: 1.0 1.0;
1236                to: "padding_left_top";
1237             }
1238             rel2 {
1239                relative: 0.0 0.0;
1240                to: "padding_right_bottom";
1241             }
1242             aspect: 1.0 1.0;
1243             aspect_preference: BOTH;
1244          }
1245       }
1246       part { name: "elm.text";
1247          type: TEXT;
1248          effect: SOFT_SHADOW;
1249          mouse_events:  0;
1250          scale: 1;
1251          clip_to: "elm.text.clipper";
1252          description { state: "default" 0.0;
1253             align: 0.5 0.5;
1254             fixed: 0 1;
1255             rel1 {
1256                relative: 1.0 1.0;
1257                to_x: "padding_left_top";
1258                to_y: "padding_after_icon";
1259                offset: 0 -3;
1260             }
1261             rel2 {
1262                relative: 0.0 0.0;
1263                to: "padding_right_bottom";
1264                offset: 0 -3;
1265             }
1266             visible: 0;
1267             color: 224 224 224 255;
1268             color3: 0 0 0 32;
1269             text {
1270                font: "Sans:style=Bold";
1271                size: 10;
1272                min: 1 1;
1273                align: 0.5 0.5;
1274                text_class: "toolbar_item";
1275             }
1276          }
1277          description { state: "selected" 0.0;
1278             inherit: "default" 0.0;
1279             visible: 1;
1280          }
1281          description { state: "visible" 0.0;
1282             inherit: "default" 0.0;
1283             visible: 1;
1284             text.min: 1 1;
1285          }
1286          description { state: "disabled" 0.0;
1287             inherit: "default" 0.0;
1288             color: 0 0 0 128;
1289             color3: 0 0 0 0;
1290          }
1291          description { state: "disabled_visible" 0.0;
1292             inherit: "default" 0.0;
1293             color: 0 0 0 128;
1294             color3: 0 0 0 0;
1295             visible: 1;
1296             text.min: 1 1;
1297          }
1298       }
1299       part { name: "elm.text_new";
1300          type: TEXT;
1301          effect: SOFT_SHADOW;
1302          mouse_events:  0;
1303          clip_to: "elm.text_new.clipper";
1304          scale: 1;
1305          description { state: "default" 0.0;
1306             align: 0.5 0.5;
1307             fixed: 0 1;
1308             rel1 {
1309                relative: 1.0 1.0;
1310                to_x: "padding_left_top";
1311                to_y: "padding_after_icon";
1312                offset: 0 -3;
1313             }
1314             rel2 {
1315                relative: 0.0 0.0;
1316                to: "padding_right_bottom";
1317                offset: 0 -3;
1318             }
1319             visible: 0;
1320             color: 224 224 224 255;
1321             color3: 0 0 0 32;
1322             text {
1323                font: "Sans:style=Bold";
1324                size: 10;
1325                min: 1 1;
1326                align: 0.5 0.5;
1327                text_class: "toolbar_item";
1328             }
1329          }
1330          description { state: "selected" 0.0;
1331             inherit: "default" 0.0;
1332             visible: 1;
1333          }
1334          description { state: "visible" 0.0;
1335             inherit: "default" 0.0;
1336             visible: 1;
1337             text.min: 1 1;
1338          }
1339          description { state: "disabled" 0.0;
1340             inherit: "default" 0.0;
1341             color: 0 0 0 128;
1342             color3: 0 0 0 0;
1343          }
1344          description { state: "disabled_visible" 0.0;
1345             inherit: "default" 0.0;
1346             color: 0 0 0 128;
1347             color3: 0 0 0 0;
1348             visible: 1;
1349             text.min: 1 1;
1350          }
1351       }
1352       part { name: "elm.text.clipper";
1353          type: RECT;
1354          description { state: "default" 0.0;
1355             color: 255 255 255 255;
1356          }
1357          description { state: "animation" 0.0;
1358             color: 255 255 255 0;
1359          }
1360          description { state: "disabled" 0.0;
1361             color: 255 255 255 153;
1362          }
1363       }
1364       part { name: "elm.text_new.clipper";
1365          type: RECT;
1366          description { state: "default" 0.0;
1367             color: 255 255 255 0;
1368          }
1369          description { state: "animation" 0.0;
1370             color: 255 255 255 255;
1371          }
1372          description { state: "disabled" 0.0;
1373             color: 255 255 255 153;
1374          }
1375       }
1376       part { name: "elm.icon.clipper";
1377          type: RECT;
1378          description { state: "default" 0.0;
1379             color: 255 255 255 255;
1380          }
1381          description { state: "animation" 0.0;
1382             color: 255 255 255 0;
1383          }
1384          description { state: "disabled" 0.0;
1385             color: 255 255 255 153;
1386          }
1387       }
1388       part { name: "elm.icon_new.clipper";
1389          type: RECT;
1390          description { state: "default" 0.0;
1391             color: 255 255 255 0;
1392          }
1393          description { state: "animation" 0.0;
1394             color: 255 255 255 255;
1395          }
1396          description { state: "disabled" 0.0;
1397             color: 255 255 255 153;
1398          }
1399       }
1400       part { name: "event";
1401          type: RECT;
1402          mouse_events: 1;
1403          ignore_flags: ON_HOLD;
1404          description { state: "default" 0.0;
1405             color: 0 0 0 0;
1406          }
1407       }
1408       part { name: "event2";
1409          type: RECT;
1410          mouse_events: 1;
1411          repeat_events: 1;
1412          description { state: "default" 0.0;
1413             color: 0 0 0 0;
1414          }
1415       }
1416    }
1417    programs {
1418       program { name: "pressed";
1419          signal:  "mouse,down,1";
1420          source:  "event";
1421          script {
1422             if (get_int(item_state) != ITEM_STATE_DISABLED)
1423               {
1424                  set_state(PART:"elm.text", "visible", 0.0);
1425                  set_state(PART:"elm.text_new", "visible", 0.0);
1426                  set_state(PART:"bg", "selected", 0.0);
1427               }
1428          }
1429          transition: LINEAR 0.2;
1430       }
1431       program { name: "unpressed";
1432          signal:  "mouse,up,1";
1433          source:  "event2";
1434          action:  STATE_SET "default" 0.0;
1435          target:  "bg";
1436          target:  "elm.text";
1437          target:  "elm.text_new";
1438          transition: LINEAR 0.1;
1439       }
1440       program { name: "go";
1441          signal:  "mouse,up,1";
1442          source:  "event";
1443          action:  SIGNAL_EMIT "elm,action,click" "elm";
1444       }
1445       program { name: "mouse,in";
1446          signal:  "mouse,in";
1447          source:  "event";
1448          action:  SIGNAL_EMIT "elm,mouse,in" "elm";
1449       }
1450       program { name: "mouse,out";
1451          signal:  "mouse,out";
1452          source:  "event";
1453          action:  SIGNAL_EMIT "elm,mouse,out" "elm";
1454       }
1455       program { name: "disable";
1456          signal: "elm,state,disabled";
1457          source: "elm";
1458          script {
1459             set_int(item_state, ITEM_STATE_DISABLED);
1460             set_state(PART:"bg", "disabled", 0.0);
1461             set_state(PART:"elm.text.clipper", "disabled", 0.0);
1462             set_state(PART:"elm.icon.clipper", "disabled", 0.0);
1463             run_program(PROGRAM:"label_set,animation,done");
1464             run_program(PROGRAM:"icon_set,animation,done");
1465          }
1466       }
1467       program { name: "enable";
1468          signal: "elm,state,enabled";
1469          source: "elm";
1470          script {
1471             set_int(item_state, ITEM_STATE_ENABLED);
1472             set_state(PART:"bg", "default", 0.0);
1473             set_state(PART:"elm.text.clipper", "default", 0.0);
1474             set_state(PART:"elm.icon.clipper", "default", 0.0);
1475             run_program(PROGRAM:"label_set,animation,done");
1476             run_program(PROGRAM:"icon_set,animation,done");
1477          }
1478       }
1479       program { name: "label_set,animation,forward";
1480          signal: "elm,state,label_set,forward";
1481          source: "elm";
1482          after: "label_set,animation";
1483       }
1484       program { name: "label_set,animation,backward";
1485          signal: "elm,state,label_set,backward";
1486          source: "elm";
1487          after: "label_set,animation";
1488       }
1489       program { name: "label_set,animation";
1490          signal: "elm,state,label_set";
1491          source: "elm";
1492          action: STATE_SET "animation" 0.0;
1493          target: "elm.text.clipper";
1494          target: "elm.text_new.clipper";
1495          transition: LINEAR 0.2;
1496          after: "label_set,animation,done";
1497       }
1498       program { name: "label_set,animation,done";
1499          action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
1500       }
1501       program { name: "label,reset";
1502          signal: "elm,state,label,reset";
1503          source: "elm";
1504          script {
1505             set_state(PART:"elm.text_new.clipper", "default", 0.0);
1506             if (get_int(item_state) != ITEM_STATE_DISABLED)
1507               set_state(PART:"elm.text.clipper", "default", 0.0);
1508             else
1509               set_state(PART:"elm.text.clipper", "disabled", 0.0);
1510          }
1511       }
1512       program { name: "icon_set,animation,forward";
1513          signal: "elm,state,icon_set,forward";
1514          source: "elm";
1515          after: "icon_set,animation";
1516       }
1517       program { name: "icon_set,animation,backward";
1518          signal: "elm,state,icon_set,backward";
1519          source: "elm";
1520          after: "icon_set,animation";
1521       }
1522       program { name: "icon_set,animation";
1523          signal: "elm,state,icon_set";
1524          source: "elm";
1525          action: STATE_SET "animation" 0.0;
1526          target: "elm.icon.clipper";
1527          target: "elm.icon_new.clipper";
1528          transition: LINEAR 0.2;
1529          after: "icon_set,animation,done";
1530       }
1531       program { name: "icon_set,animation,done";
1532          action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
1533       }
1534       program { name: "icon,reset";
1535          signal: "elm,state,icon,reset";
1536          source: "elm";
1537          script {
1538             set_state(PART:"elm.icon_new.clipper", "default", 0.0);
1539             if (get_int(item_state) != ITEM_STATE_DISABLED)
1540               set_state(PART:"elm.icon.clipper", "default", 0.0);
1541             else
1542               set_state(PART:"elm.icon.clipper", "disabled", 0.0);
1543          }
1544       }
1545       program { name: "text_show";
1546          signal: "elm,state,text,visible";
1547          source: "elm";
1548          script {
1549             new st[31];
1550             new Float:vl;
1551             get_state(PART:"elm.swallow.icon", st, 30, vl);
1552             if (!strcmp(st, "icononly"))
1553               {
1554                  set_state(PART:"elm.swallow.icon", "visible", 0.0);
1555                  set_state(PART:"icon_rect", "visible", 0.0);
1556                  set_state(PART:"padding_after_icon", "visible", 0.0);
1557               }
1558             set_state(PART:"label2", "visible", 0.0);
1559          }
1560       }
1561       program { name: "text_hide";
1562          signal: "elm,state,text,hidden";
1563          source: "elm";
1564          script {
1565             new st[31];
1566             new Float:vl;
1567             get_state(PART:"elm.swallow.icon", st, 30, vl);
1568             if (!strcmp(st, "visible"))
1569               {
1570                  set_state(PART:"elm.swallow.icon", "icononly", 0.0);
1571                  set_state(PART:"icon_rect", "icononly", 0.0);
1572                  set_state(PART:"padding_after_icon", "icononly", 0.0);
1573               }
1574             set_state(PART:"label2", "default", 0.0);
1575          }
1576       }
1577       program { name: "icon_show";
1578          signal: "elm,state,icon,visible";
1579          source: "elm";
1580          script {
1581             new st[31];
1582             new Float:vl;
1583             get_state(PART:"elm.text", st, 30, vl);
1584             if (!strcmp(st, "visible"))
1585               {
1586                  set_state(PART:"elm.swallow.icon", "visible", 0.0);
1587                  set_state(PART:"icon_rect", "visible", 0.0);
1588                  set_state(PART:"padding_after_icon", "visible", 0.0);
1589               }
1590             else
1591               {
1592                  set_state(PART:"elm.swallow.icon", "icononly", 0.0);
1593                  set_state(PART:"icon_rect", "icononly", 0.0);
1594                  set_state(PART:"padding_after_icon", "icononly", 0.0);
1595               }
1596          }
1597       }
1598       program { name: "icon_hide";
1599          signal: "elm,state,icon,hidden";
1600          source: "elm";
1601          script {
1602             new st[31];
1603             new Float:vl;
1604             get_state(PART:"elm.text", st, 30, vl);
1605             if (!strcmp(st, "visible"))
1606               {
1607                  set_state(PART:"label2", "visible", 0.0);
1608               }
1609               set_state(PART:"elm.swallow.icon", "default", 0.0);
1610               set_state(PART:"icon_rect", "default", 0.0);
1611               set_state(PART:"padding_after_icon", "default", 0.0);
1612          }
1613       }
1614    }
1615 }
1616
1617 group { name: "elm/toolbar/separator/default";
1618    images {
1619       image: "toolbar_separator_v.png" COMP;
1620    }
1621    parts {
1622       part { name: "separator"; // separator group
1623          description { state: "default" 0.0;
1624             min: 2 2;
1625             max: 2 9999;
1626             rel1.offset: 4 4;
1627             rel2.offset: -5 -5;
1628             image {
1629                normal: "toolbar_separator_v.png";
1630             }
1631             fill {
1632                smooth: 0;
1633             }
1634          }
1635       }
1636    }
1637 }
1638
1639 group { name: "elm/toolbar/object/default";
1640    parts {
1641       part { name: "elm.swallow.object"; // object group
1642          type: SWALLOW;
1643          description { state: "default" 0.0;
1644          }
1645       }
1646    }
1647 }