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 BUBBLE_WIDTH 380
21 #define BUBBLE_DATE_PAD 15
22 #define BUBBLE_DATE_HEIGHT 30
24 #define BUBBLE_TOP_PAD 10
25 #define BUBBLE_RIGHT_PAD 15
26 #define BUBBLE_ICON_PAD 6
29 image: "00_MessageBubble_BG_receive.png" COMP;
30 image: "00_MessageBubble_BG_send.png" COMP;
35 name: "elm/bubble/base/default";
36 alias: "elm/bubble/base/readmessage";
40 name: "elm.rect.left.pad";
46 min: BUBBLE_DATE_PAD 0;
50 rel1 { relative: 0.0 0.0; }
51 rel2 { relative: 0.0 0.0; }
55 inherit: "default" 0.0;
56 min: BUBBLE_DATE_PAD BUBBLE_DATE_HEIGHT;
61 name: "elm.rect.top.pad";
67 min: 0 BUBBLE_TOP_PAD;
71 rel1 { relative: 0.0 1.0; to_y: "elm.rect.left.pad"; }
72 rel2 { relative: 1.0 1.0; to_y: "elm.rect.left.pad"; }
76 name: "elm.rect.right.pad";
82 min: BUBBLE_RIGHT_PAD 0;
86 rel1 { relative: 1.0 0.0; to: "elm.swallow.content"; }
87 rel2 { relative: 1.0 1.0; to: "elm.swallow.content"; }
91 name: "elm.rect.bottom.pad";
97 min: 0 BUBBLE_TOP_PAD;
100 rel1 { relative: 0.0 1.0; to_y: "elm.rect.icon.bottom.pad"; }
101 rel2 { relative: 1.0 1.0; }
105 name: "elm.rect.icon.top.pad";
110 state: "default" 0.0;
114 rel1 { relative: 0.0 1.0; to: "elm.swallow.content"; }
115 rel2 { relative: 1.0 1.0; to: "elm.swallow.content"; }
119 inherit: "default" 0.0;
120 min: 0 BUBBLE_ICON_PAD;
125 name: "elm.rect.icon.bottom.pad";
130 state: "default" 0.0;
134 rel1 { relative: 0.0 1.0; to: "elm.swallow.icon"; }
135 rel2 { relative: 1.0 1.0; to: "elm.swallow.icon"; }
139 inherit: "default" 0.0;
140 min: 0 BUBBLE_ICON_PAD;
150 state: "default" 0.0;
155 font: "SLP:style=Roman";
161 rel1 { relative: 1.0 0.0; to: "elm.rect.left.pad"; }
162 rel2 { relative: 1.0 1.0; to: "elm.rect.left.pad"; }
166 inherit: "default" 0.0;
171 name: "elm.image.bg";
175 state: "default" 0.0;
177 rel1 { relative: 0.0 0.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
178 rel2 { relative: 1.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
180 normal: "00_MessageBubble_BG_receive.png";
187 name: "elm.rect.bg.pad";
191 state: "default" 0.0;
193 rel1 { relative: 1.0 0.0; to: "elm.image.bg"; }
194 rel2 { relative: 1.0 1.0; to_y: "elm.image.bg"; }
198 name: "elm.swallow.content";
202 state: "default" 0.0;
205 rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
206 rel2 { relative: 0.7 1.0; to_y: "elm.rect.top.pad"; }
210 name: "elm.swallow.icon";
213 state: "default" 0.0;
216 rel1 { relative: 0.0 1.0; to: "elm.rect.icon.top.pad"; }
217 rel2 { relative: 0.5 1.0; to_y: "elm.rect.icon.top.pad"; }
221 inherit : "default" 0.0;
222 min: 0 50; //default height of icon
227 name: "elm.swallow.sweep";
230 state: "default" 0.0;
231 rel1 { relative: 0.0 0.0; to_y: "elm.image.bg"; }
232 rel2 { relative: 1.0 1.0; to_y: "elm.image.bg"; }
241 state: "default" 0.0;
254 font: "Helvetica_:style=Bold";
266 signal: "elm,state,text,visible";
268 action: STATE_SET "expand" 0.0;
269 target: "elm.rect.left.pad";
274 signal: "elm,state,text,hidden";
276 action: STATE_SET "default" 0.0;
277 target: "elm.rect.left.pad";
282 signal: "elm,state,icon,visible";
284 action: STATE_SET "expand" 0.0;
285 target: "elm.rect.icon.top.pad";
286 target: "elm.swallow.icon";
287 target: "elm.rect.icon.bottom.pad";
291 signal: "elm,state,icon,hidden";
293 action: STATE_SET "default" 0.0;
294 target: "elm.rect.icon.top.pad";
295 target: "elm.swallow.icon";
296 target: "elm.rect.icon.bottom.pad";
303 name: "elm/bubble/base/sentmessage";
307 name: "elm.rect.right.pad";
312 state: "default" 0.0;
313 min: BUBBLE_DATE_PAD 0;
317 rel1 { relative: 1.0 0.0; }
318 rel2 { relative: 1.0 0.0; }
322 inherit: "default" 0.0;
323 min: BUBBLE_DATE_PAD BUBBLE_DATE_HEIGHT;
328 name: "elm.rect.top.pad";
333 state: "default" 0.0;
334 min: 0 BUBBLE_TOP_PAD;
338 rel1 { relative: 0.0 1.0; to_y: "elm.rect.right.pad"; }
339 rel2 { relative: 1.0 1.0; to_y: "elm.rect.right.pad"; }
343 name: "elm.rect.left.pad";
348 state: "default" 0.0;
349 min: BUBBLE_RIGHT_PAD 0;
353 rel1 { relative: 0.0 0.0; to: "elm.swallow.content"; }
354 rel2 { relative: 0.0 1.0; to: "elm.swallow.content"; }
358 name: "elm.rect.bottom.pad";
363 state: "default" 0.0;
364 min: 0 BUBBLE_TOP_PAD;
367 rel1 { relative: 0.0 1.0; to_y: "elm.rect.icon.bottom.pad"; }
368 rel2 { relative: 1.0 1.0; }
372 name: "elm.rect.icon.top.pad";
377 state: "default" 0.0;
381 rel1 { relative: 0.0 1.0; to: "elm.swallow.content"; }
382 rel2 { relative: 1.0 1.0; to: "elm.swallow.content"; }
386 inherit: "default" 0.0;
387 min: 0 BUBBLE_ICON_PAD;
392 name: "elm.rect.icon.bottom.pad";
397 state: "default" 0.0;
401 rel1 { relative: 0.0 1.0; to: "elm.swallow.icon"; }
402 rel2 { relative: 1.0 1.0; to: "elm.swallow.icon"; }
406 inherit: "default" 0.0;
407 min: 0 BUBBLE_ICON_PAD;
417 state: "default" 0.0;
422 font: "SLP:style=Roman";
428 rel1 { relative: 0.0 0.0; to: "elm.rect.right.pad"; }
429 rel2 { relative: 0.0 1.0; to: "elm.rect.right.pad"; }
433 inherit: "default" 0.0;
438 name: "elm.image.bg";
442 state: "default" 0.0;
444 rel1 { relative: 0.0 0.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
445 rel2 { relative: 1.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
447 normal: "00_MessageBubble_BG_send.png";
454 name: "elm.rect.bg.pad";
458 state: "default" 0.0;
460 rel1 { relative: 0.0 0.0; to_y: "elm.image.bg"; }
461 rel2 { relative: 0.0 1.0; to: "elm.image.bg"; }
465 name: "elm.swallow.content";
469 state: "default" 0.0;
472 rel1 { relative: 0.3 1.0; to_y: "elm.rect.top.pad"; }
473 rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
477 name: "elm.swallow.icon";
480 state: "default" 0.0;
483 rel1 { relative: 0.5 1.0; to_y: "elm.rect.icon.top.pad"; }
484 rel2 { relative: 1.0 1.0; to: "elm.rect.icon.top.pad"; }
488 inherit : "default" 0.0;
489 min: 0 50; //default height of icon
494 name: "elm.swallow.sweep";
497 state: "default" 0.0;
498 rel1 { relative: 0.0 0.0; to_y: "elm.image.bg"; }
499 rel2 { relative: 1.0 1.0; to_y: "elm.image.bg"; }
508 state: "default" 0.0;
521 font: "Helvetica_:style=Bold";
533 signal: "elm,state,text,visible";
535 action: STATE_SET "expand" 0.0;
536 target: "elm.rect.right.pad";
541 signal: "elm,state,text,hidden";
543 action: STATE_SET "default" 0.0;
544 target: "elm.rect.right.pad";
549 signal: "elm,state,icon,visible";
551 action: STATE_SET "expand" 0.0;
552 target: "elm.rect.icon.top.pad";
553 target: "elm.swallow.icon";
554 target: "elm.rect.icon.bottom.pad";
558 signal: "elm,state,icon,hidden";
560 action: STATE_SET "default" 0.0;
561 target: "elm.rect.icon.top.pad";
562 target: "elm.swallow.icon";
563 target: "elm.rect.icon.bottom.pad";
568 group { name: "elm/layout/bubble/readmessage/default";
573 description { state: "default" 0.0;
577 part { name: "elm.padding.left";
580 description { state: "default" 0.0;
581 min: GENLIST_PADDING_5_INC 0;
584 rel1.relative: 0.0 0.0;
587 to_y: "elm.padding.bottom";
592 part { name: "elm.swallow.select_icon";
596 description { state: "default" 0.0;
602 to_x: "elm.padding.left";
606 to_x: "elm.padding.left";
607 to_y: "elm.padding.bottom";
610 description { state: "selectview" 0.0;
611 inherit: "default" 0.0;
615 part { name: "elm.padding.icon1.right";
618 description { state: "default" 0.0;
619 min: GENLIST_PADDING_5_INC 0;
622 color: 0 255 255 255;
625 to_x: "elm.swallow.select_icon";
629 to_x: "elm.swallow.select_icon";
630 to_y: "elm.padding.bottom";
635 part { name: "elm.icon";
639 description { state: "default" 0.0;
642 to_y: "elm.padding.bottom";
645 description { state: "selectview" 0.0;
646 inherit: "default" 0.0;
650 to_x: "elm.padding.icon1.right";
654 to_y: "elm.padding.bottom";
658 part { name: "elm.padding.contents";
661 description { state: "default" 0.0;
665 rel1 { relative: 0.0 1.0; to_y: "elm.icon"; }
666 rel2 { relative: 1.0 1.0; to_y: "elm.icon"; }
669 part { name: "elm.swallow.icon1";
673 description { state: "default" 0.0;
674 min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
675 max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
679 rel1 { relative: 0.0223 1.00; to_y: "elm.padding.contents"; }
680 rel2 { relative: 0.0223 1.00; }
682 description { state: "contents_on" 0.0;
683 inherit: "default" 0.0;
687 part { name: "elm.swallow.icon2";
691 description { state: "default" 0.0;
692 min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
693 max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
697 rel1 { relative: 1.0 1.00; to_x: "elm.swallow.icon1"; to_y: "elm.padding.contents"; }
698 rel2 { relative: 1.0 1.00; }
700 description { state: "contents_on" 0.0;
701 inherit: "default" 0.0;
705 part { name: "elm.padding.bottom";
708 description { state: "default" 0.0;
709 min: 0 GENLIST_PADDING_24_INC;
712 rel1.relative: 0.0 1.0;
715 description { state: "contents_on" 0.0;
716 inherit: "default" 0.0;
717 min: 0 GENLIST_PADDING_88_INC;
720 part { name: "disclip";
722 description { state: "default" 0.0;
724 description { state: "disabled" 0.0;
725 inherit: "default" 0.0;
726 color: GENLIST_PART_DISCLIP_COLOR_INC;
731 program { name: "go_disabled";
732 signal: "elm,state,disabled";
734 action: STATE_SET "disabled" 0.0;
737 program { name: "go_enabled";
738 signal: "elm,state,enabled";
740 action: STATE_SET "default" 0.0;
743 program { name: "go_defaultview";
744 signal: "elm,state,select,disable";
746 action: STATE_SET "default" 0.0;
747 //transition: DECELERATE 0.7;
748 target: "elm.swallow.select_icon";
751 program { name: "go_selectview";
752 signal: "elm,state,select,enable";
754 action: STATE_SET "selectview" 0.0;
755 transition: DECELERATE 0.7;
756 target: "elm.swallow.select_icon";
759 program { name: "go_contents_on";
760 signal: "elm,state,contents,enabled";
762 action: STATE_SET "contents_on" 0.0;
763 target: "elm.swallow.icon1";
764 target: "elm.swallow.icon2";
765 target: "elm.padding.bottom";
767 program { name: "go_contents_off";
768 signal: "elm,state,contents,disabled";
770 action: STATE_SET "default" 0.0;
771 target: "elm.swallow.icon1";
772 target: "elm.swallow.icon2";
773 target: "elm.padding.bottom";
778 group { name: "elm/layout/bubble/sentmessage/default";
783 description { state: "default" 0.0;
787 part { name: "elm.padding.left";
790 description { state: "default" 0.0;
791 min: GENLIST_PADDING_5_INC 0;
794 rel1.relative: 0.0 0.0;
797 to_y: "elm.padding.bottom";
802 part { name: "elm.swallow.select_icon";
806 description { state: "default" 0.0;
812 to_x: "elm.padding.left";
816 to_x: "elm.padding.left";
817 to_y: "elm.padding.bottom";
820 description { state: "selectview" 0.0;
821 inherit: "default" 0.0;
825 part { name: "elm.padding.icon1.right";
828 description { state: "default" 0.0;
829 min: GENLIST_PADDING_5_INC 0;
832 color: 0 255 255 255;
835 to_x: "elm.swallow.select_icon";
839 to_x: "elm.swallow.select_icon";
840 to_y: "elm.padding.bottom";
845 part { name: "elm.icon";
849 description { state: "default" 0.0;
850 rel1.relative: 0.24 0.0; //to_y: "elm.rect.top.pad"; }
853 to_y: "elm.padding.bottom";
856 description { state: "selectview" 0.0;
857 inherit: "default" 0.0;
864 part { name: "elm.padding.contents";
867 description { state: "default" 0.0;
871 rel1 { relative: 0.0 1.0; to_y: "elm.icon"; }
872 rel2 { relative: 1.0 1.0; to_y: "elm.icon"; }
875 part { name: "elm.swallow.icon1";
879 description { state: "default" 0.0;
880 min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
881 max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
885 rel1 { relative: 0.0 1.00; to_x: "elm.swallow.icon2"; to_y: "elm.padding.contents"; }
886 rel2 { relative: 0.0 1.00; to_x: "elm.swallow.icon2"; }
888 description { state: "contents_on" 0.0;
889 inherit: "default" 0.0;
893 part { name: "elm.swallow.icon2";
897 description { state: "default" 0.0;
898 min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
899 max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
903 rel1 { relative: 0.9777 1.00; to_y: "elm.padding.contents"; }
904 rel2 { relative: 0.9777 1.00; }
906 description { state: "contents_on" 0.0;
907 inherit: "default" 0.0;
911 part { name: "elm.padding.bottom";
914 description { state: "default" 0.0;
915 min: 0 GENLIST_PADDING_24_INC;
918 rel1.relative: 0.0 1.0;
921 description { state: "contents_on" 0.0;
922 inherit: "default" 0.0;
923 min: 0 GENLIST_PADDING_88_INC;
926 part { name: "disclip";
928 description { state: "default" 0.0;
930 description { state: "disabled" 0.0;
931 inherit: "default" 0.0;
932 color: GENLIST_PART_DISCLIP_COLOR_INC;
937 program { name: "go_disabled";
938 signal: "elm,state,disabled";
940 action: STATE_SET "disabled" 0.0;
943 program { name: "go_enabled";
944 signal: "elm,state,enabled";
946 action: STATE_SET "default" 0.0;
949 program { name: "go_defaultview";
950 signal: "elm,state,select,disable";
952 action: STATE_SET "default" 0.0;
953 //transition: DECELERATE 0.7;
954 target: "elm.swallow.select_icon";
957 program { name: "go_selectview";
958 signal: "elm,state,select,enable";
960 action: STATE_SET "selectview" 0.0;
961 //transition: DECELERATE 0.7;
962 target: "elm.swallow.select_icon";
965 program { name: "go_contents_on";
966 signal: "elm,state,contents,enabled";
968 action: STATE_SET "contents_on" 0.0;
969 target: "elm.swallow.icon1";
970 target: "elm.swallow.icon2";
971 target: "elm.padding.bottom";
973 program { name: "go_contents_off";
974 signal: "elm,state,contents,disabled";
976 action: STATE_SET "default" 0.0;
977 target: "elm.swallow.icon1";
978 target: "elm.swallow.icon2";
979 target: "elm.padding.bottom";
984 group { name: "elm/layout/bubble/seperator/default";
989 description { state: "default" 0.0;
990 min: 0 GENLIST_PADDING_24_INC;