2 * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved
4 * PROPRIETARY/CONFIDENTIAL
6 * This software is the confidential and proprietary information of SAMSUNG
7 * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
8 * software is owned by Samsung and you shall not disclose such Confidential
9 * Information and shall use it only in accordance with the terms of the license
10 * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
11 * representations or warranties about the suitability of the software, either
12 * express or implied, including but not limited to the implied warranties of
13 * merchantability, fitness for a particular purpose, or non-infringement.
14 * SAMSUNG shall not be liable for any damages suffered by licensee arising out
15 * of or releated to this software.
19 #define NAVIFRAME_VIEW_TRANS_TIME 0.3
21 group { name:"elm/naviframe/base/default";
24 description { state: "default" 0.0;
29 group { name:"elm/naviframe/item/basic/default";
30 alias:"elm/naviframe/item/1line/default";
32 image: "00_winset_control_top_bg.png" COMP;
33 image: "00_winset_control_top_arrow.png" COMP;
34 image: "00_winset_title_line.png" COMP;
35 image: "00_winset_control_toolbar_bg.png" COMP;
36 image: "00_winset_title_bg.png" COMP;
39 public oh_show = 0; //optionheader show/hide
40 public oh_close = 0; //optionheader close/open
41 public cbar_bg = 0; //Controlbar BG Show call count
47 description { state: "default" 0.0;
50 description { state: "left" 0.0;
51 inherit: "default" 0.0;
52 rel1.relative: -1.0 0.0;
53 rel2.relative: 0.0 1.0;
55 description { state: "right" 0.0;
56 inherit: "default" 0.0;
57 rel1.relative: 1.0 0.0;
58 rel2.relative: 2.0 1.0;
61 part { name: "title_bg";
63 description { state: "default" 0.0;
64 min: 1 NAVIFRAME_TITLE_H_INC;
67 rel1 { relative: 0.0 0.0; to: "base"; }
68 rel2 { relative: 1.0 0.0; to: "base"; }
69 image.normal: "00_winset_title_bg.png";
71 description { state: "hide" 0.0;
72 inherit: "default" 0.0;
78 part { name: "title_clip";
81 description { state: "default" 0.0;
82 rel1 { to: "title_bg"; }
83 rel2 { to: "title_bg"; }
86 part { name: "optionheader_bg";
89 description { state: "default" 0.0;
97 image { normal: "00_winset_control_top_bg.png";
98 border: NAVIFRAME_OH_BORDER_INC;
101 description { state: "show" 0.0;
102 inherit: "default" 0.0;
103 min: 1 NAVIFRAME_OH_OPENED_H_INC;
106 description { state: "hide" 0.0;
107 inherit: "default" 0.0;
113 part { name: "optionheader_clip";
116 description { state: "default" 0.0;
117 rel1 { to: "optionheader_bg"; }
118 rel2 { to: "optionheader_bg"; }
121 part { name: "optionheader_top_padding";
124 clip_to: "optionheader_clip";
125 description { state: "default" 0.0;
126 min: 0 NAVIFRAME_OH_PADDING_INC;
127 rel1 { relative: 0.0 0.0; to: "optionheader_bg"; }
128 rel2 { relative: 1.0 0.0; to: "optionheader_bg"; }
134 part { name: "optionheader";
137 clip_to: "optionheader_clip";
138 description { state: "default" 0.0;
139 min: 0 NAVIFRAME_OH_CONTENT_H_INC;
140 rel1 { relative: 0.0 1.0; to: "optionheader_top_padding"; }
141 rel2 { relative: 1.0 1.0; to: "optionheader_top_padding"; }
146 part { name: "optionheader_bottom_padding";
149 clip_to: "optionheader_clip";
150 description { state: "default" 0.0;
151 min: 0 NAVIFRAME_OH_PADDING_INC;
152 rel1 { relative: 0.0 1.0; to: "optionheader"; }
153 rel2 { relative: 1.0 1.0; to: "optionheader"; }
159 part { name: "optionheader_shadow";
162 clip_to: "optionheader_clip";
163 description { state: "default" 0.0;
164 min: 0 NAVIFRAME_OH_SHADOW_INC;
165 rel1 { relative: 0.0 1.0; to: "optionheader_bottom_padding"; }
166 rel2 { relative: 1.0 1.0; to: "optionheader_bottom_padding"; }
172 part { name: "elm.swallow.content";
176 clip_to: "content_clip";
177 description { state: "default" 0.0;
179 rel1.relative: 0.0 1.0;
181 rel1.to_y: "optionheader_bg";
182 rel2.relative: 1.0 0.0;
184 rel2.to_y: "controlbar_bg";
187 part { name: "content_clip";
190 description { state: "default" 0.0;
191 rel1.to: "elm.swallow.content";
192 rel2.to: "elm.swallow.content";
195 part { name: "padding_center_text1";
199 clip_to: "title_clip";
200 description { state: "default" 0.0;
201 min: NAVIFRAME_PADDING_INC;
204 rel1 { relative: 0.0 0.0; to: "title_bg"; }
205 rel2 { relative: 0.0 1.0; to: "title_bg"; }
208 description { state: "icon" 0.0;
209 inherit: "default" 0.0;
210 min: NAVIFRAME_ICON_PADDING_INC;
213 part { name: "padding_center_text2";
217 clip_to: "title_clip";
218 description { state: "default" 0.0;
219 min: NAVIFRAME_PADDING_INC;
222 rel1 { relative: 0.0 0.0; to_x: "title_more_btn"; to_y: "title_bg"; }
223 rel2 { relative: 0.0 1.0; to_x: "title_more_btn"; to_y: "title_bg"; }
227 part { name: "elm.text.title";
230 clip_to: "title_clip";
231 description { state: "default" 0.0;
232 text { font: "SLP:style=Medium";
233 size: NAVIFRAME_TITLE_FONT_SIZE_INC;
237 text_class: "slp_medium";
239 color: NAVIFRAME_TITLE_TEXT_COLOR_INC;
242 rel1 { relative: 1.0 0.0; to: "padding_center_text1"; }
243 rel2 { relative: 0.0 1.0; to: "padding_center_text2"; }
246 part { name: "padding_before_text";
250 clip_to: "title_clip";
251 description { state: "default" 0.0;
253 rel1 { relative: 0.0 0.0; to: "elm.text.title"; }
254 rel2 { relative: 0.0 1.0; to: "elm.text.title"; }
256 min: NAVIFRAME_PADDING_INC;
260 part { name: "elm.swallow.icon";
263 clip_to: "title_clip";
264 description { state: "default" 0.0;
265 max: NAVIFRAME_ICON_SIZE_INC;
267 rel1 { relative: 0.0 0.0; to: "padding_before_text"; }
268 rel2 { relative: 0.0 1.0; to: "padding_before_text"; }
270 aspect_preference: VERTICAL;
274 part { name: "click_event_area";
275 ignore_flags: ON_HOLD;
277 description { state: "default" 0.0;
278 rel1 { to: "title_bg"; }
279 rel2 { to: "title_bg"; }
282 part { name: "title_left_btn";
285 clip_to: "title_clip";
286 description { state: "default" 0.0;
287 max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC;
290 rel1 { relative: 0.0 0.0; to: "title_right_btn"; }
291 rel2 { relative: 0.0 1.0; to: "title_right_btn"; }
294 part { name: "left_btn_separator";
297 clip_to: "title_clip";
298 description { state: "default" 0.0;
303 rel1 { relative: 0.0 0.0; to: "title_left_btn"; }
304 rel2 { relative: 0.0 1.0; to: "title_left_btn"; }
305 image.normal: "00_winset_title_line.png";
308 description { state: "visible" 0.0;
309 inherit: "default" 0.0;
313 part { name: "title_right_btn";
316 clip_to: "title_clip";
317 description { state: "default" 0.0;
318 max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC;
321 rel1 { relative: 1.0 0.0; to: "title_bg"; }
322 rel2 { relative: 1.0 1.0; to: "title_bg"; }
325 part { name: "right_btn_separator";
328 clip_to: "title_clip";
329 description { state: "default" 0.0;
334 rel1 { relative: 0.0 0.0; to: "title_right_btn"; }
335 rel2 { relative: 0.0 1.0; to: "title_right_btn"; }
336 image.normal: "00_winset_title_line.png";
339 description { state: "visible" 0.0;
340 inherit: "default" 0.0;
344 part { name: "title_more_btn";
347 clip_to: "title_clip";
348 description { state: "default" 0.0;
349 max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC;
352 rel1 { relative: 0.0 0.0; to: "title_left_btn"; }
353 rel2 { relative: 0.0 1.0; to: "title_left_btn"; }
356 part { name: "optionheader_arrow";
359 description { state: "default" 0.0;
360 min: NAVIFRAME_OH_ARROW_SIZE_INC;
361 max: NAVIFRAME_OH_ARROW_SIZE_INC;
364 rel1 { relative: 0.0 1.1; to: "title_more_btn"; }
365 rel2 { relative: 1.0 1.2; to: "title_more_btn"; }
366 image.normal: "00_winset_control_top_arrow.png";
367 color: 255 255 255 0;
369 description { state: "show" 0.0;
370 inherit: "default" 0.0;
371 color: 255 255 255 255;
374 part { name: "controlbar_bg";
376 description { state: "default" 0.0;
384 image.normal: "00_winset_control_toolbar_bg.png";
386 description { state: "show" 0.0;
387 inherit: "default" 0.0;
388 min: 0 CONTROLBAR_SMALL_HEIGHT_INC;
389 max: 999999 CONTROLBAR_SMALL_HEIGHT_INC;
393 part { name: "elm.prev_btn_bg";
396 description { state: "default" 0.0;
400 rel1 { relative: 1.0 0.0; to: "controlbar_bg"; }
401 rel2.to: "controlbar_bg";
404 description { state: "visible" 0.0;
405 inherit: "default" 0.0;
406 min: NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC 0;
409 part { name: "prev_btn_separator";
412 description { state: "default" 0.0;
417 rel1 { relative: 0.0 0.0; to: "elm.prev_btn_bg"; }
418 rel2 { relative: 0.0 1.0; to: "elm.prev_btn_bg"; }
419 image.normal: "00_winset_title_line.png";
422 description { state: "visible" 0.0;
423 inherit: "default" 0.0;
427 part { name: "elm.swallow.prev_btn";
430 description { state: "default" 0.0;
433 rel1.to: "elm.prev_btn_bg";
434 rel2.to: "elm.prev_btn_bg";
437 part { name: "controlbar_clip";
440 description { state: "default" 0.0;
441 rel1.to: "controlbar_bg";
442 rel2 { relative: 0.0 1.0; to_x: "prev_btn_separator"; to_y: "elm.prev_btn_bg"; }
445 part { name: "controlbar";
448 clip_to: "controlbar_clip";
449 description { state: "default" 0.0;
451 rel1.to: "controlbar_clip";
452 rel2.to: "controlbar_clip";
457 program { name: "content_new_pushed";
458 signal: "elm,state,new,pushed,internal";
460 action: STATE_SET "default" 0.0;
462 transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
463 after: "show_finished";
465 program { name: "content_cur_pushed";
466 signal: "elm,state,cur,pushed,internal";
468 action: STATE_SET "left" 0.0;
470 transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
471 after: "pushed_finished";
473 program { name: "content_prev_popped";
474 signal: "elm,state,prev,popped,internal";
476 action: STATE_SET "default" 0.0;
478 transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
479 after: "show_finished";
481 program { name: "content_cur_popped";
482 signal: "elm,state,cur,popped,internal";
484 action: STATE_SET "right" 0.0;
486 transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
487 after: "popped_finished";
489 program { name: "cur_pushed";
490 signal: "elm,state,cur,pushed";
493 set_state(PART:"base", "default", 0.0);
494 emit("elm,state,cur,pushed,internal", "");
497 program { name: "new_pushed";
498 signal: "elm,state,new,pushed";
501 set_state(PART:"base", "right", 0.0);
502 emit("elm,state,new,pushed,internal", "");
505 program { name: "prev_popped";
506 signal: "elm,state,prev,popped";
509 set_state(PART:"base", "left", 0.0);
510 emit("elm,state,prev,popped,internal", "");
513 program { name: "cur_popped";
514 signal: "elm,state,cur,popped";
517 set_state(PART:"base", "default", 0.0);
518 emit("elm,state,cur,popped,internal", "");
521 program { name: "visible";
522 signal: "elm,state,visible";
524 action: STATE_SET "default" 0.0;
527 program { name: "title_show";
528 signal: "elm,state,title,show";
531 set_state(PART:"title_bg", "default", 0.0);
532 if (get_int(oh_show) == 1) {
533 if (get_int(oh_close) == 1) {
534 emit("elm,state,optionheader,instant_close", "");
536 emit("elm,state,optionheader,instant_open", "");
540 set_state(PART:"optionheader_bg", "default", 0.0);
543 program { name: "title_hide";
544 signal: "elm,state,title,hide";
546 action: STATE_SET "hide" 0.0;
548 target: "optionheader_bg";
550 program { name: "prev_btn_show";
551 signal: "elm,state,prev_btn,show";
554 emit("elm,state,controlbar_bg,show", "elm");
555 set_state(PART:"elm.prev_btn_bg", "visible", 0.0);
556 set_state(PART:"prev_btn_separator", "visible", 0.0);
559 program { name: "prev_btn_hide";
560 signal: "elm,state,prev_btn,hide";
563 emit("elm,state,controlbar_bg,hide", "elm");
564 set_state(PART:"elm.prev_btn_bg", "default", 0.0);
565 set_state(PART:"prev_btn_separator", "default", 0.0);
568 program { name: "icon_show";
569 signal: "elm,state,icon,show";
571 action: STATE_SET "icon" 0.0;
572 target: "padding_center_text1";
574 program { name: "icon_hide";
575 signal: "elm,state,icon,hide";
577 action: STATE_SET "default" 0.0;
578 target: "padding_center_text1";
580 program { name: "left_btn_show";
581 signal: "elm,state,title_left_btn,show";
583 action: STATE_SET "visible" 0.0;
584 target: "left_btn_separator";
586 program { name: "left_btn_hide";
587 signal: "elm,state,title_left_btn,hide";
589 action: STATE_SET "default" 0.0;
590 target: "left_btn_separator";
592 program { name: "right_btn_show";
593 signal: "elm,state,title_right_btn,show";
595 action: STATE_SET "visible" 0.0;
596 target: "right_btn_separator";
598 program { name: "right_btn_hide";
599 signal: "elm,state,title_right_btn,hide";
601 action: STATE_SET "default" 0.0;
602 target: "right_btn_separator";
604 program { name: "controlbar_show";
605 signal: "elm,state,controlbar,show";
608 emit("elm,state,controlbar_bg,show", "elm");
611 program { name: "controlbar_hide";
612 signal: "elm,state,controlbar,hide";
615 emit("elm,state,controlbar_bg,hide", "elm");
618 program { name: "controlbar_bg_show";
619 signal: "elm,state,controlbar_bg,show";
622 set_state(PART:"controlbar_bg", "show", 0.0);
623 set_int(cbar_bg, get_int(cbar_bg) + 1);
626 program { name: "controlbar_bg_hide";
627 signal: "elm,state,controlbar_bg,hide";
630 set_int(cbar_bg, get_int(cbar_bg) - 1);
631 if (get_int(cbar_bg) <= 0)
632 set_state(PART:"controlbar_bg", "default", 0.0);
635 program { name: "optionheader_show";
636 signal: "elm,state,optionheader,show";
639 set_state(PART:"optionheader_bg", "show", 0.0);
640 set_state(PART:"optionheader_arrow", "show", 0.0);
644 program { name: "optionheader_hide";
645 signal: "elm,state,optionheader,hide";
648 set_state(PART:"optionheader_bg", "default", 0.0);
649 set_state(PART:"optionheader_arrow", "default", 0.0);
653 program { name: "optionheader_open";
654 signal: "elm,state,optionheader,open";
656 action: STATE_SET "show" 0.0;
657 target: "optionheader_bg";
658 target: "optionheader_arrow";
659 transition: LINEAR 0.2;
660 after: "optionheader_open_set";
662 program { name: "optionheader_close";
663 signal: "elm,state,optionheader,close";
665 action: STATE_SET "default" 0.0;
666 target: "optionheader_bg";
667 target: "optionheader_arrow";
668 transition: LINEAR 0.2;
669 after: "optionheader_close_set";
671 program { name: "optionheader_instant_open";
672 signal: "elm,state,optionheader,instant_open";
674 action: STATE_SET "show" 0.0;
675 target: "optionheader_bg";
676 target: "optionheader_arrow";
677 after: "optionheader_open_set";
679 program { name: "optionheader_instant_close";
680 signal: "elm,state,optionheader,instant_close";
682 action: STATE_SET "default" 0.0;
683 target: "optionheader_bg";
684 target: "optionheader_arrow";
685 after: "optionheader_close_set";
687 program { name: "optionheader_close_set";
688 signal: "elm,state,optionheader,close_set";
691 set_int(oh_close, 1);
694 program { name: "optionheader_open_set";
695 signal: "elm,state,optionheader,open_set";
698 set_int(oh_close, 0);
701 program { name: "controlbar_open";
702 signal: "elm,state,controlbar,open";
704 action: STATE_SET "show" 0.0;
705 target: "controlbar_bg";
706 transition: LINEAR 0.2;
708 program { name: "controlbar_close";
709 signal: "elm,state,controlbar,close";
711 action: STATE_SET "default" 0.0;
712 target: "controlbar_bg";
713 transition: LINEAR 0.2;
715 program { name: "controlbar_instant_open";
716 signal: "elm,state,controlbar,instant_open";
719 emit("elm,state,prev_btn,show", "elm");
720 emit("elm,state,controlbar,show", "elm");
723 program { name: "controlbar_instant_close";
724 signal: "elm,state,controlbar,instant_close";
727 emit("elm,state,prev_btn,hide", "elm");
728 emit("elm,state,controlbar,hide", "elm");
731 program { name: "show_finished";
732 action: SIGNAL_EMIT "elm,action,show,finished" "";
734 program { name: "pushed_finished";
735 action: SIGNAL_EMIT "elm,action,pushed,finished" "";
737 program { name: "popped_finished";
738 action: SIGNAL_EMIT "elm,action,popped,finished" "";
741 name: "title_clicked";
742 signal: "mouse,clicked,1";
743 source: "click_event_area";
744 action: SIGNAL_EMIT "elm,action,title,clicked" "";
748 group { name:"elm/naviframe/item/basic2/default";
749 alias:"elm/naviframe/item/2line/default";
751 image: "00_winset_control_top_bg.png" COMP;
752 image: "00_winset_control_top_arrow.png" COMP;
753 image: "00_winset_title_line.png" COMP;
754 image: "00_winset_control_toolbar_bg.png" COMP;
755 image: "00_winset_title_bg.png" COMP;
758 public oh_show = 0; //optionheader show/hide
759 public oh_close = 0; //optionheader close/open
760 public cbar_bg = 0; //Controlbar BG Show call count
766 description { state: "default" 0.0;
769 description { state: "left" 0.0;
770 inherit: "default" 0.0;
771 rel1.relative: -1.0 0.0;
772 rel2.relative: 0.0 1.0;
774 description { state: "right" 0.0;
775 inherit: "default" 0.0;
776 rel1.relative: 1.0 0.0;
777 rel2.relative: 2.0 1.0;
780 part { name: "title_bg";
782 description { state: "default" 0.0;
783 min: 1 NAVIFRAME_TITLE_H_INC;
786 rel1 { relative: 0.0 0.0; to: "base"; }
787 rel2 { relative: 1.0 0.0; to: "base"; }
788 image.normal: "00_winset_title_bg.png";
790 description { state: "hide" 0.0;
791 inherit: "default" 0.0;
797 part { name: "title_clip";
800 description { state: "default" 0.0;
801 rel1 { to: "title_bg"; }
802 rel2 { to: "title_bg"; }
805 part { name: "optionheader_bg";
808 description { state: "default" 0.0;
816 image { normal: "00_winset_control_top_bg.png";
817 border: NAVIFRAME_OH_BORDER_INC;
820 description { state: "show" 0.0;
821 inherit: "default" 0.0;
822 min: 1 NAVIFRAME_OH_OPENED_DOUBLE_H_INC;
825 description { state: "hide" 0.0;
826 inherit: "default" 0.0;
832 part { name: "optionheader_clip";
835 description { state: "default" 0.0;
836 rel1 { to: "optionheader_bg"; }
837 rel2 { to: "optionheader_bg"; }
840 part { name: "optionheader_top_padding";
843 clip_to: "optionheader_clip";
844 description { state: "default" 0.0;
845 min: 0 NAVIFRAME_OH_PADDING_INC;
846 rel1 { relative: 0.0 0.0; to: "optionheader_bg"; }
847 rel2 { relative: 1.0 0.0; to: "optionheader_bg"; }
853 part { name: "optionheader";
856 clip_to: "optionheader_clip";
857 description { state: "default" 0.0;
858 min: 0 NAVIFRAME_OH_CONTENT_H_INC;
859 rel1 { relative: 0.0 1.0; to: "optionheader_top_padding"; }
860 rel2 { relative: 1.0 1.0; to: "optionheader_top_padding"; }
865 part { name: "optionheader_mid_padding";
868 clip_to: "optionheader_clip";
869 description { state: "default" 0.0;
870 min: 0 NAVIFRAME_OH_PADDING_INC;
871 rel1 { relative: 0.0 1.0; to: "optionheader"; }
872 rel2 { relative: 1.0 1.0; to: "optionheader"; }
878 part { name: "optionheader2";
881 clip_to: "optionheader_clip";
882 description { state: "default" 0.0;
883 min: 0 NAVIFRAME_OH_CONTENT_H_INC;
884 rel1 { relative: 0.0 1.0; to: "optionheader_mid_padding";}
885 rel2 { relative: 1.0 1.0; to: "optionheader_mid_padding";}
890 part { name: "optionheader_bottom_padding";
893 clip_to: "optionheader_clip";
894 description { state: "default" 0.0;
895 min: 0 NAVIFRAME_OH_PADDING_INC;
896 rel1 { relative: 0.0 1.0; to: "optionheader2"; }
897 rel2 { relative: 1.0 1.0; to: "optionheader2"; }
903 part { name: "optionheader_shadow";
906 clip_to: "optionheader_clip";
907 description { state: "default" 0.0;
908 min: 0 NAVIFRAME_OH_SHADOW_INC;
909 rel1 { relative: 0.0 1.0; to: "optionheader_bottom_padding"; }
910 rel2 { relative: 1.0 1.0; to: "optionheader_bottom_padding"; }
916 part { name: "elm.swallow.content";
920 clip_to: "content_clip";
921 description { state: "default" 0.0;
923 rel1.relative: 0.0 1.0;
925 rel1.to_y: "optionheader_bg";
926 rel2.relative: 1.0 0.0;
928 rel2.to_y: "controlbar_bg";
931 part { name: "content_clip";
934 description { state: "default" 0.0;
935 rel1.to: "elm.swallow.content";
936 rel2.to: "elm.swallow.content";
939 part { name: "padding_center_text1";
943 clip_to: "title_clip";
944 description { state: "default" 0.0;
945 min: NAVIFRAME_PADDING_INC;
948 rel1 { relative: 0.0 0.0; to: "title_bg"; }
949 rel2 { relative: 0.0 1.0; to: "title_bg"; }
952 description { state: "icon" 0.0;
953 inherit: "default" 0.0;
954 min: NAVIFRAME_ICON_PADDING_INC;
957 part { name: "padding_center_text2";
961 clip_to: "title_clip";
962 description { state: "default" 0.0;
963 min: NAVIFRAME_PADDING_INC;
966 rel1 { relative: 0.0 0.0; to_x: "title_more_btn"; to_y: "title_bg"; }
967 rel2 { relative: 0.0 1.0; to_x: "title_more_btn"; to_y: "title_bg"; }
971 part { name: "elm.text.title";
974 clip_to: "title_clip";
975 description { state: "default" 0.0;
976 text { font: "SLP:style=Medium";
977 size: NAVIFRAME_TITLE_FONT_SIZE_INC;
981 text_class: "slp_medium";
983 color: NAVIFRAME_TITLE_TEXT_COLOR_INC;
986 rel1 { relative: 1.0 0.0; to: "padding_center_text1"; }
987 rel2 { relative: 0.0 1.0; to: "padding_center_text2"; }
990 part { name: "padding_before_text";
994 clip_to: "title_clip";
995 description { state: "default" 0.0;
997 rel1 { relative: 0.0 0.0; to: "elm.text.title"; }
998 rel2 { relative: 0.0 1.0; to: "elm.text.title"; }
1000 min: NAVIFRAME_PADDING_INC;
1004 part { name: "elm.swallow.icon";
1007 clip_to: "title_clip";
1008 description { state: "default" 0.0;
1009 max: NAVIFRAME_ICON_SIZE_INC;
1011 rel1 { relative: 0.0 0.0; to: "padding_before_text"; }
1012 rel2 { relative: 0.0 1.0; to: "padding_before_text"; }
1014 aspect_preference: VERTICAL;
1018 part { name: "click_event_area";
1019 ignore_flags: ON_HOLD;
1021 description { state: "default" 0.0;
1022 rel1 { to: "title_bg"; }
1023 rel2 { to: "title_bg"; }
1026 part { name: "title_left_btn";
1029 clip_to: "title_clip";
1030 description { state: "default" 0.0;
1031 max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC;
1034 rel1 { relative: 0.0 0.0; to: "title_right_btn"; }
1035 rel2 { relative: 0.0 1.0; to: "title_right_btn"; }
1038 part { name: "left_btn_separator";
1041 clip_to: "title_clip";
1042 description { state: "default" 0.0;
1047 rel1 { relative: 0.0 0.0; to: "title_left_btn"; }
1048 rel2 { relative: 0.0 1.0; to: "title_left_btn"; }
1049 image.normal: "00_winset_title_line.png";
1052 description { state: "visible" 0.0;
1053 inherit: "default" 0.0;
1057 part { name: "title_right_btn";
1060 clip_to: "title_clip";
1061 description { state: "default" 0.0;
1062 max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC;
1065 rel1 { relative: 1.0 0.0; to: "title_bg"; }
1066 rel2 { relative: 1.0 1.0; to: "title_bg"; }
1069 part { name: "right_btn_separator";
1072 clip_to: "title_clip";
1073 description { state: "default" 0.0;
1078 rel1 { relative: 0.0 0.0; to: "title_right_btn"; }
1079 rel2 { relative: 0.0 1.0; to: "title_right_btn"; }
1080 image.normal: "00_winset_title_line.png";
1083 description { state: "visible" 0.0;
1084 inherit: "default" 0.0;
1088 part { name: "title_more_btn";
1091 clip_to: "title_clip";
1092 description { state: "default" 0.0;
1093 max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC;
1096 rel1 { relative: 0.0 0.0; to: "title_left_btn"; }
1097 rel2 { relative: 0.0 1.0; to: "title_left_btn"; }
1100 part { name: "optionheader_arrow";
1103 description { state: "default" 0.0;
1104 min: NAVIFRAME_OH_ARROW_SIZE_INC;
1105 max: NAVIFRAME_OH_ARROW_SIZE_INC;
1108 rel1 { relative: 0.0 1.1; to: "title_more_btn"; }
1109 rel2 { relative: 1.0 1.2; to: "title_more_btn"; }
1110 image.normal: "00_winset_control_top_arrow.png";
1111 color: 255 255 255 0;
1113 description { state: "show" 0.0;
1114 inherit: "default" 0.0;
1115 color: 255 255 255 255;
1118 part { name: "controlbar_bg";
1120 description { state: "default" 0.0;
1126 rel1 { to: "base"; }
1127 rel2 { to: "base"; }
1128 image.normal: "00_winset_control_toolbar_bg.png";
1130 description { state: "show" 0.0;
1131 inherit: "default" 0.0;
1132 min: 0 CONTROLBAR_SMALL_HEIGHT_INC;
1133 max: 999999 CONTROLBAR_SMALL_HEIGHT_INC;
1137 part { name: "elm.prev_btn_bg";
1140 description { state: "default" 0.0;
1144 rel1 { relative: 1.0 0.0; to: "controlbar_bg"; }
1145 rel2.to: "controlbar_bg";
1148 description { state: "visible" 0.0;
1149 inherit: "default" 0.0;
1150 min: NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC 0;
1153 part { name: "prev_btn_separator";
1156 description { state: "default" 0.0;
1161 rel1 { relative: 0.0 0.0; to: "elm.prev_btn_bg"; }
1162 rel2 { relative: 0.0 1.0; to: "elm.prev_btn_bg"; }
1163 image.normal: "00_winset_title_line.png";
1166 description { state: "visible" 0.0;
1167 inherit: "default" 0.0;
1171 part { name: "elm.swallow.prev_btn";
1174 description { state: "default" 0.0;
1177 rel1.to: "elm.prev_btn_bg";
1178 rel2.to: "elm.prev_btn_bg";
1181 part { name: "controlbar_clip";
1184 description { state: "default" 0.0;
1185 rel1.to: "controlbar_bg";
1186 rel2 { relative: 0.0 1.0; to_x: "prev_btn_separator"; to_y: "elm.prev_btn_bg"; }
1189 part { name: "controlbar";
1192 clip_to: "controlbar_clip";
1193 description { state: "default" 0.0;
1195 rel1.to: "controlbar_clip";
1196 rel2.to: "controlbar_clip";
1201 program { name: "content_new_pushed";
1202 signal: "elm,state,new,pushed,internal";
1204 action: STATE_SET "default" 0.0;
1206 transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
1207 after: "show_finished";
1209 program { name: "content_cur_pushed";
1210 signal: "elm,state,cur,pushed,internal";
1212 action: STATE_SET "left" 0.0;
1214 transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
1215 after: "pushed_finished";
1217 program { name: "content_prev_popped";
1218 signal: "elm,state,prev,popped,internal";
1220 action: STATE_SET "default" 0.0;
1222 transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
1223 after: "show_finished";
1225 program { name: "content_cur_popped";
1226 signal: "elm,state,cur,popped,internal";
1228 action: STATE_SET "right" 0.0;
1230 transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
1231 after: "popped_finished";
1233 program { name: "cur_pushed";
1234 signal: "elm,state,cur,pushed";
1237 set_state(PART:"base", "default", 0.0);
1238 emit("elm,state,cur,pushed,internal", "");
1241 program { name: "new_pushed";
1242 signal: "elm,state,new,pushed";
1245 set_state(PART:"base", "right", 0.0);
1246 emit("elm,state,new,pushed,internal", "");
1249 program { name: "prev_popped";
1250 signal: "elm,state,prev,popped";
1253 set_state(PART:"base", "left", 0.0);
1254 emit("elm,state,prev,popped,internal", "");
1257 program { name: "cur_popped";
1258 signal: "elm,state,cur,popped";
1261 set_state(PART:"base", "default", 0.0);
1262 emit("elm,state,cur,popped,internal", "");
1265 program { name: "visible";
1266 signal: "elm,state,visible";
1268 action: STATE_SET "default" 0.0;
1271 program { name: "title_show";
1272 signal: "elm,state,title,show";
1275 set_state(PART:"title_bg", "default", 0.0);
1276 if (get_int(oh_show) == 1) {
1277 if (get_int(oh_close) == 1) {
1278 emit("elm,state,optionheader,instant_close", "");
1280 emit("elm,state,optionheader,instant_open", "");
1284 set_state(PART:"optionheader_bg", "default", 0.0);
1287 program { name: "title_hide";
1288 signal: "elm,state,title,hide";
1290 action: STATE_SET "hide" 0.0;
1292 target: "optionheader_bg";
1294 program { name: "prev_btn_show";
1295 signal: "elm,state,prev_btn,show";
1298 emit("elm,state,controlbar_bg,show", "elm");
1299 set_state(PART:"elm.prev_btn_bg", "visible", 0.0);
1300 set_state(PART:"prev_btn_separator", "visible", 0.0);
1303 program { name: "prev_btn_hide";
1304 signal: "elm,state,prev_btn,hide";
1307 emit("elm,state,controlbar_bg,hide", "elm");
1308 set_state(PART:"elm.prev_btn_bg", "default", 0.0);
1309 set_state(PART:"prev_btn_separator", "default", 0.0);
1312 program { name: "icon_show";
1313 signal: "elm,state,icon,show";
1315 action: STATE_SET "icon" 0.0;
1316 target: "padding_center_text1";
1318 program { name: "icon_hide";
1319 signal: "elm,state,icon,hide";
1321 action: STATE_SET "default" 0.0;
1322 target: "padding_center_text1";
1324 program { name: "left_btn_show";
1325 signal: "elm,state,title_left_btn,show";
1327 action: STATE_SET "visible" 0.0;
1328 target: "left_btn_separator";
1330 program { name: "left_btn_hide";
1331 signal: "elm,state,title_left_btn,hide";
1333 action: STATE_SET "default" 0.0;
1334 target: "left_btn_separator";
1336 program { name: "right_btn_show";
1337 signal: "elm,state,title_right_btn,show";
1339 action: STATE_SET "visible" 0.0;
1340 target: "right_btn_separator";
1342 program { name: "right_btn_hide";
1343 signal: "elm,state,title_right_btn,hide";
1345 action: STATE_SET "default" 0.0;
1346 target: "right_btn_separator";
1348 program { name: "controlbar_show";
1349 signal: "elm,state,controlbar,show";
1352 emit("elm,state,controlbar_bg,show", "elm");
1355 program { name: "controlbar_hide";
1356 signal: "elm,state,controlbar,hide";
1359 emit("elm,state,controlbar_bg,hide", "elm");
1362 program { name: "controlbar_bg_show";
1363 signal: "elm,state,controlbar_bg,show";
1366 set_state(PART:"controlbar_bg", "show", 0.0);
1367 set_int(cbar_bg, get_int(cbar_bg) + 1);
1370 program { name: "controlbar_bg_hide";
1371 signal: "elm,state,controlbar_bg,hide";
1374 set_int(cbar_bg, get_int(cbar_bg) - 1);
1375 if (get_int(cbar_bg) <= 0)
1376 set_state(PART:"controlbar_bg", "default", 0.0);
1379 program { name: "optionheader_show";
1380 signal: "elm,state,optionheader,show";
1383 set_state(PART:"optionheader_bg", "show", 0.0);
1384 set_state(PART:"optionheader_arrow", "show", 0.0);
1385 set_int(oh_show, 1);
1388 program { name: "optionheader_hide";
1389 signal: "elm,state,optionheader,hide";
1392 set_state(PART:"optionheader_bg", "default", 0.0);
1393 set_state(PART:"optionheader_arrow", "default", 0.0);
1394 set_int(oh_show, 0);
1397 program { name: "optionheader_open";
1398 signal: "elm,state,optionheader,open";
1400 action: STATE_SET "show" 0.0;
1401 target: "optionheader_bg";
1402 target: "optionheader_arrow";
1403 transition: LINEAR 0.2;
1404 after: "optionheader_open_set";
1406 program { name: "optionheader_close";
1407 signal: "elm,state,optionheader,close";
1409 action: STATE_SET "default" 0.0;
1410 target: "optionheader_bg";
1411 target: "optionheader_arrow";
1412 transition: LINEAR 0.2;
1413 after: "optionheader_close_set";
1415 program { name: "optionheader_instant_open";
1416 signal: "elm,state,optionheader,instant_open";
1418 action: STATE_SET "show" 0.0;
1419 target: "optionheader_bg";
1420 target: "optionheader_arrow";
1421 after: "optionheader_open_set";
1423 program { name: "optionheader_instant_close";
1424 signal: "elm,state,optionheader,instant_close";
1426 action: STATE_SET "default" 0.0;
1427 target: "optionheader_bg";
1428 target: "optionheader_arrow";
1429 after: "optionheader_close_set";
1431 program { name: "optionheader_close_set";
1432 signal: "elm,state,optionheader,close_set";
1435 set_int(oh_close, 1);
1438 program { name: "optionheader_open_set";
1439 signal: "elm,state,optionheader,open_set";
1442 set_int(oh_close, 0);
1445 program { name: "controlbar_open";
1446 signal: "elm,state,controlbar,open";
1448 action: STATE_SET "show" 0.0;
1449 target: "controlbar_bg";
1450 transition: LINEAR 0.2;
1452 program { name: "controlbar_close";
1453 signal: "elm,state,controlbar,close";
1455 action: STATE_SET "default" 0.0;
1456 target: "controlbar_bg";
1457 transition: LINEAR 0.2;
1459 program { name: "controlbar_instant_open";
1460 signal: "elm,state,controlbar,instant_open";
1463 emit("elm,state,prev_btn,show", "elm");
1464 emit("elm,state,controlbar,show", "elm");
1467 program { name: "controlbar_instant_close";
1468 signal: "elm,state,controlbar,instant_close";
1471 emit("elm,state,prev_btn,hide", "elm");
1472 emit("elm,state,controlbar,hide", "elm");
1475 program { name: "show_finished";
1476 action: SIGNAL_EMIT "elm,action,show,finished" "";
1478 program { name: "pushed_finished";
1479 action: SIGNAL_EMIT "elm,action,pushed,finished" "";
1481 program { name: "popped_finished";
1482 action: SIGNAL_EMIT "elm,action,popped,finished" "";
1485 name: "title_clicked";
1486 signal: "mouse,clicked,1";
1487 source: "click_event_area";
1488 action: SIGNAL_EMIT "elm,action,title,clicked" "";
1492 group { name: "elm/naviframe/item/segment/default";
1494 public cbar_bg = 0; //Controlbar BG Show call count
1497 image: "00_winset_control_toolbar_bg.png" COMP;
1498 image: "00_winset_title_bg.png" COMP;
1501 part { name: "base";
1504 description { state: "default" 0.0;
1507 description { state: "left" 0.0;
1508 inherit: "default" 0.0;
1509 rel1.relative: -1.0 0.0;
1510 rel2.relative: 0.0 1.0;
1512 description { state: "right" 0.0;
1513 inherit: "default" 0.0;
1514 rel1.relative: 1.0 0.0;
1515 rel2.relative: 2.0 1.0;
1518 part { name: "title_bg";
1520 description { state: "default" 0.0;
1521 min: 1 NAVIFRAME_SEGMENT_TITLE_H_INC;
1524 rel1 { relative: 0.0 0.0; to: "base"; }
1525 rel2 { relative: 1.0 0.0; to: "base"; }
1526 image.normal: "00_winset_title_bg.png";
1528 description { state: "hide" 0.0;
1529 inherit: "default" 0.0;
1535 part { name: "title_clip";
1538 description { state: "default" 0.0;
1539 rel1 { to: "title_bg"; }
1540 rel2 { to: "title_bg"; }
1543 part { name: "elm.swallow.content";
1547 clip_to: "content_clip";
1548 description { state: "default" 0.0;
1550 rel1.relative: 0.0 1.0;
1552 rel1.to_y: "title_bg";
1553 rel2.relative: 1.0 0.0;
1555 rel2.to_y: "controlbar_bg";
1558 part { name: "content_clip";
1561 description { state: "default" 0.0;
1562 rel1.to: "elm.swallow.content";
1563 rel2.to: "elm.swallow.content";
1566 part { name: "left_padding";
1570 description { state: "default" 0.0;
1572 rel1 { relative: 0.0 0.0; }
1573 rel2 { relative: 0.0 1.0; }
1575 min: NAVIFRAME_PADDING_INC;
1579 part { name: "right_padding";
1583 description { state: "default" 0.0;
1585 rel1 { relative: 1.0 0.0; }
1586 rel2 { relative: 1.0 1.0; }
1588 min: NAVIFRAME_PADDING_INC;
1592 part { name: "elm.text.title";
1595 clip_to: "title_clip";
1596 description { state: "default" 0.0;
1597 text { font: "SLP:style=Medium";
1598 size: NAVIFRAME_TITLE_SEGMENT_FONT_SIZE_INC;
1602 text_class: "slp_medium";
1604 min: 0 NAVIFRAME_TITLE_SEGMENT_TEXT_H_INC;
1605 max: 999999 NAVIFRAME_TITLE_SEGMENT_TEXT_H_INC;
1607 color: NAVIFRAME_TITLE_TEXT_COLOR_INC;
1609 rel1.to: "left_padding";
1610 rel1.relative: 1.0 0.0;
1611 rel2.to: "right_padding";
1612 rel2.relative: 0.0 1.0;
1615 part { name: "click_event_area";
1616 ignore_flags: ON_HOLD;
1618 description { state: "default" 0.0;
1619 rel1 { to: "title_bg"; }
1620 rel2 { to: "title_bg"; }
1623 part { name: "segment";
1626 clip_to: "title_clip";
1627 description { state: "default" 0.0;
1628 min: 0 NAVIFRAME_TITLE_SEGMENT_H_INC;
1629 max: 999999 NAVIFRAME_TITLE_SEGMENT_H_INC;
1632 rel1.to_x: "left_padding";
1633 rel1.to_y: "elm.text.title";
1635 rel2.to_x: "right_padding";
1636 rel2.to_y: "elm.text.title";
1640 part { name: "controlbar_bg";
1642 description { state: "default" 0.0;
1648 rel1 { to: "base"; }
1649 rel2 { to: "base"; }
1650 image.normal: "00_winset_control_toolbar_bg.png";
1652 description { state: "show" 0.0;
1653 inherit: "default" 0.0;
1654 min: 0 CONTROLBAR_SMALL_HEIGHT_INC;
1655 max: 999999 CONTROLBAR_SMALL_HEIGHT_INC;
1659 part { name: "elm.prev_btn_bg";
1662 description { state: "default" 0.0;
1666 rel1 { relative: 1.0 0.0; to: "controlbar_bg"; }
1667 rel2.to: "controlbar_bg";
1670 description { state: "visible" 0.0;
1671 inherit: "default" 0.0;
1672 min: NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC 0;
1675 part { name: "prev_btn_separator";
1678 description { state: "default" 0.0;
1683 rel1 { relative: 0.0 0.0; to: "elm.prev_btn_bg"; }
1684 rel2 { relative: 0.0 1.0; to: "elm.prev_btn_bg"; }
1685 image.normal: "00_winset_title_line.png";
1688 description { state: "visible" 0.0;
1689 inherit: "default" 0.0;
1693 part { name: "elm.swallow.prev_btn";
1696 description { state: "default" 0.0;
1699 rel1.to: "elm.prev_btn_bg";
1700 rel2.to: "elm.prev_btn_bg";
1703 part { name: "controlbar_clip";
1706 description { state: "default" 0.0;
1707 rel1.to: "controlbar_bg";
1708 rel2 { relative: 0.0 1.0; to_x: "prev_btn_separator"; to_y: "elm.prev_btn_bg"; }
1711 part { name: "controlbar";
1714 clip_to: "controlbar_clip";
1715 description { state: "default" 0.0;
1717 rel1.to: "controlbar_clip";
1718 rel2.to: "controlbar_clip";
1723 program { name: "content_new_pushed";
1724 signal: "elm,state,new,pushed,internal";
1726 action: STATE_SET "default" 0.0;
1728 transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
1729 after: "show_finished";
1731 program { name: "content_cur_pushed";
1732 signal: "elm,state,cur,pushed,internal";
1734 action: STATE_SET "left" 0.0;
1736 transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
1737 after: "pushed_finished";
1739 program { name: "content_prev_popped";
1740 signal: "elm,state,prev,popped,internal";
1742 action: STATE_SET "default" 0.0;
1744 transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
1745 after: "show_finished";
1747 program { name: "content_cur_popped";
1748 signal: "elm,state,cur,popped,internal";
1750 action: STATE_SET "right" 0.0;
1752 transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
1753 after: "popped_finished";
1755 program { name: "cur_pushed";
1756 signal: "elm,state,cur,pushed";
1759 set_state(PART:"base", "default", 0.0);
1760 emit("elm,state,cur,pushed,internal", "");
1763 program { name: "new_pushed";
1764 signal: "elm,state,new,pushed";
1767 set_state(PART:"base", "right", 0.0);
1768 emit("elm,state,new,pushed,internal", "");
1771 program { name: "prev_popped";
1772 signal: "elm,state,prev,popped";
1775 set_state(PART:"base", "left", 0.0);
1776 emit("elm,state,prev,popped,internal", "");
1779 program { name: "cur_popped";
1780 signal: "elm,state,cur,popped";
1783 set_state(PART:"base", "default", 0.0);
1784 emit("elm,state,cur,popped,internal", "");
1787 program { name: "visible";
1788 signal: "elm,state,visible";
1790 action: STATE_SET "default" 0.0;
1793 program { name: "title_show";
1794 signal: "elm,state,title,show";
1796 action: STATE_SET "show" 0.0;
1799 program { name: "title_hide";
1800 signal: "elm,state,title,hide";
1802 action: STATE_SET "hide" 0.0;
1805 program { name: "prev_btn_show";
1806 signal: "elm,state,prev_btn,show";
1809 emit("elm,state,controlbar_bg,show", "elm");
1810 set_state(PART:"elm.prev_btn_bg", "visible", 0.0);
1811 set_state(PART:"prev_btn_separator", "visible", 0.0);
1814 program { name: "prev_btn_hide";
1815 signal: "elm,state,prev_btn,hide";
1818 emit("elm,state,controlbar_bg,hide", "elm");
1819 set_state(PART:"elm.prev_btn_bg", "default", 0.0);
1820 set_state(PART:"prev_btn_separator", "default", 0.0);
1823 program { name: "controlbar_show";
1824 signal: "elm,state,controlbar,show";
1827 emit("elm,state,controlbar_bg,show", "elm");
1830 program { name: "controlbar_hide";
1831 signal: "elm,state,controlbar,hide";
1834 emit("elm,state,controlbar_bg,hide", "elm");
1837 program { name: "controlbar_bg_show";
1838 signal: "elm,state,controlbar_bg,show";
1841 set_state(PART:"controlbar_bg", "show", 0.0);
1842 set_int(cbar_bg, get_int(cbar_bg) + 1);
1845 program { name: "controlbar_bg_hide";
1846 signal: "elm,state,controlbar_bg,hide";
1849 set_int(cbar_bg, get_int(cbar_bg) - 1);
1850 if (get_int(cbar_bg) <= 0)
1851 set_state(PART:"controlbar_bg", "default", 0.0);
1854 program { name: "controlbar_open";
1855 signal: "elm,state,controlbar,open";
1857 action: STATE_SET "show" 0.0;
1858 target: "controlbar_bg";
1859 transition: LINEAR 0.2;
1861 program { name: "controlbar_close";
1862 signal: "elm,state,controlbar,close";
1864 action: STATE_SET "default" 0.0;
1865 target: "controlbar_bg";
1866 transition: LINEAR 0.2;
1868 program { name: "controlbar_instant_open";
1869 signal: "elm,state,controlbar,instant_open";
1872 emit("elm,state,prev_btn,show", "elm");
1873 emit("elm,state,controlbar,show", "elm");
1876 program { name: "controlbar_instant_close";
1877 signal: "elm,state,controlbar,instant_close";
1880 emit("elm,state,prev_btn,hide", "elm");
1881 emit("elm,state,controlbar,hide", "elm");
1884 program { name: "show_finished";
1885 action: SIGNAL_EMIT "elm,action,show,finished" "";
1887 program { name: "pushed_finished";
1888 action: SIGNAL_EMIT "elm,action,pushed,finished" "";
1890 program { name: "popped_finished";
1891 action: SIGNAL_EMIT "elm,action,popped,finished" "";
1894 name: "title_clicked";
1895 signal: "mouse,clicked,1";
1896 source: "click_event_area";
1897 action: SIGNAL_EMIT "elm,action,title,clicked" "";
1901 group { name: "elm/naviframe/item/tabbar/default";
1903 public cbar_bg = 0; //Controlbar BG Show call count
1906 image: "00_winset_control_toolbar_bg.png" COMP;
1907 image: "00_winset_title_bg.png" COMP;
1910 part { name: "base";
1913 description { state: "default" 0.0;
1916 description { state: "left" 0.0;
1917 inherit: "default" 0.0;
1918 rel1.relative: -1.0 0.0;
1919 rel2.relative: 0.0 1.0;
1921 description { state: "right" 0.0;
1922 inherit: "default" 0.0;
1923 rel1.relative: 1.0 0.0;
1924 rel2.relative: 2.0 1.0;
1927 part { name: "elm.swallow.content";
1931 clip_to: "content_clip";
1932 description { state: "default" 0.0;
1934 rel1.relative: 0.0 0.0;
1936 rel2.relative: 1.0 0.0;
1938 rel2.to_y: "controlbar_bg";
1941 part { name: "content_clip";
1944 description { state: "default" 0.0;
1945 rel1.to: "elm.swallow.content";
1946 rel2.to: "elm.swallow.content";
1949 part { name: "controlbar_bg";
1951 description { state: "default" 0.0;
1957 rel1 { to: "base"; }
1958 rel2 { to: "base"; }
1959 image.normal: "00_winset_control_toolbar_bg.png";
1961 description { state: "show" 0.0;
1962 inherit: "default" 0.0;
1963 min: 0 CONTROLBAR_SMALL_HEIGHT_INC;
1964 max: 999999 CONTROLBAR_SMALL_HEIGHT_INC;
1968 part { name: "elm.prev_btn_bg";
1971 description { state: "default" 0.0;
1975 rel1 { relative: 1.0 0.0; to: "controlbar_bg"; }
1976 rel2.to: "controlbar_bg";
1979 description { state: "visible" 0.0;
1980 inherit: "default" 0.0;
1981 min: NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC 0;
1984 part { name: "prev_btn_separator";
1987 description { state: "default" 0.0;
1992 rel1 { relative: 0.0 0.0; to: "elm.prev_btn_bg"; }
1993 rel2 { relative: 0.0 1.0; to: "elm.prev_btn_bg"; }
1994 image.normal: "00_winset_title_line.png";
1997 description { state: "visible" 0.0;
1998 inherit: "default" 0.0;
2002 part { name: "elm.swallow.prev_btn";
2005 description { state: "default" 0.0;
2008 rel1.to: "elm.prev_btn_bg";
2009 rel2.to: "elm.prev_btn_bg";
2012 part { name: "controlbar_clip";
2015 description { state: "default" 0.0;
2016 rel1.to: "controlbar_bg";
2017 rel2 { relative: 0.0 1.0; to_x: "prev_btn_separator"; to_y: "elm.prev_btn_bg"; }
2020 part { name: "controlbar";
2023 clip_to: "controlbar_clip";
2024 description { state: "default" 0.0;
2026 rel1.to: "controlbar_clip";
2027 rel2.to: "controlbar_clip";
2032 program { name: "content_new_pushed";
2033 signal: "elm,state,new,pushed,internal";
2035 action: STATE_SET "default" 0.0;
2037 transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
2038 after: "show_finished";
2040 program { name: "content_cur_pushed";
2041 signal: "elm,state,cur,pushed,internal";
2043 action: STATE_SET "left" 0.0;
2045 transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
2046 after: "pushed_finished";
2048 program { name: "content_prev_popped";
2049 signal: "elm,state,prev,popped,internal";
2051 action: STATE_SET "default" 0.0;
2053 transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
2054 after: "show_finished";
2056 program { name: "content_cur_popped";
2057 signal: "elm,state,cur,popped,internal";
2059 action: STATE_SET "right" 0.0;
2061 transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
2062 after: "popped_finished";
2064 program { name: "cur_pushed";
2065 signal: "elm,state,cur,pushed";
2068 set_state(PART:"base", "default", 0.0);
2069 emit("elm,state,cur,pushed,internal", "");
2072 program { name: "new_pushed";
2073 signal: "elm,state,new,pushed";
2076 set_state(PART:"base", "right", 0.0);
2077 emit("elm,state,new,pushed,internal", "");
2080 program { name: "prev_popped";
2081 signal: "elm,state,prev,popped";
2084 set_state(PART:"base", "left", 0.0);
2085 emit("elm,state,prev,popped,internal", "");
2088 program { name: "cur_popped";
2089 signal: "elm,state,cur,popped";
2092 set_state(PART:"base", "default", 0.0);
2093 emit("elm,state,cur,popped,internal", "");
2096 program { name: "visible";
2097 signal: "elm,state,visible";
2099 action: STATE_SET "default" 0.0;
2102 program { name: "prev_btn_show";
2103 signal: "elm,state,prev_btn,show";
2106 emit("elm,state,controlbar_bg,show", "elm");
2107 set_state(PART:"elm.prev_btn_bg", "visible", 0.0);
2108 set_state(PART:"prev_btn_separator", "visible", 0.0);
2111 program { name: "prev_btn_hide";
2112 signal: "elm,state,prev_btn,hide";
2115 emit("elm,state,controlbar_bg,hide", "elm");
2116 set_state(PART:"elm.prev_btn_bg", "default", 0.0);
2117 set_state(PART:"prev_btn_separator", "default", 0.0);
2120 program { name: "controlbar_show";
2121 signal: "elm,state,controlbar,show";
2123 action: STATE_SET "show" 0.0;
2125 emit("elm,state,controlbar_bg,show", "elm");
2128 program { name: "controlbar_hide";
2129 signal: "elm,state,controlbar,hide";
2132 emit("elm,state,controlbar_bg,hide", "elm");
2135 program { name: "controlbar_bg_show";
2136 signal: "elm,state,controlbar_bg,show";
2139 set_state(PART:"controlbar_bg", "show", 0.0);
2140 set_int(cbar_bg, get_int(cbar_bg) + 1);
2143 program { name: "controlbar_bg_hide";
2144 signal: "elm,state,controlbar_bg,hide";
2147 set_int(cbar_bg, get_int(cbar_bg) - 1);
2148 if (get_int(cbar_bg) <= 0)
2149 set_state(PART:"controlbar_bg", "default", 0.0);
2152 program { name: "controlbar_open";
2153 signal: "elm,state,controlbar,open";
2155 action: STATE_SET "show" 0.0;
2156 target: "controlbar_bg";
2157 transition: LINEAR 0.2;
2159 program { name: "controlbar_close";
2160 signal: "elm,state,controlbar,close";
2162 action: STATE_SET "default" 0.0;
2163 target: "controlbar_bg";
2164 transition: LINEAR 0.2;
2166 program { name: "controlbar_instant_open";
2167 signal: "elm,state,controlbar,instant_open";
2170 emit("elm,state,prev_btn,show", "elm");
2171 emit("elm,state,controlbar,show", "elm");
2174 program { name: "controlbar_instant_close";
2175 signal: "elm,state,controlbar,instant_close";
2178 emit("elm,state,prev_btn,hide", "elm");
2179 emit("elm,state,controlbar,hide", "elm");
2182 program { name: "show_finished";
2183 action: SIGNAL_EMIT "elm,action,show,finished" "";
2185 program { name: "pushed_finished";
2186 action: SIGNAL_EMIT "elm,action,pushed,finished" "";
2188 program { name: "popped_finished";
2189 action: SIGNAL_EMIT "elm,action,popped,finished" "";
2192 name: "title_clicked";
2193 signal: "mouse,clicked,1";
2194 source: "click_event_area";
2195 action: SIGNAL_EMIT "elm,action,title,clicked" "";
2199 group { name:"elm/naviframe/item/basic/instant/default";
2200 inherit: "elm/naviframe/item/basic/default";
2201 alias:"elm/naviframe/item/1line/instant/default";
2202 alias:"elm/naviframe/item/instant/default";
2204 public oh_show = 0; //optionheader show/hide
2205 public oh_close = 0; //optionheader close/open
2206 public cbar_bg = 0; //Controlbar BG Show call count
2209 program { name: "cur_pushed";
2210 signal: "elm,state,cur,pushed";
2212 after: "pushed_finished";
2214 program { name: "new_pushed";
2215 signal: "elm,state,new,pushed";
2217 after: "show_finished";
2219 program { name: "prev_popped";
2220 signal: "elm,state,prev,popped";
2222 after: "show_finished";
2224 program { name: "cur_popped";
2225 signal: "elm,state,cur,popped";
2227 after: "popped_finished";
2231 group { name:"elm/naviframe/item/basic2/instant/default";
2232 inherit: "elm/naviframe/item/basic2/default";
2233 alias:"elm/naviframe/item/2line/instant/default";
2234 alias:"elm/naviframe/item/instant2/default";
2236 public oh_show = 0; //optionheader show/hide
2237 public oh_close = 0; //optionheader close/open
2238 public cbar_bg = 0; //Controlbar BG Show call count
2241 program { name: "cur_pushed";
2242 signal: "elm,state,cur,pushed";
2244 after: "pushed_finished";
2246 program { name: "new_pushed";
2247 signal: "elm,state,new,pushed";
2249 after: "show_finished";
2251 program { name: "prev_popped";
2252 signal: "elm,state,prev,popped";
2254 after: "show_finished";
2256 program { name: "cur_popped";
2257 signal: "elm,state,cur,popped";
2259 after: "popped_finished";
2263 group { name: "elm/naviframe/item/segment/instant/default";
2264 inherit: "elm/naviframe/item/segment/default";
2266 public cbar_bg = 0; //Controlbar BG Show call count
2269 program { name: "cur_pushed";
2270 signal: "elm,state,cur,pushed";
2272 after: "pushed_finished";
2274 program { name: "new_pushed";
2275 signal: "elm,state,new,pushed";
2277 after: "show_finished";
2279 program { name: "prev_popped";
2280 signal: "elm,state,prev,popped";
2282 after: "show_finished";
2284 program { name: "cur_popped";
2285 signal: "elm,state,cur,popped";
2287 after: "popped_finished";
2289 program { name: "title_show";
2290 signal: "elm,state,title,show";
2292 action: STATE_SET "show" 0.0;
2293 target: "title_clip";
2295 program { name: "title_hide";
2296 signal: "elm,state,title,hide";
2298 action: STATE_SET "hide" 0.0;
2299 target: "title_clip";
2304 group { name: "elm/naviframe/item/tabbar/instant/default";
2305 inherit: "elm/naviframe/item/tabbar/default";
2307 public cbar_bg = 0; //Controlbar BG Show call count
2310 program { name: "cur_pushed";
2311 signal: "elm,state,cur,pushed";
2313 after: "pushed_finished";
2315 program { name: "new_pushed";
2316 signal: "elm,state,new,pushed";
2318 after: "show_finished";
2320 program { name: "prev_popped";
2321 signal: "elm,state,prev,popped";
2323 after: "show_finished";
2325 program { name: "cur_popped";
2326 signal: "elm,state,cur,popped";
2328 after: "popped_finished";
2330 program { name: "controlbar_bgp_hide";
2331 signal: "elm,state,controlbar_bg,hide";
2334 set_int(cbar_bg, get_int(cbar_bg) - 1);
2335 if (get_int(cbar_bg) <= 0)
2336 set_state(PART:"controlbar_bg", "default", 0.0);
2341 group { name:"elm/naviframe/item/empty/default";
2343 image: "00_winset_control_top_bg.png" COMP;
2344 image: "00_winset_control_top_arrow.png" COMP;
2345 image: "00_winset_control_toolbar_bg.png" COMP;
2346 image: "00_winset_title_bg.png" COMP;
2349 public oh_show = 0; //optionheader show/hide
2350 public oh_close = 0; //optionheader close/open
2351 public cbar_bg = 0; //Controlbar BG Show call count
2354 part { name: "base";
2357 description { state: "default" 0.0;
2360 description { state: "left" 0.0;
2361 inherit: "default" 0.0;
2362 rel1.relative: -1.0 0.0;
2363 rel2.relative: 0.0 1.0;
2365 description { state: "right" 0.0;
2366 inherit: "default" 0.0;
2367 rel1.relative: 1.0 0.0;
2368 rel2.relative: 2.0 1.0;
2371 part { name: "title_bg";
2373 description { state: "default" 0.0;
2374 min: 1 NAVIFRAME_TITLE_H_INC;
2377 rel1 { relative: 0.0 0.0; to: "base"; }
2378 rel2 { relative: 1.0 0.0; to: "base"; }
2379 image.normal: "00_winset_title_bg.png";
2381 description { state: "hide" 0.0;
2382 inherit: "default" 0.0;
2388 part { name: "title_clip";
2391 description { state: "default" 0.0;
2392 rel1 { to: "title_bg"; }
2393 rel2 { to: "title_bg"; }
2396 part { name: "optionheader_bg";
2399 description { state: "default" 0.0;
2403 rel1.to: "title_bg";
2405 rel2.to: "title_bg";
2407 image { normal: "00_winset_control_top_bg.png";
2408 border: NAVIFRAME_OH_BORDER_INC;
2411 description { state: "show" 0.0;
2412 inherit: "default" 0.0;
2413 min: 1 NAVIFRAME_OH_OPENED_H_INC;
2416 description { state: "hide" 0.0;
2417 inherit: "default" 0.0;
2423 part { name: "optionheader_clip";
2426 description { state: "default" 0.0;
2427 rel1 { to: "optionheader_bg"; }
2428 rel2 { to: "optionheader_bg"; }
2431 part { name: "optionheader_top_padding";
2434 clip_to: "optionheader_clip";
2435 description { state: "default" 0.0;
2436 min: 0 NAVIFRAME_OH_PADDING_INC;
2437 rel1 { relative: 0.0 0.0; to: "optionheader_bg"; }
2438 rel2 { relative: 1.0 0.0; to: "optionheader_bg"; }
2444 part { name: "optionheader";
2447 clip_to: "optionheader_clip";
2448 description { state: "default" 0.0;
2449 min: 0 NAVIFRAME_OH_CONTENT_H_INC;
2450 rel1 { relative: 0.0 1.0; to: "optionheader_top_padding"; }
2451 rel2 { relative: 1.0 1.0; to: "optionheader_top_padding"; }
2456 part { name: "optionheader_bottom_padding";
2459 clip_to: "optionheader_clip";
2460 description { state: "default" 0.0;
2461 min: 0 NAVIFRAME_OH_PADDING_INC;
2462 rel1 { relative: 0.0 1.0; to: "optionheader"; }
2463 rel2 { relative: 1.0 1.0; to: "optionheader"; }
2469 part { name: "optionheader_shadow";
2472 clip_to: "optionheader_clip";
2473 description { state: "default" 0.0;
2474 min: 0 NAVIFRAME_OH_SHADOW_INC;
2475 rel1 { relative: 0.0 1.0; to: "optionheader_bottom_padding"; }
2476 rel2 { relative: 1.0 1.0; to: "optionheader_bottom_padding"; }
2482 part { name: "elm.swallow.content";
2486 clip_to: "content_clip";
2487 description { state: "default" 0.0;
2489 rel1.relative: 0.0 1.0;
2491 rel1.to_y: "optionheader_bg";
2492 rel2.relative: 1.0 0.0;
2494 rel2.to_y: "controlbar_bg";
2497 part { name: "content_clip";
2500 description { state: "default" 0.0;
2501 rel1.to: "elm.swallow.content";
2502 rel2.to: "elm.swallow.content";
2505 part { name: "title";
2508 clip_to: "title_clip";
2509 description { state: "default" 0.0;
2510 min: 1 NAVIFRAME_TITLE_H_INC;
2513 rel1 { relative: 0.0 0.0; to: "base"; }
2514 rel2 { relative: 1.0 0.0; to: "base"; }
2517 part { name: "controlbar_bg";
2519 description { state: "default" 0.0;
2525 rel1 { to: "base"; }
2526 rel2 { to: "base"; }
2527 image.normal: "00_winset_control_toolbar_bg.png";
2529 description { state: "show" 0.0;
2530 inherit: "default" 0.0;
2531 min: 0 CONTROLBAR_SMALL_HEIGHT_INC;
2532 max: 999999 CONTROLBAR_SMALL_HEIGHT_INC;
2536 part { name: "elm.prev_btn_bg";
2539 description { state: "default" 0.0;
2543 rel1 { relative: 1.0 0.0; to: "controlbar_bg"; }
2544 rel2.to: "controlbar_bg";
2547 description { state: "visible" 0.0;
2548 inherit: "default" 0.0;
2549 min: NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC 0;
2552 part { name: "prev_btn_separator";
2555 description { state: "default" 0.0;
2560 rel1 { relative: 0.0 0.0; to: "elm.prev_btn_bg"; }
2561 rel2 { relative: 0.0 1.0; to: "elm.prev_btn_bg"; }
2562 image.normal: "00_winset_title_line.png";
2565 description { state: "visible" 0.0;
2566 inherit: "default" 0.0;
2570 part { name: "elm.swallow.prev_btn";
2573 description { state: "default" 0.0;
2576 rel1.to: "elm.prev_btn_bg";
2577 rel2.to: "elm.prev_btn_bg";
2580 part { name: "controlbar_clip";
2583 description { state: "default" 0.0;
2584 rel1.to: "controlbar_bg";
2585 rel2 { relative: 0.0 1.0; to_x: "prev_btn_separator"; to_y: "elm.prev_btn_bg"; }
2588 part { name: "controlbar";
2591 clip_to: "controlbar_clip";
2592 description { state: "default" 0.0;
2594 rel1.to: "controlbar_clip";
2595 rel2.to: "controlbar_clip";
2600 program { name: "content_new_pushed";
2601 signal: "elm,state,new,pushed,internal";
2603 action: STATE_SET "default" 0.0;
2605 transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
2606 after: "show_finished";
2608 program { name: "content_cur_pushed";
2609 signal: "elm,state,cur,pushed,internal";
2611 action: STATE_SET "left" 0.0;
2613 transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
2614 after: "pushed_finished";
2616 program { name: "content_prev_popped";
2617 signal: "elm,state,prev,popped,internal";
2619 action: STATE_SET "default" 0.0;
2621 transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
2622 after: "show_finished";
2624 program { name: "content_cur_popped";
2625 signal: "elm,state,cur,popped,internal";
2627 action: STATE_SET "right" 0.0;
2629 transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
2630 after: "popped_finished";
2632 program { name: "cur_pushed";
2633 signal: "elm,state,cur,pushed";
2636 set_state(PART:"base", "default", 0.0);
2637 emit("elm,state,cur,pushed,internal", "");
2640 program { name: "new_pushed";
2641 signal: "elm,state,new,pushed";
2644 set_state(PART:"base", "right", 0.0);
2645 emit("elm,state,new,pushed,internal", "");
2648 program { name: "prev_popped";
2649 signal: "elm,state,prev,popped";
2652 set_state(PART:"base", "left", 0.0);
2653 emit("elm,state,prev,popped,internal", "");
2656 program { name: "cur_popped";
2657 signal: "elm,state,cur,popped";
2660 set_state(PART:"base", "default", 0.0);
2661 emit("elm,state,cur,popped,internal", "");
2664 program { name: "visible";
2665 signal: "elm,state,visible";
2667 action: STATE_SET "default" 0.0;
2670 program { name: "title_show";
2671 signal: "elm,state,title,show";
2674 set_state(PART:"title_bg", "default", 0.0);
2675 if (get_int(oh_show) == 1) {
2676 if (get_int(oh_close) == 1) {
2677 emit("elm,state,optionheader,instant_close", "");
2679 emit("elm,state,optionheader,instant_open", "");
2683 set_state(PART:"optionheader_bg", "default", 0.0);
2686 program { name: "title_hide";
2687 signal: "elm,state,title,hide";
2689 action: STATE_SET "hide" 0.0;
2691 target: "optionheader_bg";
2693 program { name: "prev_btn_show";
2694 signal: "elm,state,prev_btn,show";
2697 emit("elm,state,controlbar_bg,show", "elm");
2698 set_state(PART:"elm.prev_btn_bg", "visible", 0.0);
2699 set_state(PART:"prev_btn_separator", "visible", 0.0);
2702 program { name: "prev_btn_hide";
2703 signal: "elm,state,prev_btn,hide";
2706 emit("elm,state,controlbar_bg,hide", "elm");
2707 set_state(PART:"elm.prev_btn_bg", "default", 0.0);
2708 set_state(PART:"prev_btn_separator", "default", 0.0);
2711 program { name: "controlbar_show";
2712 signal: "elm,state,controlbar,show";
2715 emit("elm,state,controlbar_bg,show", "elm");
2718 program { name: "controlbar_hide";
2719 signal: "elm,state,controlbar,hide";
2722 emit("elm,state,controlbar_bg,hide", "elm");
2725 program { name: "controlbar_bg_show";
2726 signal: "elm,state,controlbar_bg,show";
2729 set_state(PART:"controlbar_bg", "show", 0.0);
2730 set_int(cbar_bg, get_int(cbar_bg) + 1);
2733 program { name: "controlbar_bg_hide";
2734 signal: "elm,state,controlbar_bg,hide";
2737 set_int(cbar_bg, get_int(cbar_bg) - 1);
2738 if (get_int(cbar_bg) <= 0)
2739 set_state(PART:"controlbar_bg", "default", 0.0);
2742 program { name: "optionheader_show";
2743 signal: "elm,state,optionheader,show";
2746 set_state(PART:"optionheader_bg", "show", 0.0);
2747 set_int(oh_show, 1);
2750 program { name: "optionheader_hide";
2751 signal: "elm,state,optionheader,hide";
2754 set_state(PART:"optionheader_bg", "default", 0.0);
2755 set_int(oh_show, 0);
2758 program { name: "optionheader_open";
2759 signal: "elm,state,optionheader,open";
2761 action: STATE_SET "show" 0.0;
2762 target: "optionheader_bg";
2763 transition: LINEAR 0.2;
2764 after: "optionheader_open_set";
2766 program { name: "optionheader_close";
2767 signal: "elm,state,optionheader,close";
2769 action: STATE_SET "default" 0.0;
2770 target: "optionheader_bg";
2771 transition: LINEAR 0.2;
2772 after: "optionheader_close_set";
2774 program { name: "optionheader_instant_open";
2775 signal: "elm,state,optionheader,instant_open";
2777 action: STATE_SET "show" 0.0;
2778 target: "optionheader_bg";
2779 after: "optionheader_open_set";
2781 program { name: "optionheader_instant_close";
2782 signal: "elm,state,optionheader,instant_close";
2784 action: STATE_SET "default" 0.0;
2785 target: "optionheader_bg";
2786 after: "optionheader_close_set";
2788 program { name: "optionheader_close_set";
2789 signal: "elm,state,optionheader,close_set";
2792 set_int(oh_close, 1);
2795 program { name: "optionheader_open_set";
2796 signal: "elm,state,optionheader,open_set";
2799 set_int(oh_close, 0);
2802 program { name: "controlbar_open";
2803 signal: "elm,state,controlbar,open";
2805 action: STATE_SET "show" 0.0;
2806 target: "controlbar_bg";
2807 transition: LINEAR 0.2;
2809 program { name: "controlbar_close";
2810 signal: "elm,state,controlbar,close";
2812 action: STATE_SET "default" 0.0;
2813 target: "controlbar_bg";
2814 transition: LINEAR 0.2;
2816 program { name: "controlbar_instant_open";
2817 signal: "elm,state,controlbar,instant_open";
2820 emit("elm,state,prev_btn,show", "elm");
2821 emit("elm,state,controlbar,show", "elm");
2824 program { name: "controlbar_instant_close";
2825 signal: "elm,state,controlbar,instant_close";
2828 emit("elm,state,prev_btn,hide", "elm");
2829 emit("elm,state,controlbar,hide", "elm");
2832 program { name: "show_finished";
2833 action: SIGNAL_EMIT "elm,action,show,finished" "";
2835 program { name: "pushed_finished";
2836 action: SIGNAL_EMIT "elm,action,pushed,finished" "";
2838 program { name: "popped_finished";
2839 action: SIGNAL_EMIT "elm,action,popped,finished" "";