1 #define ENTRY_SELECTION_BG_COLOR 90 123 138 127
2 #define ENTRY_BUBBLE_EX_PAD 46
3 #define ENTRY_BUBBLE_EX_CALLERID_PAD 140
4 #define ENTRY_BUBBLE_IX_PAD 20
5 #define ENTRY_BUBBLE_Y_PAD 15
6 #define ENTRY_BUBBLE_BOTTOM_PAD 22
7 #define ENTRY_BUBBLE_CALLERID_PAD 10
8 #define ENTRY_BUBBLE_CALLERID_WIDTH 84
9 #define ENTRY_BUBBLE_CALLERID_HEIGHT 84
10 #define ENTRY_SELECTION_BG_COLOR 90 123 138 127
11 #define ENTRY_BUBBLE_SENT_TEXT_COLOR "#000000"
12 #define ENTRY_BUBBLE_SENT_TEXT_SHADOW_STYLE "far_shadow,bottom"
13 #define ENTRY_BUBBLE_SENT_TEXT_SHADOW_COLOR "#ffffff7f"
14 #define ENTRY_BUBBLE_RECEV_TEXT_COLOR "#FFFFFF"
15 #define ENTRY_BUBBLE_RECEV_TEXT_SHADOW_STYLE "far_shadow,top"
16 #define ENTRY_BUBBLE_RECEV_TEXT_SHADOW_COLOR "#0000009f"
17 #define ENTRY_BUBBLE_TEXT_SIZE 38
20 image: "00_MessageBubble_BG_receive.png" COMP;
21 image: "00_MessageBubble_BG_send.png" COMP;
25 name: "elm/entry/selection/default";
33 color: ENTRY_SELECTION_BG_COLOR;
40 name: "elm/entry/anchor/default";
55 name: "entry_bubble_sent_textblock_style";
56 base: "font=SLP:style=Roman style="ENTRY_BUBBLE_SENT_TEXT_SHADOW_STYLE" shadow_color="ENTRY_BUBBLE_SENT_TEXT_SHADOW_COLOR" font_size="ENTRY_BUBBLE_TEXT_SIZE" color="ENTRY_BUBBLE_SENT_TEXT_COLOR" left_margin=1 right_margin=2 wrap=mixed text_class=bubble";
60 tag: "em" "+ font=SLP:style=Oblique";
61 tag: "b" "+ font=SLP:style=Bold";
62 tag: "link" "+ color=#800 underline=on underline_color=#8008";
63 tag: "hilight" "+ font=SLP:style=Bold";
66 name: "entry_bubble_receive_textblock_style";
67 base: "font=SLP:style=Roman style="ENTRY_BUBBLE_RECEV_TEXT_SHADOW_STYLE" shadow_color="ENTRY_BUBBLE_RECEV_TEXT_SHADOW_COLOR" font_size="ENTRY_BUBBLE_TEXT_SIZE" color="ENTRY_BUBBLE_RECEV_TEXT_COLOR" left_margin=1 right_margin=2 wrap=mixed text_class=bubble";
71 tag: "em" "+ font=SLP:style=Oblique";
72 tag: "b" "+ font=SLP:style=Bold";
73 tag: "link" "+ color=#800 underline=on underline_color=#8008";
74 tag: "hilight" "+ font=SLP:style=Bold";
77 name: "entry_textblock_disabled_style";
78 base: "font=SLP:style=Roman font_size="ENTRY_BUBBLE_TEXT_SIZE" color=#00000080 left_margin=1 right_margin=2 wrap=mixed text_class=bubble";
82 tag: "em" "+ font=SLP:style=Oblique";
83 tag: "b" "+ font=SLP:style=Bold";
84 tag: "link" "+ color=#00000080 underline=on underline_color=#00000080";
85 tag: "hilight" "+ font=SLP:style=Bold";
89 /* Entry's bubble style */
92 name: "elm/entry/base-noedit/readmessage/custom";
93 data.item: "default_font_size" "24";
94 data.item: "min_font_size" "8";
95 data.item: "max_font_size" "60";
97 item: context_menu_orientation "horizontal";
101 name: "elm.rect.left.pad";
105 state: "default" 0.0;
106 min: ENTRY_BUBBLE_EX_PAD 0;
110 rel2.relative: 0.0 1.0;
113 state: "callerid_on" 0.0;
114 inherit: "default" 0.0;
115 min: ENTRY_BUBBLE_EX_CALLERID_PAD 0;
119 name: "elm.rect.right.pad";
123 state: "default" 0.0;
124 min: ENTRY_BUBBLE_IX_PAD 0;
128 rel1 { relative: 1.0 0.0; to: "elm.text"; }
133 name: "elm.rect.top.pad";
137 state: "default" 0.0;
138 min: 0 ENTRY_BUBBLE_Y_PAD;
142 rel2.relative: 1.0 0.0;
146 name: "elm.rect.topleft.pad";
150 state: "default" 0.0;
151 min: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
152 max: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
159 name: "elm.rect.bottom.pad";
163 state: "default" 0.0;
164 min: 0 ENTRY_BUBBLE_BOTTOM_PAD;
168 rel1.relative: 0.0 1.0;
172 name: "elm.rect.bottomleft.pad";
176 state: "default" 0.0;
184 name: "elm.image.bg";
188 state: "default" 0.0;
189 rel2.to_x: "elm.rect.right.pad";
191 normal: "00_MessageBubble_BG_receive.png";
197 // it's temporary blocked for prepare entry's signal feature
200 name: "elm.text.subject";
204 state: "default" 0.0;
207 style: "entry_bubble_receive_textblock_style";
210 rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
211 rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
216 name: "elm.rect.subject.line";
220 state: "default" 0.0;
225 rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
226 rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
230 name: "elm.swallow.callerid";
234 state: "default" 0.0;
235 min: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT;
236 max: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT;
240 rel1 { relative: 0.0 0.0; to: "elm.rect.topleft.pad"; to_y: "elm.rect.topleft.pad"; }
241 rel2 { relative: 0.0 0.0; to_y: "elm.rect.bottom.pad"; }
244 state: "callerid_on" 0.0;
245 inherit: "default" 0.0;
250 name: "elm.rect.callerid.pad";
254 state: "default" 0.0;
255 min: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
256 max: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
260 rel1 { relative: 1.0 1.0; to: "elm.swallow.callerid"; to_y: "elm.rect.top.pad"; }
261 rel2 { relative: 1.0 0.0; to_y: "elm.rect.bottom.pad"; }
270 select_mode: BLOCK_HANDLE;
271 //cursor_mode: BEFORE;
274 state: "default" 0.0;
277 rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.subject.line"; }
278 rel2 { relative: 1.0 1.0; to_y: "elm.rect.subject.line"; }
281 style: "entry_bubble_receive_textblock_style";
287 state: "callerid_on" 0.0;
288 inherit: "default" 0.0;
289 rel1 { relative: 1.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.subject.line"; }
290 rel2 { relative: 1.0 1.0; to_y: "elm.rect.subject.line"; }
293 state: "disabled" 0.0;
294 inherit: "default" 0.0;
296 style: "entry_textblock_disabled_style";
301 name: "elm.rect.status.pad";
305 state: "default" 0.0;
310 rel1 { relative: 1.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
311 rel2 { relative: 1.0 1.0; to_y: "elm.rect.bottom.pad"; }
315 name: "elm.rect.time.pad";
319 state: "default" 0.0;
325 rel1.to: "elm.rect.status.pad";
326 rel2 { relative: 1.0 1.0; to_y: "elm.rect.bottom.pad"; }
330 name: "elm.text.status";
334 state: "default" 0.0;
338 font: "SLP:style=Roman";
341 text_class: "slp_roman";
344 color: 139 139 139 255;
345 rel1 { relative: 1.0 0.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
346 rel2 { relative: 1.0 0.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
349 state: "disabled" 0.0;
350 inherit: "default" 0.0;
355 name: "elm.text.time";
359 state: "default" 0.0;
363 font: "SLP:style=Roman";
366 text_class: "slp_roman";
369 color: 100 100 100 255;
370 rel1 { relative: 1.0 1.0; to_x: "elm.rect.time.pad"; to_y: "elm.rect.time.pad"; }
371 rel2 { relative: 1.0 1.0; to_x: "elm.rect.time.pad"; to_y: "elm.rect.time.pad"; }
374 state: "disabled" 0.0;
375 inherit: "default" 0.0;
380 name: "elm.swallow.icon1";
384 state: "default" 0.0;
390 rel1 { relative: 1.5 0.3; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
391 rel2 { relative: 1.0 0.3; to_y: "elm.rect.bottom.pad"; }
394 state: "enabled" 0.0;
395 inherit: "default" 0.0;
400 name: "elm.swallow.end";
404 state: "default" 0.0;
406 rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.text"; }
407 rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
421 signal: "elm,state,disabled";
423 action: STATE_SET "disabled" 0.0;
428 signal: "elm,state,enabled";
430 action: STATE_SET "default" 0.0;
434 name: "go_callerid_on";
435 signal: "elm,state,callerid,enabled";
437 action: STATE_SET "callerid_on" 0.0;
438 target: "elm.swallow.callerid";
442 name: "go_callerid_off";
443 signal: "elm,state,callerid,disabled";
445 action: STATE_SET "default" 0.0;
446 target: "elm.swallow.callerid";
450 name: "go_textstatus_on";
451 signal: "elm,state,text,status,enabled";
453 action: STATE_SET "default" 0.0;
454 target: "elm.text.time";
455 target: "elm.text.status";
456 after: "go_contentstatus_off";
459 name: "go_textstatus_off";
460 signal: "elm,state,text,status,disbled";
462 action: STATE_SET "disabled" 0.0;
463 target: "elm.text.time";
464 target: "elm.text.status";
467 name: "go_contentstatus_on";
468 signal: "elm,state,content,status,enabled";
470 action: STATE_SET "enabled" 0.0;
471 target: "elm.swallow.icon1";
472 after: "go_textstatus_off";
475 name: "go_contentstatus_off";
476 signal: "elm,state,content,status,disabled";
478 action: STATE_SET "default" 0.0;
479 target: "elm.swallow.icon1";
484 name: "elm/entry/base-noedit/sentmessage/custom";
485 data.item: "default_font_size" "24";
486 data.item: "min_font_size" "8";
487 data.item: "max_font_size" "60";
489 item: context_menu_orientation "horizontal";
493 name: "elm.rect.right.pad";
497 state: "default" 0.0;
498 min: ENTRY_BUBBLE_EX_PAD 0;
502 rel1.relative: 1.0 0.0;
505 state: "callerid_on" 0.0;
506 inherit: "default" 0.0;
507 min: ENTRY_BUBBLE_EX_CALLERID_PAD 0;
511 name: "elm.rect.left.pad";
515 state: "default" 0.0;
516 min: ENTRY_BUBBLE_IX_PAD 0;
520 rel1 { relative: 0.0 0.0; to: "elm.text"; }
521 rel2 { relative: 0.0 1.0; to: "elm.text"; }
525 name: "elm.rect.topright.pad";
529 state: "default" 0.0;
530 min: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
531 max: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
534 rel1.relative: 1.0 0.0;
538 name: "elm.rect.top.pad";
542 state: "default" 0.0;
543 min: 0 ENTRY_BUBBLE_Y_PAD;
547 rel2.relative: 1.0 0.0;
551 name: "elm.rect.bottom.pad";
555 state: "default" 0.0;
556 min: 0 ENTRY_BUBBLE_BOTTOM_PAD;
560 rel1.relative: 0.0 1.0;
564 name: "elm.rect.bottomright.pad";
568 state: "default" 0.0;
576 name: "elm.image.bg";
580 state: "default" 0.0;
581 rel1.to_x: "elm.rect.left.pad";
583 normal: "00_MessageBubble_BG_send.png";
589 // it's temporary blocked for prepare entry's signal feature
592 name: "elm.text.subject";
596 state: "default" 0.0;
599 style: "entry_bubble_sent_textblock_style";
602 rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
603 rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
608 name: "elm.rect.subject.line";
612 state: "default" 0.0;
617 rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
618 rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
622 name: "elm.swallow.callerid";
626 state: "default" 0.0;
627 min: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT;
628 max: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT;
631 rel1 { relative: 0.0 0.0; to_x: "elm.rect.topright.pad"; to_y: "elm.rect.topright.pad"; }
632 rel2 { relative: 0.0 0.0; to_x: "elm.rect.topright.pad"; to_y: "elm.rect.bottom.pad"; }
634 description { state: "callerid_on" 0.0;
635 inherit: "default" 0.0;
640 name: "elm.rect.callerid.pad";
644 state: "default" 0.0;
645 min: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
646 max: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
649 rel1 { relative: 0.0 1.0; to_x: "elm.swallow.callerid"; to_y: "elm.rect.topright.pad"; }
650 rel2 { relative: 0.0 1.0; to_x: "elm.swallow.callerid"; to_y: "elm.rect.bottom.pad"; }
653 part { name: "elm.text";
658 select_mode: BLOCK_HANDLE;
659 //cursor_mode: BEFORE;
662 state: "default" 0.0;
666 rel1 { relative: 0.0 1.0; to_y: "elm.rect.subject.line";}
667 rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.subject.line"; }
669 style: "entry_bubble_sent_textblock_style";
674 description { state: "callerid_on" 0.0;
675 inherit: "default" 0.0;
676 rel1 { relative: 0.0 1.0; to_y: "elm.rect.subject.line";}
677 rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.subject.line"; }
679 description { state: "disabled" 0.0;
680 inherit: "default" 0.0;
682 style: "entry_textblock_disabled_style";
687 name: "elm.rect.status.pad";
691 state: "default" 0.0;
696 rel1 { relative: 0.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
697 rel2 { relative: 0.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
701 name: "elm.rect.time.pad";
705 state: "default" 0.0;
711 rel1.to: "elm.rect.status.pad";
712 rel2 { relative: 0.0 1.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.bottom.pad"; }
715 part { name: "elm.text.status";
718 description { state: "default" 0.0;
722 font: "SLP:style=Roman";
725 text_class: "slp_roman";
728 color: 92 151 187 255;
729 rel1 { relative: 0.0 0.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
730 rel2 { relative: 0.0 0.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
732 description { state: "disabled" 0.0;
733 inherit: "default" 0.0;
737 part { name: "elm.text.time";
740 description { state: "default" 0.0;
744 font: "SLP:style=Roman";
747 text_class: "slp_roman";
750 color: 92 151 187 255;
751 rel1 { relative: 0.0 1.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.time.pad"; }
752 rel2 { relative: 0.0 1.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.time.pad"; }
754 description { state: "disabled" 0.0;
755 inherit: "default" 0.0;
760 name: "elm.swallow.icon1";
764 state: "default" 0.0;
770 rel1 { relative: -0.8 0.3; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
771 rel2 { relative: -0.8 0.3; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
773 description { state: "enabled" 0.0;
774 inherit: "default" 0.0;
779 name: "elm.swallow.end";
783 state: "default" 0.0;
785 rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.text"; }
786 rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
791 program { name: "go_callerid_on";
792 signal: "elm,state,callerid,enabled";
794 action: STATE_SET "callerid_on" 0.0;
795 target: "elm.swallow.callerid";
798 program { name: "go_callerid_off";
799 signal: "elm,state,callerid,disabled";
801 action: STATE_SET "default" 0.0;
802 target: "elm.swallow.callerid";
805 program { name: "go_textstatus_on";
806 signal: "elm,state,text,status,enabled";
808 action: STATE_SET "default" 0.0;
809 target: "elm.text.time";
810 target: "elm.text.status";
811 after: "go_contentstatus_off";
813 program { name: "go_textstatus_off";
814 signal: "elm,state,text,status,disbled";
816 action: STATE_SET "disabled" 0.0;
817 target: "elm.text.time";
818 target: "elm.text.status";
820 program { name: "go_contentstatus_on";
821 signal: "elm,state,content,status,enabled";
823 action: STATE_SET "enabled" 0.0;
824 target: "elm.swallow.icon1";
825 after: "go_textstatus_off";
827 program { name: "go_contentstatus_off";
828 signal: "elm,state,content,status,disabled";
830 action: STATE_SET "default" 0.0;
831 target: "elm.swallow.icon1";