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;
584 program { name: "do_start_expand_0.0";
585 action: STATE_SET "default" 0.0;
586 target: "elm.icon.1";
587 target: "elm.icon.2";
588 target: "elm.icon.3";
589 target: "elm.icon.1.touch_area";
590 target: "elm.icon.2.touch_area";
591 target: "elm.icon.3.touch_area";
592 transition: LINEAR 0.3;
594 program { name: "do_start_expand_0.1";
595 action: STATE_SET "default" 0.1;
596 target: "elm.icon.1";
597 target: "elm.icon.2";
598 target: "elm.icon.3";
599 target: "elm.icon.1.touch_area";
600 target: "elm.icon.2.touch_area";
601 target: "elm.icon.3.touch_area";
602 transition: LINEAR 0.3;
604 program { name: "do_start_expand_0.9";
605 action: STATE_SET "default" 0.9;
606 target: "elm.icon.1";
607 target: "elm.icon.2";
608 target: "elm.icon.3";
609 target: "elm.icon.1.touch_area";
610 target: "elm.icon.2.touch_area";
611 target: "elm.icon.3.touch_area";
612 transition: LINEAR 0.3;
614 program { name: "start_expand_0.0";
616 signal: "elm,action,ime,0.0";
618 run_program(PROGRAM:"do_start_expand_0.0");
621 program { name: "start_expand_0.1";
623 signal: "elm,action,ime,0.1";
625 run_program(PROGRAM:"do_start_expand_0.1");
628 program { name: "start_expand_0.9";
630 signal: "elm,action,ime,0.9";
632 run_program(PROGRAM:"do_start_expand_0.9");
637 program { name: "do_rotary_start_expand_0.9";
638 action: STATE_SET "default" 0.9;
639 target: "elm.icon.1";
640 target: "elm.icon.2";
641 target: "elm.icon.3";
642 target: "elm.icon.1.touch_area";
643 target: "elm.icon.2.touch_area";
644 target: "elm.icon.3.touch_area";
645 transition: LINEAR 0.5;
647 program { name: "do_rotary_start_expand_0.0";
648 action: STATE_SET "default" 0.0;
649 target: "elm.icon.1";
650 target: "elm.icon.2";
651 target: "elm.icon.3";
652 target: "elm.icon.1.touch_area";
653 target: "elm.icon.2.touch_area";
654 target: "elm.icon.3.touch_area";
655 transition: LINEAR 0.5;
657 program { name: "rotary_start_expand_0.9";
659 signal: "elm,action,rotary,ime,0.9";
661 run_program(PROGRAM:"do_rotary_start_expand_0.9");
664 program { name: "rotary_start_expand_0.0";
666 signal: "elm,action,rotary,ime,0.0";
668 run_program(PROGRAM:"do_rotary_start_expand_0.0");