[Merge conflict fixed]
[profile/ivi/efl-theme-tizen.git] / themes / groups / entry.edc
1    group { name: "elm/entry/base/default";
2       data.item: "default_font_size" "24";
3       data.item: "min_font_size" "8";
4       data.item: "max_font_size" "60";
5       styles
6         {
7            style { name: "entry_textblock_style";
8               base: "font=SLP:style=Roman font_size=24 color=#000000 wrap=mixed";
9               tag:  "br" "\n";
10               tag:  "ps" "ps";
11               tag:  "tab" "\t";
12               tag:  "em" "+ font=SLP:style=Oblique";
13               tag:  "b" "+ font=SLP:style=Bold";
14               tag:  "link" "+ color=#800 underline=on underline_color=#8008";
15               tag:  "hilight" "+ font=SLP:style=Bold";
16               tag:  "preedit" "+ underline=on underline_color=#000000FF";
17               tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
18            }
19            style { name: "entry_textblock_disabled_style";
20               base: "font=SLP:style=Roman font_size=24 color=#00000080 wrap=mixed";
21               tag:  "br" "\n";
22               tag:  "ps" "ps";
23               tag:  "tab" "\t";
24               tag:  "em" "+ font=SLP:style=Oblique";
25               tag:  "b" "+ font=SLP:style=Bold";
26               tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
27               tag:  "hilight" "+ font=SLP:style=Bold";
28               tag:  "preedit" "+ underline=on underline_color=#000000FF";
29               tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
30            }
31         }
32       data {
33          item: context_menu_orientation "horizontal";
34       }
35       parts {
36          part { name: "entry.swallow.background";
37             type: SWALLOW;
38             description { state: "default" 0.0;
39                    visible: 1;
40                    rel1 { relative: 0 0; to: "elm.text"; }
41                    rel2 { relative: 1 1; to: "elm.text"; }
42                         }
43                 }
44       }
45       parts {
46          part { name: "elm.text";
47             type: TEXTBLOCK;
48             mouse_events: 1;
49             scale: 1;
50             entry_mode: EDITABLE;
51             select_mode: BLOCK_HANDLE;
52             //cursor_mode: BEFORE;
53             multiline: 1;
54             source: "elm/entry/selection/default"; // selection under
55             source2: "elm/entry/selection/block_handle"; // block handle
56             source3: "elm/entry/selection/block_handle_top"; // block handle
57             source4: "elm/entry/cursor/default"; // cursorover
58             source5: "elm/entry/anchor/default"; // anchor under
59 //          source6: "X"; // anchor over
60             description { state: "default" 0.0;
61                           fixed: 1 0;
62                text {
63                   style: "entry_textblock_style";
64                   min: 0 1;
65                }
66             }
67             description { state: "disabled" 0.0;
68                inherit: "default" 0.0;
69                text {
70                   style: "entry_textblock_disabled_style";
71                   min: 0 1;
72                }
73             }
74          }
75       }
76       programs {
77          program { name: "focus";
78             signal: "load";
79             source: "";
80             action: FOCUS_SET;
81             target: "elm.text";
82          }
83          program { name: "disable";
84             signal: "elm,state,disabled";
85             source: "elm";
86             action: STATE_SET "disabled" 0.0;
87             target: "elm.text";
88          }
89          program { name: "enable";
90             signal: "elm,state,enabled";
91             source: "elm";
92             action: STATE_SET "default" 0.0;
93             target: "elm.text";
94          }
95       }
96    }
97
98    group { name: "elm/entry/base/char_wrap";
99       data.item: "default_font_size" "24";
100       data.item: "min_font_size" "8";
101       data.item: "max_font_size" "60";
102       styles
103         {
104            style { name: "entry_textblock_char_wrap_style";
105               base: "font=SLP:style=Roman font_size=24 color=#000000 wrap=char";
106               tag:  "br" "\n";
107               tag:  "ps" "ps";
108               tag:  "tab" "\t";
109               tag:  "em" "+ font=SLP:style=Oblique";
110               tag:  "b" "+ font=SLP:style=Bold";
111               tag:  "link" "+ color=#800 underline=on underline_color=#8008";
112               tag:  "hilight" "+ font=SLP:style=Bold";
113               tag:  "preedit" "+ underline=on underline_color=#000000FF";
114               tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
115            }
116            style { name: "entry_textblock_char_wrap_disabled_style";
117               base: "font=SLP:style=Roman font_size=24 color=#00000080 wrap=char";
118               tag:  "br" "\n";
119               tag:  "ps" "ps";
120               tag:  "tab" "\t";
121               tag:  "em" "+ font=SLP:style=Oblique";
122               tag:  "b" "+ font=SLP:style=Bold";
123               tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
124               tag:  "hilight" "+ font=SLP:style=Bold";
125               tag:  "preedit" "+ underline=on underline_color=#000000FF";
126               tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
127            }
128         }
129       data {
130          item: context_menu_orientation "horizontal";
131       }
132       parts {
133          part { name: "entry.swallow.background";
134             type: SWALLOW;
135             description { state: "default" 0.0;
136                    visible: 1;
137                    rel1 { relative: 0 0; to: "elm.text"; }
138                    rel2 { relative: 1 1; to: "elm.text"; }
139                         }
140                 }
141       }
142       parts {
143          part { name: "elm.text";
144             type: TEXTBLOCK;
145             mouse_events: 1;
146             scale: 1;
147             entry_mode: EDITABLE;
148             select_mode: BLOCK_HANDLE;
149             //cursor_mode: BEFORE;
150             multiline: 1;
151             source: "elm/entry/selection/default"; // selection under
152             source2: "elm/entry/selection/block_handle"; // block handle
153             source3: "elm/entry/selection/block_handle_top"; // block handle
154             source4: "elm/entry/cursor/default"; // cursorover
155             source5: "elm/entry/anchor/default"; // anchor under
156 //          source6: "X"; // anchor over
157             description { state: "default" 0.0;
158                           fixed: 1 0;
159                text {
160                   style: "entry_textblock_char_wrap_style";
161                   min: 0 1;
162                }
163             }
164             description { state: "disabled" 0.0;
165                inherit: "default" 0.0;
166                text {
167                   style: "entry_textblock_char_wrap_disabled_style";
168                   min: 0 1;
169                }
170             }
171          }
172       }
173       programs {
174          program { name: "focus";
175             signal: "load";
176             source: "";
177             action: FOCUS_SET;
178             target: "elm.text";
179          }
180          program { name: "disable";
181             signal: "elm,state,disabled";
182             source: "elm";
183             action: STATE_SET "disabled" 0.0;
184             target: "elm.text";
185          }
186          program { name: "enable";
187             signal: "elm,state,enabled";
188             source: "elm";
189             action: STATE_SET "default" 0.0;
190             target: "elm.text";
191          }
192       }
193    }
194
195    group { name: "elm/entry/base-nowrap/default";
196       data.item: "default_font_size" "24";
197       data.item: "min_font_size" "8";
198       data.item: "max_font_size" "60";
199       data {
200          item: context_menu_orientation "horizontal";
201       }
202       parts {
203          part { name: "entry.swallow.background";
204             type: SWALLOW;
205             description { state: "default" 0.0;
206                    visible: 1;
207                    rel1 { relative: 0 0; to: "elm.text"; }
208                    rel2 { relative: 1 1; to: "elm.text"; }
209                         }
210             }
211       }
212       parts {
213          part { name: "elm.text";
214             type: TEXTBLOCK;
215             mouse_events: 1;
216             scale: 1;
217             entry_mode: EDITABLE;
218             select_mode: BLOCK_HANDLE;
219             //cursor_mode: BEFORE;
220             multiline: 1;
221             source: "elm/entry/selection/default"; // selection under
222             source2: "elm/entry/selection/block_handle"; // block handle
223             source3: "elm/entry/selection/block_handle_top"; // block handle
224             source4: "elm/entry/cursor/default"; // cursorover
225             source5: "elm/entry/anchor/default"; // anchor under
226             description { state: "default" 0.0;
227                text {
228                   style: "entry_textblock_style";
229                   min: 1 1;
230                }
231             }
232             description { state: "disabled" 0.0;
233                inherit: "default" 0.0;
234                text {
235                   style: "entry_textblock_disabled_style";
236                   min: 0 1;
237                }
238             }
239          }
240 /*
241          part { name: "sel";
242             type: RECT;
243             mouse_events: 0;
244             description { state: "default" 0.0;
245                align: 1.0 1.0;
246                max: 16 16;
247                aspect: 1.0 1.0;
248                color: 255 0 0 0;
249             }
250             description { state: "visible" 0.0;
251                inherit: "default" 0.0;
252                color: 255 0 0 50;
253             }
254          }
255  */
256       }
257       programs {
258          program { name: "focus";
259             signal: "load";
260             source: "";
261             action: FOCUS_SET;
262             target: "elm.text";
263          }
264          program { name: "disable";
265             signal: "elm,state,disabled";
266             source: "elm";
267             action: STATE_SET "disabled" 0.0;
268             target: "elm.text";
269          }
270          program { name: "enable";
271             signal: "elm,state,enabled";
272             source: "elm";
273             action: STATE_SET "default" 0.0;
274             target: "elm.text";
275          }
276 /*
277          program { name: "selmode0";
278             signal: "elm,state,select,on";
279             source: "elm";
280             action: STATE_SET "visible" 0.0;
281             target: "sel";
282          }
283          program { name: "selmode1";
284             signal: "elm,state,select,off";
285             source: "elm";
286             action: STATE_SET "default" 0.0;
287             target: "sel";
288          }
289  */
290       }
291    }
292
293         group { name: "elm/entry/base/editfield";
294                 alias: "elm/entry/base/editfield/default";
295                 alias: "elm/entry/base/editfield/lighting";
296                 alias: "elm/entry/base/editfield/multiline";
297                 alias: "elm/entry/base/editfield/multiline/default";
298                 alias: "elm/entry/base/editfield/multiline/lighting";
299
300                 data.item: "default_font_size" "24";
301                 data.item: "min_font_size" "8";
302                 data.item: "max_font_size" "60";
303
304                 styles
305                 {
306                         style { name: "editfield_textblock_style";
307                                 base: "font=SLP:style=Roman font_size=32 color=#000000 wrap=mixed";
308                                 tag:  "br" "\n";
309                                 tag:  "ps" "ps";
310                                 tag:  "tab" "\t";
311                                 tag:  "em" "+ font=SLP:style=Oblique";
312                                 tag:  "b" "+ font=SLP:style=Bold";
313                                 tag:  "link" "+ color=#800 underline=on underline_color=#8008";
314                                 tag:  "hilight" "+ font=SLP:style=Bold";
315                                 tag:  "preedit" "+ underline=on underline_color=#000000FF";
316                                 tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
317                         }
318                         style { name: "editfield_textblock_disabled_style";
319                                 base: "font=SLP:style=Roman font_size=32 color=#00000080 wrap=mixed linesize=44";
320                                 tag:  "br" "\n";
321                                 tag:  "ps" "ps";
322                                 tag:  "tab" "\t";
323                                 tag:  "em" "+ font=SLP:style=Oblique";
324                                 tag:  "b" "+ font=SLP:style=Bold";
325                                 tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
326                                 tag:  "hilight" "+ font=SLP:style=Bold";
327                                 tag:  "preedit" "+ underline=on underline_color=#000000FF";
328                                 tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
329                         }
330                 }
331       data {
332          item: context_menu_orientation "horizontal";
333       }
334       parts {
335          part { name: "entry.swallow.background";
336             type: SWALLOW;
337             description { state: "default" 0.0;
338                    visible: 1;
339                    rel1 { relative: 0 0; to: "elm.text"; }
340                    rel2 { relative: 1 1; to: "elm.text"; }
341                         }
342                 }
343       }
344                 parts {
345                         part { name: "elm.text";
346                                 type: TEXTBLOCK;
347                                 mouse_events: 1;
348                                 scale: 1;
349                                 entry_mode: EDITABLE;
350                                 select_mode: BLOCK_HANDLE;
351                                 //cursor_mode: BEFORE;
352                                 multiline: 1;
353                                 source: "elm/entry/selection/default"; // selection under
354                                 source2: "elm/entry/selection/block_handle"; // block handle
355                                 source3: "elm/entry/selection/block_handle_top"; // block handle
356                                 source4: "elm/entry/cursor/default"; // cursorover
357                                 source5: "elm/entry/anchor/default"; // anchor under
358                                 //source6: "X"; // anchor over
359                                 description { state: "default" 0.0;
360                                         fixed: 1 0;
361                                         text {
362                                                 style: "editfield_textblock_style";
363                                                 min: 0 1;
364                                         }
365                                 }
366                                 description { state: "disabled" 0.0;
367                                         inherit: "default" 0.0;
368                                         text {
369                                                 style: "editfield_textblock_disabled_style";
370                                                 min: 0 1;
371                                         }
372                                 }
373                         }
374                 }
375                 programs {
376                         program { name: "focus";
377                                 signal: "load";
378                                 source: "";
379                                 action: FOCUS_SET;
380                                 target: "elm.text";
381                         }
382                         program { name: "disable";
383                                 signal: "elm,state,disabled";
384                                 source: "elm";
385                                 action: STATE_SET "disabled" 0.0;
386                                 target: "elm.text";
387                         }
388                         program { name: "enable";
389                                 signal: "elm,state,enabled";
390                                 source: "elm";
391                                 action: STATE_SET "default" 0.0;
392                                 target: "elm.text";
393                         }
394                 }
395         }
396
397         group { name: "elm/entry/base/editfield/char_wrap";
398                 alias: "elm/entry/base/editfield/default/char_wrap";
399                 alias: "elm/entry/base/editfield/lighting/char_wrap";
400                 alias: "elm/entry/base/editfield/multiline/char_wrap";
401                 alias: "elm/entry/base/editfield/multiline/default/char_wrap";
402                 alias: "elm/entry/base/editfield/multiline/lighting/char_wrap";
403
404                 data.item: "default_font_size" "24";
405                 data.item: "min_font_size" "8";
406                 data.item: "max_font_size" "60";
407
408                 styles
409                 {
410                         style { name: "editfield_textblock_char_wrap_style";
411                                 base: "font=SLP:style=Roman font_size=32 color=#000000 wrap=char";
412                                 tag:  "br" "\n";
413                                 tag:  "ps" "ps";
414                                 tag:  "tab" "\t";
415                                 tag:  "em" "+ font=SLP:style=Oblique";
416                                 tag:  "b" "+ font=SLP:style=Bold";
417                                 tag:  "link" "+ color=#800 underline=on underline_color=#8008";
418                                 tag:  "hilight" "+ font=SLP:style=Bold";
419                                 tag:  "preedit" "+ underline=on underline_color=#000000FF";
420                                 tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
421                         }
422                         style { name: "editfield_textblock_char_wrap_disabled_style";
423                                 base: "font=SLP:style=Roman font_size=32 color=#00000080 wrap=char linesize=44";
424                                 tag:  "br" "\n";
425                                 tag:  "ps" "ps";
426                                 tag:  "tab" "\t";
427                                 tag:  "em" "+ font=SLP:style=Oblique";
428                                 tag:  "b" "+ font=SLP:style=Bold";
429                                 tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
430                                 tag:  "hilight" "+ font=SLP:style=Bold";
431                                 tag:  "preedit" "+ underline=on underline_color=#000000FF";
432                                 tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
433                         }
434                 }
435       data {
436          item: context_menu_orientation "horizontal";
437       }
438       parts {
439          part { name: "entry.swallow.background";
440             type: SWALLOW;
441             description { state: "default" 0.0;
442                    visible: 1;
443                    rel1 { relative: 0 0; to: "elm.text"; }
444                    rel2 { relative: 1 1; to: "elm.text"; }
445                         }
446                 }
447       }
448                 parts {
449                         part { name: "elm.text";
450                                 type: TEXTBLOCK;
451                                 mouse_events: 1;
452                                 scale: 1;
453                                 entry_mode: EDITABLE;
454                                 select_mode: BLOCK_HANDLE;
455                                 //cursor_mode: BEFORE;
456                                 multiline: 1;
457                                 source: "elm/entry/selection/default"; // selection under
458                                 source2: "elm/entry/selection/block_handle"; // block handle
459                                 source3: "elm/entry/selection/block_handle_top"; // block handle
460                                 source4: "elm/entry/cursor/default"; // cursorover
461                                 source5: "elm/entry/anchor/default"; // anchor under
462                                 //source6: "X"; // anchor over
463                                 description { state: "default" 0.0;
464                                         fixed: 1 0;
465                                         text {
466                                                 style: "editfield_textblock_char_wrap_style";
467                                                 min: 0 1;
468                                         }
469                                 }
470                                 description { state: "disabled" 0.0;
471                                         inherit: "default" 0.0;
472                                         text {
473                                                 style: "editfield_textblock_char_wrap_disabled_style";
474                                                 min: 0 1;
475                                         }
476                                 }
477                         }
478                 }
479                 programs {
480                         program { name: "focus";
481                                 signal: "load";
482                                 source: "";
483                                 action: FOCUS_SET;
484                                 target: "elm.text";
485                         }
486                         program { name: "disable";
487                                 signal: "elm,state,disabled";
488                                 source: "elm";
489                                 action: STATE_SET "disabled" 0.0;
490                                 target: "elm.text";
491                         }
492                         program { name: "enable";
493                                 signal: "elm,state,enabled";
494                                 source: "elm";
495                                 action: STATE_SET "default" 0.0;
496                                 target: "elm.text";
497                         }
498                 }
499         }
500
501         group { name: "elm/entry/base-single/editfield";
502                 alias: "elm/entry/base-single/editfield/default";
503                 alias: "elm/entry/base-single/editfield/lighting";
504                 alias: "elm/entry/base-single/editfield/singleline";
505                 alias: "elm/entry/base-single/editfield/singleline/default";
506                 alias: "elm/entry/base-single/editfield/singleline/lighting";
507
508                 data.item: "default_font_size" "24";
509                 data.item: "min_font_size" "8";
510                 data.item: "max_font_size" "60";
511
512                 styles
513                 {
514                         style { name: "editfield_single_textblock_style";
515                                 base: "font=SLP:style=Roman font_size=32 color=#000000 wrap=none";
516                                 tag:  "br" "\n";
517                                 tag:  "ps" "ps";
518                                 tag:  "tab" "\t";
519                                 tag:  "em" "+ font=SLP:style=Oblique";
520                                 tag:  "b" "+ font=SLP:style=Bold";
521                                 tag:  "link" "+ color=#800 underline=on underline_color=#8008";
522                                 tag:  "hilight" "+ font=SLP:style=Bold";
523                                 tag:  "preedit" "+ underline=on underline_color=#000000FF";
524                                 tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
525                         }
526                         style { name: "editfield_single_textblock_disabled_style";
527                             base: "font=SLP:style=Roman font_size=32 color=#00000080 wrap=none";
528                                 tag:  "br" "\n";
529                                 tag:  "ps" "ps";
530                                 tag:  "tab" "\t";
531                                 tag:  "em" "+ font=SLP:style=Oblique";
532                                 tag:  "b" "+ font=SLP:style=Bold";
533                                 tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
534                                 tag:  "hilight" "+ font=SLP:style=Bold";
535                                 tag:  "preedit" "+ underline=on underline_color=#000000FF";
536                                 tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
537                         }
538                 }
539       data {
540          item: context_menu_orientation "horizontal";
541       }
542       parts {
543          part { name: "entry.swallow.background";
544             type: SWALLOW;
545             description { state: "default" 0.0;
546                    visible: 1;
547                    rel1 { relative: 0 0; to: "elm.text"; }
548                    rel2 { relative: 1 1; to: "elm.text"; }
549                         }
550               }
551        }
552                 parts {
553                         part { name: "elm.text";
554                                 type: TEXTBLOCK;
555                                 mouse_events: 1;
556                                 scale: 1;
557                                 entry_mode: EDITABLE;
558                                 select_mode: BLOCK_HANDLE;
559                                 //cursor_mode: BEFORE;
560                                 multiline: 0;
561                                 source: "elm/entry/selection/default"; // selection under
562                                 source2: "elm/entry/selection/block_handle"; // block handle
563                                 source3: "elm/entry/selection/block_handle_top"; // block handle
564                                 source4: "elm/entry/cursor/default"; // cursorover
565                                 source5: "elm/entry/anchor/default"; // anchor under
566                                 description { state: "default" 0.0;
567                                         text {
568                                                 style: "editfield_single_textblock_style";
569                                                 min: 1 1;
570                                                 max: 0 1;
571                                         }
572                                 }
573                                 description { state: "disabled" 0.0;
574                                         inherit: "default" 0.0;
575                                         text {
576                                                 style: "editfield_single_textblock_disabled_style";
577                                         }
578                                 }
579                         }
580                 }
581                 programs {
582                         program { name: "focus";
583                                 signal: "load";
584                                 source: "";
585                                 action: FOCUS_SET;
586                                 target: "elm.text";
587                         }
588                         program { name: "disable";
589                                 signal: "elm,state,disabled";
590                                 source: "elm";
591                                 action: STATE_SET "disabled" 0.0;
592                                 target: "elm.text";
593                         }
594                         program { name: "enable";
595                                 signal: "elm,state,enabled";
596                                 source: "elm";
597                                 action: STATE_SET "default" 0.0;
598                                 target: "elm.text";
599                         }
600                 }
601         }
602
603    group { name: "elm/entry/base-nowrap/default";
604       data.item: "default_font_size" "24";
605       data.item: "min_font_size" "8";
606       data.item: "max_font_size" "60";
607       data {
608          item: context_menu_orientation "horizontal";
609       }
610       parts {
611          part { name: "entry.swallow.background";
612             type: SWALLOW;
613             description { state: "default" 0.0;
614                    visible: 1;
615                    rel1 { relative: 0 0; to: "elm.text"; }
616                    rel2 { relative: 1 1; to: "elm.text"; }
617                         }
618               }
619       }
620       parts {
621          part { name: "elm.text";
622             type: TEXTBLOCK;
623             mouse_events: 1;
624             scale: 1;
625             entry_mode: EDITABLE;
626             select_mode: BLOCK_HANDLE;
627             //cursor_mode: BEFORE;
628             multiline: 1;
629             source: "elm/entry/selection/default"; // selection under
630             source2: "elm/entry/selection/block_handle"; // block handle
631             source3: "elm/entry/selection/block_handle_top"; // block handle
632             source4: "elm/entry/cursor/default"; // cursorover
633             source5: "elm/entry/anchor/default"; // anchor under
634             description { state: "default" 0.0;
635                text {
636                   style: "entry_textblock_style";
637                   min: 1 1;
638                }
639             }
640             description { state: "disabled" 0.0;
641                inherit: "default" 0.0;
642                text {
643                   style: "entry_textblock_disabled_style";
644                   min: 0 1;
645                }
646             }
647          }
648 /*
649          part { name: "sel";
650             type: RECT;
651             mouse_events: 0;
652             description { state: "default" 0.0;
653                align: 1.0 1.0;
654                max: 16 16;
655                aspect: 1.0 1.0;
656                color: 255 0 0 0;
657             }
658             description { state: "visible" 0.0;
659                inherit: "default" 0.0;
660                color: 255 0 0 50;
661             }
662          }
663  */
664       }
665       programs {
666          program { name: "focus";
667             signal: "load";
668             source: "";
669             action: FOCUS_SET;
670             target: "elm.text";
671          }
672          program { name: "disable";
673             signal: "elm,state,disabled";
674             source: "elm";
675             action: STATE_SET "disabled" 0.0;
676             target: "elm.text";
677          }
678          program { name: "enable";
679             signal: "elm,state,enabled";
680             source: "elm";
681             action: STATE_SET "default" 0.0;
682             target: "elm.text";
683          }
684 /*
685          program { name: "selmode0";
686             signal: "elm,state,select,on";
687             source: "elm";
688             action: STATE_SET "visible" 0.0;
689             target: "sel";
690          }
691          program { name: "selmode1";
692             signal: "elm,state,select,off";
693             source: "elm";
694             action: STATE_SET "default" 0.0;
695             target: "sel";
696          }
697  */
698
699       }
700    }
701
702    group { name: "elm/entry/base-single/default";
703       data.item: "default_font_size" "24";
704       data.item: "min_font_size" "8";
705       data.item: "max_font_size" "60";
706       styles
707         {
708            style { name: "entry_single_textblock_style";
709               base: "font=SLP:style=Roman font_size=24 color=#000000 wrap=none";
710               tag:  "br" "\n";
711               tag:  "ps" "ps";
712               tag:  "tab" "\t";
713               tag:  "em" "+ font=SLP:style=Oblique";
714               tag:  "b" "+ font=SLP:style=Bold";
715               tag:  "link" "+ color=#800 underline=on underline_color=#8008";
716               tag:  "hilight" "+ font=SLP:style=Bold";
717               tag:  "preedit" "+ underline=on underline_color=#000000FF";
718               tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
719            }
720            style { name: "entry_single_textblock_disabled_style";
721               base: "font=SLP:style=Roman font_size=24 color=#00000080 wrap=none";
722               tag:  "br" "\n";
723               tag:  "ps" "ps";
724               tag:  "tab" "\t";
725               tag:  "em" "+ font=SLP:style=Oblique";
726               tag:  "b" "+ font=SLP:style=Bold";
727               tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
728               tag:  "hilight" "+ font=SLP:style=Bold";
729               tag:  "preedit" "+ underline=on underline_color=#000000FF";
730               tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
731            }
732         }
733       data {
734          item: context_menu_orientation "horizontal";
735       }
736       parts {
737          part { name: "entry.swallow.background";
738             type: SWALLOW;
739             description { state: "default" 0.0;
740                    visible: 1;
741                    rel1 { relative: 0 0; to: "elm.text"; }
742                    rel2 { relative: 1 1; to: "elm.text"; }
743                         }
744               }
745       }
746       parts {
747          part { name: "elm.text";
748             type: TEXTBLOCK;
749             mouse_events: 1;
750             scale: 1;
751             entry_mode: EDITABLE;
752             select_mode: BLOCK_HANDLE;
753             //cursor_mode: BEFORE;
754             multiline: 0;
755             source: "elm/entry/selection/default"; // selection under
756             source2: "elm/entry/selection/block_handle"; // block handle
757             source3: "elm/entry/selection/block_handle_top"; // block handle
758             source4: "elm/entry/cursor/default"; // cursorover
759             source5: "elm/entry/anchor/default"; // anchor under
760             description { state: "default" 0.0;
761                text {
762                   style: "entry_single_textblock_style";
763                   min: 1 1;
764                   max: 0 1;
765                }
766             }
767             description { state: "disabled" 0.0;
768                inherit: "default" 0.0;
769                text {
770                   style: "entry_single_textblock_disabled_style";
771                }
772             }
773          }
774       }
775       programs {
776          program { name: "focus";
777             signal: "load";
778             source: "";
779             action: FOCUS_SET;
780             target: "elm.text";
781          }
782          program { name: "disable";
783             signal: "elm,state,disabled";
784             source: "elm";
785             action: STATE_SET "disabled" 0.0;
786             target: "elm.text";
787          }
788          program { name: "enable";
789             signal: "elm,state,enabled";
790             source: "elm";
791             action: STATE_SET "default" 0.0;
792             target: "elm.text";
793          }
794
795       }
796    }
797
798    group { name: "elm/entry/base-single-noedit/default";
799       data.item: "default_font_size" "24";
800       data.item: "min_font_size" "8";
801       data.item: "max_font_size" "60";
802       data {
803          item: context_menu_orientation "horizontal";
804       }
805       parts {
806          part { name: "entry.swallow.background";
807             type: SWALLOW;
808             description { state: "default" 0.0;
809                    visible: 1;
810                    rel1 { relative: 0 0; to: "elm.text"; }
811                    rel2 { relative: 1 1; to: "elm.text"; }
812                         }
813               }
814       }
815       parts {
816          part { name: "elm.text";
817             type: TEXTBLOCK;
818             mouse_events: 1;
819             scale: 1;
820             entry_mode: PLAIN;
821             select_mode: BLOCK_HANDLE;
822             //cursor_mode: BEFORE;
823             multiline: 0;
824             source: "elm/entry/selection/default"; // selection under
825             source2: "elm/entry/selection/block_handle"; // block handle
826             source3: "elm/entry/selection/block_handle_top"; // block handle
827             source5: "elm/entry/anchor/default"; // anchor under
828             description { state: "default" 0.0;
829                text {
830                   style: "entry_single_textblock_style";
831                   min: 1 1;
832                   max: 0 1;
833                }
834             }
835             description { state: "disabled" 0.0;
836                inherit: "default" 0.0;
837                text {
838                   style: "entry_single_textblock_disabled_style";
839                }
840             }
841          }
842       }
843       programs {
844          program { name: "focus";
845             signal: "load";
846             source: "";
847             action: FOCUS_SET;
848             target: "elm.text";
849          }
850          program { name: "disable";
851             signal: "elm,state,disabled";
852             source: "elm";
853             action: STATE_SET "disabled" 0.0;
854             target: "elm.text";
855          }
856          program { name: "enable";
857             signal: "elm,state,enabled";
858             source: "elm";
859             action: STATE_SET "default" 0.0;
860             target: "elm.text";
861          }
862
863       }
864    }
865
866    group { name: "elm/entry/base-noedit/default";
867       data.item: "default_font_size" "24";
868       data.item: "min_font_size" "8";
869       data.item: "max_font_size" "60";
870       data {
871          item: context_menu_orientation "horizontal";
872       }
873       parts {
874          part { name: "entry.swallow.background";
875             type: SWALLOW;
876             description { state: "default" 0.0;
877                    visible: 1;
878                    rel1 { relative: 0 0; to: "elm.text"; }
879                    rel2 { relative: 1 1; to: "elm.text"; }
880                         }
881               }
882        }
883       parts {
884          part { name: "elm.text";
885             type: TEXTBLOCK;
886             mouse_events: 1;
887             scale: 1;
888             entry_mode: PLAIN;
889             select_mode: BLOCK_HANDLE;
890             //cursor_mode: BEFORE;
891             multiline: 1;
892             source: "elm/entry/selection/default"; // selection under
893             source2: "elm/entry/selection/block_handle"; // block handle
894             source3: "elm/entry/selection/block_handle_top"; // block handle
895             source5: "elm/entry/anchor/default"; // anchor under
896             description { state: "default" 0.0;
897                fixed: 1 0;
898                text {
899                   style: "entry_textblock_style";
900                   min: 0 1;
901                }
902             }
903             description { state: "disabled" 0.0;
904                inherit: "default" 0.0;
905                text {
906                   style: "entry_textblock_disabled_style";
907                }
908             }
909          }
910       }
911       programs {
912          program { name: "focus";
913             signal: "load";
914             source: "";
915             action: FOCUS_SET;
916             target: "elm.text";
917          }
918          program { name: "disable";
919             signal: "elm,state,disabled";
920             source: "elm";
921             action: STATE_SET "disabled" 0.0;
922             target: "elm.text";
923          }
924          program { name: "enable";
925             signal: "elm,state,enabled";
926             source: "elm";
927             action: STATE_SET "default" 0.0;
928             target: "elm.text";
929          }
930       }
931    }
932
933    group { name: "elm/entry/base-noedit-charwrap/default";
934       data.item: "default_font_size" "24";
935       data.item: "min_font_size" "8";
936       data.item: "max_font_size" "60";
937       data {
938          item: context_menu_orientation "horizontal";
939       }
940       parts {
941          part { name: "entry.swallow.background";
942             type: SWALLOW;
943             description { state: "default" 0.0;
944                    visible: 1;
945                    rel1 { relative: 0 0; to: "elm.text"; }
946                    rel2 { relative: 1 1; to: "elm.text"; }
947                         }
948               }
949        }
950       parts {
951          part { name: "elm.text";
952             type: TEXTBLOCK;
953             mouse_events: 1;
954             scale: 1;
955             entry_mode: PLAIN;
956             select_mode: BLOCK_HANDLE;
957             //cursor_mode: BEFORE;
958             multiline: 1;
959             source: "elm/entry/selection/default"; // selection under
960             source2: "elm/entry/selection/block_handle"; // block handle
961             source3: "elm/entry/selection/block_handle_top"; // block handle
962             source5: "elm/entry/anchor/default"; // anchor under
963             description { state: "default" 0.0;
964                fixed: 1 0;
965                text {
966                   style: "entry_textblock_style_charwrap";
967                   min: 0 1;
968                }
969             }
970             description { state: "disabled" 0.0;
971                inherit: "default" 0.0;
972                text {
973                   style: "entry_textblock_disabled_style_charwrap";
974                }
975             }
976          }
977       }
978       programs {
979          program { name: "focus";
980             signal: "load";
981             source: "";
982             action: FOCUS_SET;
983             target: "elm.text";
984          }
985          program { name: "disable";
986             signal: "elm,state,disabled";
987             source: "elm";
988             action: STATE_SET "disabled" 0.0;
989             target: "elm.text";
990          }
991          program { name: "enable";
992             signal: "elm,state,enabled";
993             source: "elm";
994             action: STATE_SET "default" 0.0;
995             target: "elm.text";
996          }
997       }
998    }
999
1000    group { name: "elm/entry/base-nowrap-noedit/default";
1001       data.item: "default_font_size" "24";
1002       data.item: "min_font_size" "8";
1003       data.item: "max_font_size" "60";
1004       data {
1005          item: context_menu_orientation "horizontal";
1006       }
1007       parts {
1008          part { name: "entry.swallow.background";
1009             type: SWALLOW;
1010             description { state: "default" 0.0;
1011                    visible: 1;
1012                    rel1 { relative: 0 0; to: "elm.text"; }
1013                    rel2 { relative: 1 1; to: "elm.text"; }
1014                         }
1015               }
1016        }
1017       parts {
1018          part { name: "elm.text";
1019             type: TEXTBLOCK;
1020             mouse_events: 1;
1021             scale: 1;
1022             entry_mode: PLAIN;
1023             select_mode: BLOCK_HANDLE;
1024             //cursor_mode: BEFORE;
1025             multiline: 1;
1026             source: "elm/entry/selection/default"; // selection under
1027             source2: "elm/entry/selection/block_handle"; // block handle
1028             source3: "elm/entry/selection/block_handle_top"; // block handle
1029             source5: "elm/entry/anchor/default"; // anchor under
1030             description { state: "default" 0.0;
1031                text {
1032                   style: "entry_textblock_style";
1033                   min: 1 1;
1034                }
1035             }
1036             description { state: "disabled" 0.0;
1037                inherit: "default" 0.0;
1038                text {
1039                   style: "entry_textblock_disabled_style";
1040                }
1041             }
1042          }
1043       }
1044       programs {
1045          program { name: "focus";
1046             signal: "load";
1047             source: "";
1048             action: FOCUS_SET;
1049             target: "elm.text";
1050          }
1051          program { name: "disable";
1052             signal: "elm,state,disabled";
1053             source: "elm";
1054             action: STATE_SET "disabled" 0.0;
1055             target: "elm.text";
1056          }
1057          program { name: "enable";
1058             signal: "elm,state,enabled";
1059             source: "elm";
1060             action: STATE_SET "default" 0.0;
1061             target: "elm.text";
1062          }
1063       }
1064    }
1065
1066   group { name: "elm/entry/base-password/default";
1067       data.item: "default_font_size" "24";
1068       data.item: "min_font_size" "8";
1069       data.item: "max_font_size" "60";
1070       data {
1071          item: context_menu_orientation "horizontal";
1072       }
1073       parts {
1074          part { name: "entry.swallow.background";
1075             type: SWALLOW;
1076             description { state: "default" 0.0;
1077                    visible: 1;
1078                    rel1 { relative: 0 0; to: "elm.text"; }
1079                    rel2 { relative: 1 1; to: "elm.text"; }
1080                         }
1081               }
1082        }
1083       parts {
1084          part { name: "elm.text";
1085             type: TEXTBLOCK;
1086             mouse_events: 1;
1087             scale: 1;
1088             entry_mode: PASSWORD;
1089             select_mode: BLOCK_HANDLE;
1090             //cursor_mode: BEFORE;
1091             multiline: 0;
1092             source: "elm/entry/selection/default"; // selection under
1093             source2: "elm/entry/selection/block_handle"; // block handle
1094             source3: "elm/entry/selection/block_handle_top"; // block handle
1095             source4: "elm/entry/cursor/default"; // cursorover
1096             source5: "elm/entry/anchor/default"; // anchor under
1097             description { state: "default" 0.0;
1098                text {
1099                   style: "entry_single_textblock_style";
1100                   repch: "*";
1101                   min: 1 1;
1102                   max: 0 1;
1103                }
1104             }
1105             description { state: "disabled" 0.0;
1106                inherit: "default" 0.0;
1107                text {
1108                   style: "entry_single_textblock_disabled_style";
1109                }
1110             }
1111          }
1112       }
1113       programs {
1114          program { name: "focus";
1115             signal: "load";
1116             source: "";
1117             action: FOCUS_SET;
1118             target: "elm.text";
1119          }
1120          program { name: "disable";
1121             signal: "elm,state,disabled";
1122             source: "elm";
1123             action: STATE_SET "disabled" 0.0;
1124             target: "elm.text";
1125          }
1126          program { name: "enable";
1127             signal: "elm,state,enabled";
1128             source: "elm";
1129             action: STATE_SET "default" 0.0;
1130             target: "elm.text";
1131          }
1132       }
1133    }
1134
1135 group { name: "elm/entry/base-password/popup";
1136    data.item: "default_font_size" "24";
1137    data.item: "min_font_size" "8";
1138    data.item: "max_font_size" "60";
1139    data {
1140       item: context_menu_orientation "horizontal";
1141    }
1142    parts {
1143       part { name: "entry.swallow.background";
1144          type: SWALLOW;
1145          description { state: "default" 0.0;
1146             visible: 1;
1147             rel1 { relative: 0 0; to: "elm.text"; }
1148             rel2 { relative: 1 1; to: "elm.text"; }
1149          }
1150       }
1151    }
1152    parts {
1153       part { name: "elm.text";
1154          type: TEXTBLOCK;
1155          mouse_events: 1;
1156          scale: 1;
1157          entry_mode: PASSWORD;
1158          select_mode: BLOCK_HANDLE;
1159          //cursor_mode: BEFORE;
1160          multiline: 0;
1161          source: "elm/entry/selection/default"; // selection under
1162          source2: "elm/entry/selection/block_handle"; // block handle
1163          source3: "elm/entry/selection/block_handle_top"; // block handle
1164          source4: "elm/entry/cursor/default"; // cursorover
1165          source5: "elm/entry/anchor/default"; // anchor under
1166          description { state: "default" 0.0;
1167             text {
1168                style: "entry_single_textblock_popup_style";
1169                repch: "*";
1170                min: 1 1;
1171                max: 0 1;
1172             }
1173          }
1174          description { state: "disabled" 0.0;
1175             inherit: "default" 0.0;
1176             text {
1177                style: "entry_single_textblock_disabled_popup_style";
1178             }
1179          }
1180       }
1181    }
1182    programs {
1183       program { name: "focus";
1184          signal: "load";
1185          source: "";
1186          action: FOCUS_SET;
1187          target: "elm.text";
1188       }
1189       program { name: "disable";
1190          signal: "elm,state,disabled";
1191          source: "elm";
1192          action: STATE_SET "disabled" 0.0;
1193          target: "elm.text";
1194       }
1195       program { name: "enable";
1196          signal: "elm,state,enabled";
1197          source: "elm";
1198          action: STATE_SET "default" 0.0;
1199          target: "elm.text";
1200       }
1201    }
1202 }
1203
1204   group { name: "elm/entry/custom-password/default";
1205           data.item: "default_font_size" "24";
1206       data.item: "min_font_size" "8";
1207       data.item: "max_font_size" "60";
1208       data {
1209          item: context_menu_orientation "horizontal";
1210       }
1211       parts {
1212          part { name: "elm.text";
1213             type: TEXTBLOCK;
1214             mouse_events: 1;
1215             scale: 1;
1216             entry_mode: PASSWORD_SHOW_LAST_CHARACTER;
1217             select_mode: BLOCK_HANDLE;
1218             multiline: 0;
1219                         source: "elm/entry/selection/default"; // selection under
1220                         source2: "elm/entry/selection/block_handle"; // block handle
1221                         source3: "elm/entry/selection/block_handle_top"; // block handle
1222             source4: "elm/entry/cursor/default"; // cursorover
1223             source5: "elm/entry/anchor/default"; // anchor under
1224             description { state: "default" 0.0;
1225                text {
1226                   style: "entry_single_textblock_style";
1227                   repch: "*";
1228                   min: 1 1;
1229                   max: 0 1;
1230                }
1231             }
1232             description { state: "disabled" 0.0;
1233                inherit: "default" 0.0;
1234                text {
1235                   style: "entry_single_textblock_disabled_style";
1236                }
1237             }
1238          }
1239       }
1240       programs {
1241          program { name: "focus";
1242             signal: "load";
1243             source: "";
1244             action: FOCUS_SET;
1245             target: "elm.text";
1246          }
1247          program { name: "password_stop"; 
1248             signal: "cursor,changed";
1249             source: "elm.text";
1250             action: ACTION_STOP;
1251             target: "password_start";
1252             after: "password_start";
1253          }
1254          program { name: "password_start";
1255             in: 2.0 0.0;
1256             action: HIDE_VISIBLE_PASSWORD;
1257             target: "elm.text";
1258          }
1259          program { name: "disable";
1260             signal: "elm,state,disabled";
1261             source: "elm";
1262             action: STATE_SET "disabled" 0.0;
1263             target: "elm.text";
1264          }
1265          program { name: "enable";
1266             signal: "elm,state,enabled";
1267             source: "elm";
1268             action: STATE_SET "default" 0.0;
1269             target: "elm.text";
1270          }
1271       }
1272    }
1273
1274 group { name: "elm/entry/custom-password/popup";
1275    styles {
1276       style { name: "entry_single_textblock_popup_style";
1277          base: "font=SLP:style=Roman font_size=24 align=center color=#000000 wrap=none";
1278          tag:  "br" "\n";
1279          tag:  "ps" "ps";
1280          tag:  "tab" "\t";
1281          tag:  "em" "+ font=SLP:style=Oblique";
1282          tag:  "b" "+ font=SLP:style=Bold";
1283          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
1284          tag:  "hilight" "+ font=SLP:style=Bold";
1285          tag:  "preedit" "+ underline=on underline_color=#000000FF";
1286          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
1287       }
1288       style { name: "entry_single_textblock_disabled_popup_style";
1289          base: "font=SLP:style=Roman font_size=24 align=center color=#00000080 wrap=none";
1290          tag:  "br" "\n";
1291          tag:  "ps" "ps";
1292          tag:  "tab" "\t";
1293          tag:  "em" "+ font=SLP:style=Oblique";
1294          tag:  "b" "+ font=SLP:style=Bold";
1295          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
1296          tag:  "hilight" "+ font=SLP:style=Bold";
1297          tag:  "preedit" "+ underline=on underline_color=#000000FF";
1298          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
1299       }
1300    }
1301    data.item: "default_font_size" "24";
1302    data.item: "min_font_size" "8";
1303    data.item: "max_font_size" "60";
1304    data {
1305       item: context_menu_orientation "horizontal";
1306    }
1307    parts {
1308       part { name: "elm.text";
1309          type: TEXTBLOCK;
1310          mouse_events: 1;
1311          scale: 1;
1312          entry_mode: PASSWORD_SHOW_LAST_CHARACTER;
1313          select_mode: BLOCK_HANDLE;
1314          multiline: 0;
1315          source: "elm/entry/selection/default"; // selection under
1316          source2: "elm/entry/selection/block_handle"; // block handle
1317          source3: "elm/entry/selection/block_handle_top"; // block handle
1318          source4: "elm/entry/cursor/default"; // cursorover
1319          source5: "elm/entry/anchor/default"; // anchor under
1320          description { state: "default" 0.0;
1321             text {
1322                style: "entry_single_textblock_popup_style";
1323                repch: "*";
1324                min: 1 1;
1325                max: 0 1;
1326             }
1327          }
1328          description { state: "disabled" 0.0;
1329             inherit: "default" 0.0;
1330             text {
1331                style: "entry_single_textblock_disabled_popup_style";
1332             }
1333          }
1334       }
1335    }
1336    programs {
1337       program { name: "focus";
1338          signal: "load";
1339          source: "";
1340          action: FOCUS_SET;
1341          target: "elm.text";
1342       }
1343       program { name: "password_stop";
1344          signal: "cursor,changed";
1345          source: "elm.text";
1346          action: ACTION_STOP;
1347          target: "password_start";
1348          after: "password_start";
1349       }
1350       program { name: "password_start";
1351          in: 1.0 0.0;
1352          action: HIDE_VISIBLE_PASSWORD;
1353          target: "elm.text";
1354       }
1355       program { name: "disable";
1356          signal: "elm,state,disabled";
1357          source: "elm";
1358          action: STATE_SET "disabled" 0.0;
1359          target: "elm.text";
1360       }
1361       program { name: "enable";
1362          signal: "elm,state,enabled";
1363          source: "elm";
1364          action: STATE_SET "default" 0.0;
1365          target: "elm.text";
1366       }
1367    }
1368 }
1369
1370         group { name: "elm/entry/cursor/default";
1371                 parts {
1372                         part { name: "clip2";
1373                                 type: RECT;
1374                                 mouse_events: 0;
1375                                 scale: 1;
1376                                 description { state: "default" 0.0;
1377                                         rel1.to: "clip";
1378                                         rel2.to: "clip";
1379                                 visible: 0;
1380                                 }
1381                                 description { state: "focused" 0.0;
1382                                         inherit: "default" 0.0;
1383                                         visible: 1;
1384                                 }
1385                         }
1386                         part { name: "clip";
1387                                 type: RECT;
1388                                 mouse_events: 0;
1389                                 scale: 1;
1390                                 clip_to: "clip2";
1391                                 description { state: "default" 0.0;
1392                                         rel1.offset: -10 0;
1393                                         rel2.offset: 9 9;
1394                                 }
1395                                 description { state: "hidden" 0.0;
1396                                         inherit: "default" 0.0;
1397                                         visible: 0;
1398                                 }
1399                         }
1400                         part { name: "base";
1401                                 mouse_events: 0;
1402                                 scale: 1;
1403                                 clip_to: "clip";
1404                                 description { state: "default" 0.0;
1405                                         min: 2 2;
1406                                         align: 0.5 1.0;
1407                                         color: 0 0 0 0;
1408                                 }
1409                         }
1410
1411                         part { name: "glow";
1412                                 type: RECT;
1413                                 mouse_events: 0;
1414                                 scale: 1;
1415                                 clip_to: "clip2";
1416                                 description { state: "default" 0.0;
1417                                         min: 4 0;
1418                                         fixed: 1 0;
1419                                         align: 0.5 0.5;
1420                                         rel1 {
1421                                                 relative: 0.0  0.0;
1422                                                 offset: 0 2;
1423                                         }
1424                                         rel2 {
1425                                                 relative: 0.0  1.0;
1426                                                 offset: 0 -2;
1427                                         }
1428                                         color: 229 134 22 255;
1429                                 }
1430                                 description { state: "hidden" 0.0;
1431                                         inherit: "default" 0.0;
1432                                         color: 0 0 0 0;
1433                                 }
1434                         }
1435                 }
1436                 programs {
1437                         program { name: "show";
1438                                 action: STATE_SET "hidden" 0.0;
1439                                 in: 0.6 0.0;
1440                                 target: "glow";
1441                                 after: "show4";
1442                         }
1443                         program { name: "show4";
1444                                 action: STATE_SET "default" 0.0;
1445                                 in: 0.6 0.0;
1446                                 target: "glow";
1447                                 after: "show";
1448                         }
1449                         program { name: "focused";
1450                                 signal: "elm,action,focus";
1451                                 source: "elm";
1452                                 action: STATE_SET "focused" 0.0;
1453                                 target: "clip2";
1454                                 after: "show4";
1455                         }
1456                         program { name: "unfocused";
1457                                 signal: "elm,action,unfocus";
1458                                 source: "elm";
1459                                 action: STATE_SET "default" 0.0;
1460                                 target: "clip2";
1461                                 after: "stop_glow";
1462                         }
1463                         program { name: "stop_glow";
1464                                 action: ACTION_STOP;
1465                                 target: "show";
1466                                 target: "show4";
1467                         }
1468                 }
1469         }
1470
1471
1472         group { name: "elm/entry/selection/default";
1473                 parts {
1474                         part { name: "bg";
1475                                 type: RECT;
1476                                 scale: 1;
1477                                 mouse_events: 0;
1478                                 description { state: "default" 0.0;
1479                                         color: 138 183 223 128;
1480                                 }
1481                         }
1482                 }
1483         }
1484
1485         group { name: "elm/entry/selection/block_handle";
1486         data.item: "position" "BOTH";
1487                 images {
1488                   image: "reader_handler_up.png" COMP;
1489                 }
1490                 parts {
1491                         part { name: "bg";
1492                                 type: RECT;
1493                                 scale: 1;
1494                                 mouse_events: 1;
1495                                 description { state: "default" 0.0;
1496                                         visible: 1;
1497                                         fixed: 1 1;
1498                                         align: 0.5 0.25;
1499                                         min: 50 80;
1500                                         color: 0 0 0 0;
1501                                 }
1502                         }
1503                         part { name: "handle";
1504                                 mouse_events: 1;
1505                                 scale: 1;
1506                                 description { state: "default" 0.0;
1507                                         visible: 0;
1508                                 fixed: 1 1;
1509                                         align: 0.5 0.0;
1510                                         min: 48 66;
1511                                         rel1 {
1512                                                 relative: 0.0 0.0;
1513                                                 offset: 0 0;
1514                                         }
1515                                         rel2 {
1516                                                 relative: 0.0 0.0;
1517                                                 offset: 0 0;
1518                                         }
1519                                         image {
1520                                                 normal: "reader_handler_up.png";
1521                                                 border: 0 0 0 0;
1522                                         }
1523                                         image.middle: SOLID;
1524                                         fill.smooth: 0;
1525                                 }
1526                                 description { state: "show" 0.0;
1527                                         inherit: "default" 0.0;
1528                                         visible: 1;
1529                                 }
1530                         }
1531                 }
1532                 programs {
1533                         program { name: "focused";
1534                                 signal: "elm,action,focus";
1535                                 source: "elm";
1536                                 action: STATE_SET "show" 0.0;
1537                                 target: "handle";
1538                         }
1539                         program { name: "unfocused";
1540                                 signal: "elm,action,unfocus";
1541                                 source: "elm";
1542                                 action: STATE_SET "default" 0.0;
1543                                 target: "handle";
1544                         }
1545                 }
1546         }
1547
1548         group { name: "elm/entry/selection/block_handle_top";
1549         data.item: "position" "BOTH";
1550                 images {
1551                   image: "reader_handler_down.png" COMP;
1552                 }
1553                 parts {
1554                         part { name: "bg";
1555                                 type: RECT;
1556                                 scale: 1;
1557                                 mouse_events: 1;
1558                                 description { state: "default" 0.0;
1559                                         visible: 1;
1560                                         fixed: 1 1;
1561                                         align: 0.5 0.75;
1562                                         min: 50 80;
1563                                         color: 0 0 0 0;
1564                                 }
1565                         }
1566                         part { name: "handle";
1567                                 mouse_events: 1;
1568                                 scale: 1;
1569                                 description { state: "default" 0.0;
1570                                         visible: 0;
1571                                 fixed: 1 1;
1572                                         align: 0.5 1.0;
1573                                         min: 48 66;
1574                                         rel1 {
1575                                                 relative: 0.0 0.0;
1576                                                 offset: 0 0;
1577                                         }
1578                                         rel2 {
1579                                                 relative: 0.0 0.0;
1580                                                 offset: 0 0;
1581                                         }
1582                                         image {
1583                                                 normal: "reader_handler_down.png";
1584                                                 border: 0 0 0 0;
1585                                         }
1586                                         image.middle: SOLID;
1587                                         fill.smooth: 0;
1588                                 }
1589                                 description { state: "show" 0.0;
1590                                         inherit: "default" 0.0;
1591                                         visible: 1;
1592                                 }
1593                         }
1594                 }
1595                 programs {
1596                         program { name: "focused";
1597                                 signal: "elm,action,focus";
1598                                 source: "elm";
1599                                 action: STATE_SET "show" 0.0;
1600                                 target: "handle";
1601                         }
1602                         program { name: "unfocused";
1603                                 signal: "elm,action,unfocus";
1604                                 source: "elm";
1605                                 action: STATE_SET "default" 0.0;
1606                                 target: "handle";
1607                         }
1608                 }
1609         }
1610
1611
1612         group { name: "elm/entry/selection/block_bar";
1613                 images {
1614                   image: "reader_longtap_blue.png" COMP;
1615                 }
1616                 parts {
1617                         part { name: "bar_bg";
1618                                 scale: 1;
1619                                 mouse_events: 0;
1620                                 description { state: "default" 0.0;
1621                                         visible: 0;
1622                                         image {
1623                                                 normal: "reader_longtap_blue.png";
1624                                                 border: 0 0 0 0;
1625                                         }
1626                                         image.middle: SOLID;
1627                                         fill.smooth: 0;
1628                                 }
1629                         }
1630                 }
1631         }
1632
1633
1634
1635         group { name: "elm/entry/anchor/default";
1636                 parts {
1637                         part { name: "bg";
1638                                 type: RECT;
1639                                 mouse_events: 0;
1640                                 description { state: "default" 0.0;
1641                                         color: 128 0 0 64; 
1642                                 }
1643                         }
1644                 }
1645         }
1646
1647     group { name: "elm/entry/preedit/default";
1648         parts {
1649             part { name: "bg";
1650                 type: RECT;
1651                 mouse_events: 0;
1652                 description { state: "default" 0.0;
1653                     color: 128 128 128 255;
1654                 }
1655             }
1656         }
1657    }
1658
1659
1660 #define MAGNIFIER_HEIGHT 114
1661 #define MAGNIFIER_SCALE 1.2
1662
1663         group { name: "elm/entry/magnifier/fill-width";
1664                 data.item: "height" MAGNIFIER_HEIGHT;
1665                 data.item: "scale" MAGNIFIER_SCALE;
1666                 images {
1667                   image: "magnifier_noarrow.png" COMP;
1668                   image: "magnifier_noarrow_line.png" COMP;
1669                 }
1670                 parts {
1671                         part { name: "bg";
1672                                 mouse_events: 0;
1673                                 scale: 1;
1674                                 description { state: "default" 0.0;
1675                                         align: 0.5 0.0;
1676                                         rel1 { offset: -20 -10; }
1677                                         rel2 { offset: 22 15; }
1678                                         image {
1679                                                 normal: "magnifier_noarrow.png";
1680                                                 border: 25 25 35 25;
1681                                         }
1682                                         image.middle: SOLID;
1683                                         fill.smooth: 0;
1684                                 }
1685                         }
1686                         part { name: "swallow";
1687                                 type: SWALLOW;
1688                                 mouse_events: 0;
1689                                 scale: 1;
1690                                 description { state: "default" 0.0;
1691                                         align: 0.0 0.0;
1692                                         rel1 {
1693                                                 to: "bg";
1694                                                 offset: 18 18;
1695                                         }
1696                                         rel2 {
1697                                                 to: "bg";
1698                                                 offset: -20 -20;
1699                                         }
1700                                 }
1701                         }
1702                         part { name: "outline";
1703                                 mouse_events: 0;
1704                                 scale: 1;
1705                                 description { state: "default" 0.0;
1706                                         visible: 0;
1707                                         align: 0.0 0.0;
1708                                         rel1 { to: "bg"; offset: 0 0; }
1709                                         rel2 { to: "bg"; offset: -1 -1; }
1710                                         image {
1711                                                 normal: "magnifier_noarrow_line.png";
1712                                                 border: 25 25 35 25;
1713                                         }
1714                                         image.middle: SOLID;
1715                                         fill.smooth: 0;
1716                                 }
1717                         }
1718                 }
1719         }
1720
1721
1722         group { name: "elm/entry/magnifier/fixed-size";
1723                 data.item: "height" MAGNIFIER_HEIGHT;
1724                 data.item: "scale" MAGNIFIER_SCALE;
1725                 images {
1726                   image: "magnifier.png" COMP;
1727                   image: "magnifier_line.png" COMP;
1728                 }
1729                 parts {
1730                         part { name: "bg";
1731                                 mouse_events: 0;
1732                                 scale: 1;
1733                                 description { state: "default" 0.0;
1734                                 fixed: 1 1;
1735                                         min: 224 MAGNIFIER_HEIGHT;
1736                                         align: 0.5 0.0;
1737                                         image {
1738                                                 normal: "magnifier.png";
1739                                                 border: 25 25 35 25;
1740                                         }
1741                                         image.middle: SOLID;
1742                                         fill.smooth: 0;
1743                                 }
1744                         }
1745                         part { name: "swallow";
1746                                 type: SWALLOW;
1747                                 mouse_events: 0;
1748                                 scale: 1;
1749                                 description { state: "default" 0.0;
1750                                 fixed: 1 1;
1751                                         align: 0.0 0.0;
1752                                         rel1 {
1753                                                 to: "bg";
1754                                                 offset: 18 18;
1755                                         }
1756                                         rel2 {
1757                                                 to: "bg";
1758                                                 offset: -20 -20;
1759                                         }
1760                                 }
1761                         }
1762                         part { name: "outline";
1763                                 mouse_events: 0;
1764                                 scale: 1;
1765                                 description { state: "default" 0.0;
1766                                 fixed: 1 1;
1767                                         visible: 0;
1768                                         align: 0.0 0.0;
1769                                         rel1 { to: "bg"; offset: 0 0; }
1770                                         rel2 { to: "bg"; offset: -1 -1; }
1771                                         image {
1772                                                 normal: "magnifier_line.png";
1773                                                 border: 25 25 35 25;
1774                                         }
1775                                         image.middle: SOLID;
1776                                         fill.smooth: 0;
1777                                 }
1778                         }
1779                 }
1780         }
1781
1782         group { name: "elm/entry/matchlist/default";
1783                 data.item: "max_height" "230";
1784                 parts {
1785                         part { name: "base";
1786                                 type: RECT;
1787                                 scale : 1;
1788                                 mouse_events: 1;
1789                                 repeat_events: 1;
1790                                 description { state: "default" 0.0;
1791                                         color: 0 0 0 0;
1792                                         rel1 {
1793                                                 relative: 0.0 0.0;
1794                                                 offset: 0 20;
1795                                         }
1796                                         rel2 {
1797                                                 relative: 1.0 1.0;
1798                                                 offset: 0 20;
1799                                         }
1800                                 }
1801                         }
1802                         part { name: "elm.swallow.content";
1803                                 type: SWALLOW;
1804                                 description { state: "default" 0.0;
1805                                         align: 0.0 0.0;
1806                                         rel1 {
1807                                                 to: "base";
1808                                         }              
1809                                         rel2 {
1810                                                 to: "base";
1811                                         }              
1812                                 }
1813                         }
1814                 }
1815         } 
1816
1817 #define BUBBLE_EX_PAD 10
1818 #define BUBBLE_IX_PAD 14
1819 #define BUBBLE_Y_PAD 10
1820
1821    group { name: "elm/entry/base/readmessage";
1822       data.item: "default_font_size" "24";
1823       data.item: "min_font_size" "8";
1824       data.item: "max_font_size" "60";
1825       data {
1826          item: context_menu_orientation "horizontal";
1827       }
1828       parts {
1829          part {
1830             name: "elm.rect.left.pad";
1831             type: RECT;
1832             scale: 1;
1833             description {
1834                state: "default" 0.0;
1835                min: BUBBLE_EX_PAD 0;
1836                fixed: 1 0;
1837                align: 0.0 0.0;
1838                color: 0 0 0 0;
1839                rel2.relative: 0.0 1.0;
1840             }
1841          }
1842          part {
1843             name: "elm.rect.right.pad";
1844             type: RECT;
1845             scale: 1;
1846             description {
1847                state: "default" 0.0;
1848                min: BUBBLE_IX_PAD 0;
1849                fixed: 1 0;
1850                align: 0.0 0.0;
1851                color: 0 0 0 0;
1852                rel1 { relative: 1.0 0.0; to: "elm.text"; }
1853                rel2.to: "elm.text";
1854             }
1855          }
1856          part {
1857            name: "elm.rect.top.pad";
1858            type: RECT;
1859            scale: 1;
1860            description {
1861               state: "default" 0.0;
1862               min: 0 BUBBLE_Y_PAD;
1863               fixed: 0 1;
1864               align: 0.0 0.0;
1865               color: 0 0 0 0;
1866               rel2.relative: 1.0 0.0;
1867             }
1868          }
1869          part {
1870            name: "elm.rect.bottom.pad";
1871            type: RECT;
1872            scale: 1;
1873            description {
1874               state: "default" 0.0;
1875               min: 0 BUBBLE_Y_PAD;
1876               fixed: 0 1;
1877               align: 0.0 1.0;
1878               color: 0 0 0 0;
1879               rel1.relative: 0.0 1.0;
1880             }
1881          }
1882          part { 
1883             name: "elm.image.bg";
1884             type: IMAGE;
1885             scale: 1;
1886             description { 
1887                state: "default" 0.0;
1888                rel2.to_x: "elm.rect.right.pad";
1889                image {
1890                   normal: "07_message_bubble_readmessage.png";
1891                   border: 1 11 7 12;
1892                   border_scale: 1;
1893                }
1894             }
1895          }
1896          part { name: "elm.text";
1897             type: TEXTBLOCK;
1898             mouse_events: 1;
1899             scale: 1;
1900             entry_mode: EDITABLE;
1901             select_mode: BLOCK_HANDLE;
1902             //cursor_mode: BEFORE;
1903             multiline: 1;
1904             source: "elm/entry/selection/default"; // selection under
1905             source2: "elm/entry/selection/block_handle"; // block handle
1906             source3: "elm/entry/selection/block_handle_top"; // block handle
1907             source4: "elm/entry/cursor/default"; // cursorover
1908             source5: "elm/entry/anchor/default"; // anchor under
1909 //          source6: "X"; // anchor over
1910             description { state: "default" 0.0;
1911                fixed: 1 0;
1912                align: 0.0 0.0;
1913                rel1 { relative: 1.0 1.0; to: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
1914                rel2 { relative: 1.0 0.0; to_y: "elm.rect.bottom.pad"; }
1915                text {
1916                   style: "entry_textblock_style";
1917                   min: 0 1;
1918                   max: 1 0;
1919                }
1920             }
1921             description { state: "disabled" 0.0;
1922                inherit: "default" 0.0;
1923                text {
1924                   style: "entry_textblock_disabled_style";
1925                }
1926             }
1927          }
1928       }
1929       programs {
1930          program { name: "focus";
1931             signal: "load";
1932             source: "";
1933             action: FOCUS_SET;
1934             target: "elm.text";
1935          }
1936          program { name: "disable";
1937             signal: "elm,state,disabled";
1938             source: "elm";
1939             action: STATE_SET "disabled" 0.0;
1940             target: "elm.text";
1941          }
1942          program { name: "enable";
1943             signal: "elm,state,enabled";
1944             source: "elm";
1945             action: STATE_SET "default" 0.0;
1946             target: "elm.text";
1947          }
1948       }
1949    }
1950
1951    group { name: "elm/entry/base-noedit/readmessage";
1952       data.item: "default_font_size" "24";
1953       data.item: "min_font_size" "8";
1954       data.item: "max_font_size" "60";
1955       data {
1956          item: context_menu_orientation "horizontal";
1957       }
1958       parts {  
1959          part {
1960             name: "elm.rect.left.pad";
1961             type: RECT;
1962             scale: 1;
1963             description {
1964                state: "default" 0.0;
1965                min: BUBBLE_EX_PAD 0;
1966                fixed: 1 0;
1967                align: 0.0 0.0;
1968                color: 0 0 0 0;
1969                rel2.relative: 0.0 1.0;
1970             }
1971          }
1972          part {
1973             name: "elm.rect.right.pad";
1974             type: RECT;
1975             scale: 1;
1976             description {
1977                state: "default" 0.0;
1978                min: BUBBLE_IX_PAD 0;
1979                fixed: 1 0;
1980                align: 0.0 0.0;
1981                color: 0 0 0 0;
1982                rel1 { relative: 1.0 0.0; to: "elm.text"; }
1983                rel2.to: "elm.text";
1984             }
1985          }
1986          part {
1987            name: "elm.rect.top.pad";
1988            type: RECT;
1989            scale: 1;
1990            description {
1991               state: "default" 0.0;
1992               min: 0 BUBBLE_Y_PAD;
1993               fixed: 0 1;
1994               align: 0.0 0.0;
1995               color: 0 0 0 0;
1996               rel2.relative: 1.0 0.0;
1997            }
1998          }
1999          part {
2000            name: "elm.rect.bottom.pad";
2001            type: RECT;
2002            scale: 1;
2003            description {
2004               state: "default" 0.0;
2005               min: 0 BUBBLE_Y_PAD;
2006               fixed: 0 1;
2007               align: 0.0 1.0;
2008               color: 0 0 0 0;
2009               rel1.relative: 0.0 1.0;
2010            }
2011          }
2012          part { 
2013             name: "elm.image.bg";
2014             type: IMAGE;
2015             scale: 1;
2016             description { 
2017                state: "default" 0.0;
2018                rel2.to_x: "elm.rect.right.pad"; 
2019                image {
2020                   normal: "07_message_bubble_readmessage.png";
2021                   border: 1 11 7 12;
2022                   border_scale: 1;
2023                }
2024             }
2025          }
2026          part { name: "elm.text";
2027             type: TEXTBLOCK;
2028             mouse_events: 1;
2029             scale: 1;
2030             entry_mode: PLAIN;
2031             select_mode: BLOCK_HANDLE;
2032             //cursor_mode: BEFORE;
2033             multiline: 1;
2034             source: "elm/entry/selection/default"; // selection under
2035             source2: "elm/entry/selection/block_handle"; // block handle
2036             source3: "elm/entry/selection/block_handle_top"; // block handle
2037             source5: "elm/entry/anchor/default"; // anchor under
2038             description { state: "default" 0.0;
2039                fixed: 1 0;
2040                align: 0.0 0.0;
2041                rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
2042                rel2 { relative: 1.0 0.0; to_y: "elm.rect.bottom.pad"; }
2043                text {
2044                   style: "entry_textblock_style";
2045                   min: 0 1;
2046                   max: 1 0;
2047                }
2048             }
2049             description { state: "disabled" 0.0;
2050                inherit: "default" 0.0;
2051                text {
2052                   style: "entry_textblock_disabled_style";
2053                }
2054             }
2055          }
2056       }
2057       programs {
2058          program { name: "focus";
2059             signal: "load";
2060             source: "";
2061             action: FOCUS_SET;
2062             target: "elm.text";
2063          }
2064          program { name: "disable";
2065             signal: "elm,state,disabled";
2066             source: "elm";
2067             action: STATE_SET "disabled" 0.0;
2068             target: "elm.text";
2069          }
2070          program { name: "enable";
2071             signal: "elm,state,enabled";
2072             source: "elm";
2073             action: STATE_SET "default" 0.0;
2074             target: "elm.text";
2075          }
2076       }
2077    }
2078
2079    group { name: "elm/entry/base-noedit-charwrap/readmessage";
2080       data.item: "default_font_size" "24";
2081       data.item: "min_font_size" "8";
2082       data.item: "max_font_size" "60";
2083       data {
2084          item: context_menu_orientation "horizontal";
2085       }
2086       parts {
2087          part {
2088             name: "elm.rect.left.pad";
2089             type: RECT;
2090             scale: 1;
2091             description {
2092                state: "default" 0.0;
2093                min: BUBBLE_EX_PAD 0;
2094                fixed: 1 0;
2095                align: 0.0 0.0;
2096                color: 0 0 0 0;
2097                rel2.relative: 0.0 1.0;
2098             }
2099          }
2100          part {
2101             name: "elm.rect.right.pad";
2102             type: RECT;
2103             scale: 1;
2104             description {
2105                state: "default" 0.0;
2106                min: BUBBLE_IX_PAD 0;
2107                fixed: 1 0;
2108                align: 0.0 0.0;
2109                color: 0 0 0 0;
2110                rel1 { relative: 1.0 0.0; to_x: "elm.text"; }
2111                rel2.to_x: "elm.text";
2112             }
2113          }
2114          part {
2115            name: "elm.rect.top.pad";
2116            type: RECT;
2117            scale: 1;
2118            description {
2119               state: "default" 0.0;
2120               min: 0 BUBBLE_Y_PAD;
2121               fixed: 0 1;
2122               align: 0.0 0.0;
2123               color: 0 0 0 0;
2124               rel2.relative: 1.0 0.0;
2125            }
2126          }
2127          part {
2128            name: "elm.rect.bottom.pad";
2129            type: RECT;
2130            scale: 1;
2131            description {
2132               state: "default" 0.0;
2133               min: 0 BUBBLE_Y_PAD;
2134               fixed: 0 1;
2135               align: 0.0 1.0;
2136               color: 0 0 0 0;
2137               rel1.relative: 0.0 1.0;
2138            }
2139          }
2140          part { 
2141             name: "elm.image.bg";
2142             type: IMAGE;
2143             scale: 1;
2144             description { 
2145                state: "default" 0.0;
2146                rel2.to_x: "elm.rect.right.pad";
2147                image {
2148                   normal: "07_message_bubble_readmessage.png";
2149                   border: 1 11 7 12;
2150                   border_scale: 1;
2151                }
2152             }
2153          }
2154          part { name: "elm.text";
2155             type: TEXTBLOCK;
2156             mouse_events: 1;
2157             scale: 1;
2158             entry_mode: PLAIN;
2159             select_mode: BLOCK_HANDLE;
2160             //cursor_mode: BEFORE;
2161             multiline: 1;
2162             source: "elm/entry/selection/default"; // selection under
2163             source2: "elm/entry/selection/block_handle"; // block handle
2164             source3: "elm/entry/selection/block_handle_top"; // block handle
2165             source5: "elm/entry/anchor/default"; // anchor under
2166             description { state: "default" 0.0;
2167                fixed: 1 0;
2168                align: 0.0 0.0;
2169                rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
2170                rel2 { relative: 1.0 0.0; to_y: "elm.rect.bottom.pad"; }
2171                text {
2172                   style: "entry_textblock_style_charwrap";
2173                   min: 0 1;
2174                   max: 1 0;
2175                }
2176             }
2177             description { state: "disabled" 0.0;
2178                inherit: "default" 0.0;
2179                text {
2180                   style: "entry_textblock_disabled_style_charwrap";
2181                }
2182             }
2183          }
2184       }
2185       programs {
2186          program { name: "focus";
2187             signal: "load";
2188             source: "";
2189             action: FOCUS_SET;
2190             target: "elm.text";
2191          }
2192          program { name: "disable";
2193             signal: "elm,state,disabled";
2194             source: "elm";
2195             action: STATE_SET "disabled" 0.0;
2196             target: "elm.text";
2197          }
2198          program { name: "enable";
2199             signal: "elm,state,enabled";
2200             source: "elm";
2201             action: STATE_SET "default" 0.0;
2202             target: "elm.text";
2203          }
2204       }
2205    }
2206
2207    group { name: "elm/entry/base/sentmessage";
2208       data.item: "default_font_size" "24";
2209       data.item: "min_font_size" "8";
2210       data.item: "max_font_size" "60";
2211       data {
2212          item: context_menu_orientation "horizontal";
2213       }
2214       parts {
2215          part {
2216             name: "elm.rect.right.pad";
2217             type: RECT;
2218             scale: 1;
2219             description {
2220                state: "default" 0.0;
2221                min: BUBBLE_EX_PAD 0;
2222                fixed: 1 0;
2223                align: 1.0 0.0;
2224                color: 0 0 0 0;
2225                rel1.relative: 1.0 0.0;
2226             }
2227          }
2228          part {
2229             name: "elm.rect.left.pad";
2230             type: RECT;
2231             scale: 1;
2232             description {
2233                state: "default" 0.0;
2234                min: BUBBLE_IX_PAD 0;
2235                fixed: 1 0;
2236                align: 1.0 0.0;
2237                color: 0 0 0 0;
2238                rel1 { relative: 0.0 0.0; to: "elm.text"; }
2239                rel2 { relative: 0.0 1.0; to: "elm.text"; }
2240             }
2241          }
2242          part {
2243            name: "elm.rect.top.pad";
2244            type: RECT;
2245            scale: 1;
2246            description {
2247               state: "default" 0.0;
2248               min: 0 BUBBLE_Y_PAD;
2249               fixed: 0 1;
2250               align: 0.0 0.0;
2251               color: 0 0 0 0;
2252               rel2.relative: 1.0 0.0;
2253            }
2254          }
2255          part {
2256            name: "elm.rect.bottom.pad";
2257            type: RECT;
2258            scale: 1;
2259            description {
2260               state: "default" 0.0;
2261               min: 0 BUBBLE_Y_PAD;
2262               fixed: 0 1;
2263               align: 0.0 1.0;
2264               color: 0 0 0 0;
2265               rel1.relative: 0.0 1.0;
2266            }
2267          }
2268          part { 
2269             name: "elm.image.bg";
2270             type: IMAGE;
2271             scale: 1;
2272             description { 
2273                state: "default" 0.0;
2274                rel1.to_x: "elm.rect.left.pad";
2275                image {
2276                   normal: "07_message_bubble_sentmessage.png";
2277                   border: 11 1 7 12;
2278                   border_scale: 1;
2279                }
2280             }
2281          }
2282          part { name: "elm.text";
2283             type: TEXTBLOCK;
2284             mouse_events: 1;
2285             scale: 1;
2286             entry_mode: EDITABLE;
2287             select_mode: BLOCK_HANDLE;
2288             //cursor_mode: BEFORE;
2289             multiline: 1;
2290             source: "elm/entry/selection/default"; // selection under
2291             source2: "elm/entry/selection/block_handle"; // block handle
2292             source3: "elm/entry/selection/block_handle_top"; // block handle
2293             source4: "elm/entry/cursor/default"; // cursorover
2294             source5: "elm/entry/anchor/default"; // anchor under
2295 //          source6: "X"; // anchor over
2296             description { state: "default" 0.0;
2297                fixed: 1 0;
2298                align: 1.0 0.0;
2299                rel1 { relative: 0.0 1.0; to_y: "elm.rect.top.pad";}
2300                rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
2301                text {
2302                   style: "entry_textblock_style";
2303                   min: 0 1;
2304                   max: 1 0;
2305                }
2306             }
2307             description { state: "disabled" 0.0;
2308                inherit: "default" 0.0;
2309                text {
2310                   style: "entry_textblock_disabled_style";
2311                }
2312             }
2313          }
2314       }
2315       programs {
2316          program { name: "focus";
2317             signal: "load";
2318             source: "";
2319             action: FOCUS_SET;
2320             target: "elm.text";
2321          }
2322          program { name: "disable";
2323             signal: "elm,state,disabled";
2324             source: "elm";
2325             action: STATE_SET "disabled" 0.0;
2326             target: "elm.text";
2327          }
2328          program { name: "enable";
2329             signal: "elm,state,enabled";
2330             source: "elm";
2331             action: STATE_SET "default" 0.0;
2332             target: "elm.text";
2333          }
2334       }
2335    }
2336
2337    group { name: "elm/entry/base-noedit/sentmessage";
2338       data.item: "default_font_size" "24";
2339       data.item: "min_font_size" "8";
2340       data.item: "max_font_size" "60";
2341       data {
2342          item: context_menu_orientation "horizontal";
2343       }
2344       parts {  
2345          part {
2346             name: "elm.rect.right.pad";
2347             type: RECT;
2348             scale: 1;
2349             description {
2350                state: "default" 0.0;
2351                min: BUBBLE_EX_PAD 0;
2352                fixed: 1 0;
2353                align: 1.0 0.0;
2354                color: 0 0 0 0;
2355                rel1.relative: 1.0 0.0;
2356             }
2357          }
2358          part {
2359             name: "elm.rect.left.pad";
2360             type: RECT;
2361             scale: 1;
2362             description {
2363                state: "default" 0.0;
2364                min: BUBBLE_IX_PAD 0;
2365                fixed: 1 0;
2366                align: 1.0 0.0;
2367                color: 0 0 0 0;
2368                rel1 { relative: 0.0 0.0; to: "elm.text"; }
2369                rel2 { relative: 0.0 1.0; to: "elm.text"; }
2370             }
2371          }
2372          part {
2373            name: "elm.rect.top.pad";
2374            type: RECT;
2375            scale: 1;
2376            description {
2377               state: "default" 0.0;
2378               min: 0 BUBBLE_Y_PAD;
2379               fixed: 0 1;
2380               align: 0.0 0.0;
2381               color: 0 0 0 0;
2382               rel2.relative: 1.0 0.0;
2383            }
2384          }
2385          part {
2386            name: "elm.rect.bottom.pad";
2387            type: RECT;
2388            scale: 1;
2389            description {
2390               state: "default" 0.0;
2391               min: 0 BUBBLE_Y_PAD;
2392               fixed: 0 1;
2393               align: 0.0 1.0;
2394               color: 0 0 0 0;
2395               rel1.relative: 0.0 1.0;
2396            }
2397          }
2398          part { 
2399             name: "elm.image.bg";
2400             type: IMAGE;
2401             scale: 1;
2402             description { 
2403                state: "default" 0.0;
2404                rel1.to_x: "elm.rect.left.pad";
2405                image {
2406                   normal: "07_message_bubble_sentmessage.png";
2407                   border: 11 1 7 12;
2408                   border_scale: 1;
2409                }
2410             }
2411          }
2412          part { name: "elm.text";
2413             type: TEXTBLOCK;
2414             mouse_events: 1;
2415             scale: 1;
2416             entry_mode: PLAIN;
2417             select_mode: BLOCK_HANDLE;
2418             //cursor_mode: BEFORE;
2419             multiline: 1;
2420             source: "elm/entry/selection/default"; // selection under
2421             source2: "elm/entry/selection/block_handle"; // block handle
2422             source3: "elm/entry/selection/block_handle_top"; // block handle
2423             source5: "elm/entry/anchor/default"; // anchor under
2424             description { state: "default" 0.0;
2425                fixed: 1 0;
2426                align: 1.0 0.0;
2427                rel1 { relative: 0.0 1.0; to_y: "elm.rect.top.pad";}
2428                rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
2429                text {
2430                   style: "entry_textblock_style";
2431                   min: 0 1;
2432                   max: 1 0;
2433                }
2434             }
2435             description { state: "disabled" 0.0;
2436                inherit: "default" 0.0;
2437                text {
2438                   style: "entry_textblock_disabled_style";
2439                }
2440             }
2441          }
2442       }
2443       programs {
2444          program { name: "focus";
2445             signal: "load";
2446             source: "";
2447             action: FOCUS_SET;
2448             target: "elm.text";
2449          }
2450          program { name: "disable";
2451             signal: "elm,state,disabled";
2452             source: "elm";
2453             action: STATE_SET "disabled" 0.0;
2454             target: "elm.text";
2455          }
2456          program { name: "enable";
2457             signal: "elm,state,enabled";
2458             source: "elm";
2459             action: STATE_SET "default" 0.0;
2460             target: "elm.text";
2461          }
2462       }
2463    }
2464
2465    group { name: "elm/entry/base-noedit-charwrap/sentmessage";
2466       data.item: "default_font_size" "24";
2467       data.item: "min_font_size" "8";
2468       data.item: "max_font_size" "60";
2469       data {
2470          item: context_menu_orientation "horizontal";
2471       }
2472       parts {
2473          part {
2474             name: "elm.rect.right.pad";
2475             type: RECT;
2476             scale: 1;
2477             description {
2478                state: "default" 0.0;
2479                min: BUBBLE_EX_PAD 0;
2480                fixed: 1 0;
2481                align: 1.0 0.0;
2482                color: 0 0 0 0;
2483                rel1.relative: 1.0 0.0;
2484             }
2485          }
2486          part {
2487             name: "elm.rect.left.pad";
2488             type: RECT;
2489             scale: 1;
2490             description {
2491                state: "default" 0.0;
2492                min: BUBBLE_IX_PAD 0;
2493                fixed: 1 0;
2494                align: 1.0 0.0;
2495                color: 0 0 0 0;
2496                rel1 { relative: 0.0 0.0; to: "elm.text"; }
2497                rel2 { relative: 0.0 1.0; to: "elm.text"; }
2498             }
2499          }
2500          part {
2501            name: "elm.rect.top.pad";
2502            type: RECT;
2503            scale: 1;
2504            description {
2505               state: "default" 0.0;
2506               min: 0 BUBBLE_Y_PAD;
2507               fixed: 0 1;
2508               align: 0.0 0.0;
2509               color: 0 0 0 0;
2510               rel2.relative: 1.0 0.0;
2511            }
2512          }
2513          part {
2514            name: "elm.rect.bottom.pad";
2515            type: RECT;
2516            scale: 1;
2517            description {
2518               state: "default" 0.0;
2519               min: 0 BUBBLE_Y_PAD;
2520               fixed: 0 1;
2521               align: 0.0 1.0;
2522               color: 0 0 0 0;
2523               rel1.relative: 0.0 1.0;
2524            }
2525          }
2526          part { 
2527             name: "elm.image.bg";
2528             type: IMAGE;
2529             scale: 1;
2530             description { 
2531                state: "default" 0.0;
2532                rel1.to_x: "elm.rect.left.pad";
2533                image {
2534                   normal: "07_message_bubble_sentmessage.png";
2535                   border: 11 1 7 12;
2536                   border_scale: 1;
2537                }
2538             }
2539          }
2540          part { name: "elm.text";
2541             type: TEXTBLOCK;
2542             mouse_events: 1;
2543             scale: 1;
2544             entry_mode: PLAIN;
2545             select_mode: BLOCK_HANDLE;
2546             //cursor_mode: BEFORE;
2547             multiline: 1;
2548             source: "elm/entry/selection/default"; // selection under
2549             source2: "elm/entry/selection/block_handle"; // block handle
2550             source3: "elm/entry/selection/block_handle_top"; // block handle
2551             source5: "elm/entry/anchor/default"; // anchor under
2552             description { state: "default" 0.0;
2553                fixed: 1 0;
2554                align: 1.0 0.0;
2555                rel1 { relative: 0.0 1.0; to_y: "elm.rect.top.pad";}
2556                rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
2557                text {
2558                   style: "entry_textblock_style_charwrap";
2559                   min: 0 1;
2560                   max: 1 0;
2561                }
2562             }
2563             description { state: "disabled" 0.0;
2564                inherit: "default" 0.0;
2565                text {
2566                   style: "entry_textblock_disabled_style_charwrap";
2567                }
2568             }
2569          }
2570       }
2571       programs {
2572          program { name: "focus";
2573             signal: "load";
2574             source: "";
2575             action: FOCUS_SET;
2576             target: "elm.text";
2577          }
2578          program { name: "disable";
2579             signal: "elm,state,disabled";
2580             source: "elm";
2581             action: STATE_SET "disabled" 0.0;
2582             target: "elm.text";
2583          }
2584          program { name: "enable";
2585             signal: "elm,state,enabled";
2586             source: "elm";
2587             action: STATE_SET "default" 0.0;
2588             target: "elm.text";
2589          }
2590       }
2591    }
2592