1 /* application with toolbar and main content area */
2 group { name: "elm/layout/application/toolbar-content";
4 part { name: "elm.swallow.content";
6 description { state: "default" 0.0;
7 rel1 { to_y: "elm.external.toolbar";
14 part { name: "elm.external.toolbar";
16 source: "elm/toolbar";
17 description { state: "default" 0.0;
29 /* application with toolbar and main content area with a back button and title area */
30 group { name: "elm/layout/application/toolbar-content-back";
32 part { name: "elm.swallow.content";
34 description { state: "default" 0.0;
35 rel1 { to_y: "title_clipper";
42 part { name: "elm.external.toolbar";
44 source: "elm/toolbar";
45 description { state: "default" 0.0;
54 part { name: "title_clipper";
56 description { state: "default" 0.0;
65 description { state: "hidden" 0.0;
66 inherit: "default" 0.0;
73 part { name: "back_clipper";
75 clip_to: "title_clipper";
76 description { state: "default" 0.0;
79 description { state: "hidden" 0.0;
86 clip_to: "back_clipper";
87 description { state: "default" 0.0;
90 rel1 { to_y: "elm.external.toolbar";
94 rel2 { to_y: "elm.external.toolbar";
98 params.string: "label" "Back";
105 action: SIGNAL_EMIT "elm,action,back" "";
108 signal: "elm,back,hide";
110 action: STATE_SET "hidden" 0.0;
111 target: "back_clipper";
114 signal: "elm,back,show";
116 action: STATE_SET "default" 0.0;
117 target: "back_clipper";
120 signal: "elm,title,hide";
122 action: STATE_SET "hidden" 0.0;
123 transition: LINEAR 0.1;
124 target: "title_clipper";
127 signal: "elm,title,show";
129 action: STATE_SET "default" 0.0;
130 target: "title_clipper";
134 part { name: "elm.swallow.end";
136 description { state: "default" 0.0;
139 rel1 { to_y: "elm.external.toolbar";
143 rel2 { to_y: "elm.external.toolbar";
150 part { name: "elm.text.title";
154 description { state: "default" 0.0;
155 rel1 { to_y: "elm.external.toolbar";
161 to_x: "elm.swallow.end";
166 font: "Sans:style=Bold";
174 /* application with toolbar and main content area with a back and next buttons and title area */
175 group { name: "elm/layout/application/toolbar-content-back-next";
177 part { name: "elm.swallow.content";
179 description { state: "default" 0.0;
180 rel1 { to_y: "title_clipper";
187 part { name: "elm.external.toolbar";
189 source: "elm/toolbar";
190 description { state: "default" 0.0;
199 part { name: "title_clipper";
201 description { state: "default" 0.0;
210 description { state: "hidden" 0.0;
211 inherit: "default" 0.0;
220 source: "elm/button";
221 clip_to: "back_clipper";
222 description { state: "default" 0.0;
225 rel1 { to_y: "elm.external.toolbar";
229 rel2 { to_y: "elm.external.toolbar";
233 params.string: "label" "Back";
236 part { name: "back_clipper";
238 clip_to: "title_clipper";
239 description { state: "default" 0.0;
242 description { state: "hidden" 0.0;
248 source: "elm/button";
249 clip_to: "next_clipper";
250 description { state: "default" 0.0;
253 rel1 { to_y: "elm.external.toolbar";
257 rel2 { to_y: "elm.external.toolbar";
261 params.string: "label" "Next";
264 part { name: "next_clipper";
266 clip_to: "title_clipper";
267 description { state: "default" 0.0;
270 description { state: "hidden" 0.0;
278 action: SIGNAL_EMIT "elm,action,back" "";
281 signal: "elm,title,hide";
283 action: STATE_SET "hidden" 0.0;
284 transition: LINEAR 0.1;
285 target: "title_clipper";
288 signal: "elm,title,show";
290 action: STATE_SET "default" 0.0;
291 target: "title_clipper";
294 signal: "elm,back,hide";
296 action: STATE_SET "hidden" 0.0;
297 target: "back_clipper";
300 signal: "elm,back,show";
302 action: STATE_SET "default" 0.0;
303 target: "back_clipper";
308 action: SIGNAL_EMIT "elm,action,next" "";
311 signal: "elm,next,hide";
313 action: STATE_SET "hidden" 0.0;
314 target: "next_clipper";
317 signal: "elm,next,show";
319 action: STATE_SET "default" 0.0;
320 target: "next_clipper";
323 part { name: "elm.text.title";
327 clip_to: "title_clipper";
328 description { state: "default" 0.0;
329 rel1 { to_y: "elm.external.toolbar";
340 font: "Sans:style=Bold";
347 /* application with a main content area with a back button and title area */
348 group { name: "elm/layout/application/content-back";
350 part { name: "elm.swallow.content";
352 description { state: "default" 0.0;
353 rel1 { to_y: "title_clipper";
359 part { name: "title_clipper";
361 description { state: "default" 0.0;
370 description { state: "hidden" 0.0;
371 inherit: "default" 0.0;
378 part { name: "back_clipper";
380 clip_to: "title_clipper";
381 description { state: "default" 0.0;
384 description { state: "hidden" 0.0;
390 source: "elm/button";
391 clip_to: "back_clipper";
392 description { state: "default" 0.0;
403 params.string: "label" "Back";
410 action: SIGNAL_EMIT "elm,action,back" "";
413 signal: "elm,back,hide";
415 action: STATE_SET "hidden" 0.0;
416 target: "back_clipper";
419 signal: "elm,back,show";
421 action: STATE_SET "default" 0.0;
422 target: "back_clipper";
425 signal: "elm,title,hide";
427 action: STATE_SET "hidden" 0.0;
428 transition: LINEAR 0.1;
429 target: "title_clipper";
432 signal: "elm,title,show";
434 action: STATE_SET "default" 0.0;
435 target: "title_clipper";
439 part { name: "elm.swallow.end";
441 description { state: "default" 0.0;
455 part { name: "elm.text.title";
459 description { state: "default" 0.0;
466 to_x: "elm.swallow.end";
471 font: "Sans:style=Bold";
479 /* application with a main content area with a back and next buttons and title area */
480 group { name: "elm/layout/application/content-back-next";
482 part { name: "elm.swallow.content";
484 description { state: "default" 0.0;
485 rel1 { to_y: "title_clipper";
492 part { name: "title_clipper";
494 description { state: "default" 0.0;
503 description { state: "hidden" 0.0;
504 inherit: "default" 0.0;
513 source: "elm/button";
514 clip_to: "back_clipper";
515 description { state: "default" 0.0;
526 params.string: "label" "Back";
529 part { name: "back_clipper";
531 clip_to: "title_clipper";
532 description { state: "default" 0.0;
535 description { state: "hidden" 0.0;
541 source: "elm/button";
542 clip_to: "next_clipper";
543 description { state: "default" 0.0;
554 params.string: "label" "Next";
557 part { name: "next_clipper";
559 clip_to: "title_clipper";
560 description { state: "default" 0.0;
563 description { state: "hidden" 0.0;
571 action: SIGNAL_EMIT "elm,action,back" "";
574 signal: "elm,title,hide";
576 action: STATE_SET "hidden" 0.0;
577 transition: LINEAR 0.1;
578 target: "title_clipper";
581 signal: "elm,title,show";
583 action: STATE_SET "default" 0.0;
584 target: "title_clipper";
587 signal: "elm,back,hide";
589 action: STATE_SET "hidden" 0.0;
590 target: "back_clipper";
593 signal: "elm,back,show";
595 action: STATE_SET "default" 0.0;
596 target: "back_clipper";
601 action: SIGNAL_EMIT "elm,action,next" "";
604 signal: "elm,next,hide";
606 action: STATE_SET "hidden" 0.0;
607 target: "next_clipper";
610 signal: "elm,next,show";
612 action: STATE_SET "default" 0.0;
613 target: "next_clipper";
616 part { name: "elm.text.title";
620 clip_to: "title_clipper";
621 description { state: "default" 0.0;
633 font: "Sans:style=Bold";
641 /* application with toolbar and main content area as a vertical box */
642 group { name: "elm/layout/application/toolbar-vbox";
644 part { name: "elm.box.content";
646 description { state: "default" 0.0;
647 rel1 { to_y: "elm.external.toolbar";
651 box.layout: "vertical";
655 part { name: "elm.external.toolbar";
657 source: "elm/toolbar";
658 description { state: "default" 0.0;
670 /* application with toolbar and main content area as a table */
671 group { name: "elm/layout/application/toolbar-table";
673 part { name: "elm.table.content";
675 description { state: "default" 0.0;
676 rel1 { to_y: "elm.external.toolbar";
683 part { name: "elm.external.toolbar";
685 source: "elm/toolbar";
686 description { state: "default" 0.0;
697 /* a simple title layout, with a label and two icons */
698 group { name: "elm/layout/application/titlebar";
700 image: "toolbar_sel.png" COMP;
706 description { state: "default" 0.0;
713 normal: "toolbar_sel.png";
718 part { name: "elm.swallow.content";
720 description { state: "default" 0.0;
728 part { name: "elm.swallow.icon";
731 description { state: "default" 0.0;
745 description { state: "visible" 0.0;
746 inherit: "default" 0.0;
750 part { name: "elm.swallow.end";
753 description { state: "default" 0.0;
768 description { state: "visible" 0.0;
769 inherit: "default" 0.0;
773 part { name: "elm.text";
778 description { state: "default" 0.0;
781 to_x: "elm.swallow.icon";
786 to_x: "elm.swallow.end";
795 text_class: "title_bar";
801 program { name: "show_icon";
802 signal: "elm,state,icon,visible";
804 action: STATE_SET "visible" 0.0;
805 target: "elm.swallow.icon";
807 program { name: "hide_icon";
808 signal: "elm,state,icon,hidden";
810 action: STATE_SET "default" 0.0;
811 target: "elm.swallow.icon";
813 program { name: "show_end";
814 signal: "elm,state,end,visible";
816 action: STATE_SET "visible" 0.0;
817 target: "elm.swallow.end";
819 program { name: "hide_end";
820 signal: "elm,state,end,hidden";
822 action: STATE_SET "default" 0.0;
823 target: "elm.swallow.end";