1 #define FONT_NAME "GP45_ArabCJK_TouchWiz"
12 part { name: "background";
20 part { name: "txt_title";
23 description { state: "default" 0.0;
24 rel1 { relative: 0.0 0.0; to: background; }
25 rel2 { relative: 1.0 0.35; to: background; }
26 text { font: FONT_NAME; size: 35; }
35 description { state: "default" 0.0;
36 rel1 { relative: 0.0 0.0; to: background; }
37 rel2 { relative: 1.0 1.0; to: background; }
45 part { name: "padding";
49 description { state: "default" 0.0;
68 description { state: "default" 0.0;
78 min: (BTN_W - BTN_PAD_W) BTN_H;
79 max: (BTN_W - BTN_PAD_W) BTN_H;
83 part { name: "padding2";
87 description { state: "default" 0.0;
106 description { state: "default" 0.0;
116 min: (BTN_W - BTN_PAD_W) BTN_H;
117 max: (BTN_W - BTN_PAD_W) BTN_H;
122 part { name: "template_list";
125 description { state: "default" 0.0;
126 rel1 { relative: 0.0 0.0; to: background; }
127 rel2 { relative: 1.0 1.0; to: background; }
134 #define LIST_BUTTON_PADDING_LEFT_SIZE_INC 0
135 #define LIST_BUTTON_PADDING_RIGHT_SIZE_INC 0
136 #define LIST_BUTTON_PADDING_2BUTTON_TOP_SIZE_INC 1
137 #define LIST_BUTTON_PADDING_BOTTOM_SIZE_INC 1
138 #define BUTTON_2BUTTON_WIDTH_INC 180
139 #define BUTTON_2BUTTON_RIGHT_WIDTH_INC 179
140 #define LIST_BUTTON_PADDING_CENTER_SIZE_INC 1
142 #define PART(TYPE, NAME, DESCRIPION) \
149 #define DESC_LTB( LEFT, TOP, BOTTOM, PARAM ) \
150 description { state: "default" 0.0; \
165 #define DESC_TB( TOP, BOTTOM, PARAM ) \
166 description { state: "default" 0.0; \
179 #define DESC_LRTB( LEFT, RIGHT, TOP, BOTTOM, PARAM ) \
180 description { state: "default" 0.0; \
194 #define DESC_FROM_L( PARAM ) \
195 description { state: "default" 0.0; \
198 rel2.relative: 0.0 1.0; \
202 #define DESC_FROM_R( PARAM ) \
203 description { state: "default" 0.0; \
206 rel1.relative: 1 0; \
210 #define DESC_FROM_T( PARAM ) \
211 description { state: "default" 0.0; \
214 rel2.relative: 1.0 0.0; \
218 #define DESC_FROM_B( PARAM ) \
219 description { state: "default" 0.0; \
221 rel1.relative: 0.0 1.0; \
226 #define DESC_L( LEFT, PARAM ) \
227 description { state: "default" 0.0; \
243 #define PART_LIST_PADDINGS(LEFT_SIZE, RIGHT_SIZE, TOP_SIZE, BOTTOM_SIZE) \
244 PART(SWALLOW, "elm.swallow.pad", \
248 PART(SWALLOW, "elm.swallow.colorbar", \
250 DESC_L("elm.swallow.pad", ) \
252 PART(SPACER, "elm.padding.left", \
254 DESC_L("elm.swallow.pad", \
259 PART(SPACER, "elm.padding.right", \
263 max: RIGHT_SIZE -1; \
266 PART(SPACER, "elm.padding.top", \
273 PART(SPACER, "elm.padding.bottom", \
276 min: 0 BOTTOM_SIZE; \
277 max: -1 BOTTOM_SIZE; \
281 #define PROGRAM_LIST_DEFAULT( TARGET ) \
282 program { name: "default"; \
283 signal: "elm,state,default"; \
285 action: STATE_SET "default" 0.0; \
289 #define PROGRAM_LIST_DISABLE( TARGET ) \
290 program { name: "enabled"; \
291 signal: "elm,state,enabled"; \
293 action: STATE_SET "default" 0.0; \
296 program { name: "disabled"; \
297 signal: "elm,state,disabled"; \
299 action: STATE_SET "disabled" 0.0; \
303 #define PROGRAM_LIST_SELECT( TARGET ) \
304 program { name: "selected"; \
305 signal: "elm,state,selected"; \
307 action: STATE_SET "selected" 0.0; \
310 program { name: "unselected"; \
311 signal: "elm,state,unselected"; \
313 action: STATE_SET "default" 0.0; \
317 #define PROGRAM_LIST_HIGHLIGHT( TARGET ) \
318 program { name: "highlighted"; \
319 signal: "elm,state,highlighted"; \
321 action: STATE_SET "highlighted" 0.0; \
323 transition: LINEAR 1.0; \
325 program { name: "unhighlighted"; \
326 signal: "elm,state,unhighlighted"; \
328 action: STATE_SET "default" 0.0; \
330 transition: LINEAR 1.0; \
333 #define PROGRAMS_LIST_BUTTON( TARGET ) \
335 PROGRAM_LIST_DEFAULT( TARGET \
336 target: "elm.padding.left"; \
337 target: "elm.padding.right"; \
339 PROGRAM_LIST_DISABLE( TARGET \
341 PROGRAM_LIST_SELECT( TARGET \
343 PROGRAM_LIST_HIGHLIGHT( TARGET ) \
347 #define PROGRAM_LIST_SOUND \
348 program { name: "play_sound"; \
349 signal: "elm,state,clicked"; \
352 run_program(PROGRAM:"play_sample"); \
356 name: "play_sample"; \
357 action: RUN_PLUGIN "touch_sound"; \
361 #define BUTTON_HEIGHT_INC 122
363 #define PART_LIST_BG \
365 description { state: "default" 0.0; \
372 name: "elm/genlist/item/3button/default";
373 data.item: "treesize" 0;
374 data.item: "flips" "elm.flip.icon elm.flip.content";
375 data.item: "contents" "base elm.icon.1.touch_area elm.icon.2.touch_area elm.icon.3.touch_area elm.icon.1 elm.icon.2 elm.icon.3 elm.swallow.center_check";
376 data.item: "vi_effect" "off";
381 LIST_BUTTON_PADDING_LEFT_SIZE_INC, LIST_BUTTON_PADDING_RIGHT_SIZE_INC,
382 LIST_BUTTON_PADDING_2BUTTON_TOP_SIZE_INC, LIST_BUTTON_PADDING_BOTTOM_SIZE_INC
384 PART(SWALLOW, "base",
385 DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom",
391 part { name: "elm.icon.1.touch_area"; // left icon
396 state: "default" 0.0;
401 rel1 { relative: 0.0 0.0; to: "elm.icon.1"; offset: -5 -5;}
402 rel2 { relative: 1.0 1.0; to: "elm.icon.1"; offset: +5 +5;}
405 state: "default" 0.1;
406 inherit: "default" 0.0;
407 rel1 { relative: 0.0 0.0; to: "elm.icon.1"; offset: -7 -7;}
408 rel2 { relative: 1.0 1.0; to: "elm.icon.1"; offset: +7 +7;}
411 state: "default" 0.9;
412 inherit: "default" 0.0;
413 rel1 { relative: 0.0 0.0; to: "elm.icon.1"; offset: -8 -8;}
414 rel2 { relative: 1.0 1.0; to: "elm.icon.1"; offset: +8 +8;}
417 part { name: "elm.icon.2.touch_area"; // center icon
422 state: "default" 0.0;
427 rel1 { relative: 0.0 0.0; to: "elm.icon.2"; offset: -5 -5;}
428 rel2 { relative: 1.0 1.0; to: "elm.icon.2"; offset: +5 +5;}
431 state: "default" 0.1;
432 inherit: "default" 0.0;
433 rel1 { relative: 0.0 0.0; to: "elm.icon.2"; offset: -7 -7;}
434 rel2 { relative: 1.0 1.0; to: "elm.icon.2"; offset: +7 +7;}
437 state: "default" 0.9;
438 inherit: "default" 0.0;
439 rel1 { relative: 0.0 0.0; to: "elm.icon.2"; offset: -8 -8;}
440 rel2 { relative: 1.0 1.0; to: "elm.icon.2"; offset: +8 +8;}
444 part { name: "elm.icon.3.touch_area"; // right icon
449 state: "default" 0.0;
454 rel1 { relative: 0.0 0.0; to: "elm.icon.3"; offset: -6 -5;}
455 rel2 { relative: 1.0 1.0; to: "elm.icon.3"; offset: +6 +5;}
458 state: "default" 0.1;
459 inherit: "default" 0.0;
460 rel1 { relative: 0.0 0.0; to: "elm.icon.3"; offset: -7 -7;}
461 rel2 { relative: 1.0 1.0; to: "elm.icon.3"; offset: +7 +7;}
464 state: "default" 0.9;
465 inherit: "default" 0.0;
466 rel1 { relative: 0.0 0.0; to: "elm.icon.3"; offset: -9 -8;}
467 rel2 { relative: 1.0 1.0; to: "elm.icon.3"; offset: +9 +8;}
470 part { name: "elm.icon.1"; // left icon
474 state: "default" 0.0;
475 //color: 255 0 0 255;
481 rel1 { relative: 112/360 0; to: "base"; offset: 0 35;}
482 rel2 { relative: 112/360 0; to: "base"; offset: 0 35;}
485 state: "default" 0.1;
486 inherit: "default" 0.0;
487 min: 57+(99-57)/2 57+(99-57)/2;
488 max: 57+(99-57)/2 57+(99-57)/2;
489 rel1 { relative: ((64+112)/2)/360 0; to: "base"; offset: 0 (35+12)/2;}
490 rel2 { relative: ((64+112)/2)/360 0; to: "base"; offset: 0 (35+12)/2;}
493 state: "default" 0.9;
494 inherit: "default" 0.0;
497 rel1 { relative: 64/360 0; to: "base"; offset: 0 12;}
498 rel2 { relative: 64/360 0; to: "base"; offset: 0 12;}
501 part { name: "elm.icon.2"; // center icon
505 state: "default" 0.0;
511 rel1 { relative: 0.5 0; to: "bg"; offset: 0 20;}
512 rel2 { relative: 0.5 0; to: "bg"; offset: 0 20;}
515 state: "default" 0.1;
516 inherit: "default" 0.0;
517 min: 57+(99-57)/2 57+(99-57)/2;
518 max: 57+(99-57)/2 57+(99-57)/2;
519 rel1 { relative: 0.5 0; to: "bg"; offset: 0 (20+12)/2;}
520 rel2 { relative: 0.5 0; to: "bg"; offset: 0 (20+12)/2;}
523 state: "default" 0.9;
524 inherit: "default" 0.0;
527 rel1 { relative: 0.5 0; to: "base"; offset: 0 12;}
528 rel2 { relative: 0.5 0; to: "base"; offset: 0 12;}
531 part { name: "elm.icon.3"; // right icon
535 state: "default" 0.0;
536 //color: 255 0 0 255;
542 rel1 { relative: 249/360 0; to: "base"; offset: 0 35;}
543 rel2 { relative: 249/360 0; to: "base"; offset: 0 35;}
546 state: "default" 0.1;
547 inherit: "default" 0.0;
548 min: 57+(99-57)/2 57+(99-57)/2;
549 max: 57+(99-57)/2 57+(99-57)/2;
550 rel1 { relative: ((249+297)/2)/360 0; to: "base"; offset: 0 (35+12)/2;}
551 rel2 { relative: ((249+297)/2)/360 0; to: "base"; offset: 0 (35+12)/2;}
554 state: "default" 0.9;
555 inherit: "default" 0.0;
558 rel1 { relative: 297/360 0; to: "base"; offset: 0 12;}
559 rel2 { relative: 297/360 0; to: "base"; offset: 0 12;}
563 PART(SPACER, "elm.padding.fake",
564 DESC_TB("elm.padding.top","elm.padding.bottom",
565 min: LIST_BUTTON_PADDING_CENTER_SIZE_INC 0;
566 max: LIST_BUTTON_PADDING_CENTER_SIZE_INC -1;
570 PART(SPACER, "elm.padding.center",
571 DESC_LTB("elm.padding.fake", "elm.padding.top", "elm.padding.bottom",
572 min: LIST_BUTTON_PADDING_CENTER_SIZE_INC 0;
573 max: LIST_BUTTON_PADDING_CENTER_SIZE_INC -1;
577 PART(SWALLOW, "elm.swallow.center_check",
578 description { state: "default" 0.0;
585 program { name: "do_start_expand_0.0";
586 action: STATE_SET "default" 0.0;
587 target: "elm.icon.1";
588 target: "elm.icon.2";
589 target: "elm.icon.3";
590 target: "elm.icon.1.touch_area";
591 target: "elm.icon.2.touch_area";
592 target: "elm.icon.3.touch_area";
593 transition: LINEAR 0.3;
595 program { name: "do_start_expand_0.1";
596 action: STATE_SET "default" 0.1;
597 target: "elm.icon.1";
598 target: "elm.icon.2";
599 target: "elm.icon.3";
600 target: "elm.icon.1.touch_area";
601 target: "elm.icon.2.touch_area";
602 target: "elm.icon.3.touch_area";
603 transition: LINEAR 0.3;
605 program { name: "do_start_expand_0.9";
606 action: STATE_SET "default" 0.9;
607 target: "elm.icon.1";
608 target: "elm.icon.2";
609 target: "elm.icon.3";
610 target: "elm.icon.1.touch_area";
611 target: "elm.icon.2.touch_area";
612 target: "elm.icon.3.touch_area";
613 transition: LINEAR 0.3;
615 program { name: "start_expand_0.0";
617 signal: "elm,action,ime,0.0";
619 run_program(PROGRAM:"do_start_expand_0.0");
622 program { name: "start_expand_0.1";
624 signal: "elm,action,ime,0.1";
626 run_program(PROGRAM:"do_start_expand_0.1");
629 program { name: "start_expand_0.9";
631 signal: "elm,action,ime,0.9";
633 run_program(PROGRAM:"do_start_expand_0.9");
638 program { name: "do_rotary_start_expand_0.9";
639 action: STATE_SET "default" 0.9;
640 target: "elm.icon.1";
641 target: "elm.icon.2";
642 target: "elm.icon.3";
643 target: "elm.icon.1.touch_area";
644 target: "elm.icon.2.touch_area";
645 target: "elm.icon.3.touch_area";
646 transition: LINEAR 0.5;
648 program { name: "do_rotary_start_expand_0.0";
649 action: STATE_SET "default" 0.0;
650 target: "elm.icon.1";
651 target: "elm.icon.2";
652 target: "elm.icon.3";
653 target: "elm.icon.1.touch_area";
654 target: "elm.icon.2.touch_area";
655 target: "elm.icon.3.touch_area";
656 transition: LINEAR 0.5;
658 program { name: "rotary_start_expand_0.9";
660 signal: "elm,action,rotary,ime,0.9";
662 run_program(PROGRAM:"do_rotary_start_expand_0.9");
665 program { name: "rotary_start_expand_0.0";
667 signal: "elm,action,rotary,ime,0.0";
669 run_program(PROGRAM:"do_rotary_start_expand_0.0");
676 name: "elm/genlist/item/2button/default";
677 data.item: "treesize" 0;
678 data.item: "flips" "elm.flip.icon elm.flip.content";
679 data.item: "contents" "base elm.icon.1.touch_area elm.icon.2.touch_area elm.icon.1 elm.icon.2 elm.swallow.center_check";
680 data.item: "vi_effect" "off";
685 LIST_BUTTON_PADDING_LEFT_SIZE_INC, LIST_BUTTON_PADDING_RIGHT_SIZE_INC,
686 LIST_BUTTON_PADDING_2BUTTON_TOP_SIZE_INC, LIST_BUTTON_PADDING_BOTTOM_SIZE_INC
688 PART(SWALLOW, "base",
689 DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom",
695 part { name: "elm.icon.1.touch_area";
699 state: "default" 0.0;
704 rel1 { relative: 0.0 0.0; to: "elm.icon.1"; offset: -5 -5;}
705 rel2 { relative: 1.0 1.0; to: "elm.icon.1"; offset: +5 +5;}
708 state: "default" 0.1;
709 inherit: "default" 0.0;
710 rel1 { relative: 0.0 0.0; to: "elm.icon.1"; offset: -7 -7;}
711 rel2 { relative: 1.0 1.0; to: "elm.icon.1"; offset: +7 +7;}
714 state: "default" 0.9;
715 inherit: "default" 0.0;
716 rel1 { relative: 0.0 0.0; to: "elm.icon.1"; offset: -8 -8;}
717 rel2 { relative: 1.0 1.0; to: "elm.icon.1"; offset: +8 +8;}
720 part { name: "elm.icon.2.touch_area";
724 state: "default" 0.0;
729 rel1 { relative: 0.0 0.0; to: "elm.icon.2"; offset: -6 -5;}
730 rel2 { relative: 1.0 1.0; to: "elm.icon.2"; offset: +6 +5;}
733 state: "default" 0.1;
734 inherit: "default" 0.0;
735 rel1 { relative: 0.0 0.0; to: "elm.icon.2"; offset: -7 -7;}
736 rel2 { relative: 1.0 1.0; to: "elm.icon.2"; offset: +7 +7;}
739 state: "default" 0.9;
740 inherit: "default" 0.0;
741 rel1 { relative: 0.0 0.0; to: "elm.icon.2"; offset: -9 -8;}
742 rel2 { relative: 1.0 1.0; to: "elm.icon.2"; offset: +9 +8;}
745 part { name: "elm.icon.1";
749 state: "default" 0.0;
755 rel1 { relative: 112/360 0; to: "base"; offset: 0 35;}
756 rel2 { relative: 112/360 0; to: "base"; offset: 0 35;}
759 state: "default" 0.1;
760 inherit: "default" 0.0;
761 min: 114+(198-114)/2 114+(198-114)/2;
762 max: 114+(198-114)/2 114+(198-114)/2;
763 rel1 { relative: ((64+112)/2)/360 0; to: "base"; offset: 0 (35+12)/2;}
764 rel2 { relative: ((64+112)/2)/360 0; to: "base"; offset: 0 (35+12)/2;}
767 state: "default" 0.9;
768 inherit: "default" 0.0;
771 rel1 { relative: 128/360 0; to: "base"; offset: 0 12;}
772 rel2 { relative: 128/360 0; to: "base"; offset: 0 12;}
775 part { name: "elm.icon.2";
779 state: "default" 0.0;
785 rel1 { relative: 249/360 0; to: "base"; offset: 0 35;}
786 rel2 { relative: 249/360 0; to: "base"; offset: 0 35;}
789 state: "default" 0.1;
790 inherit: "default" 0.0;
791 min: 114+(198-114)/2 114+(99-114)/2;
792 max: 114+(198-114)/2 114+(198-114)/2;
793 rel1 { relative: ((249+297)/2)/360 0; to: "base"; offset: 0 (35+12)/2;}
794 rel2 { relative: ((249+297)/2)/360 0; to: "base"; offset: 0 (35+12)/2;}
797 state: "default" 0.9;
798 inherit: "default" 0.0;
801 rel1 { relative: 297/360 0; to: "base"; offset: 0 12;}
802 rel2 { relative: 297/360 0; to: "base"; offset: 0 12;}
806 PART(SPACER, "elm.padding.fake",
807 DESC_TB("elm.padding.top","elm.padding.bottom",
808 min: LIST_BUTTON_PADDING_CENTER_SIZE_INC 0;
809 max: LIST_BUTTON_PADDING_CENTER_SIZE_INC -1;
813 PART(SPACER, "elm.padding.center",
814 DESC_LTB("elm.padding.fake", "elm.padding.top", "elm.padding.bottom",
815 min: LIST_BUTTON_PADDING_CENTER_SIZE_INC 0;
816 max: LIST_BUTTON_PADDING_CENTER_SIZE_INC -1;
820 PART(SWALLOW, "elm.swallow.center_check",
821 description { state: "default" 0.0;