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";
159 text_class: "slp_roman";
162 rel1 { relative: 1.0 0.0; to: "elm.rect.left.pad"; }
163 rel2 { relative: 1.0 1.0; to: "elm.rect.left.pad"; }
167 inherit: "default" 0.0;
172 name: "elm.image.bg";
176 state: "default" 0.0;
178 rel1 { relative: 0.0 0.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
179 rel2 { relative: 1.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
181 normal: "00_MessageBubble_BG_receive.png";
188 name: "elm.rect.bg.pad";
192 state: "default" 0.0;
194 rel1 { relative: 1.0 0.0; to: "elm.image.bg"; }
195 rel2 { relative: 1.0 1.0; to_y: "elm.image.bg"; }
199 name: "elm.swallow.content";
203 state: "default" 0.0;
206 rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
207 rel2 { relative: 0.7 1.0; to_y: "elm.rect.top.pad"; }
211 name: "elm.swallow.icon";
214 state: "default" 0.0;
217 rel1 { relative: 0.0 1.0; to: "elm.rect.icon.top.pad"; }
218 rel2 { relative: 0.5 1.0; to_y: "elm.rect.icon.top.pad"; }
222 inherit : "default" 0.0;
223 min: 0 50; //default height of icon
228 name: "elm.swallow.sweep";
231 state: "default" 0.0;
232 rel1 { relative: 0.0 0.0; to_y: "elm.image.bg"; }
233 rel2 { relative: 1.0 1.0; to_y: "elm.image.bg"; }
242 state: "default" 0.0;
255 font: "Helvetica_:style=Bold";
267 signal: "elm,state,text,visible";
269 action: STATE_SET "expand" 0.0;
270 target: "elm.rect.left.pad";
275 signal: "elm,state,text,hidden";
277 action: STATE_SET "default" 0.0;
278 target: "elm.rect.left.pad";
283 signal: "elm,state,icon,visible";
285 action: STATE_SET "expand" 0.0;
286 target: "elm.rect.icon.top.pad";
287 target: "elm.swallow.icon";
288 target: "elm.rect.icon.bottom.pad";
292 signal: "elm,state,icon,hidden";
294 action: STATE_SET "default" 0.0;
295 target: "elm.rect.icon.top.pad";
296 target: "elm.swallow.icon";
297 target: "elm.rect.icon.bottom.pad";
304 name: "elm/bubble/base/sentmessage";
308 name: "elm.rect.right.pad";
313 state: "default" 0.0;
314 min: BUBBLE_DATE_PAD 0;
318 rel1 { relative: 1.0 0.0; }
319 rel2 { relative: 1.0 0.0; }
323 inherit: "default" 0.0;
324 min: BUBBLE_DATE_PAD BUBBLE_DATE_HEIGHT;
329 name: "elm.rect.top.pad";
334 state: "default" 0.0;
335 min: 0 BUBBLE_TOP_PAD;
339 rel1 { relative: 0.0 1.0; to_y: "elm.rect.right.pad"; }
340 rel2 { relative: 1.0 1.0; to_y: "elm.rect.right.pad"; }
344 name: "elm.rect.left.pad";
349 state: "default" 0.0;
350 min: BUBBLE_RIGHT_PAD 0;
354 rel1 { relative: 0.0 0.0; to: "elm.swallow.content"; }
355 rel2 { relative: 0.0 1.0; to: "elm.swallow.content"; }
359 name: "elm.rect.bottom.pad";
364 state: "default" 0.0;
365 min: 0 BUBBLE_TOP_PAD;
368 rel1 { relative: 0.0 1.0; to_y: "elm.rect.icon.bottom.pad"; }
369 rel2 { relative: 1.0 1.0; }
373 name: "elm.rect.icon.top.pad";
378 state: "default" 0.0;
382 rel1 { relative: 0.0 1.0; to: "elm.swallow.content"; }
383 rel2 { relative: 1.0 1.0; to: "elm.swallow.content"; }
387 inherit: "default" 0.0;
388 min: 0 BUBBLE_ICON_PAD;
393 name: "elm.rect.icon.bottom.pad";
398 state: "default" 0.0;
402 rel1 { relative: 0.0 1.0; to: "elm.swallow.icon"; }
403 rel2 { relative: 1.0 1.0; to: "elm.swallow.icon"; }
407 inherit: "default" 0.0;
408 min: 0 BUBBLE_ICON_PAD;
418 state: "default" 0.0;
423 font: "SLP:style=Roman";
427 text_class: "slp_roman";
430 rel1 { relative: 0.0 0.0; to: "elm.rect.right.pad"; }
431 rel2 { relative: 0.0 1.0; to: "elm.rect.right.pad"; }
435 inherit: "default" 0.0;
440 name: "elm.image.bg";
444 state: "default" 0.0;
446 rel1 { relative: 0.0 0.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
447 rel2 { relative: 1.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
449 normal: "00_MessageBubble_BG_send.png";
456 name: "elm.rect.bg.pad";
460 state: "default" 0.0;
462 rel1 { relative: 0.0 0.0; to_y: "elm.image.bg"; }
463 rel2 { relative: 0.0 1.0; to: "elm.image.bg"; }
467 name: "elm.swallow.content";
471 state: "default" 0.0;
474 rel1 { relative: 0.3 1.0; to_y: "elm.rect.top.pad"; }
475 rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
479 name: "elm.swallow.icon";
482 state: "default" 0.0;
485 rel1 { relative: 0.5 1.0; to_y: "elm.rect.icon.top.pad"; }
486 rel2 { relative: 1.0 1.0; to: "elm.rect.icon.top.pad"; }
490 inherit : "default" 0.0;
491 min: 0 50; //default height of icon
496 name: "elm.swallow.sweep";
499 state: "default" 0.0;
500 rel1 { relative: 0.0 0.0; to_y: "elm.image.bg"; }
501 rel2 { relative: 1.0 1.0; to_y: "elm.image.bg"; }
510 state: "default" 0.0;
523 font: "Helvetica_:style=Bold";
535 signal: "elm,state,text,visible";
537 action: STATE_SET "expand" 0.0;
538 target: "elm.rect.right.pad";
543 signal: "elm,state,text,hidden";
545 action: STATE_SET "default" 0.0;
546 target: "elm.rect.right.pad";
551 signal: "elm,state,icon,visible";
553 action: STATE_SET "expand" 0.0;
554 target: "elm.rect.icon.top.pad";
555 target: "elm.swallow.icon";
556 target: "elm.rect.icon.bottom.pad";
560 signal: "elm,state,icon,hidden";
562 action: STATE_SET "default" 0.0;
563 target: "elm.rect.icon.top.pad";
564 target: "elm.swallow.icon";
565 target: "elm.rect.icon.bottom.pad";
570 group { name: "elm/layout/bubble/readmessage/default";
575 description { state: "default" 0.0;
579 part { name: "elm.padding.left";
582 description { state: "default" 0.0;
583 min: GENLIST_PADDING_5_INC 0;
586 rel1.relative: 0.0 0.0;
589 to_y: "elm.padding.bottom";
594 part { name: "elm.swallow.select_icon";
598 description { state: "default" 0.0;
604 to_x: "elm.padding.left";
608 to_x: "elm.padding.left";
609 to_y: "elm.padding.bottom";
612 description { state: "selectview" 0.0;
613 inherit: "default" 0.0;
617 part { name: "elm.padding.icon1.right";
620 description { state: "default" 0.0;
621 min: GENLIST_PADDING_5_INC 0;
624 color: 0 255 255 255;
627 to_x: "elm.swallow.select_icon";
631 to_x: "elm.swallow.select_icon";
632 to_y: "elm.padding.bottom";
637 part { name: "elm.icon";
641 description { state: "default" 0.0;
644 to_y: "elm.padding.bottom";
647 description { state: "selectview" 0.0;
648 inherit: "default" 0.0;
652 to_x: "elm.padding.icon1.right";
656 to_y: "elm.padding.bottom";
660 part { name: "elm.padding.contents";
663 description { state: "default" 0.0;
667 rel1 { relative: 0.0 1.0; to_y: "elm.icon"; }
668 rel2 { relative: 1.0 1.0; to_y: "elm.icon"; }
671 part { name: "elm.swallow.icon1";
675 description { state: "default" 0.0;
676 min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
677 max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
681 rel1 { relative: 0.0223 1.00; to_y: "elm.padding.contents"; }
682 rel2 { relative: 0.0223 1.00; }
684 description { state: "contents_on" 0.0;
685 inherit: "default" 0.0;
689 part { name: "elm.swallow.icon2";
693 description { state: "default" 0.0;
694 min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
695 max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
699 rel1 { relative: 1.0 1.00; to_x: "elm.swallow.icon1"; to_y: "elm.padding.contents"; }
700 rel2 { relative: 1.0 1.00; }
702 description { state: "contents_on" 0.0;
703 inherit: "default" 0.0;
707 part { name: "elm.padding.bottom";
710 description { state: "default" 0.0;
711 min: 0 GENLIST_PADDING_24_INC;
714 rel1.relative: 0.0 1.0;
717 description { state: "contents_on" 0.0;
718 inherit: "default" 0.0;
719 min: 0 GENLIST_PADDING_88_INC;
722 part { name: "disclip";
724 description { state: "default" 0.0;
726 description { state: "disabled" 0.0;
727 inherit: "default" 0.0;
728 color: GENLIST_PART_DISCLIP_COLOR_INC;
733 program { name: "go_disabled";
734 signal: "elm,state,disabled";
736 action: STATE_SET "disabled" 0.0;
739 program { name: "go_enabled";
740 signal: "elm,state,enabled";
742 action: STATE_SET "default" 0.0;
745 program { name: "go_defaultview";
746 signal: "elm,state,select,disable";
748 action: STATE_SET "default" 0.0;
749 //transition: DECELERATE 0.7;
750 target: "elm.swallow.select_icon";
753 program { name: "go_selectview";
754 signal: "elm,state,select,enable";
756 action: STATE_SET "selectview" 0.0;
757 transition: DECELERATE 0.7;
758 target: "elm.swallow.select_icon";
761 program { name: "go_contents_on";
762 signal: "elm,state,contents,enabled";
764 action: STATE_SET "contents_on" 0.0;
765 target: "elm.swallow.icon1";
766 target: "elm.swallow.icon2";
767 target: "elm.padding.bottom";
769 program { name: "go_contents_off";
770 signal: "elm,state,contents,disabled";
772 action: STATE_SET "default" 0.0;
773 target: "elm.swallow.icon1";
774 target: "elm.swallow.icon2";
775 target: "elm.padding.bottom";
780 group { name: "elm/layout/bubble/sentmessage/default";
785 description { state: "default" 0.0;
789 part { name: "elm.padding.left";
792 description { state: "default" 0.0;
793 min: GENLIST_PADDING_5_INC 0;
796 rel1.relative: 0.0 0.0;
799 to_y: "elm.padding.bottom";
804 part { name: "elm.swallow.select_icon";
808 description { state: "default" 0.0;
814 to_x: "elm.padding.left";
818 to_x: "elm.padding.left";
819 to_y: "elm.padding.bottom";
822 description { state: "selectview" 0.0;
823 inherit: "default" 0.0;
827 part { name: "elm.padding.icon1.right";
830 description { state: "default" 0.0;
831 min: GENLIST_PADDING_5_INC 0;
834 color: 0 255 255 255;
837 to_x: "elm.swallow.select_icon";
841 to_x: "elm.swallow.select_icon";
842 to_y: "elm.padding.bottom";
847 part { name: "elm.icon";
851 description { state: "default" 0.0;
852 rel1.relative: 0.24 0.0; //to_y: "elm.rect.top.pad"; }
855 to_y: "elm.padding.bottom";
858 description { state: "selectview" 0.0;
859 inherit: "default" 0.0;
866 part { name: "elm.padding.contents";
869 description { state: "default" 0.0;
873 rel1 { relative: 0.0 1.0; to_y: "elm.icon"; }
874 rel2 { relative: 1.0 1.0; to_y: "elm.icon"; }
877 part { name: "elm.swallow.icon1";
881 description { state: "default" 0.0;
882 min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
883 max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
887 rel1 { relative: 0.0 1.00; to_x: "elm.swallow.icon2"; to_y: "elm.padding.contents"; }
888 rel2 { relative: 0.0 1.00; to_x: "elm.swallow.icon2"; }
890 description { state: "contents_on" 0.0;
891 inherit: "default" 0.0;
895 part { name: "elm.swallow.icon2";
899 description { state: "default" 0.0;
900 min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
901 max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
905 rel1 { relative: 0.9777 1.00; to_y: "elm.padding.contents"; }
906 rel2 { relative: 0.9777 1.00; }
908 description { state: "contents_on" 0.0;
909 inherit: "default" 0.0;
913 part { name: "elm.padding.bottom";
916 description { state: "default" 0.0;
917 min: 0 GENLIST_PADDING_24_INC;
920 rel1.relative: 0.0 1.0;
923 description { state: "contents_on" 0.0;
924 inherit: "default" 0.0;
925 min: 0 GENLIST_PADDING_88_INC;
928 part { name: "disclip";
930 description { state: "default" 0.0;
932 description { state: "disabled" 0.0;
933 inherit: "default" 0.0;
934 color: GENLIST_PART_DISCLIP_COLOR_INC;
939 program { name: "go_disabled";
940 signal: "elm,state,disabled";
942 action: STATE_SET "disabled" 0.0;
945 program { name: "go_enabled";
946 signal: "elm,state,enabled";
948 action: STATE_SET "default" 0.0;
951 program { name: "go_defaultview";
952 signal: "elm,state,select,disable";
954 action: STATE_SET "default" 0.0;
955 //transition: DECELERATE 0.7;
956 target: "elm.swallow.select_icon";
959 program { name: "go_selectview";
960 signal: "elm,state,select,enable";
962 action: STATE_SET "selectview" 0.0;
963 //transition: DECELERATE 0.7;
964 target: "elm.swallow.select_icon";
967 program { name: "go_contents_on";
968 signal: "elm,state,contents,enabled";
970 action: STATE_SET "contents_on" 0.0;
971 target: "elm.swallow.icon1";
972 target: "elm.swallow.icon2";
973 target: "elm.padding.bottom";
975 program { name: "go_contents_off";
976 signal: "elm,state,contents,disabled";
978 action: STATE_SET "default" 0.0;
979 target: "elm.swallow.icon1";
980 target: "elm.swallow.icon2";
981 target: "elm.padding.bottom";
986 group { name: "elm/layout/bubble/seperator/default";
991 description { state: "default" 0.0;
992 min: 0 GENLIST_PADDING_24_INC;