Apply EFL migration of thread, common
[apps/core/preloaded/message-app.git] / common / data / msg_bubble_entry.edc
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
18
19 images {
20         image: "00_MessageBubble_BG_receive.png" COMP;
21         image: "00_MessageBubble_BG_send.png" COMP;
22 }
23
24 group {
25         name: "elm/entry/selection/default";
26         parts {
27                 part { name: "bg";
28                         type: RECT;
29                         scale: 1;
30                         mouse_events: 0;
31                         description {
32                                 state: "default" 0.0;
33                                 color: ENTRY_SELECTION_BG_COLOR;
34                         }
35                 }
36         }
37 }
38
39 group {
40         name: "elm/entry/anchor/default";
41         parts {
42                 part { name: "bg";
43                         type: RECT;
44                         mouse_events: 0;
45                         description {
46                                 state: "default" 0.0;
47                                 color: 0 0 0 0;
48                         }
49                 }
50         }
51 }
52
53 styles {
54         style {
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";
57                 tag:  "br" "\n";
58                 tag:  "ps" "ps";
59                 tag:  "tab" "\t";
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";
64         }
65         style {
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";
68                 tag:  "br" "\n";
69                 tag:  "ps" "ps";
70                 tag:  "tab" "\t";
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";
75         }
76         style {
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";
79                 tag:  "br" "\n";
80                 tag:  "ps" "ps";
81                 tag:  "tab" "\t";
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";
86         }
87 }
88
89 /* Entry's bubble style */
90
91 group {
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";
96         data {
97                 item: context_menu_orientation "horizontal";
98         }
99         parts {
100                 part {
101                         name: "elm.rect.left.pad";
102                         type: RECT;
103                         scale: 1;
104                         description {
105                                 state: "default" 0.0;
106                                 min: ENTRY_BUBBLE_EX_PAD 0;
107                                 fixed: 1 0;
108                                 align: 0.0 0.0;
109                                 color: 0 0 0 0;
110                                 rel2.relative: 0.0 1.0;
111                         }
112                         description {
113                                 state: "callerid_on" 0.0;
114                                 inherit: "default" 0.0;
115                                 min: ENTRY_BUBBLE_EX_CALLERID_PAD 0;
116                         }
117                 }
118                 part {
119                         name: "elm.rect.right.pad";
120                         type: RECT;
121                         scale: 1;
122                         description {
123                                 state: "default" 0.0;
124                                 min: ENTRY_BUBBLE_IX_PAD 0;
125                                 fixed: 1 0;
126                                 align: 0.0 0.0;
127                                 color: 0 0 0 0;
128                                 rel1 { relative: 1.0 0.0; to: "elm.text"; }
129                                 rel2.to: "elm.text";
130                         }
131                 }
132                 part {
133                         name: "elm.rect.top.pad";
134                         type: RECT;
135                         scale: 1;
136                         description {
137                                 state: "default" 0.0;
138                                 min: 0 ENTRY_BUBBLE_Y_PAD;
139                                 fixed: 0 1;
140                                 align: 0.0 0.0;
141                                 color: 0 0 0 0;
142                                 rel2.relative: 1.0 0.0;
143                         }
144                 }
145                 part {
146                         name: "elm.rect.topleft.pad";
147                         type: RECT;
148                         scale: 1;
149                         description {
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;
153                                 fixed: 1 1;
154                                 align: 0.0 0.0;
155                                 visible: 0;
156                         }
157                 }
158                 part {
159                         name: "elm.rect.bottom.pad";
160                         type: RECT;
161                         scale: 1;
162                         description {
163                                 state: "default" 0.0;
164                                 min: 0 ENTRY_BUBBLE_BOTTOM_PAD;
165                                 fixed: 0 1;
166                                 align: 0.0 1.0;
167                                 color: 0 0 0 0;
168                                 rel1.relative: 0.0 1.0;
169                         }
170                 }
171                 part {
172                         name: "elm.rect.bottomleft.pad";
173                         type: RECT;
174                         scale: 1;
175                         description {
176                                 state: "default" 0.0;
177                                 min: 94 2;
178                                 max: 94 2;
179                                 align: 0.0 1.0;
180                                 visible: 0;
181                         }
182                 }
183                 part {
184                         name: "elm.image.bg";
185                         type: IMAGE;
186                         scale: 1;
187                         description {
188                                 state: "default" 0.0;
189                                 rel2.to_x: "elm.rect.right.pad";
190                                 image {
191                                         normal: "00_MessageBubble_BG_receive.png";
192                                         border: 46 28 50 16;
193                                         border_scale: 1;
194                                 }
195                         }
196                 }
197                 // it's temporary blocked for prepare entry's signal feature
198                 /*
199                 part {
200                         name: "elm.text.subject";
201                         type: TEXTBLOCK;
202                         scale: 1;
203                         description {
204                                 state: "default" 0.0;
205                                 align: 0.0 0.0;
206                                 text {
207                                         style: "entry_bubble_receive_textblock_style";
208                                         min: 0 1;
209                                 }
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"; }
212                         }
213                 }
214          */
215                 part {
216                         name: "elm.rect.subject.line";
217                         type: RECT;
218                         scale: 1;
219                         description {
220                                 state: "default" 0.0;
221                                 visible: 0;
222                                 min: 0 1;
223                                 align: 0.0 0.0;
224                                 color: 0 0 0 255;
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"; }
227                         }
228                 }
229                 part {
230                         name: "elm.swallow.callerid";
231                         type: SWALLOW;
232                         scale: 1;
233                         description {
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;
237                                 fixed: 1 1;
238                                 align: 0.0 0.0;
239                                 visible: 0;
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"; }
242                         }
243                         description {
244                                 state: "callerid_on" 0.0;
245                                 inherit: "default" 0.0;
246                                 visible: 1;
247                         }
248                 }
249                 part {
250                         name: "elm.rect.callerid.pad";
251                         type: RECT;
252                         scale: 1;
253                         description {
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;
257                                 fixed: 1 1;
258                                 align: 0.0 0.0;
259                                 visible: 0;
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"; }
262                         }
263                 }
264                 part {
265                         name: "elm.text";
266                         type: TEXTBLOCK;
267                         mouse_events: 1;
268                         scale: 1;
269                         entry_mode: PLAIN;
270                         select_mode: BLOCK_HANDLE;
271                         //cursor_mode: BEFORE;
272                         multiline: 1;
273                         description {
274                                 state: "default" 0.0;
275                                 fixed: 1 0;
276                                 align: 0.0 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"; }
279                                 min: 200 0;
280                                 text {
281                                         style: "entry_bubble_receive_textblock_style";
282                                         min: 0 1;
283                                         max: 1 0;
284                                 }
285                         }
286                         description {
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"; }
291                         }
292                         description {
293                                 state: "disabled" 0.0;
294                                 inherit: "default" 0.0;
295                                 text {
296                                         style: "entry_textblock_disabled_style";
297                                 }
298                         }
299                 }
300                 part {
301                         name: "elm.rect.status.pad";
302                         type: RECT;
303                         scale: 1;
304                         description {
305                                 state: "default" 0.0;
306                                 min: 6 64;
307                                 fixed: 1 1;
308                                 align: 0.0 1.0;
309                                 visible: 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"; }
312                         }
313                 }
314                 part {
315                         name: "elm.rect.time.pad";
316                         type: RECT;
317                         scale: 1;
318                         description {
319                                 state: "default" 0.0;
320                                 min: 6 34;
321                                 max: 6 34;
322                                 fixed: 1 1;
323                                 align: 0.0 0.0;
324                                 visible: 0;
325                                 rel1.to: "elm.rect.status.pad";
326                                 rel2 { relative: 1.0 1.0; to_y: "elm.rect.bottom.pad"; }
327                         }
328                 }
329                 part {
330                         name: "elm.text.status";
331                         type: TEXT;
332                         scale: 1;
333                         description {
334                                 state: "default" 0.0;
335                                 align: 0.0 1.0;
336                                 fixed: 1 1;
337                                 text {
338                                         font: "SLP:style=Roman";
339                                         size: 28;
340                                         min: 1 0;
341                                         text_class: "slp_roman";
342                                 }
343                                 visible: 1;
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"; }
347                         }
348                         description {
349                                 state: "disabled" 0.0;
350                                 inherit: "default" 0.0;
351                                 visible: 0;
352                         }
353                 }
354                 part {
355                         name: "elm.text.time";
356                         type: TEXT;
357                         scale: 1;
358                         description {
359                                 state: "default" 0.0;
360                                 align: 0.0 0.0;
361                                 fixed: 1 1;
362                                 text {
363                                         font: "SLP:style=Roman";
364                                         size: 28;
365                                         min: 1 0;
366                                         text_class: "slp_roman";
367                                 }
368                                 visible: 1;
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"; }
372                         }
373                         description {
374                                 state: "disabled" 0.0;
375                                 inherit: "default" 0.0;
376                                 visible: 0;
377                         }
378                 }
379                 part {
380                         name: "elm.swallow.icon1";
381                         type: SWALLOW;
382                         scale: 1;
383                         description {
384                                 state: "default" 0.0;
385                                 min: 64 64;
386                                 max: 64 64;
387                                 fixed: 1 1;
388                                 align: 0.0 1.0;
389                                 visible: 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"; }
392                         }
393                         description {
394                                 state: "enabled" 0.0;
395                                 inherit: "default" 0.0;
396                                 visible: 1;
397                         }
398                 }
399                 part {
400                         name: "elm.swallow.end";
401                         type: SWALLOW;
402                         scale: 1;
403                         description {
404                                 state: "default" 0.0;
405                                 align: 0.0 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"; }
408                         }
409                 }
410         }
411         programs {
412                 program {
413                         name: "focus";
414                         signal: "load";
415                         source: "";
416                         action: FOCUS_SET;
417                         target: "elm.text";
418                 }
419                 program {
420                         name: "disable";
421                         signal: "elm,state,disabled";
422                         source: "elm";
423                         action: STATE_SET "disabled" 0.0;
424                         target: "elm.text";
425                 }
426                 program {
427                         name: "enable";
428                         signal: "elm,state,enabled";
429                         source: "elm";
430                         action: STATE_SET "default" 0.0;
431                         target: "elm.text";
432                 }
433                 program {
434                         name: "go_callerid_on";
435                         signal: "elm,state,callerid,enabled";
436                         source: "elm";
437                         action: STATE_SET "callerid_on" 0.0;
438                         target: "elm.swallow.callerid";
439                         target: "elm.text";
440                 }
441                 program {
442                         name: "go_callerid_off";
443                         signal: "elm,state,callerid,disabled";
444                         source: "elm";
445                         action: STATE_SET "default" 0.0;
446                         target: "elm.swallow.callerid";
447                         target: "elm.text";
448                 }
449                 program {
450                         name: "go_textstatus_on";
451                         signal: "elm,state,text,status,enabled";
452                         source: "elm";
453                         action: STATE_SET "default" 0.0;
454                         target: "elm.text.time";
455                         target: "elm.text.status";
456                         after: "go_contentstatus_off";
457                 }
458                 program {
459                         name: "go_textstatus_off";
460                         signal: "elm,state,text,status,disbled";
461                         source: "elm";
462                         action: STATE_SET "disabled" 0.0;
463                         target: "elm.text.time";
464                         target: "elm.text.status";
465                 }
466                 program {
467                         name: "go_contentstatus_on";
468                         signal: "elm,state,content,status,enabled";
469                         source: "elm";
470                         action: STATE_SET "enabled" 0.0;
471                         target: "elm.swallow.icon1";
472                         after: "go_textstatus_off";
473                 }
474                 program {
475                         name: "go_contentstatus_off";
476                         signal: "elm,state,content,status,disabled";
477                         source: "elm";
478                         action: STATE_SET "default" 0.0;
479                         target: "elm.swallow.icon1";
480                 }
481         }
482 }
483 group {
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";
488         data {
489                 item: context_menu_orientation "horizontal";
490         }
491         parts {
492                 part {
493                         name: "elm.rect.right.pad";
494                         type: RECT;
495                         scale: 1;
496                         description {
497                                 state: "default" 0.0;
498                                 min: ENTRY_BUBBLE_EX_PAD 0;
499                                 fixed: 1 0;
500                                 align: 1.0 0.0;
501                                 color: 0 0 0 0;
502                                 rel1.relative: 1.0 0.0;
503                         }
504                         description {
505                                 state: "callerid_on" 0.0;
506                                 inherit: "default" 0.0;
507                                 min: ENTRY_BUBBLE_EX_CALLERID_PAD 0;
508                         }
509                 }
510                 part {
511                         name: "elm.rect.left.pad";
512                         type: RECT;
513                         scale: 1;
514                         description {
515                                 state: "default" 0.0;
516                                 min: ENTRY_BUBBLE_IX_PAD 0;
517                                 fixed: 1 0;
518                                 align: 1.0 0.0;
519                                 color: 0 0 0 0;
520                                 rel1 { relative: 0.0 0.0; to: "elm.text"; }
521                                 rel2 { relative: 0.0 1.0; to: "elm.text"; }
522                         }
523                 }
524                 part {
525                         name: "elm.rect.topright.pad";
526                         type: RECT;
527                         scale: 1;
528                         description {
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;
532                                 align: 1.0 0.0;
533                                 visible: 0;
534                                 rel1.relative: 1.0 0.0;
535                         }
536                 }
537                 part {
538                         name: "elm.rect.top.pad";
539                         type: RECT;
540                         scale: 1;
541                         description {
542                                 state: "default" 0.0;
543                                 min: 0 ENTRY_BUBBLE_Y_PAD;
544                                 fixed: 0 1;
545                                 align: 0.0 0.0;
546                                 color: 0 0 0 0;
547                                 rel2.relative: 1.0 0.0;
548                         }
549                 }
550                 part {
551                         name: "elm.rect.bottom.pad";
552                         type: RECT;
553                         scale: 1;
554                         description {
555                                 state: "default" 0.0;
556                                 min: 0 ENTRY_BUBBLE_BOTTOM_PAD;
557                                 fixed: 0 1;
558                                 align: 0.0 1.0;
559                                 color: 0 0 0 0;
560                                 rel1.relative: 0.0 1.0;
561                         }
562                 }
563                 part {
564                         name: "elm.rect.bottomright.pad";
565                         type: RECT;
566                         scale: 1;
567                         description {
568                                 state: "default" 0.0;
569                                 min: 94 2;
570                                 max: 94 2;
571                                 align: 1.0 1.0;
572                                 visible: 0;
573                         }
574                 }
575                 part {
576                         name: "elm.image.bg";
577                         type: IMAGE;
578                         scale: 1;
579                         description {
580                                 state: "default" 0.0;
581                                 rel1.to_x: "elm.rect.left.pad";
582                                 image {
583                                         normal: "00_MessageBubble_BG_send.png";
584                                         border: 20 46 50 16;
585                                         border_scale: 1;
586                                 }
587                         }
588                 }
589                 // it's temporary blocked for prepare entry's signal feature
590                 /*
591                 part {
592                         name: "elm.text.subject";
593                         type: TEXTBLOCK;
594                         scale: 1;
595                         description {
596                                 state: "default" 0.0;
597                                 align: 0.0 0.0;
598                                 text {
599                                         style: "entry_bubble_sent_textblock_style";
600                                         min: 0 1;
601                                 }
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"; }
604                         }
605                 }
606                 */
607          part {
608            name: "elm.rect.subject.line";
609            type: RECT;
610            scale: 1;
611            description {
612               state: "default" 0.0;
613               visible: 0;
614               min: 0 1;
615               align: 0.0 0.0;
616               color: 0 0 0 255;
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"; }
619            }
620          }
621          part {
622             name: "elm.swallow.callerid";
623             type: SWALLOW;
624             scale: 1;
625             description {
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;
629                align: 1.0 0.0;
630                visible: 0;
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"; }
633             }
634             description { state: "callerid_on" 0.0;
635                inherit: "default" 0.0;
636                visible: 1;
637             }
638          }
639          part {
640             name: "elm.rect.callerid.pad";
641             type: RECT;
642             scale: 1;
643             description {
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;
647                align: 1.0 0.0;
648                visible: 0;
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"; }
651             }
652          }
653          part { name: "elm.text";
654             type: TEXTBLOCK;
655             mouse_events: 1;
656             scale: 1;
657             entry_mode: PLAIN;
658             select_mode: BLOCK_HANDLE;
659             //cursor_mode: BEFORE;
660             multiline: 1;
661             description {
662                state: "default" 0.0;
663                 fixed: 1 0;
664                 min: 200 0;
665                align: 1.0 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"; }
668                text {
669                   style: "entry_bubble_sent_textblock_style";
670                   min: 0 1;
671                   max: 1 0;
672                }
673             }
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"; }
678             }
679             description { state: "disabled" 0.0;
680                inherit: "default" 0.0;
681                text {
682                   style: "entry_textblock_disabled_style";
683                }
684             }
685          }
686          part {
687             name: "elm.rect.status.pad";
688             type: RECT;
689             scale: 1;
690             description {
691                state: "default" 0.0;
692                min: 16 64;
693                fixed: 1 1;
694                align: 1.0 1.0;
695                visible: 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"; }
698             }
699          }
700          part {
701             name: "elm.rect.time.pad";
702             type: RECT;
703             scale: 1;
704             description {
705                state: "default" 0.0;
706                min: 16 34;
707                max: 16 34;
708                fixed: 1 1;
709                align: 0.0 0.0;
710                visible: 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"; }
713             }
714          }
715          part { name: "elm.text.status";
716             type: TEXT;
717             scale: 1;
718             description { state: "default" 0.0;
719                align: 1.0 1.0;
720                fixed: 1 1;
721                text {
722                   font: "SLP:style=Roman";
723                   size: 26;
724                   min: 1 0;
725                   text_class: "slp_roman";
726                }
727                visible: 1;
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"; }
731             }
732             description { state: "disabled" 0.0;
733                inherit: "default" 0.0;
734                visible: 0;
735             }
736          }
737          part { name: "elm.text.time";
738             type: TEXT;
739             scale: 1;
740             description { state: "default" 0.0;
741                align: 1.0 0.0;
742                fixed: 1 1;
743                text {
744                   font: "SLP:style=Roman";
745                   size: 26;
746                   min: 1 0;
747                   text_class: "slp_roman";
748                }
749                visible: 1;
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"; }
753             }
754             description { state: "disabled" 0.0;
755                inherit: "default" 0.0;
756                visible: 0;
757             }
758          }
759          part {
760             name: "elm.swallow.icon1";
761             type: SWALLOW;
762             scale: 1;
763             description {
764                state: "default" 0.0;
765                min: 64 64;
766                max: 64 64;
767                fixed: 1 1;
768                align: 1.0 1.0;
769                visible: 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"; }
772             }
773             description { state: "enabled" 0.0;
774                inherit: "default" 0.0;
775                visible: 1;
776             }
777          }
778         part {
779            name: "elm.swallow.end";
780            type: SWALLOW;
781            scale: 1;
782            description {
783               state: "default" 0.0;
784               align: 0.0 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"; }
787            }
788          }
789       }
790       programs {
791          program { name: "go_callerid_on";
792             signal: "elm,state,callerid,enabled";
793             source: "elm";
794             action: STATE_SET "callerid_on" 0.0;
795             target: "elm.swallow.callerid";
796             target: "elm.text";
797          }
798          program { name: "go_callerid_off";
799             signal: "elm,state,callerid,disabled";
800             source: "elm";
801             action: STATE_SET "default" 0.0;
802             target: "elm.swallow.callerid";
803             target: "elm.text";
804          }
805          program { name: "go_textstatus_on";
806             signal: "elm,state,text,status,enabled";
807             source: "elm";
808             action: STATE_SET "default" 0.0;
809             target: "elm.text.time";
810             target: "elm.text.status";
811             after: "go_contentstatus_off";
812          }
813          program { name: "go_textstatus_off";
814             signal: "elm,state,text,status,disbled";
815             source: "elm";
816             action: STATE_SET "disabled" 0.0;
817             target: "elm.text.time";
818             target: "elm.text.status";
819          }
820          program { name: "go_contentstatus_on";
821             signal: "elm,state,content,status,enabled";
822             source: "elm";
823             action: STATE_SET "enabled" 0.0;
824             target: "elm.swallow.icon1";
825             after: "go_textstatus_off";
826          }
827          program { name: "go_contentstatus_off";
828             signal: "elm,state,content,status,disabled";
829             source: "elm";
830             action: STATE_SET "default" 0.0;
831                 target: "elm.swallow.icon1";
832                 }
833         }
834 }