3 * Copyright 2012 Samsung Electronics Co., Ltd
5 * Licensed under the Flora License, Version 1.1 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://floralicense.org/license/
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
18 #define GENLIST_PART_BASE( param_item_height ) \
19 part { name: "base"; \
23 description { state: "default" 0.0; \
24 min: 0 param_item_height; \
25 color: GENLIST_PART_BG_COLOR_INC; \
29 #define GENLIST_PART_BG \
34 description { state: "default" 0.0; \
35 color: GENLIST_PART_BG_COLOR_INC; \
37 description { state: "hide" 0.0; \
38 inherit: "default" 0.0; \
39 rel1 { relative: 0.025 0.0; } \
40 rel2 { relative: 1.025 1.0; } \
42 description { state: "hide" 0.1; \
43 inherit: "default" 0.0; \
44 rel1 { relative: 0.13 0.0; } \
45 rel2 { relative: 1.13 1.0; } \
47 description { state: "hide" 0.2; \
48 inherit: "default" 0.0; \
49 rel1 { relative: 0.5 0.0; } \
50 rel2 { relative: 1.5 1.0; } \
52 description { state: "hide" 0.3; \
53 inherit: "default" 0.0; \
54 rel1 { relative: 1.0 0.0; } \
55 rel2 { relative: 2.0 1.0; } \
59 #define GENLIST_PART_BG_IMAGE \
60 part { name: "bg_image"; \
64 description { state: "default" 0.0; \
65 color: GENLIST_PART_LIST_BG_COLOR_INC; \
67 description { state: "selected" 0.0; \
68 inherit: "default" 0.0; \
69 color: GENLIST_PART_LIST_PRESS_COLOR_INC; \
73 #define GENLIST_PART_BOTTOM_LINE \
74 part { name: "bottom_line"; \
77 description { state: "default" 0.0; \
81 color: GENLIST_PART_LIST_LINE_COLOR_INC; \
89 #define GENLIST_PART_BOTTOM_EFFECT_LINE \
90 part { name: "bottom_line"; \
93 description { state: "default" 0.0; \
97 color: GENLIST_PART_LIST_LINE_COLOR_INC; \
103 GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
104 GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
107 #define GENLIST_PART_PADDING_TOP( param_padding_size ) \
108 part { name: "elm.padding.top"; \
112 state: "default" 0.0; \
113 min: 0 param_padding_size; \
116 rel2.relative: 1.0 0.0; \
121 #define GENLIST_PART_PADDING_TEXT_TOP( param_padding_size ) \
122 part { name: "elm.padding.text.top"; \
126 state: "default" 0.0; \
127 min: 0 param_padding_size; \
130 rel2.relative: 1.0 0.0; \
135 #define GENLIST_PART_PADDING_BOTTOM( param_padding_size ) \
136 part { name: "elm.padding.bottom"; \
139 description { state: "default" 0.0; \
140 min: 0 param_padding_size; \
143 rel1.relative: 0.0 1.0; \
148 #define GENLIST_PART_PADDING_LEFT( param_padding_size ) \
149 part { name: "elm.padding.left"; \
152 description { state: "default" 0.0; \
153 min: param_padding_size 0; \
156 rel2.relative: 0.0 1.0; \
161 #define GENLIST_PART_PADDING_RIGHT( param_padding_size ) \
162 part { name: "elm.padding.right"; \
165 description { state: "default" 0.0; \
166 min: param_padding_size 0; \
169 rel1.relative: 1.0 0.0; \
174 #define GENLIST_PART_DIALOGUE_BASE( param_item_height ) \
175 part { name: "base"; \
177 clip_to: "disclip"; \
180 description { state: "default" 0.0; \
181 min: 0 param_item_height; \
182 color: LAYOUT_GROUP_LIST_BG_COLOR_INC; \
186 #define GENLIST_PART_DIALOGUE_BG_IMAGE \
187 part { name: "bg_image"; \
189 clip_to: "disclip"; \
191 description { state: "default" 0.0; \
192 color: GENLIST_DIALOGUE_BG_IMAGE_COLOR_INC; \
194 description { state: "selected" 0.0; \
195 inherit: "default" 0.0; \
196 color: GENLIST_PART_LIST_PRESS_COLOR_INC; \
200 #define GENLIST_PART_LIST_BG_IMAGE \
201 part { name: "bg_image"; \
203 clip_to: "disclip"; \
205 description { state: "default" 0.0; \
206 color: GENLIST_DIALOGUE_LIST_BG_IMAGE_COLOR_INC; \
208 description { state: "selected" 0.0; \
209 inherit: "default" 0.0; \
210 color: GENLIST_PART_LIST_PRESS_COLOR_INC; \
215 #define GENLIST_PART_DIALOGUE_ITEM \
216 part { name: "elm.rect.dialogue"; \
219 description { state: "default" 0.0; \
220 min: GENLIST_PADDING_12_INC 0; \
222 color: GENLIST_DIALOGUE_GROUP_LEFT_BG_COLOR_INC; \
223 rel2.relative: 0.0 1.0; \
228 #define GENLIST_PART_DIALOGUE_RIGHT_LINE \
229 part { name: "elm.rect.dialogue.right.line"; \
232 description { state: "default" 0.0; \
241 color: GENLIST_PART_LIST_LINE_COLOR_INC; \
245 #define GENLIST_PART_DIALOGUE_EXPANDABLE_ITEM \
246 part { name: "elm.rect.dialogue"; \
249 description { state: "default" 0.0; \
250 min: GENLIST_PADDING_12_INC 0; \
252 color: GENLIST_DIALOGUE_GROUP_LEFT_BG_COLOR_INC; \
253 rel2.relative: 0.0 1.0; \
256 GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
257 GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
260 #define GENLIST_PART_SWALLOW_END( param_padding_size ) \
261 part { name: "elm.padding.left.swallow.end";\
262 clip_to: "disclip"; \
265 description { state: "default" 0.0;\
266 min: param_padding_size 0;\
269 rel1.to_x: "elm.swallow.end";\
272 to_x: "elm.swallow.end";\
277 part { name: "elm.swallow.end";\
278 clip_to: "disclip"; \
281 description { state: "default" 0.0;\
284 rel1.to_x: "elm.padding.right";\
287 to_x: "elm.padding.right";\
292 // When rotating, sometimes item size is expaned.
293 #define GENLIST_PART_DISCLIP \
294 part { name: "disclip"; \
296 description { state: "default" 0.0; \
298 description { state: "disabled" 0.0; \
299 inherit: "default" 0.0; \
300 color: GENLIST_PART_DISCLIP_COLOR_INC; \
304 #define GENLIST_EXPANDABLE_PART_PERSPECTIVE_POINT() \
305 part { name: "point"; \
309 state: "default" 0.0; \
311 rel1 { relative: 0.0 0.0; } \
312 rel2 { relative: 1.0 0.0; } \
316 #define GENLIST_PART_MAP_START( param_x, param_y, param_z ) \
317 description { state: "map_transition" 0.0; \
318 inherit: "default" 0.0; \
319 color: 50 50 50 100; \
321 perspective: "point"; \
336 inherit: "default" 0.0; \
340 #define GENLIST_PART_MAP_FINISH( param_x, param_y, param_z ) \
342 state: "map_rotate" 0.0; \
343 inherit: "default" 0.0; \
345 perspective: "point"; \
359 #define GENLIST_PART_MAP_BASE( param_item_height ) \
360 part { name: "base"; \
364 description { state: "default" 0.0; \
365 min: 0 param_item_height; \
366 color: GENLIST_PART_BG_COLOR_INC; \
368 GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
369 GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
372 #define GENLIST_EXPANDABLE_PART_BASE( GE_HEIGHT , GE_COLOR ) \
373 part { name: "base"; \
377 description { state: "default" 0.0; \
381 description { state: "selected" 0.0; \
382 inherit: "default" 0.0; \
383 color: GENLIST_PART_LIST_PRESS_COLOR_INC; \
385 GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
386 GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
389 /* XXX: refactor expandable edc first.
390 and use GENLIST_EXPANDABLE_PART_BASE_NEW as GENLIST_EXPANDABLE_PART_BASE.
392 #define GENLIST_EXPANDABLE_PART_BASE_NEW( GE_HEIGHT , GE_COLOR ) \
393 part { name: "base"; \
397 description { state: "default" 0.0; \
401 description { state: "selected" 0.0; \
402 inherit: "default" 0.0; \
403 color: GENLIST_PART_LIST_PRESS_COLOR_INC; \
407 #define GENLIST_PROGRAM_MAP_ROTATE_EXPAND_START() \
408 name: "rotaion_transition"; \
409 signal: "flip_item"; \
410 action: STATE_SET "map_transition" 0.0; \
413 #define GENLIST_PROGRAM_MAP_ROTATE_EXPAND_FINISH( second ) \
415 action: STATE_SET "map_rotate" 0.0; \
416 transition: LINEAR second; \
417 after: "rotation_end";
419 #define GENLIST_PROGRAM_MAP_EXPAND_END() \
420 name: "rotation_end"; \
421 action: STATE_SET "default" 0.0;
423 #define GENLIST_PROGRAM_MAP_ROTATE_CONTRACT_START() \
424 name: "rotation_transition2"; \
425 signal: "elm,state,contract_flip"; \
426 action: STATE_SET "map_rotate" 0.0; \
429 #define GENLIST_PROGRAM_MAP_ROTATE_CONTRACT_FINISH( second ) \
431 action: STATE_SET "map_transition" 0.0; \
432 transition: LINEAR second; \
435 #define GENLIST_PROGRAM_MAP_CONTRACT_END() \
437 action: STATE_SET "hide" 0.0;
439 #define GENLIST_PART_EXPANDABLE2_NOSHADOW_BASE( param_item_height ) \
440 part { name: "base"; \
444 description { state: "default" 0.0; \
445 min: 0 param_item_height; \
446 color: GENLIST_PART_EXPANDABLE_2ND_DEPTH_BG_COLOR_INC; \
448 GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
449 GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
452 #define GENLIST_PART_EXPANDABLE_SWALLOW_PADDING \
453 part { name: "elm.swallow.pad"; \
455 description { state: "default" 0.0; \
460 to_x: "elm.padding.left"; \
462 rel2.to_x: "elm.padding.left"; \
464 GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
465 GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
468 #define GENLIST_PART_PADDING_LEFT_SLIDE( param_padding_size ) \
469 part { name: "elm.padding.left"; \
473 state: "default" 0.0; \
474 min: param_padding_size 0; \
477 rel1 { relative: 0.0 0.0; to: "bg"; } \
478 rel2 { relative: 0.0 1.0; to: "bg"; } \
484 #define GENLIST_PART_BUTTON( param_name, param_text_name, param_text, param_left, param_right, param_top, param_bottom ) \
485 part { name: param_name; \
487 description { state: "default" 0.0; \
489 rel1 { relative: param_left param_top; offset: 0 0; } \
490 rel2 { relative: param_right param_bottom; offset: -1 -1; } \
492 normal: "btn_normal.png"; \
493 border: 10 10 10 10; \
496 image.middle: SOLID; \
499 description { state: "selected" 0.0; \
500 inherit: "default" 0.0; \
502 normal: "btn_selected.png"; \
506 part { name: param_text_name; \
512 state: "default" 0.0; \
514 rel1 { relative: 0.0 0.0; to: param_name; } \
515 rel2 { relative: 1.0 1.0; to: param_name; } \
518 font: "SLP:style=Roman"; \
528 #define GENLIST_PROGRAM_BUTTON( param_name_focused, param_name_normal, param_part_name ) \
529 program { name: param_name_focused; \
530 source: param_part_name; \
531 signal: "mouse,down,1"; \
532 action: STATE_SET "selected" 0.0; \
533 target: param_part_name; \
535 program { name: param_name_normal; \
536 source: param_part_name; \
537 signal: "mouse,up,1"; \
538 action: STATE_SET "default" 0.0; \
539 target: param_part_name; \
542 #define GENLIST_PROGRAM_SLIDE_WITH_AFTER( param_name, param_state, param_next ) \
543 program { name: param_name; \
544 action: STATE_SET "hide" param_state; \
546 transition: LINEAR 0.3; \
550 #define GENLIST_PROGRAM_SLIDE( param_name, param_state_name, param_state_value ) \
551 program { name: param_name; \
552 action: STATE_SET param_state_name param_state_value; \
554 transition: LINEAR 0.3; \
557 #define DESC_FLIP_IMAGE( param_state_value, param_image_file_name ) \
558 description { state: "flipping" param_state_value; \
559 inherit: "default" 0.0; \
560 image { normal: param_image_file_name; } \
563 #define DESC_TEXT_HIDE( param_state_value ) \
564 description { state: "hide" param_state_value; \
565 inherit: "default" 0.0; \
566 color: 0 0 0 (255*(1-param_state_value/0.20)); \
569 #define GENLIST_EDIT_PART_BASE( param_item_height ) \
570 part { name: "base"; \
574 description { state: "default" 0.0; \
575 min: 0 param_item_height; \
580 #define GENLIST_PART_FLIP \
581 part { name: "elm.flip.icon"; \
582 clip_to: "disclip"; \
585 description { state: "default" 0.0; \
592 to_x: "elm.padding.right"; \
596 to_x: "elm.padding.right"; \
599 description { state: "flip_enabled" 0.0; \
600 inherit: "default" 0.0; \
604 part { name: "elm.flip.content"; \
605 clip_to: "disclip"; \
608 description { state: "default" 0.0; \
613 to_x: "elm.padding.left"; \
617 to_x: "elm.flip.icon"; \
620 description { state: "flip_enabled" 0.0; \
621 inherit: "default" 0.0; \
626 #define GENLIST_DESCRIPTION_INVISIBLE_SELECTED \
627 description { state: "selected" 1.0; \
628 inherit: "default" 0.0; \
632 #define GENLIST_DESCRIPTION_FLIP_ENABLED \
633 description { state: "flip_enabled" 0.0; \
634 inherit: "default" 0.0; \
638 #define GENLIST_PROGRAM_SCRIPT_FLIP_SELECT_1TEXT \
642 get_state(PART:"elm.text", st, 30, vl); \
643 set_state(PART:"bg_image", "selected", 0.0); \
644 if (!strcmp(st, "flip_enabled")) \
645 set_state(PART:"elm.text", "selected", 1.0); \
647 set_state(PART:"elm.text", "selected", 0.0); \
650 #define GENLIST_PROGRAM_SCRIPT_FLIP_SELECT_2TEXT \
654 get_state(PART:"elm.text.1", st, 30, vl); \
655 set_state(PART:"bg_image", "selected", 0.0); \
656 if (!strcmp(st, "flip_enabled")) { \
657 set_state(PART:"elm.text.1", "selected", 1.0); \
658 set_state(PART:"elm.text.2", "selected", 1.0); \
661 set_state(PART:"elm.text.1", "selected", 0.0); \
662 set_state(PART:"elm.text.2", "selected", 0.0); \
666 #define GENLIST_PROGRAM_SCRIPT_FLIP_SELECT_3TEXT \
670 get_state(PART:"elm.text.1", st, 30, vl); \
671 set_state(PART:"bg_image", "selected", 0.0); \
672 if (!strcmp(st, "flip_enabled")) { \
673 set_state(PART:"elm.text.1", "selected", 1.0); \
674 set_state(PART:"elm.text.2", "selected", 1.0); \
675 set_state(PART:"elm.text.3", "selected", 1.0); \
678 set_state(PART:"elm.text.1", "selected", 0.0); \
679 set_state(PART:"elm.text.2", "selected", 0.0); \
680 set_state(PART:"elm.text.3", "selected", 0.0); \
684 #define GENLIST_PROGRAM_FLIP_1TEXT \
685 program { name: "flip_enabled"; \
686 signal: "elm,state,flip,enabled"; \
688 action: STATE_SET "flip_enabled" 0.0; \
689 target: "elm.text"; \
690 target: "elm.flip.content"; \
692 program { name: "flip_disabled"; \
693 signal: "elm,state,flip,disabled"; \
695 action: STATE_SET "default" 0.0; \
696 target: "elm.text"; \
697 target: "elm.flip.content"; \
700 #define GENLIST_PROGRAM_FLIP_1TEXT_1ICON \
701 program { name: "flip_enabled"; \
702 signal: "elm,state,flip,enabled"; \
704 action: STATE_SET "flip_enabled" 0.0; \
705 target: "elm.text"; \
706 target: "elm.icon"; \
707 target: "elm.flip.content"; \
709 program { name: "flip_disabled"; \
710 signal: "elm,state,flip,disabled"; \
712 action: STATE_SET "default" 0.0; \
713 target: "elm.text"; \
714 target: "elm.icon"; \
715 target: "elm.flip.content"; \
718 #define GENLIST_PROGRAM_FLIP_1TEXT_2ICON \
719 program { name: "flip_enabled"; \
720 signal: "elm,state,flip,enabled"; \
722 action: STATE_SET "flip_enabled" 0.0; \
723 target: "elm.text"; \
724 target: "elm.icon.1"; \
725 target: "elm.icon.2"; \
726 target: "elm.flip.content"; \
728 program { name: "flip_disabled"; \
729 signal: "elm,state,flip,disabled"; \
731 action: STATE_SET "default" 0.0; \
732 target: "elm.text"; \
733 target: "elm.icon.1"; \
734 target: "elm.icon.2"; \
735 target: "elm.flip.content"; \
738 #define GENLIST_PROGRAM_FLIP_1TEXT_3ICON \
739 program { name: "flip_enabled"; \
740 signal: "elm,state,flip,enabled"; \
742 action: STATE_SET "flip_enabled" 0.0; \
743 target: "elm.text"; \
744 target: "elm.icon.1"; \
745 target: "elm.icon.2"; \
746 target: "elm.icon.3"; \
747 target: "elm.flip.content"; \
749 program { name: "flip_disabled"; \
750 signal: "elm,state,flip,disabled"; \
752 action: STATE_SET "default" 0.0; \
753 target: "elm.text"; \
754 target: "elm.icon.1"; \
755 target: "elm.icon.2"; \
756 target: "elm.icon.3"; \
757 target: "elm.flip.content"; \
760 #define GENLIST_PROGRAM_FLIP_2TEXT \
761 program { name: "flip_enabled"; \
762 signal: "elm,state,flip,enabled"; \
764 action: STATE_SET "flip_enabled" 0.0; \
765 target: "elm.text.1"; \
766 target: "elm.text.2"; \
767 target: "elm.flip.content"; \
769 program { name: "flip_disabled"; \
770 signal: "elm,state,flip,disabled"; \
772 action: STATE_SET "default" 0.0; \
773 target: "elm.text.1"; \
774 target: "elm.text.2"; \
775 target: "elm.flip.content"; \
778 #define GENLIST_PROGRAM_FLIP_2TEXT_1ICON \
779 program { name: "flip_enabled"; \
780 signal: "elm,state,flip,enabled"; \
782 action: STATE_SET "flip_enabled" 0.0; \
783 target: "elm.text.1"; \
784 target: "elm.text.2"; \
785 target: "elm.icon"; \
786 target: "elm.flip.content"; \
788 program { name: "flip_disabled"; \
789 signal: "elm,state,flip,disabled"; \
791 action: STATE_SET "default" 0.0; \
792 target: "elm.text.1"; \
793 target: "elm.text.2"; \
794 target: "elm.icon"; \
795 target: "elm.flip.content"; \
798 #define GENLIST_PROGRAM_FLIP_2TEXT_2ICON \
799 program { name: "flip_enabled"; \
800 signal: "elm,state,flip,enabled"; \
802 action: STATE_SET "flip_enabled" 0.0; \
803 target: "elm.text.1"; \
804 target: "elm.text.2"; \
805 target: "elm.icon.1"; \
806 target: "elm.icon.2"; \
807 target: "elm.flip.content"; \
809 program { name: "flip_disabled"; \
810 signal: "elm,state,flip,disabled"; \
812 action: STATE_SET "default" 0.0; \
813 target: "elm.text.1"; \
814 target: "elm.text.2"; \
815 target: "elm.icon.1"; \
816 target: "elm.icon.2"; \
817 target: "elm.flip.content"; \
820 #define GENLIST_PROGRAM_FLIP_2TEXT_3ICON \
821 program { name: "flip_enabled"; \
822 signal: "elm,state,flip,enabled"; \
824 action: STATE_SET "flip_enabled" 0.0; \
825 target: "elm.text.1"; \
826 target: "elm.text.2"; \
827 target: "elm.icon.1"; \
828 target: "elm.icon.2"; \
829 target: "elm.icon.3"; \
830 target: "elm.flip.content"; \
832 program { name: "flip_disabled"; \
833 signal: "elm,state,flip,disabled"; \
835 action: STATE_SET "default" 0.0; \
836 target: "elm.text.1"; \
837 target: "elm.text.2"; \
838 target: "elm.icon.1"; \
839 target: "elm.icon.2"; \
840 target: "elm.icon.3"; \
841 target: "elm.flip.content"; \
844 #define GENLIST_PROGRAM_FLIP_3TEXT \
845 program { name: "flip_enabled"; \
846 signal: "elm,state,flip,enabled"; \
848 action: STATE_SET "flip_enabled" 0.0; \
849 target: "elm.text.1"; \
850 target: "elm.text.2"; \
851 target: "elm.text.3"; \
852 target: "elm.flip.content"; \
854 program { name: "flip_disabled"; \
855 signal: "elm,state,flip,disabled"; \
857 action: STATE_SET "default" 0.0; \
858 target: "elm.text.1"; \
859 target: "elm.text.2"; \
860 target: "elm.text.3"; \
861 target: "elm.flip.content"; \
864 #define GENLIST_PROGRAM_FLIP_3TEXT_1ICON \
865 program { name: "flip_enabled"; \
866 signal: "elm,state,flip,enabled"; \
868 action: STATE_SET "flip_enabled" 0.0; \
869 target: "elm.text.1"; \
870 target: "elm.text.2"; \
871 target: "elm.text.3"; \
872 target: "elm.icon"; \
873 target: "elm.flip.content"; \
875 program { name: "flip_disabled"; \
876 signal: "elm,state,flip,disabled"; \
878 action: STATE_SET "default" 0.0; \
879 target: "elm.text.1"; \
880 target: "elm.text.2"; \
881 target: "elm.text.3"; \
882 target: "elm.icon"; \
883 target: "elm.flip.content"; \
886 #define GENLIST_PROGRAM_FLIP_3TEXT_2ICON \
887 program { name: "flip_enabled"; \
888 signal: "elm,state,flip,enabled"; \
890 action: STATE_SET "flip_enabled" 0.0; \
891 target: "elm.text.1"; \
892 target: "elm.text.2"; \
893 target: "elm.text.3"; \
894 target: "elm.icon.1"; \
895 target: "elm.icon.2"; \
896 target: "elm.flip.content"; \
898 program { name: "flip_disabled"; \
899 signal: "elm,state,flip,disabled"; \
901 action: STATE_SET "default" 0.0; \
902 target: "elm.text.1"; \
903 target: "elm.text.2"; \
904 target: "elm.text.3"; \
905 target: "elm.icon.1"; \
906 target: "elm.icon.2"; \
907 target: "elm.flip.content"; \
910 #define GENLIST_PROGRAM_FLIP_3TEXT_3ICON \
911 program { name: "flip_enabled"; \
912 signal: "elm,state,flip,enabled"; \
914 action: STATE_SET "flip_enabled" 0.0; \
915 target: "elm.text.1"; \
916 target: "elm.text.2"; \
917 target: "elm.text.3"; \
918 target: "elm.icon.1"; \
919 target: "elm.icon.2"; \
920 target: "elm.icon.3"; \
921 target: "elm.flip.content"; \
923 program { name: "flip_disabled"; \
924 signal: "elm,state,flip,disabled"; \
926 action: STATE_SET "default" 0.0; \
927 target: "elm.text.1"; \
928 target: "elm.text.2"; \
929 target: "elm.text.3"; \
930 target: "elm.icon.1"; \
931 target: "elm.icon.2"; \
932 target: "elm.icon.3"; \
933 target: "elm.flip.content"; \
936 /* genlist multisense macro - start */
937 #define GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS \
938 after: "play_button_press";
940 #define GENLIST_PROGRAM_PLAY_BUTTON_PRESS \
941 program { name: "play_button_press"; \
942 action: PLAY_SAMPLE "button-pressed" 1.0; \
947 /* genlist multisense macro - end */