Added new winset styles (2.2.2.38-2.2.2.44) according to the GUI Guide 1.8
[profile/ivi/efl-theme-tizen.git] / themes / widgets / entry.edc
1 /*
2  * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved 
3  *
4  * PROPRIETARY/CONFIDENTIAL
5  *
6  * This software is the confidential and proprietary information of SAMSUNG
7  * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
8  * software is owned by Samsung and you shall not disclose such Confidential
9  * Information and shall use it only in accordance with the terms of the license
10  * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
11  * representations or warranties about the suitability of the software, either
12  * express or implied, including but not limited to the implied warranties of
13  * merchantability, fitness for a particular purpose, or non-infringement.
14  * SAMSUNG shall not be liable for any damages suffered by licensee arising out
15  * of or releated to this software.
16  *
17  */
18
19 //#define ENTRY_BLOCK_HANDLE_SOURCE2 "elm/entry/selection/block_handle"
20 //#define ENTRY_BLOCK_HANDLE_SOURCE3 "elm/entry/selection/block_handle_top"
21 #define ENTRY_BLOCK_HANDLE_SOURCE2 "elm/entry/selection/block_handle_right"
22 #define ENTRY_BLOCK_HANDLE_SOURCE3 "elm/entry/selection/block_handle_left"
23
24 group { name: "elm/entry/base/default";
25    alias: "elm/entry/base-mixedwrap/default";
26    data.item: "default_font_size" "24";
27    data.item: "min_font_size" "8";
28    data.item: "max_font_size" "60";
29    styles {
30       style { name: "entry_textblock_style";
31          base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" left_margin=1 right_margin=2 wrap=mixed text_class=entry";
32          tag:  "br" "\n";
33          tag:  "ps" "ps";
34          tag:  "tab" "\t";
35          tag:  "em" "+ font=SLP:style=Oblique";
36          tag:  "b" "+ font=SLP:style=Bold";
37          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
38          tag:  "hilight" "+ font=SLP:style=Bold";
39          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC"";
40          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC"";
41       }
42       style { name: "entry_textblock_disabled_style";
43          base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 left_margin=1 right_margin=2 wrap=mixed text_class=entry";
44          tag:  "br" "\n";
45          tag:  "ps" "ps";
46          tag:  "tab" "\t";
47          tag:  "em" "+ font=SLP:style=Oblique";
48          tag:  "b" "+ font=SLP:style=Bold";
49          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
50          tag:  "hilight" "+ font=SLP:style=Bold";
51          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC"";
52          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC"";
53       }
54    }
55    data {
56       item: context_menu_orientation "horizontal";
57    }
58    parts {
59       part { name: "elm.text";
60          type: TEXTBLOCK;
61          mouse_events: 1;
62          scale: 1;
63          entry_mode: EDITABLE;
64          select_mode: BLOCK_HANDLE;
65          //cursor_mode: BEFORE;
66          multiline: 1;
67          source: "elm/entry/selection/default"; // selection under
68          source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
69          source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
70          source4: "elm/entry/cursor/default"; // cursorover
71          source5: "elm/entry/anchor/default"; // anchor under
72          //source6: "X"; // anchor over
73          description { state: "default" 0.0;
74             fixed: 1 0;
75             text {
76                style: "entry_textblock_style";
77                min: 0 1;
78                align: 0.0 0.0;
79             }
80          }
81          description { state: "disabled" 0.0;
82             inherit: "default" 0.0;
83             text {
84                style: "entry_textblock_disabled_style";
85                min: 0 1;
86             }
87          }
88       }
89    }
90    programs {
91       program { name: "focus";
92          signal: "load";
93          source: "";
94          action: FOCUS_SET;
95          target: "elm.text";
96       }
97       program { name: "disable";
98          signal: "elm,state,disabled";
99          source: "elm";
100          action: STATE_SET "disabled" 0.0;
101          target: "elm.text";
102       }
103       program { name: "enable";
104          signal: "elm,state,enabled";
105          source: "elm";
106          action: STATE_SET "default" 0.0;
107          target: "elm.text";
108       }
109    }
110 }
111
112 group { name: "elm/entry/base-charwrap/default";
113    alias: "elm/entry/base/char_wrap";
114    data.item: "default_font_size" "24";
115    data.item: "min_font_size" "8";
116    data.item: "max_font_size" "60";
117    styles {
118       style { name: "entry_textblock_char_wrap_style";
119          base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry";
120          tag:  "br" "\n";
121          tag:  "ps" "ps";
122          tag:  "tab" "\t";
123          tag:  "em" "+ font=SLP:style=Oblique";
124          tag:  "b" "+ font=SLP:style=Bold";
125          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
126          tag:  "hilight" "+ font=SLP:style=Bold";
127          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC"";
128          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC"";
129       }
130       style { name: "entry_textblock_char_wrap_disabled_style";
131          base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=char left_margin=1 right_margin=2 text_class=entry";
132          tag:  "br" "\n";
133          tag:  "ps" "ps";
134          tag:  "tab" "\t";
135          tag:  "em" "+ font=SLP:style=Oblique";
136          tag:  "b" "+ font=SLP:style=Bold";
137          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
138          tag:  "hilight" "+ font=SLP:style=Bold";
139          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC"";
140          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC"";
141       }
142    }
143    data {
144       item: context_menu_orientation "horizontal";
145    }
146    parts {
147       part { name: "elm.text";
148          type: TEXTBLOCK;
149          mouse_events: 1;
150          scale: 1;
151          entry_mode: EDITABLE;
152          select_mode: BLOCK_HANDLE;
153          //cursor_mode: BEFORE;
154          multiline: 1;
155          source: "elm/entry/selection/default"; // selection under
156          source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
157          source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
158          source4: "elm/entry/cursor/default"; // cursorover
159          source5: "elm/entry/anchor/default"; // anchor under
160          //source6: "X"; // anchor over
161          description { state: "default" 0.0;
162             fixed: 1 0;
163             text {
164                style: "entry_textblock_char_wrap_style";
165                min: 0 1;
166                align: 0.0 0.0;
167             }
168          }
169          description { state: "disabled" 0.0;
170             inherit: "default" 0.0;
171             text {
172                style: "entry_textblock_char_wrap_disabled_style";
173                min: 0 1;
174             }
175          }
176       }
177    }
178    programs {
179          program { name: "focus";
180             signal: "load";
181             source: "";
182             action: FOCUS_SET;
183             target: "elm.text";
184          }
185          program { name: "disable";
186             signal: "elm,state,disabled";
187             source: "elm";
188             action: STATE_SET "disabled" 0.0;
189             target: "elm.text";
190          }
191          program { name: "enable";
192             signal: "elm,state,enabled";
193             source: "elm";
194             action: STATE_SET "default" 0.0;
195             target: "elm.text";
196          }
197       }
198    }
199
200 group { name: "elm/entry/base-nowrap/default";
201    data.item: "default_font_size" "24";
202    data.item: "min_font_size" "8";
203    data.item: "max_font_size" "60";
204    data {
205       item: context_menu_orientation "horizontal";
206    }
207    parts {
208       part { name: "elm.text";
209          type: TEXTBLOCK;
210          mouse_events: 1;
211          scale: 1;
212          entry_mode: EDITABLE;
213          select_mode: BLOCK_HANDLE;
214          //cursor_mode: BEFORE;
215          multiline: 1;
216          source: "elm/entry/selection/default"; // selection under
217          source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
218          source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
219          source4: "elm/entry/cursor/default"; // cursorover
220          source5: "elm/entry/anchor/default"; // anchor under
221          description { state: "default" 0.0;
222             text {
223                style: "entry_textblock_style";
224                min: 1 1;
225                align: 0.0 0.0;
226             }
227          }
228          description { state: "disabled" 0.0;
229             inherit: "default" 0.0;
230             text {
231                style: "entry_textblock_disabled_style";
232                min: 0 1;
233             }
234          }
235       }
236    }
237    programs {
238       program { name: "focus";
239          signal: "load";
240          source: "";
241          action: FOCUS_SET;
242          target: "elm.text";
243       }
244       program { name: "disable";
245          signal: "elm,state,disabled";
246          source: "elm";
247          action: STATE_SET "disabled" 0.0;
248          target: "elm.text";
249       }
250       program { name: "enable";
251          signal: "elm,state,enabled";
252          source: "elm";
253          action: STATE_SET "default" 0.0;
254          target: "elm.text";
255       }
256    }
257 }
258
259 group { name: "elm/entry/base/editfield";
260    alias: "elm/entry/base-mixedwrap/editfield";
261    alias: "elm/entry/base/editfield/default";
262    alias: "elm/entry/base/editfield/lighting";
263    alias: "elm/entry/base/editfield/multiline";
264    alias: "elm/entry/base/editfield/multiline/default";
265    alias: "elm/entry/base/editfield/multiline/lighting";
266    alias: "elm/entry/base/editfield/searchbar/default";
267    data.item: "default_font_size" "24";
268    data.item: "min_font_size" "8";
269    data.item: "max_font_size" "60";
270    styles {
271       style { name: "editfield_textblock_style";
272          base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2";
273          tag:  "br" "\n";
274          tag:  "ps" "ps";
275          tag:  "tab" "\t";
276          tag:  "em" "+ font=SLP:style=Oblique";
277          tag:  "b" "+ font=SLP:style=Bold";
278          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
279          tag:  "hilight" "+ font=SLP:style=Bold";
280          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC"";
281          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC"";
282       }
283       style { name: "editfield_textblock_disabled_style";
284          base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=mixed left_margin=1 right_margin=2";
285          tag:  "br" "\n";
286          tag:  "ps" "ps";
287          tag:  "tab" "\t";
288          tag:  "em" "+ font=SLP:style=Oblique";
289          tag:  "b" "+ font=SLP:style=Bold";
290          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
291          tag:  "hilight" "+ font=SLP:style=Bold";
292          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC"";
293          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC"";
294       }
295    }
296    data {
297       item: context_menu_orientation "horizontal";
298    }
299    parts {
300       part { name: "elm.text";
301          type: TEXTBLOCK;
302          mouse_events: 1;
303          scale: 1;
304          entry_mode: EDITABLE;
305          select_mode: BLOCK_HANDLE;
306          //cursor_mode: BEFORE;
307          multiline: 1;
308          source: "elm/entry/selection/default"; // selection under
309          source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
310          source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
311          source4: "elm/entry/cursor/default"; // cursorover
312          source5: "elm/entry/anchor/default"; // anchor under
313          //source6: "X"; // anchor over
314          description { state: "default" 0.0;
315             fixed: 1 0;
316             text {
317             style: "editfield_textblock_style";
318                min: 0 1;
319                align: 0.0 0.0;
320             }
321          }
322          description { state: "disabled" 0.0;
323             inherit: "default" 0.0;
324             text {
325                style: "editfield_textblock_disabled_style";
326                min: 0 1;
327             }
328          }
329       }
330    }
331    programs {
332       program { name: "focus";
333          signal: "load";
334          source: "";
335          action: FOCUS_SET;
336          target: "elm.text";
337       }
338       program { name: "disable";
339          signal: "elm,state,disabled";
340          source: "elm";
341          action: STATE_SET "disabled" 0.0;
342          target: "elm.text";
343       }
344       program { name: "enable";
345          signal: "elm,state,enabled";
346          source: "elm";
347          action: STATE_SET "default" 0.0;
348          target: "elm.text";
349       }
350    }
351 }
352
353 group { name: "elm/entry/base-charwrap/editfield";
354    alias: "elm/entry/base/editfield/char_wrap";
355    alias: "elm/entry/base/editfield/default/char_wrap";
356    alias: "elm/entry/base/editfield/lighting/char_wrap";
357    alias: "elm/entry/base/editfield/multiline/char_wrap";
358    alias: "elm/entry/base/editfield/multiline/default/char_wrap";
359    alias: "elm/entry/base/editfield/multiline/lighting/char_wrap";
360    data.item: "default_font_size" "24";
361    data.item: "min_font_size" "8";
362    data.item: "max_font_size" "60";
363    styles {
364       style { name: "editfield_textblock_char_wrap_style";
365          base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2";
366          tag:  "br" "\n";
367          tag:  "ps" "ps";
368          tag:  "tab" "\t";
369          tag:  "em" "+ font=SLP:style=Oblique";
370          tag:  "b" "+ font=SLP:style=Bold";
371          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
372          tag:  "hilight" "+ font=SLP:style=Bold";
373          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC"";
374          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC"";
375       }
376       style { name: "editfield_textblock_char_wrap_disabled_style";
377          base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=char left_margin=1 right_margin=2";
378          tag:  "br" "\n";
379          tag:  "ps" "ps";
380          tag:  "tab" "\t";
381          tag:  "em" "+ font=SLP:style=Oblique";
382          tag:  "b" "+ font=SLP:style=Bold";
383          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
384          tag:  "hilight" "+ font=SLP:style=Bold";
385          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC"";
386          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC"";
387       }
388    }
389    data {
390       item: context_menu_orientation "horizontal";
391    }
392    parts {
393       part { name: "elm.text";
394          type: TEXTBLOCK;
395          mouse_events: 1;
396          scale: 1;
397          entry_mode: EDITABLE;
398          select_mode: BLOCK_HANDLE;
399          //cursor_mode: BEFORE;
400          multiline: 1;
401          source: "elm/entry/selection/default"; // selection under
402          source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
403          source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
404          source4: "elm/entry/cursor/default"; // cursorover
405          source5: "elm/entry/anchor/default"; // anchor under
406          //source6: "X"; // anchor over
407          description { state: "default" 0.0;
408             fixed: 1 0;
409             text {
410                style: "editfield_textblock_char_wrap_style";
411                min: 0 1;
412                align: 0.0 0.0;
413             }
414          }
415          description { state: "disabled" 0.0;
416             inherit: "default" 0.0;
417             text {
418                style: "editfield_textblock_char_wrap_disabled_style";
419                min: 0 1;
420             }
421          }
422       }
423    }
424    programs {
425       program { name: "focus";
426          signal: "load";
427          source: "";
428          action: FOCUS_SET;
429          target: "elm.text";
430       }
431       program { name: "disable";
432          signal: "elm,state,disabled";
433          source: "elm";
434          action: STATE_SET "disabled" 0.0;
435          target: "elm.text";
436       }
437       program { name: "enable";
438          signal: "elm,state,enabled";
439          source: "elm";
440          action: STATE_SET "default" 0.0;
441          target: "elm.text";
442       }
443    }
444 }
445
446 group { name: "elm/entry/base-single/editfield";
447    alias: "elm/entry/base-single/editfield/default";
448    alias: "elm/entry/base-single/editfield/lighting";
449    alias: "elm/entry/base-single/editfield/singleline";
450    alias: "elm/entry/base-single/editfield/singleline/default";
451    alias: "elm/entry/base-single/editfield/singleline/lighting";
452    data.item: "default_font_size" "24";
453    data.item: "min_font_size" "8";
454    data.item: "max_font_size" "60";
455    styles {
456       style { name: "editfield_single_textblock_style";
457          base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry";
458          tag:  "br" "\n";
459          tag:  "ps" "ps";
460          tag:  "tab" "\t";
461          tag:  "em" "+ font=SLP:style=Oblique";
462          tag:  "b" "+ font=SLP:style=Bold";
463          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
464          tag:  "hilight" "+ font=SLP:style=Bold";
465          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC"";
466          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC"";
467       }
468       style { name: "editfield_single_textblock_disabled_style";
469          base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=none left_margin=1 right_margin=3 text_class=entry";
470          tag:  "br" "\n";
471          tag:  "ps" "ps";
472          tag:  "tab" "\t";
473          tag:  "em" "+ font=SLP:style=Oblique";
474          tag:  "b" "+ font=SLP:style=Bold";
475          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
476          tag:  "hilight" "+ font=SLP:style=Bold";
477          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC"";
478          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC"";
479       }
480    }
481    data {
482       item: context_menu_orientation "horizontal";
483    }
484    parts {
485       part { name: "elm.text";
486          type: TEXTBLOCK;
487          mouse_events: 1;
488          scale: 1;
489          entry_mode: EDITABLE;
490          select_mode: BLOCK_HANDLE;
491          //cursor_mode: BEFORE;
492          multiline: 0;
493          source: "elm/entry/selection/default"; // selection under
494          source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
495          source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
496          source4: "elm/entry/cursor/default"; // cursorover
497          source5: "elm/entry/anchor/default"; // anchor under
498          description { state: "default" 0.0;
499             text {
500                style: "editfield_single_textblock_style";
501                min: 1 1;
502                max: 0 1;
503             }
504          }
505          description { state: "disabled" 0.0;
506             inherit: "default" 0.0;
507             text {
508                style: "editfield_single_textblock_disabled_style";
509             }
510          }
511       }
512    }
513    programs {
514       program { name: "focus";
515          signal: "load";
516          source: "";
517          action: FOCUS_SET;
518          target: "elm.text";
519       }
520       program { name: "disable";
521          signal: "elm,state,disabled";
522          source: "elm";
523          action: STATE_SET "disabled" 0.0;
524          target: "elm.text";
525       }
526       program { name: "enable";
527          signal: "elm,state,enabled";
528          source: "elm";
529          action: STATE_SET "default" 0.0;
530          target: "elm.text";
531       }
532    }
533 }
534
535 group { name: "elm/entry/base-single/editfield/searchbar/default";
536    data.item: "default_font_size" "24";
537    data.item: "min_font_size" "8";
538    data.item: "max_font_size" "60";
539    data {
540       item: context_menu_orientation "horizontal";
541    }
542    parts {
543       part { name: "elm.text";
544          type: TEXTBLOCK;
545          mouse_events: 1;
546          scale: 1;
547          entry_mode: EDITABLE;
548          select_mode: BLOCK_HANDLE;
549          //cursor_mode: BEFORE;
550          multiline: 0;
551          source: "elm/entry/selection/default"; // selection under
552          source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
553          source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
554          source4: "elm/entry/cursor/default"; // cursorover
555          source5: "elm/entry/anchor/default"; // anchor under
556          description { state: "default" 0.0;
557             text {
558                style: "editfield_single_textblock_style";
559                min: 1 1;
560                max: 0 1;
561             }
562          }
563          description { state: "disabled" 0.0;
564             inherit: "default" 0.0;
565             text {
566                style: "editfield_single_textblock_disabled_style";
567             }
568          }
569       }
570    }
571    programs {
572       program { name: "focus";
573          signal: "load";
574          source: "";
575          action: FOCUS_SET;
576          target: "elm.text";
577       }
578       program { name: "disable";
579          signal: "elm,state,disabled";
580          source: "elm";
581          action: STATE_SET "disabled" 0.0;
582          target: "elm.text";
583       }
584       program { name: "enable";
585          signal: "elm,state,enabled";
586          source: "elm";
587          action: STATE_SET "default" 0.0;
588          target: "elm.text";
589       }
590    }
591 }
592
593 group { name: "elm/entry/base-nowrap/default";
594    data.item: "default_font_size" "24";
595    data.item: "min_font_size" "8";
596    data.item: "max_font_size" "60";
597    data {
598       item: context_menu_orientation "horizontal";
599    }
600    parts {
601       part { name: "elm.text";
602          type: TEXTBLOCK;
603          mouse_events: 1;
604          scale: 1;
605          entry_mode: EDITABLE;
606          select_mode: BLOCK_HANDLE;
607          //cursor_mode: BEFORE;
608          multiline: 1;
609          source: "elm/entry/selection/default"; // selection under
610          source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
611          source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
612          source4: "elm/entry/cursor/default"; // cursorover
613          source5: "elm/entry/anchor/default"; // anchor under
614          description { state: "default" 0.0;
615             text {
616                style: "entry_textblock_style";
617                min: 1 1;
618                align: 0.0 0.0;
619             }
620          }
621          description { state: "disabled" 0.0;
622             inherit: "default" 0.0;
623             text {
624                style: "entry_textblock_disabled_style";
625                min: 0 1;
626             }
627          }
628       }
629    }
630    programs {
631       program { name: "focus";
632          signal: "load";
633          source: "";
634          action: FOCUS_SET;
635          target: "elm.text";
636       }
637       program { name: "disable";
638          signal: "elm,state,disabled";
639          source: "elm";
640          action: STATE_SET "disabled" 0.0;
641          target: "elm.text";
642       }
643       program { name: "enable";
644          signal: "elm,state,enabled";
645          source: "elm";
646          action: STATE_SET "default" 0.0;
647          target: "elm.text";
648       }
649    }
650 }
651
652 group { name: "elm/entry/base-single/default";
653    data.item: "default_font_size" "24";
654    data.item: "min_font_size" "8";
655    data.item: "max_font_size" "60";
656    styles {
657       style { name: "entry_single_textblock_style";
658          base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry";
659          tag:  "br" "\n";
660          tag:  "ps" "ps";
661          tag:  "tab" "\t";
662          tag:  "em" "+ font=SLP:style=Oblique";
663          tag:  "b" "+ font=SLP:style=Bold";
664          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
665          tag:  "hilight" "+ font=SLP:style=Bold";
666          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC"";
667          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC"";
668       }
669       style { name: "entry_single_textblock_disabled_style";
670          base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=none left_margin=1 right_margin=3 text_class=entry";
671          tag:  "br" "\n";
672          tag:  "ps" "ps";
673          tag:  "tab" "\t";
674          tag:  "em" "+ font=SLP:style=Oblique";
675          tag:  "b" "+ font=SLP:style=Bold";
676          tag:  "link " "+ color=#00000080 underline=on underline_color=#00000080";
677          tag:  "hilight" "+ font=SLP:style=Bold";
678          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC"";
679          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC"";
680       }
681    }
682    data {
683       item: context_menu_orientation "horizontal";
684    }
685    parts {
686       part { name: "elm.text";
687          type: TEXTBLOCK;
688          mouse_events: 1;
689          scale: 1;
690          entry_mode: EDITABLE;
691          select_mode: BLOCK_HANDLE;
692          //cursor_mode: BEFORE;
693          multiline: 0;
694          source: "elm/entry/selection/default"; // selection under
695          source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
696          source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
697          source4: "elm/entry/cursor/default"; // cursorover
698          source5: "elm/entry/anchor/default"; // anchor under
699          description { state: "default" 0.0;
700             text {
701                style: "entry_single_textblock_style";
702                min: 1 1;
703                max: 0 0;
704                align: 0.0 0.5;
705             }
706          }
707          description { state: "disabled" 0.0;
708             inherit: "default" 0.0;
709             text {
710                style: "entry_single_textblock_disabled_style";
711             }
712          }
713       }
714    }
715    programs {
716       program { name: "focus";
717          signal: "load";
718          source: "";
719          action: FOCUS_SET;
720          target: "elm.text";
721       }
722       program { name: "disable";
723          signal: "elm,state,disabled";
724          source: "elm";
725          action: STATE_SET "disabled" 0.0;
726          target: "elm.text";
727       }
728       program { name: "enable";
729          signal: "elm,state,enabled";
730          source: "elm";
731          action: STATE_SET "default" 0.0;
732          target: "elm.text";
733       }
734    }
735 }
736
737 group { name: "elm/entry/base-single-noedit/default";
738    data.item: "default_font_size" "24";
739    data.item: "min_font_size" "8";
740    data.item: "max_font_size" "60";
741    data {
742       item: context_menu_orientation "horizontal";
743    }
744    parts {
745       part { name: "elm.text";
746          type: TEXTBLOCK;
747          mouse_events: 1;
748          scale: 1;
749          entry_mode: PLAIN;
750          select_mode: BLOCK_HANDLE;
751          //cursor_mode: BEFORE;
752          multiline: 0;
753          source: "elm/entry/selection/default"; // selection under
754          source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
755          source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
756          source5: "elm/entry/anchor/default"; // anchor under
757          description { state: "default" 0.0;
758             text {
759                style: "entry_single_textblock_style";
760                min: 1 1;
761                max: 0 1;
762             }
763          }
764          description { state: "disabled" 0.0;
765             inherit: "default" 0.0;
766             text {
767                style: "entry_single_textblock_disabled_style";
768             }
769          }
770       }
771    }
772    programs {
773       program { name: "focus";
774          signal: "load";
775          source: "";
776          action: FOCUS_SET;
777          target: "elm.text";
778       }
779       program { name: "disable";
780          signal: "elm,state,disabled";
781          source: "elm";
782          action: STATE_SET "disabled" 0.0;
783          target: "elm.text";
784       }
785       program { name: "enable";
786          signal: "elm,state,enabled";
787          source: "elm";
788          action: STATE_SET "default" 0.0;
789          target: "elm.text";
790       }
791    }
792 }
793
794 group { name: "elm/entry/base-noedit/default";
795    data.item: "default_font_size" "24";
796    data.item: "min_font_size" "8";
797    data.item: "max_font_size" "60";
798    data {
799       item: context_menu_orientation "horizontal";
800    }
801    parts {
802       part { name: "elm.text";
803          type: TEXTBLOCK;
804          mouse_events: 1;
805          scale: 1;
806          entry_mode: PLAIN;
807          select_mode: BLOCK_HANDLE;
808          //cursor_mode: BEFORE;
809          multiline: 1;
810          source: "elm/entry/selection/default"; // selection under
811          source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
812          source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
813          source5: "elm/entry/anchor/default"; // anchor under
814          description { state: "default" 0.0;
815             fixed: 1 0;
816             text {
817                style: "entry_textblock_style";
818                min: 0 1;
819                align: 0.0 0.0;
820             }
821          }
822          description { state: "disabled" 0.0;
823             inherit: "default" 0.0;
824             text {
825                style: "entry_textblock_disabled_style";
826             }
827          }
828       }
829    }
830    programs {
831       program { name: "focus";
832          signal: "load";
833          source: "";
834          action: FOCUS_SET;
835          target: "elm.text";
836       }
837       program { name: "disable";
838          signal: "elm,state,disabled";
839          source: "elm";
840          action: STATE_SET "disabled" 0.0;
841          target: "elm.text";
842       }
843       program { name: "enable";
844          signal: "elm,state,enabled";
845          source: "elm";
846          action: STATE_SET "default" 0.0;
847          target: "elm.text";
848       }
849    }
850 }
851
852    group { name: "elm/entry/base-noedit-charwrap/default";
853       data.item: "default_font_size" "24";
854       data.item: "min_font_size" "8";
855       data.item: "max_font_size" "60";
856       data {
857          item: context_menu_orientation "horizontal";
858       }
859       parts {
860          part { name: "elm.text";
861             type: TEXTBLOCK;
862             mouse_events: 1;
863             scale: 1;
864             entry_mode: PLAIN;
865             select_mode: BLOCK_HANDLE;
866             //cursor_mode: BEFORE;
867             multiline: 1;
868             source: "elm/entry/selection/default"; // selection under
869             source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
870             source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
871             source5: "elm/entry/anchor/default"; // anchor under
872             description { state: "default" 0.0;
873                fixed: 1 0;
874                text {
875                   style: "entry_textblock_style_charwrap";
876                   min: 0 1;
877                align: 0.0 0.0;
878                }
879             }
880             description { state: "disabled" 0.0;
881                inherit: "default" 0.0;
882                text {
883                   style: "entry_textblock_disabled_style_charwrap";
884                }
885             }
886          }
887       }
888       programs {
889          program { name: "focus";
890             signal: "load";
891             source: "";
892             action: FOCUS_SET;
893             target: "elm.text";
894          }
895          program { name: "disable";
896             signal: "elm,state,disabled";
897             source: "elm";
898             action: STATE_SET "disabled" 0.0;
899             target: "elm.text";
900          }
901          program { name: "enable";
902             signal: "elm,state,enabled";
903             source: "elm";
904             action: STATE_SET "default" 0.0;
905             target: "elm.text";
906          }
907       }
908    }
909
910    group { name: "elm/entry/base-nowrap-noedit/default";
911       data.item: "default_font_size" "24";
912       data.item: "min_font_size" "8";
913       data.item: "max_font_size" "60";
914       data {
915          item: context_menu_orientation "horizontal";
916       }
917       parts {
918          part { name: "elm.text";
919             type: TEXTBLOCK;
920             mouse_events: 1;
921             scale: 1;
922             entry_mode: PLAIN;
923             select_mode: BLOCK_HANDLE;
924             //cursor_mode: BEFORE;
925             multiline: 1;
926             source: "elm/entry/selection/default"; // selection under
927             source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
928             source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
929             source5: "elm/entry/anchor/default"; // anchor under
930             description { state: "default" 0.0;
931                text {
932                   style: "entry_textblock_style";
933                   min: 1 1;
934                align: 0.0 0.0;
935                }
936             }
937             description { state: "disabled" 0.0;
938                inherit: "default" 0.0;
939                text {
940                   style: "entry_textblock_disabled_style";
941                }
942             }
943          }
944       }
945       programs {
946          program { name: "focus";
947             signal: "load";
948             source: "";
949             action: FOCUS_SET;
950             target: "elm.text";
951          }
952          program { name: "disable";
953             signal: "elm,state,disabled";
954             source: "elm";
955             action: STATE_SET "disabled" 0.0;
956             target: "elm.text";
957          }
958          program { name: "enable";
959             signal: "elm,state,enabled";
960             source: "elm";
961             action: STATE_SET "default" 0.0;
962             target: "elm.text";
963          }
964       }
965    }
966
967   group { name: "elm/entry/base-password/default";
968       data.item: "default_font_size" "24";
969       data.item: "min_font_size" "8";
970       data.item: "max_font_size" "60";
971       data {
972          item: context_menu_orientation "horizontal";
973       }
974       parts {
975          part { name: "elm.text";
976             type: TEXTBLOCK;
977             mouse_events: 1;
978             scale: 1;
979             entry_mode: PASSWORD;
980             select_mode: BLOCK_HANDLE;
981             //cursor_mode: BEFORE;
982             multiline: 0;
983             source: "elm/entry/selection/default"; // selection under
984             source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
985             source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
986             source4: "elm/entry/cursor/default"; // cursorover
987             source5: "elm/entry/anchor/default"; // anchor under
988             description { state: "default" 0.0;
989                text {
990                   style: "entry_single_textblock_style";
991                   repch: "*";
992                   min: 1 1;
993                   max: 0 1;
994                }
995             }
996             description { state: "disabled" 0.0;
997                inherit: "default" 0.0;
998                text {
999                   style: "entry_single_textblock_disabled_style";
1000                }
1001             }
1002          }
1003       }
1004       programs {
1005          program { name: "focus";
1006             signal: "load";
1007             source: "";
1008             action: FOCUS_SET;
1009             target: "elm.text";
1010          }
1011          program { name: "disable";
1012             signal: "elm,state,disabled";
1013             source: "elm";
1014             action: STATE_SET "disabled" 0.0;
1015             target: "elm.text";
1016          }
1017          program { name: "enable";
1018             signal: "elm,state,enabled";
1019             source: "elm";
1020             action: STATE_SET "default" 0.0;
1021             target: "elm.text";
1022          }
1023       }
1024    }
1025
1026 group { name: "elm/entry/base-password/popup";
1027    data.item: "default_font_size" "24";
1028    data.item: "min_font_size" "8";
1029    data.item: "max_font_size" "60";
1030    data {
1031       item: context_menu_orientation "horizontal";
1032    }
1033    styles
1034    {
1035       style { name: "entry_single_textblock_popup_style";
1036          base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" align=center wrap=mixed ellipsis=1.0 text_class=entry";
1037          tag:  "br" "\n";
1038          tag:  "ps" "ps";
1039          tag:  "tab" "\t";
1040          tag:  "em" "+ font=SLP:style=Oblique";
1041          tag:  "b" "+ font=SLP:style=Bold";
1042          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
1043          tag:  "hilight" "+ font=SLP:style=Bold";
1044          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC"";
1045          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC"";
1046       }
1047       style { name: "entry_single_textblock_disabled_popup_style";
1048          base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 align=center wrap=mixed ellipsis=1.0 text_class=entry";
1049          tag:  "br" "\n";
1050          tag:  "ps" "ps";
1051          tag:  "tab" "\t";
1052          tag:  "em" "+ font=SLP:style=Oblique";
1053          tag:  "b" "+ font=SLP:style=Bold";
1054          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
1055          tag:  "hilight" "+ font=SLP:style=Bold";
1056          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC"";
1057          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC"";
1058       }
1059    }
1060    parts {
1061       part { name: "elm.text";
1062          type: TEXTBLOCK;
1063          mouse_events: 1;
1064          scale: 1;
1065          entry_mode: PASSWORD;
1066          select_mode: BLOCK_HANDLE;
1067          //cursor_mode: BEFORE;
1068          multiline: 0;
1069          source: "elm/entry/selection/default"; // selection under
1070          source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
1071          source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
1072          source4: "elm/entry/cursor/default"; // cursorover
1073          source5: "elm/entry/anchor/default"; // anchor under
1074          description { state: "default" 0.0;
1075             text {
1076                style: "entry_single_textblock_popup_style";
1077                repch: "*";
1078                min: 1 1;
1079                max: 0 1;
1080             }
1081          }
1082          description { state: "disabled" 0.0;
1083             inherit: "default" 0.0;
1084             text {
1085                style: "entry_single_textblock_disabled_popup_style";
1086             }
1087          }
1088       }
1089    }
1090    programs {
1091       program { name: "focus";
1092          signal: "load";
1093          source: "";
1094          action: FOCUS_SET;
1095          target: "elm.text";
1096       }
1097       program { name: "disable";
1098          signal: "elm,state,disabled";
1099          source: "elm";
1100          action: STATE_SET "disabled" 0.0;
1101          target: "elm.text";
1102       }
1103       program { name: "enable";
1104          signal: "elm,state,enabled";
1105          source: "elm";
1106          action: STATE_SET "default" 0.0;
1107          target: "elm.text";
1108       }
1109    }
1110 }
1111
1112         group { name: "elm/entry/cursor/default";
1113                 parts {
1114                         part { name: "clip2";
1115                                 type: RECT;
1116                                 mouse_events: 0;
1117                                 scale: 1;
1118                                 description { state: "default" 0.0;
1119                                         rel1.to: "clip";
1120                                         rel2.to: "clip";
1121                                 visible: 0;
1122                                 }
1123                                 description { state: "focused" 0.0;
1124                                         inherit: "default" 0.0;
1125                                         visible: 1;
1126                                 }
1127                         }
1128                         part { name: "clip";
1129                                 type: RECT;
1130                                 mouse_events: 0;
1131                                 scale: 1;
1132                                 clip_to: "clip2";
1133                                 description { state: "default" 0.0;
1134                                         rel1.offset: -10 0;
1135                                         rel2.offset: 9 9;
1136                                 }
1137                                 description { state: "hidden" 0.0;
1138                                         inherit: "default" 0.0;
1139                                         visible: 0;
1140                                 }
1141                         }
1142                         part { name: "base";
1143                                 mouse_events: 0;
1144                                 scale: 1;
1145                                 clip_to: "clip";
1146                                 description { state: "default" 0.0;
1147                                         min: 2 2;
1148                                         align: 0.5 1.0;
1149                                         color: 0 0 0 0;
1150                                 }
1151                         }
1152
1153                         part { name: "glow";
1154                                 type: RECT;
1155                                 mouse_events: 0;
1156                                 scale: 1;
1157                                 clip_to: "clip2";
1158                                 description { state: "default" 0.0;
1159                                         min: 3 0;
1160                                         fixed: 1 0;
1161                                         align: 0.5 0.5;
1162                                         rel1 {
1163                                                 relative: 0.0  0.0;
1164                                                 offset: 0 2;
1165                                         }
1166                                         rel2 {
1167                                                 relative: 0.0  1.0;
1168                                                 offset: 0 -2;
1169                                         }
1170                                         color: ENTRY_CURSOR_COLOR_INC;
1171                                 }
1172                                 description { state: "hidden" 0.0;
1173                                         inherit: "default" 0.0;
1174                                         color: 0 0 0 0;
1175                                 }
1176                         }
1177                 }
1178                 programs {
1179                         program { name: "show";
1180                                 action: STATE_SET "hidden" 0.0;
1181                                 in: 0.6 0.0;
1182                                 target: "glow";
1183                                 after: "show4";
1184                         }
1185                         program { name: "show4";
1186                                 action: STATE_SET "default" 0.0;
1187                                 in: 0.6 0.0;
1188                                 target: "glow";
1189                                 after: "show";
1190                         }
1191                         program { name: "focused";
1192                                 signal: "elm,action,focus";
1193                                 source: "elm";
1194                                 action: STATE_SET "focused" 0.0;
1195                                 target: "clip2";
1196                                 after: "show4";
1197                         }
1198                         program { name: "unfocused";
1199                                 signal: "elm,action,unfocus";
1200                                 source: "elm";
1201                                 action: STATE_SET "default" 0.0;
1202                                 target: "clip2";
1203                                 after: "stop_glow";
1204                         }
1205                         program { name: "stop_glow";
1206                                 action: ACTION_STOP;
1207                                 target: "show";
1208                                 target: "show4";
1209                         }
1210                 }
1211         }
1212
1213
1214         group { name: "elm/entry/selection/default";
1215                 parts {
1216                         part { name: "bg";
1217                                 type: RECT;
1218                                 scale: 1;
1219                                 mouse_events: 0;
1220                                 description { state: "default" 0.0;
1221                                         color: ENTRY_SELECTION_BG_COLOR;
1222                                 }
1223                         }
1224                 }
1225         }
1226
1227         group { name: "elm/entry/selection/block_handle";
1228         data.item: "position" "BOTH";
1229                 images {
1230                   image: "reader_handler_up.png" COMP;
1231                 }
1232                 parts {
1233                         part { name: "bg";
1234                                 type: RECT;
1235                                 scale: 1;
1236                                 mouse_events: 1;
1237                                 description { state: "default" 0.0;
1238                                         visible: 0;
1239                                         fixed: 1 1;
1240                                         align: 0.5 0.25;
1241                                         min: 50 80;
1242                                         color: 0 0 0 0;
1243                                 }
1244                                 description { state: "show" 0.0;
1245                                         inherit: "default" 0.0;
1246                                         visible: 1;
1247                                 }
1248                         }
1249                         part { name: "handle";
1250                                 mouse_events: 1;
1251                                 scale: 1;
1252                                 description { state: "default" 0.0;
1253                                         visible: 0;
1254                                 fixed: 1 1;
1255                                         align: 0.5 0.0;
1256                                         min: 48 66;
1257                                         rel1 {
1258                                                 relative: 0.0 0.0;
1259                                                 offset: 0 0;
1260                                         }
1261                                         rel2 {
1262                                                 relative: 0.0 0.0;
1263                                                 offset: 0 0;
1264                                         }
1265                                         image {
1266                                                 normal: "reader_handler_up.png";
1267                                                 border: 0 0 0 0;
1268                                         }
1269                                         image.middle: SOLID;
1270                                         fill.smooth: 0;
1271                                 }
1272                                 description { state: "show" 0.0;
1273                                         inherit: "default" 0.0;
1274                                         visible: 1;
1275                                 }
1276                         }
1277                 }
1278                 programs {
1279                         program { name: "focused";
1280                                 signal: "elm,action,focus";
1281                                 source: "elm";
1282                                 action: STATE_SET "show" 0.0;
1283                                 target: "handle";
1284                                 target: "bg";
1285                         }
1286                         program { name: "unfocused";
1287                                 signal: "elm,action,unfocus";
1288                                 source: "elm";
1289                                 action: STATE_SET "default" 0.0;
1290                                 target: "handle";
1291                                 target: "bg";
1292                         }
1293                 }
1294         }
1295
1296         group { name: "elm/entry/selection/block_handle_top";
1297         data.item: "position" "BOTH";
1298                 images {
1299                   image: "reader_handler_down.png" COMP;
1300                 }
1301                 parts {
1302                         part { name: "bg";
1303                                 type: RECT;
1304                                 scale: 1;
1305                                 mouse_events: 1;
1306                                 description { state: "default" 0.0;
1307                                         visible: 0;
1308                                         fixed: 1 1;
1309                                         align: 0.5 0.75;
1310                                         min: 50 80;
1311                                         color: 0 0 0 0;
1312                                 }
1313                                 description { state: "show" 0.0;
1314                                         inherit: "default" 0.0;
1315                                         visible: 1;
1316                                 }
1317                         }
1318                         part { name: "handle";
1319                                 mouse_events: 1;
1320                                 scale: 1;
1321                                 description { state: "default" 0.0;
1322                                         visible: 0;
1323                                 fixed: 1 1;
1324                                         align: 0.5 1.0;
1325                                         min: 48 66;
1326                                         rel1 {
1327                                                 relative: 0.0 0.0;
1328                                                 offset: 0 0;
1329                                         }
1330                                         rel2 {
1331                                                 relative: 0.0 0.0;
1332                                                 offset: 0 0;
1333                                         }
1334                                         image {
1335                                                 normal: "reader_handler_down.png";
1336                                                 border: 0 0 0 0;
1337                                         }
1338                                         image.middle: SOLID;
1339                                         fill.smooth: 0;
1340                                 }
1341                                 description { state: "show" 0.0;
1342                                         inherit: "default" 0.0;
1343                                         visible: 1;
1344                                 }
1345                         }
1346                 }
1347                 programs {
1348                         program { name: "focused";
1349                                 signal: "elm,action,focus";
1350                                 source: "elm";
1351                                 action: STATE_SET "show" 0.0;
1352                                 target: "handle";
1353                                 target: "bg";
1354                         }
1355                         program { name: "unfocused";
1356                                 signal: "elm,action,unfocus";
1357                                 source: "elm";
1358                                 action: STATE_SET "default" 0.0;
1359                                 target: "handle";
1360                                 target: "bg";
1361                         }
1362                 }
1363         }
1364 /////////////////////////////////////////////////////////////////////////
1365         group { name: "elm/entry/selection/block_handle_left";
1366                 data.item: "position" "BOTTOM";
1367                 data.item: "height" "40";
1368                 images {
1369                   image: "copy&paste_Icon_left.png" COMP;
1370                   image: "copy&paste_Icon_left_press.png" COMP;
1371                   image: "copy&paste_Icon_left_top.png" COMP;
1372                   image: "copy&paste_Icon_left_top_press.png" COMP;
1373                 }
1374                 parts {
1375                         part { name: "bg";
1376                                 type: RECT;
1377                                 scale: 1;
1378                                 mouse_events: 1;
1379                                 description { state: "default" 0.0;
1380                                         visible: 0;
1381                                         fixed: 1 1;
1382                                         align: 1 0;
1383                                         min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE;
1384                                         color: 0 0 0 0;
1385                                 }
1386                                 description { state: "show" 0.0;
1387                                         inherit: "default" 0.0;
1388                                         visible: 1;
1389                                 }
1390                         }
1391                         part { name: "handle";
1392                                 mouse_events: 1;
1393                                 scale: 1;
1394                                 description { state: "default" 0.0;
1395                                         visible: 0;
1396                                         fixed: 1 1;
1397                                         align: 1 0;
1398                                         min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE;
1399                                         rel1 {
1400                                                 relative: 1.1 0.0;
1401                                                 offset: 0 -2;
1402                                                 to: "bg";
1403                                         }
1404                                         rel2 {
1405                                                 relative: 1.1 0.0;
1406                                                 offset: 0 -2;
1407                                                 to: "bg";
1408                                         }
1409                                         image {
1410                                                 normal: "copy&paste_Icon_left.png";
1411                                                 border: 0 0 0 0;
1412                                         }
1413                                         image.middle: SOLID;
1414                                         fill.smooth: 0;
1415                                 }
1416                                 description { state: "show" 0.0;
1417                                         inherit: "default" 0.0;
1418                                         visible: 1;
1419                                 }
1420                                 description { state: "top" 0.0;
1421                                         inherit: "default" 0.0;
1422                                         visible: 1;
1423                                         align: 1 1;
1424                                         image {
1425                                                 normal: "copy&paste_Icon_left_top.png";
1426                                         }
1427                                 }
1428                                 description { state: "press" 0.0;
1429                                         inherit: "default" 0.0;
1430                                         visible: 1;
1431                                         image {
1432                                                 normal: "copy&paste_Icon_left_press.png";
1433                                         }
1434                                 }
1435                                 description { state: "top_press" 0.0;
1436                                         inherit: "default" 0.0;
1437                                         visible: 1;
1438                                         align: 1 1;
1439                                         image {
1440                                                 normal: "copy&paste_Icon_left_top_press.png";
1441                                         }
1442                                 }
1443                         }
1444                 }
1445                 script {
1446                         public handler_ontop;
1447                         public handler_pressed;
1448                         public handler_focused;
1449                 }
1450                 programs {
1451                         program { name: "focused";
1452                                 signal: "edje,focus,in";
1453                                 source: "edje";
1454                                 script {
1455                                         set_int(handler_focused, 1);
1456                                 }
1457                         }
1458                         program { name: "unfocused";
1459                                 signal: "edje,focus,out";
1460                                 source: "edje";
1461                                 script {
1462                                         set_int(handler_focused, 0);
1463                                         set_state(PART:"handle", "default", 0.0);
1464                                 }
1465                         }
1466                         program { name: "top";
1467                         signal: "elm,state,top";
1468                                 source: "elm";
1469                                 script {
1470                                         new pressed;
1471                                         new focused;
1472                                         pressed = get_int(handler_pressed);
1473                                         focused = get_int(handler_focused);
1474                                         set_int(handler_ontop, 1);
1475                                         if (focused)
1476                                         {
1477                                              if (pressed)
1478                                                set_state(PART:"handle", "top_press", 0.0);
1479                                              else
1480                                                set_state(PART:"handle", "top", 0.0);
1481                                         }
1482                                         else
1483                                         {
1484                                              set_state(PART:"handle", "default", 0.0);
1485                                         }
1486                                 }
1487                         }
1488                         program { name: "bottom";
1489                         signal: "elm,state,bottom";
1490                                 source: "elm";
1491                                 script {
1492                                         new pressed;
1493                                         new focused;
1494                                         pressed = get_int(handler_pressed);
1495                                         focused = get_int(handler_focused);
1496                                         set_int(handler_ontop, 0);
1497                                         if (focused)
1498                                         {
1499                                              if (pressed)
1500                                                set_state(PART:"handle", "press", 0.0);
1501                                              else
1502                                                set_state(PART:"handle", "show", 0.0);
1503                                         }
1504                                         else
1505                                         {
1506                                              set_state(PART:"handle", "default", 0.0);
1507                                         }
1508                                 }
1509                         }
1510                         program { name: "pressed";
1511                                 signal: "mouse,down,1";
1512                                 source: "handle";
1513                                 script {
1514                                         new pos;
1515                                         pos = get_int(handler_ontop);
1516                                         set_int(handler_pressed, 1);
1517                                         if (pos)
1518                                                 set_state(PART:"handle", "top_press", 0.0);
1519                                         else
1520                                                 set_state(PART:"handle", "press", 0.0);
1521                                 }
1522                         }
1523                         program { name: "unpressed";
1524                                 signal: "mouse,up,1";
1525                                 source: "handle";
1526                                 script {
1527                                         new pos;
1528                                         pos = get_int(handler_ontop);
1529                                         set_int(handler_pressed, 0);
1530                                         if (pos)
1531                                                 set_state(PART:"handle", "top", 0.0);
1532                                         else
1533                                                 set_state(PART:"handle", "show", 0.0);
1534                                 }
1535                         }
1536                 }
1537         }
1538
1539         group { name: "elm/entry/selection/block_handle_right";
1540                 data.item: "position" "BOTH";
1541                 data.item: "height" "40";
1542                 images {
1543                   image: "copy&paste_Icon_right.png" COMP;
1544                   image: "copy&paste_Icon_right_press.png" COMP;
1545                   image: "copy&paste_Icon_right_top.png" COMP;
1546                   image: "copy&paste_Icon_right_top_press.png" COMP;
1547                 }
1548                 parts {
1549                         part { name: "handle";
1550                                 mouse_events: 1;
1551                                 scale: 1;
1552                                 description { state: "default" 0.0;
1553                                         visible: 0;
1554                                         fixed: 1 1;
1555                                         align: 0 0;
1556                                         min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE;
1557                                         rel1 {
1558                                                 relative: 0.0 0.0;
1559                                                 offset: 0 -2;
1560                                         }
1561                                         rel2 {
1562                                                 relative: 0.0 0.0;
1563                                                 offset: 0 -2;
1564                                         }
1565                                         image {
1566                                                 normal: "copy&paste_Icon_right.png";
1567                                                 border: 0 0 0 0;
1568                                         }
1569                                         image.middle: SOLID;
1570                                         fill.smooth: 0;
1571                                 }
1572                                 description { state: "show" 0.0;
1573                                         inherit: "default" 0.0;
1574                                         visible: 1;
1575                                 }
1576                                 description { state: "top" 0.0;
1577                                         inherit: "default" 0.0;
1578                                         visible: 1;
1579                                         align: 0 1;
1580                                         image {
1581                                                 normal: "copy&paste_Icon_right_top.png";
1582                                         }
1583                                 }
1584                                 description { state: "press" 0.0;
1585                                         inherit: "default" 0.0;
1586                                         visible: 1;
1587                                         image {
1588                                                 normal: "copy&paste_Icon_right_press.png";
1589                                         }
1590                                 }
1591                                 description { state: "top_press" 0.0;
1592                                         inherit: "default" 0.0;
1593                                         visible: 1;
1594                                         align: 0 1;
1595                                         image {
1596                                                 normal: "copy&paste_Icon_right_top_press.png";
1597                                         }
1598                                 }
1599                         }
1600                 }
1601                 script {
1602                         public handler_ontop;
1603                         public handler_pressed;
1604                         public handler_focused;
1605                 }
1606                 programs {
1607                         program { name: "focused";
1608                                 signal: "edje,focus,in";
1609                                 source: "edje";
1610                                 script {
1611                                         set_int(handler_focused, 1);
1612                                 }
1613                         }
1614                         program { name: "unfocused";
1615                                 signal: "edje,focus,out";
1616                                 source: "edje";
1617                                 script {
1618                                         set_int(handler_focused, 0);
1619                                         set_state(PART:"handle", "default", 0.0);
1620                                 }
1621                         }
1622                         program { name: "top";
1623                         signal: "elm,state,top";
1624                                 source: "elm";
1625                                 script {
1626                                         new pressed;
1627                                         new focused;
1628                                         pressed = get_int(handler_pressed);
1629                                         focused = get_int(handler_focused);
1630                                         set_int(handler_ontop, 1);
1631                                         if (focused)
1632                                         {
1633                                              if (pressed)
1634                                                set_state(PART:"handle", "top_press", 0.0);
1635                                              else
1636                                                set_state(PART:"handle", "top", 0.0);
1637                                         }
1638                                         else
1639                                         {
1640                                              set_state(PART:"handle", "default", 0.0);
1641                                         }
1642                                 }
1643                         }
1644                         program { name: "bottom";
1645                         signal: "elm,state,bottom";
1646                                 source: "elm";
1647                                 script {
1648                                         new pressed;
1649                                         new focused;
1650                                         pressed = get_int(handler_pressed);
1651                                         focused = get_int(handler_focused);
1652                                         set_int(handler_ontop, 0);
1653                                         if (focused)
1654                                         {
1655                                              if (pressed)
1656                                                set_state(PART:"handle", "press", 0.0);
1657                                              else
1658                                                set_state(PART:"handle", "show", 0.0);
1659                                         }
1660                                         else
1661                                         {
1662                                              set_state(PART:"handle", "default", 0.0);
1663                                         }
1664                                 }
1665                         }
1666                         program { name: "pressed";
1667                                 signal: "mouse,down,1";
1668                                 source: "handle";
1669                                 script {
1670                                         new pos;
1671                                         pos = get_int(handler_ontop);
1672                                         set_int(handler_pressed, 1);
1673                                         if (pos)
1674                                                 set_state(PART:"handle", "top_press", 0.0);
1675                                         else
1676                                                 set_state(PART:"handle", "press", 0.0);
1677                                 }
1678                         }
1679                         program { name: "unpressed";
1680                                 signal: "mouse,up,1";
1681                                 source: "handle";
1682                                 script {
1683                                         new pos;
1684                                         pos = get_int(handler_ontop);
1685                                         set_int(handler_pressed, 0);
1686                                         if (pos)
1687                                                 set_state(PART:"handle", "top", 0.0);
1688                                         else
1689                                                 set_state(PART:"handle", "show", 0.0);
1690                                 }
1691                         }
1692                 }
1693         }
1694
1695
1696 /////////////////////////////////////////////////////////////////////////
1697
1698         group { name: "elm/entry/selection/block_bar";
1699                 images {
1700                   image: "reader_longtap_blue.png" COMP;
1701                 }
1702                 parts {
1703                         part { name: "bar_bg";
1704                                 scale: 1;
1705                                 mouse_events: 0;
1706                                 description { state: "default" 0.0;
1707                                         visible: 0;
1708                                         image {
1709                                                 normal: "reader_longtap_blue.png";
1710                                                 border: 0 0 0 0;
1711                                         }
1712                                         image.middle: SOLID;
1713                                         fill.smooth: 0;
1714                                 }
1715                         }
1716                 }
1717         }
1718
1719
1720
1721         group { name: "elm/entry/anchor/default";
1722                 parts {
1723                         part { name: "bg";
1724                                 type: RECT;
1725                                 mouse_events: 0;
1726                                 description { state: "default" 0.0;
1727                                         color: 128 0 0 64; 
1728                                 }
1729                         }
1730                 }
1731         }
1732
1733     group { name: "elm/entry/preedit/default";
1734         parts {
1735             part { name: "bg";
1736                 type: RECT;
1737                 mouse_events: 0;
1738                 description { state: "default" 0.0;
1739                     color: 128 128 128 255;
1740                 }
1741             }
1742         }
1743    }
1744
1745
1746 #define MAGNIFIER_SCALE 1.2
1747
1748         group { name: "elm/entry/magnifier/fill-width";
1749                 data.item: "height" MAGNIFIER_HEIGHT_FILL;
1750                 data.item: "scale" MAGNIFIER_SCALE;
1751                 images {
1752                   image: "magnifier_noarrow.png" COMP;
1753                   image: "magnifier_noarrow_line.png" COMP;
1754                 }
1755                 parts {
1756                         part { name: "bg";
1757                                 mouse_events: 0;
1758                                 scale: 1;
1759                                 description { state: "default" 0.0;
1760                                         align: 0.5 0.0;
1761                                         rel1 { offset: -20 -10; }
1762                                         rel2 { offset: 22 15; }
1763                                         image {
1764                                                 normal: "magnifier_noarrow.png";
1765                                                 border: 25 25 35 25;
1766                                         }
1767                                         image.middle: SOLID;
1768                                         fill.smooth: 0;
1769                                 }
1770                         }
1771                         part { name: "swallow";
1772                                 type: SWALLOW;
1773                                 mouse_events: 0;
1774                                 scale: 1;
1775                                 description { state: "default" 0.0;
1776                                         align: 0.0 0.0;
1777                                         rel1 {
1778                                                 to: "bg";
1779                                                 offset: 18 18;
1780                                         }
1781                                         rel2 {
1782                                                 to: "bg";
1783                                                 offset: -20 -20;
1784                                         }
1785                                 }
1786                         }
1787                         part { name: "outline";
1788                                 mouse_events: 0;
1789                                 scale: 1;
1790                                 description { state: "default" 0.0;
1791                                         visible: 0;
1792                                         align: 0.0 0.0;
1793                                         rel1 { to: "bg"; offset: 0 0; }
1794                                         rel2 { to: "bg"; offset: -1 -1; }
1795                                         image {
1796                                                 normal: "magnifier_noarrow_line.png";
1797                                                 border: 25 25 35 25;
1798                                         }
1799                                         image.middle: SOLID;
1800                                         fill.smooth: 0;
1801                                 }
1802                         }
1803                 }
1804         }
1805
1806
1807         group { name: "elm/entry/magnifier/fixed-size";
1808                 data.item: "height" MAGNIFIER_HEIGHT_FIXED;
1809                 data.item: "scale" MAGNIFIER_SCALE;
1810                 images {
1811                   image: "magnifier.png" COMP;
1812                   image: "magnifier_line.png" COMP;
1813                 }
1814                 parts {
1815                         part { name: "bg";
1816                                 mouse_events: 0;
1817                                 scale: 1;
1818                                 description { state: "default" 0.0;
1819                                 fixed: 1 1;
1820                                         min: MAGNIFIER_WIDTH_FIXED MAGNIFIER_HEIGHT_FIXED;
1821                                         align: 0.5 0.0;
1822                                         rel1.offset: 0 8;
1823                                         image {
1824                                                 normal: "magnifier.png";
1825                                                 border: 12 14 14 20;
1826                                         }
1827                                         image.middle: SOLID;
1828                                         fill.smooth: 0;
1829                                 }
1830                         }
1831                         part { name: "swallow";
1832                                 type: SWALLOW;
1833                                 mouse_events: 0;
1834                                 scale: 1;
1835                                 description { state: "default" 0.0;
1836                                 fixed: 1 1;
1837                                         align: 0.0 0.0;
1838                                         rel1 {
1839                                                 to: "bg";
1840                                                 offset: 12 14;
1841                                         }
1842                                         rel2 {
1843                                                 to: "bg";
1844                                                 offset: -14 -20;
1845                                         }
1846                                 }
1847                         }
1848                         part { name: "outline";
1849                                 mouse_events: 0;
1850                                 scale: 1;
1851                                 description { state: "default" 0.0;
1852                                 fixed: 1 1;
1853                                         visible: 0;
1854                                         align: 0.0 0.0;
1855                                         rel1 { to: "bg"; offset: 0 0; }
1856                                         rel2 { to: "bg"; offset: -1 -1; }
1857                                         image {
1858                                                 normal: "magnifier_line.png";
1859                                                 border: 12 14 14 20;
1860                                         }
1861                                         image.middle: SOLID;
1862                                         fill.smooth: 0;
1863                                 }
1864                         }
1865                 }
1866         }
1867
1868         group { name: "elm/entry/matchlist/default";
1869                 data.item: "max_height" "230";
1870                 parts {
1871                         part { name: "base";
1872                                 type: RECT;
1873                                 scale : 1;
1874                                 mouse_events: 1;
1875                                 repeat_events: 1;
1876                                 description { state: "default" 0.0;
1877                                         color: 0 0 0 0;
1878                                         rel1 {
1879                                                 relative: 0.0 0.0;
1880                                                 offset: 0 20;
1881                                         }
1882                                         rel2 {
1883                                                 relative: 1.0 1.0;
1884                                                 offset: 0 20;
1885                                         }
1886                                 }
1887                         }
1888                         part { name: "elm.swallow.content";
1889                                 type: SWALLOW;
1890                                 description { state: "default" 0.0;
1891                                         align: 0.0 0.0;
1892                                         rel1 {
1893                                                 to: "base";
1894                                         }              
1895                                         rel2 {
1896                                                 to: "base";
1897                                         }              
1898                                 }
1899                         }
1900                 }
1901         } 
1902
1903 /* Entry's bubble style */
1904
1905       styles
1906         {
1907            style { name: "entry_bubble_date_area_textblock_style";
1908                         base: "font=SLP:style=Roman font_size="ENTRY_BUBBLE_DATE_AREA_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" left_margin=2 right_margin=2 wrap=mixed text_class=entry";
1909               tag:  "br" "\n";
1910               tag:  "ps" "ps";
1911               tag:  "tab" "\t";
1912               tag:  "em" "+ font=SLP:style=Oblique";
1913               tag:  "b" "+ font=SLP:style=Bold";
1914               tag:  "link" "+ color=#800 underline=on underline_color=#8008";
1915               tag:  "hilight" "+ font=SLP:style=Bold";
1916               tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC"";
1917               tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC"";
1918            }
1919         }
1920
1921    group { name: "elm/entry/base/readmessage";
1922       data.item: "default_font_size" "24";
1923       data.item: "min_font_size" "8";
1924       data.item: "max_font_size" "60";
1925       data {
1926          item: context_menu_orientation "horizontal";
1927       }
1928       parts {
1929          part {
1930             name: "elm.rect.left.pad";
1931             type: RECT;
1932             scale: 1;
1933             description {
1934                state: "default" 0.0;
1935                min: ENTRY_BUBBLE_EX_PAD 0;
1936                fixed: 1 0;
1937                align: 0.0 0.0;
1938                color: 0 0 0 0;
1939                rel2.relative: 0.0 1.0;
1940             }
1941          }
1942          part {
1943             name: "elm.rect.right.pad";
1944             type: RECT;
1945             scale: 1;
1946             description {
1947                state: "default" 0.0;
1948                min: ENTRY_BUBBLE_IX_PAD 0;
1949                fixed: 1 0;
1950                align: 0.0 0.0;
1951                color: 0 0 0 0;
1952                rel1 { relative: 1.0 0.0; to: "elm.text"; }
1953                rel2.to: "elm.text";
1954             }
1955          }
1956          part {
1957            name: "elm.rect.top.pad";
1958            type: RECT;
1959            scale: 1;
1960            description {
1961               state: "default" 0.0;
1962               min: 0 ENTRY_BUBBLE_Y_PAD;
1963               fixed: 0 1;
1964               align: 0.0 0.0;
1965               color: 0 0 0 0;
1966               rel2.relative: 1.0 0.0;
1967             }
1968          }
1969          part {
1970            name: "elm.rect.bottom.pad";
1971            type: RECT;
1972            scale: 1;
1973            description {
1974               state: "default" 0.0;
1975               min: 0 ENTRY_BUBBLE_Y_PAD;
1976               fixed: 0 1;
1977               align: 0.0 1.0;
1978               color: 0 0 0 0;
1979               rel1.relative: 0.0 1.0;
1980             }
1981          }
1982          part { 
1983             name: "elm.image.bg";
1984             type: IMAGE;
1985             scale: 1;
1986             description { 
1987                state: "default" 0.0;
1988                rel2.to_x: "elm.rect.right.pad";
1989                image {
1990                   normal: "00_MessageBubble_BG_receive.png";
1991                   border: 1 20 13 20;
1992                   border_scale: 1;
1993                }
1994             }
1995          }
1996          part { name: "elm.text";
1997             type: TEXTBLOCK;
1998             mouse_events: 1;
1999             scale: 1;
2000             entry_mode: EDITABLE;
2001             select_mode: BLOCK_HANDLE;
2002             //cursor_mode: BEFORE;
2003             multiline: 1;
2004             source: "elm/entry/selection/default"; // selection under
2005             source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
2006             source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
2007             source4: "elm/entry/cursor/default"; // cursorover
2008             source5: "elm/entry/anchor/default"; // anchor under
2009 //          source6: "X"; // anchor over
2010             description { state: "default" 0.0;
2011                fixed: 1 0;
2012                align: 0.0 0.0;
2013                rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
2014                rel2 { relative: 1.0 0.0; to_y: "elm.rect.bottom.pad"; }
2015                text {
2016                   style: "entry_textblock_style";
2017                   min: 0 1;
2018                   max: 1 0;
2019                }
2020             }
2021             description { state: "disabled" 0.0;
2022                inherit: "default" 0.0;
2023                text {
2024                   style: "entry_textblock_disabled_style";
2025                }
2026             }
2027          }
2028       }
2029       programs {
2030          program { name: "focus";
2031             signal: "load";
2032             source: "";
2033             action: FOCUS_SET;
2034             target: "elm.text";
2035          }
2036          program { name: "disable";
2037             signal: "elm,state,disabled";
2038             source: "elm";
2039             action: STATE_SET "disabled" 0.0;
2040             target: "elm.text";
2041          }
2042          program { name: "enable";
2043             signal: "elm,state,enabled";
2044             source: "elm";
2045             action: STATE_SET "default" 0.0;
2046             target: "elm.text";
2047          }
2048       }
2049    }
2050
2051    group { name: "elm/entry/base-noedit/readmessage";
2052       data.item: "default_font_size" "24";
2053       data.item: "min_font_size" "8";
2054       data.item: "max_font_size" "60";
2055       data {
2056          item: context_menu_orientation "horizontal";
2057       }
2058       parts {
2059          part {
2060             name: "elm.rect.left.pad";
2061             type: RECT;
2062             scale: 1;
2063             description {
2064                state: "default" 0.0;
2065                min: ENTRY_BUBBLE_EX_PAD 0;
2066                fixed: 1 0;
2067                align: 0.0 0.0;
2068                color: 0 0 0 0;
2069                rel2.relative: 0.0 1.0;
2070             }
2071          }
2072          part {
2073             name: "elm.rect.right.pad";
2074             type: RECT;
2075             scale: 1;
2076             description {
2077                state: "default" 0.0;
2078                min: ENTRY_BUBBLE_IX_PAD 0;
2079                fixed: 1 0;
2080                align: 0.0 0.0;
2081                color: 0 0 0 0;
2082                rel1 { relative: 1.0 0.0; to: "elm.text"; }
2083                rel2.to: "elm.text";
2084             }
2085          }
2086          part {
2087            name: "elm.rect.top.pad";
2088            type: RECT;
2089            scale: 1;
2090            description {
2091               state: "default" 0.0;
2092               min: 0 ENTRY_BUBBLE_Y_PAD;
2093               fixed: 0 1;
2094               align: 0.0 0.0;
2095               color: 0 0 0 0;
2096               rel2.relative: 1.0 0.0;
2097            }
2098          }
2099          part {
2100            name: "elm.rect.topleft.pad";
2101            type: RECT;
2102            scale: 1;
2103            description {
2104               state: "default" 0.0;
2105               min: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
2106               max: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
2107               fixed: 1 1;
2108               align: 0.0 0.0;
2109               visible: 0;
2110            }
2111          }
2112          part {
2113            name: "elm.rect.bottom.pad";
2114            type: RECT;
2115            scale: 1;
2116            description {
2117               state: "default" 0.0;
2118               min: 0 ENTRY_BUBBLE_BOTTOM_PAD;
2119               fixed: 0 1;
2120               align: 0.0 1.0;
2121               color: 0 0 0 0;
2122               rel1.relative: 0.0 1.0;
2123            }
2124          }
2125          part {
2126             name: "elm.image.bg";
2127             type: IMAGE;
2128             scale: 1;
2129             description {
2130                state: "default" 0.0;
2131                rel2.to_x: "elm.rect.right.pad";
2132                image {
2133                   normal: "00_MessageBubble_BG_receive.png";
2134                   border: 1 20 13 20;
2135                   border_scale: 1;
2136                }
2137             }
2138          }
2139          // it's temporary blocked for prepare entry's signal feature
2140          /*
2141          part {
2142            name: "elm.text.subject";
2143            type: TEXTBLOCK;
2144            scale: 1;
2145            description {
2146               state: "default" 0.0;
2147               align: 0.0 0.0;
2148               text {
2149                  style: "entry_textblock_style";
2150                  min: 0 1;
2151               }
2152               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
2153               rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
2154            }
2155          }
2156          */
2157          part {
2158            name: "elm.rect.subject.line";
2159            type: RECT;
2160            scale: 1;
2161            description {
2162               state: "default" 0.0;
2163               visible: 0;
2164               min: 0 1;
2165               align: 0.0 0.0;
2166               color: 0 0 0 255;
2167               /*
2168               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.text.subject"; }
2169               rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.text.subject"; }
2170               */
2171               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
2172               rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
2173            }
2174          }
2175          part {
2176             name: "elm.swallow.callerid";
2177             type: SWALLOW;
2178             scale: 1;
2179             description {
2180                state: "default" 0.0;
2181                min: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT;
2182                max: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT;
2183                fixed: 1 1;
2184                align: 0.0 0.0;
2185                visible: 0;
2186                rel1 { relative: 1.0 1.0; to: "elm.rect.topleft.pad"; to_y: "elm.rect.topleft.pad"; }
2187                rel2 { relative: 1.0 0.0; to_y: "elm.rect.bottom.pad"; }
2188             }
2189             description { state: "callerid_on" 0.0;
2190                inherit: "default" 0.0;
2191                visible: 1;
2192             }
2193          }
2194          part {
2195             name: "elm.rect.callerid.pad";
2196             type: RECT;
2197             scale: 1;
2198             description {
2199                state: "default" 0.0;
2200                min: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
2201                max: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
2202                fixed: 1 1;
2203                align: 0.0 0.0;
2204                visible: 0;
2205                rel1 { relative: 1.0 1.0; to: "elm.swallow.callerid"; to_y: "elm.rect.top.pad"; }
2206                rel2 { relative: 1.0 0.0; to_y: "elm.rect.bottom.pad"; }
2207             }
2208          }
2209          part { name: "elm.text";
2210             type: TEXTBLOCK;
2211             mouse_events: 1;
2212             scale: 1;
2213             entry_mode: PLAIN;
2214             select_mode: BLOCK_HANDLE;
2215             //cursor_mode: BEFORE;
2216             multiline: 1;
2217             source: "elm/entry/selection/default"; // selection under
2218             source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
2219             source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
2220             source5: "elm/entry/anchor/default"; // anchor under
2221             description {
2222                state: "default" 0.0;
2223                fixed: 1 0;
2224                align: 0.0 0.0;
2225                rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.subject.line"; }
2226                rel2 { relative: 1.0 1.0; to_y: "elm.rect.subject.line"; }
2227                text {
2228                   style: "entry_textblock_style";
2229                   min: 0 1;
2230                   max: 1 0;
2231                }
2232             }
2233             description { state: "callerid_on" 0.0;
2234                inherit: "default" 0.0;
2235                rel1 { relative: 1.0 1.0; to_x: "elm.rect.callerid.pad"; to_y: "elm.rect.subject.line"; }
2236                rel2 { relative: 1.0 1.0; to_y: "elm.rect.subject.line"; }
2237             }
2238             description { state: "disabled" 0.0;
2239                inherit: "default" 0.0;
2240                text {
2241                   style: "entry_textblock_disabled_style";
2242                }
2243             }
2244          }
2245          part {
2246             name: "elm.rect.status.pad";
2247             type: RECT;
2248             scale: 1;
2249             description {
2250                state: "default" 0.0;
2251                min: GENLIST_PADDING_6_INC GENLIST_SIZE_64_INC;
2252                fixed: 1 1;
2253                align: 0.0 1.0;
2254                visible: 0;
2255                rel1 { relative: 1.5 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
2256                rel2 { relative: 1.0 1.0; to_y: "elm.rect.bottom.pad"; }
2257             }
2258          }
2259          part {
2260             name: "elm.rect.time.pad";
2261             type: RECT;
2262             scale: 1;
2263             description {
2264                state: "default" 0.0;
2265                min: GENLIST_PADDING_6_INC GENLIST_PADDING_34_INC;
2266                max: GENLIST_PADDING_6_INC GENLIST_PADDING_34_INC;
2267                fixed: 1 1;
2268                align: 0.0 0.0;
2269                visible: 0;
2270                rel1.to: "elm.rect.status.pad";
2271                rel2 { relative: 1.0 1.0; to_y: "elm.rect.bottom.pad"; }
2272             }
2273          }
2274          part { name: "elm.text.status";
2275             type: TEXT;
2276             scale: 1;
2277             description { state: "default" 0.0;
2278                align: 0.0 1.0;
2279                fixed: 1 1;
2280                text {
2281                   font: "SLP:style=Roman";
2282                   size: GENLIST_FONT_28_INC;
2283                   min: 1 0;
2284                   text_class: "slp_roman";
2285                }
2286                visible: 1;
2287                color: GENLIST_PART_FONT_LIST_SUB_TEXT_COLOR_INC;
2288                rel1 { relative: 0.0 0.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
2289                rel2 { relative: 0.0 0.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
2290             }
2291             description { state: "disabled" 0.0;
2292                inherit: "default" 0.0;
2293                visible: 0;
2294             }
2295          }
2296          part { name: "elm.text.time";
2297             type: TEXT;
2298             scale: 1;
2299             description { state: "default" 0.0;
2300                align: 0.0 0.0;
2301                fixed: 1 1;
2302                text {
2303                   font: "SLP:style=Roman";
2304                   size: GENLIST_FONT_28_INC;
2305                   min: 1 0;
2306                   text_class: "slp_roman";
2307                }
2308                visible: 1;
2309                color: GENLIST_PART_FONT_LIST_SUB_TEXT_COLOR_INC;
2310                rel1 { relative: 0.0 1.0; to_x: "elm.rect.time.pad"; to_y: "elm.rect.time.pad"; }
2311                rel2 { relative: 0.0 1.0; to_x: "elm.rect.time.pad"; to_y: "elm.rect.time.pad"; }
2312             }
2313             description { state: "disabled" 0.0;
2314                inherit: "default" 0.0;
2315                visible: 0;
2316             }
2317          }
2318          part {
2319             name: "elm.swallow.icon1";
2320             type: SWALLOW;
2321             scale: 1;
2322             description {
2323                state: "default" 0.0;
2324                min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
2325                max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
2326                fixed: 1 1;
2327                align: 0.0 1.0;
2328                visible: 0;
2329                rel1 { relative: 1.5 0.3; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
2330                rel2 { relative: 1.0 0.3; to_y: "elm.rect.bottom.pad"; }
2331             }
2332             description { state: "enabled" 0.0;
2333                inherit: "default" 0.0;
2334                visible: 1;
2335             }
2336          }
2337          part {
2338            name: "elm.swallow.end";
2339            type: SWALLOW;
2340            scale: 1;
2341            description { state: "default" 0.0;
2342               align: 0.0 0.0;
2343               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.text"; }
2344               rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
2345            }
2346          }
2347       }
2348       programs {
2349          program { name: "focus";
2350             signal: "load";
2351             source: "";
2352             action: FOCUS_SET;
2353             target: "elm.text";
2354          }
2355          program { name: "disable";
2356             signal: "elm,state,disabled";
2357             source: "elm";
2358             action: STATE_SET "disabled" 0.0;
2359             target: "elm.text";
2360          }
2361          program { name: "enable";
2362             signal: "elm,state,enabled";
2363             source: "elm";
2364             action: STATE_SET "default" 0.0;
2365             target: "elm.text";
2366          }
2367          program { name: "go_callerid_on";
2368             signal: "elm,state,callerid,enabled";
2369             source: "elm";
2370             action: STATE_SET "callerid_on" 0.0;
2371             target: "elm.swallow.callerid";
2372             target: "elm.text";
2373          }
2374          program { name: "go_callerid_off";
2375             signal: "elm,state,callerid,disabled";
2376             source: "elm";
2377             action: STATE_SET "default" 0.0;
2378             target: "elm.swallow.callerid";
2379             target: "elm.text";
2380          }
2381          program { name: "go_textstatus_on";
2382             signal: "elm,state,text,status,enabled";
2383             source: "elm";
2384             action: STATE_SET "default" 0.0;
2385             target: "elm.text.time";
2386             target: "elm.text.status";
2387             after: "go_contentstatus_off";
2388          }
2389          program { name: "go_textstatus_off";
2390             signal: "elm,state,text,status,disbled";
2391             source: "elm";
2392             action: STATE_SET "disabled" 0.0;
2393             target: "elm.text.time";
2394             target: "elm.text.status";
2395          }
2396          program { name: "go_contentstatus_on";
2397             signal: "elm,state,content,status,enabled";
2398             source: "elm";
2399             action: STATE_SET "enabled" 0.0;
2400             target: "elm.swallow.icon1";
2401             after: "go_textstatus_off";
2402          }
2403          program { name: "go_contentstatus_off";
2404             signal: "elm,state,content,status,disabled";
2405             source: "elm";
2406             action: STATE_SET "default" 0.0;
2407             target: "elm.swallow.icon1";
2408          }
2409       }
2410    }
2411
2412    group { name: "elm/entry/base-noedit-charwrap/readmessage";
2413       data.item: "default_font_size" "24";
2414       data.item: "min_font_size" "8";
2415       data.item: "max_font_size" "60";
2416       data {
2417          item: context_menu_orientation "horizontal";
2418       }
2419       parts {
2420          part {
2421             name: "elm.rect.left.pad";
2422             type: RECT;
2423             scale: 1;
2424             description {
2425                state: "default" 0.0;
2426                min: ENTRY_BUBBLE_EX_PAD 0;
2427                fixed: 1 0;
2428                align: 0.0 0.0;
2429                color: 0 0 0 0;
2430                rel2.relative: 0.0 1.0;
2431             }
2432          }
2433          part {
2434             name: "elm.rect.right.pad";
2435             type: RECT;
2436             scale: 1;
2437             description {
2438                state: "default" 0.0;
2439                min: ENTRY_BUBBLE_IX_PAD 0;
2440                fixed: 1 0;
2441                align: 0.0 0.0;
2442                color: 0 0 0 0;
2443                rel1 { relative: 1.0 0.0; to_x: "elm.text"; }
2444                rel2.to_x: "elm.text";
2445             }
2446          }
2447          part {
2448            name: "elm.rect.top.pad";
2449            type: RECT;
2450            scale: 1;
2451            description {
2452               state: "default" 0.0;
2453               min: 0 ENTRY_BUBBLE_Y_PAD;
2454               fixed: 0 1;
2455               align: 0.0 0.0;
2456               color: 0 0 0 0;
2457               rel2.relative: 1.0 0.0;
2458            }
2459          }
2460          part {
2461            name: "elm.rect.bottom.pad";
2462            type: RECT;
2463            scale: 1;
2464            description {
2465               state: "default" 0.0;
2466               min: 0 ENTRY_BUBBLE_Y_PAD;
2467               fixed: 0 1;
2468               align: 0.0 1.0;
2469               color: 0 0 0 0;
2470               rel1.relative: 0.0 1.0;
2471            }
2472          }
2473          part {
2474             name: "elm.image.bg";
2475             type: IMAGE;
2476             scale: 1;
2477             description {
2478                state: "default" 0.0;
2479                rel2.to_x: "elm.rect.right.pad";
2480                image {
2481                   normal: "00_MessageBubble_BG_receive.png";
2482                   border: 1 20 13 20;
2483                   border_scale: 1;
2484                }
2485             }
2486          }
2487          part { name: "elm.text";
2488             type: TEXTBLOCK;
2489             mouse_events: 1;
2490             scale: 1;
2491             entry_mode: PLAIN;
2492             select_mode: BLOCK_HANDLE;
2493             //cursor_mode: BEFORE;
2494             multiline: 1;
2495             source: "elm/entry/selection/default"; // selection under
2496             source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
2497             source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
2498             source5: "elm/entry/anchor/default"; // anchor under
2499             description { state: "default" 0.0;
2500                fixed: 1 0;
2501                align: 0.0 0.0;
2502                rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
2503                rel2 { relative: 1.0 0.0; to_y: "elm.rect.bottom.pad"; }
2504                text {
2505                   style: "entry_textblock_style_charwrap";
2506                   min: 0 1;
2507                   max: 1 0;
2508                }
2509             }
2510             description { state: "disabled" 0.0;
2511                inherit: "default" 0.0;
2512                text {
2513                   style: "entry_textblock_disabled_style_charwrap";
2514                }
2515             }
2516          }
2517       }
2518       programs {
2519          program { name: "focus";
2520             signal: "load";
2521             source: "";
2522             action: FOCUS_SET;
2523             target: "elm.text";
2524          }
2525          program { name: "disable";
2526             signal: "elm,state,disabled";
2527             source: "elm";
2528             action: STATE_SET "disabled" 0.0;
2529             target: "elm.text";
2530          }
2531          program { name: "enable";
2532             signal: "elm,state,enabled";
2533             source: "elm";
2534             action: STATE_SET "default" 0.0;
2535             target: "elm.text";
2536          }
2537       }
2538    }
2539
2540    group { name: "elm/entry/base/sentmessage";
2541       data.item: "default_font_size" "24";
2542       data.item: "min_font_size" "8";
2543       data.item: "max_font_size" "60";
2544       data {
2545          item: context_menu_orientation "horizontal";
2546       }
2547       parts {
2548          part {
2549             name: "elm.rect.right.pad";
2550             type: RECT;
2551             scale: 1;
2552             description {
2553                state: "default" 0.0;
2554                min: ENTRY_BUBBLE_EX_PAD 0;
2555                fixed: 1 0;
2556                align: 1.0 0.0;
2557                color: 0 0 0 0;
2558                rel1.relative: 1.0 0.0;
2559             }
2560          }
2561          part {
2562             name: "elm.rect.left.pad";
2563             type: RECT;
2564             scale: 1;
2565             description {
2566                state: "default" 0.0;
2567                min: ENTRY_BUBBLE_IX_PAD 0;
2568                fixed: 1 0;
2569                align: 1.0 0.0;
2570                color: 0 0 0 0;
2571                rel1 { relative: 0.0 0.0; to: "elm.text"; }
2572                rel2 { relative: 0.0 1.0; to: "elm.text"; }
2573             }
2574          }
2575          part {
2576            name: "elm.rect.top.pad";
2577            type: RECT;
2578            scale: 1;
2579            description {
2580               state: "default" 0.0;
2581               min: 0 ENTRY_BUBBLE_Y_PAD;
2582               fixed: 0 1;
2583               align: 0.0 0.0;
2584               color: 0 0 0 0;
2585               rel2.relative: 1.0 0.0;
2586            }
2587          }
2588          part {
2589            name: "elm.rect.bottom.pad";
2590            type: RECT;
2591            scale: 1;
2592            description {
2593               state: "default" 0.0;
2594               min: 0 ENTRY_BUBBLE_Y_PAD;
2595               fixed: 0 1;
2596               align: 0.0 1.0;
2597               color: 0 0 0 0;
2598               rel1.relative: 0.0 1.0;
2599            }
2600          }
2601          part {
2602             name: "elm.image.bg";
2603             type: IMAGE;
2604             scale: 1;
2605             description {
2606                state: "default" 0.0;
2607                rel1.to_x: "elm.rect.left.pad";
2608                image {
2609                   normal: "00_MessageBubble_BG_send.png";
2610                   border: 20 1 13 20;
2611                   border_scale: 1;
2612                }
2613             }
2614          }
2615          part { name: "elm.text";
2616             type: TEXTBLOCK;
2617             mouse_events: 1;
2618             scale: 1;
2619             entry_mode: EDITABLE;
2620             select_mode: BLOCK_HANDLE;
2621             //cursor_mode: BEFORE;
2622             multiline: 1;
2623             source: "elm/entry/selection/default"; // selection under
2624             source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
2625             source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
2626             source4: "elm/entry/cursor/default"; // cursorover
2627             source5: "elm/entry/anchor/default"; // anchor under
2628 //          source6: "X"; // anchor over
2629             description { state: "default" 0.0;
2630                fixed: 1 0;
2631                align: 1.0 0.0;
2632                rel1 { relative: 0.0 1.0; to_y: "elm.rect.top.pad";}
2633                rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
2634                text {
2635                   style: "entry_textblock_style";
2636                   min: 0 1;
2637                   max: 1 0;
2638                }
2639             }
2640             description { state: "disabled" 0.0;
2641                inherit: "default" 0.0;
2642                text {
2643                   style: "entry_textblock_disabled_style";
2644                }
2645             }
2646          }
2647       }
2648       programs {
2649          program { name: "focus";
2650             signal: "load";
2651             source: "";
2652             action: FOCUS_SET;
2653             target: "elm.text";
2654          }
2655          program { name: "disable";
2656             signal: "elm,state,disabled";
2657             source: "elm";
2658             action: STATE_SET "disabled" 0.0;
2659             target: "elm.text";
2660          }
2661          program { name: "enable";
2662             signal: "elm,state,enabled";
2663             source: "elm";
2664             action: STATE_SET "default" 0.0;
2665             target: "elm.text";
2666          }
2667       }
2668    }
2669
2670    group { name: "elm/entry/base-noedit/sentmessage";
2671       data.item: "default_font_size" "24";
2672       data.item: "min_font_size" "8";
2673       data.item: "max_font_size" "60";
2674       data {
2675          item: context_menu_orientation "horizontal";
2676       }
2677       parts {
2678          part {
2679             name: "elm.rect.right.pad";
2680             type: RECT;
2681             scale: 1;
2682             description {
2683                state: "default" 0.0;
2684                min: ENTRY_BUBBLE_EX_PAD 0;
2685                fixed: 1 0;
2686                align: 1.0 0.0;
2687                color: 0 0 0 0;
2688                rel1.relative: 1.0 0.0;
2689             }
2690          }
2691          part {
2692             name: "elm.rect.left.pad";
2693             type: RECT;
2694             scale: 1;
2695             description {
2696                state: "default" 0.0;
2697                min: ENTRY_BUBBLE_IX_PAD 0;
2698                fixed: 1 0;
2699                align: 1.0 0.0;
2700                color: 0 0 0 0;
2701                rel1 { relative: 0.0 0.0; to: "elm.text"; }
2702                rel2 { relative: 0.0 1.0; to: "elm.text"; }
2703             }
2704          }
2705          part {
2706            name: "elm.rect.topright.pad";
2707            type: RECT;
2708            scale: 1;
2709            description {
2710               state: "default" 0.0;
2711               min: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
2712               max: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
2713               align: 1.0 0.0;
2714               visible: 0;
2715               rel1.relative: 1.0 0.0;
2716            }
2717          }
2718          part {
2719            name: "elm.rect.top.pad";
2720            type: RECT;
2721            scale: 1;
2722            description {
2723               state: "default" 0.0;
2724               min: 0 ENTRY_BUBBLE_Y_PAD;
2725               fixed: 0 1;
2726               align: 0.0 0.0;
2727               color: 0 0 0 0;
2728               rel2.relative: 1.0 0.0;
2729            }
2730          }
2731          part {
2732            name: "elm.rect.bottom.pad";
2733            type: RECT;
2734            scale: 1;
2735            description {
2736               state: "default" 0.0;
2737               min: 0 ENTRY_BUBBLE_BOTTOM_PAD;
2738               fixed: 0 1;
2739               align: 0.0 1.0;
2740               color: 0 0 0 0;
2741               rel1.relative: 0.0 1.0;
2742            }
2743          }
2744          part {
2745             name: "elm.image.bg";
2746             type: IMAGE;
2747             scale: 1;
2748             description {
2749                state: "default" 0.0;
2750                rel1.to_x: "elm.rect.left.pad";
2751                image {
2752                   normal: "00_MessageBubble_BG_send.png";
2753                   border: 20 1 13 20;
2754                   border_scale: 1;
2755                }
2756             }
2757          }
2758          // it's temporary blocked for prepare entry's signal feature
2759          /*
2760          part {
2761            name: "elm.text.subject";
2762            type: TEXTBLOCK;
2763            scale: 1;
2764            description {
2765               state: "default" 0.0;
2766               align: 0.0 0.0;
2767               text {
2768                  style: "entry_textblock_style";
2769                  min: 0 1;
2770               }
2771               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
2772               rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
2773            }
2774          }
2775          */
2776          part {
2777            name: "elm.rect.subject.line";
2778            type: RECT;
2779            scale: 1;
2780            description {
2781               state: "default" 0.0;
2782               visible: 0;
2783               min: 0 1;
2784               align: 0.0 0.0;
2785               color: 0 0 0 255;
2786               /*
2787               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.text.subject"; }
2788               rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.text.subject"; }
2789               */
2790               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
2791               rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
2792            }
2793          }
2794          part {
2795             name: "elm.swallow.callerid";
2796             type: SWALLOW;
2797             scale: 1;
2798             description {
2799                state: "default" 0.0;
2800                min: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT;
2801                max: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT;
2802                align: 1.0 0.0;
2803                visible: 0;
2804                rel1 { relative: 0.0 1.0; to_x: "elm.rect.topright.pad"; to_y: "elm.rect.topright.pad"; }
2805                rel2 { relative: 0.0 1.0; to_x: "elm.rect.topright.pad"; to_y: "elm.rect.bottom.pad"; }
2806             }
2807             description { state: "callerid_on" 0.0;
2808                inherit: "default" 0.0;
2809                visible: 1;
2810             }
2811          }
2812          part {
2813             name: "elm.rect.callerid.pad";
2814             type: RECT;
2815             scale: 1;
2816             description {
2817                state: "default" 0.0;
2818                min: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
2819                max: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
2820                align: 1.0 0.0;
2821                visible: 0;
2822                rel1 { relative: 0.0 1.0; to_x: "elm.swallow.callerid"; to_y: "elm.rect.topright.pad"; }
2823                rel2 { relative: 0.0 1.0; to_x: "elm.swallow.callerid"; to_y: "elm.rect.bottom.pad"; }
2824             }
2825          }
2826          part { name: "elm.text";
2827             type: TEXTBLOCK;
2828             mouse_events: 1;
2829             scale: 1;
2830             entry_mode: PLAIN;
2831             select_mode: BLOCK_HANDLE;
2832             //cursor_mode: BEFORE;
2833             multiline: 1;
2834             source: "elm/entry/selection/default"; // selection under
2835             source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
2836             source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
2837             source5: "elm/entry/anchor/default"; // anchor under
2838             description {
2839                state: "default" 0.0;
2840                fixed: 1 0;
2841                align: 1.0 0.0;
2842                rel1 { relative: 0.0 1.0; to_y: "elm.rect.subject.line";}
2843                rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.subject.line"; }
2844                text {
2845                   style: "entry_textblock_style";
2846                   min: 0 1;
2847                   max: 1 0;
2848                }
2849             }
2850             description { state: "callerid_on" 0.0;
2851                inherit: "default" 0.0;
2852                rel1 { relative: 0.0 1.0; to_y: "elm.rect.subject.line";}
2853                rel2 { relative: 0.0 1.0; to_x: "elm.rect.callerid.pad"; to_y: "elm.rect.subject.line"; }
2854             }
2855             description { state: "disabled" 0.0;
2856                inherit: "default" 0.0;
2857                text {
2858                   style: "entry_textblock_disabled_style";
2859                }
2860             }
2861          }
2862          part {
2863             name: "elm.rect.status.pad";
2864             type: RECT;
2865             scale: 1;
2866             description {
2867                state: "default" 0.0;
2868                min: GENLIST_PADDING_6_INC GENLIST_SIZE_64_INC;
2869                fixed: 1 1;
2870                align: 1.0 1.0;
2871                visible: 0;
2872                rel1 { relative: -0.8 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
2873                rel2 { relative: -0.8 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
2874             }
2875          }
2876          part {
2877             name: "elm.rect.time.pad";
2878             type: RECT;
2879             scale: 1;
2880             description {
2881                state: "default" 0.0;
2882                min: GENLIST_PADDING_6_INC GENLIST_PADDING_34_INC;
2883                max: GENLIST_PADDING_6_INC GENLIST_PADDING_34_INC;
2884                fixed: 1 1;
2885                align: 0.0 0.0;
2886                visible: 0;
2887                rel1.to: "elm.rect.status.pad";
2888                rel2 { relative: 0.0 1.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.bottom.pad"; }
2889             }
2890          }
2891          part { name: "elm.text.status";
2892             type: TEXT;
2893             scale: 1;
2894             description { state: "default" 0.0;
2895                align: 1.0 1.0;
2896                fixed: 1 1;
2897                text {
2898                   font: "SLP:style=Roman";
2899                   size: GENLIST_FONT_28_INC;
2900                   min: 1 0;
2901                   text_class: "slp_roman";
2902                }
2903                visible: 1;
2904                color: GENLIST_PART_FONT_LIST_SUB_TEXT_COLOR_INC;
2905                rel1 { relative: 0.0 0.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
2906                rel2 { relative: 0.0 0.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
2907             }
2908             description { state: "disabled" 0.0;
2909                inherit: "default" 0.0;
2910                visible: 0;
2911             }
2912          }
2913          part { name: "elm.text.time";
2914             type: TEXT;
2915             scale: 1;
2916             description { state: "default" 0.0;
2917                align: 1.0 0.0;
2918                fixed: 1 1;
2919                text {
2920                   font: "SLP:style=Roman";
2921                   size: GENLIST_FONT_28_INC;
2922                   min: 1 0;
2923                   text_class: "slp_roman";
2924                }
2925                visible: 1;
2926                color: GENLIST_PART_FONT_LIST_SUB_TEXT_COLOR_INC;
2927                rel1 { relative: 0.0 1.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.time.pad"; }
2928                rel2 { relative: 0.0 1.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.time.pad"; }
2929             }
2930             description { state: "disabled" 0.0;
2931                inherit: "default" 0.0;
2932                visible: 0;
2933             }
2934          }
2935          part {
2936             name: "elm.swallow.icon1";
2937             type: SWALLOW;
2938             scale: 1;
2939             description {
2940                state: "default" 0.0;
2941                min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
2942                max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
2943                fixed: 1 1;
2944                align: 1.0 1.0;
2945                visible: 0;
2946                rel1 { relative: -0.8 0.3; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
2947                rel2 { relative: -0.8 0.3; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
2948             }
2949             description { state: "enabled" 0.0;
2950                inherit: "default" 0.0;
2951                visible: 1;
2952             }
2953          }
2954          part {
2955            name: "elm.swallow.end";
2956            type: SWALLOW;
2957            scale: 1;
2958            description {
2959               state: "default" 0.0;
2960               align: 0.0 0.0;
2961               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.text"; }
2962               rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
2963            }
2964          }
2965       }
2966       programs {
2967          program { name: "focus";
2968             signal: "load";
2969             source: "";
2970             action: FOCUS_SET;
2971             target: "elm.text";
2972          }
2973          program { name: "disable";
2974             signal: "elm,state,disabled";
2975             source: "elm";
2976             action: STATE_SET "disabled" 0.0;
2977             target: "elm.text";
2978          }
2979          program { name: "enable";
2980             signal: "elm,state,enabled";
2981             source: "elm";
2982             action: STATE_SET "default" 0.0;
2983             target: "elm.text";
2984          }
2985          program { name: "go_callerid_on";
2986             signal: "elm,state,callerid,enabled";
2987             source: "elm";
2988             action: STATE_SET "callerid_on" 0.0;
2989             target: "elm.swallow.callerid";
2990             target: "elm.text";
2991          }
2992          program { name: "go_callerid_off";
2993             signal: "elm,state,callerid,disabled";
2994             source: "elm";
2995             action: STATE_SET "default" 0.0;
2996             target: "elm.swallow.callerid";
2997             target: "elm.text";
2998          }
2999          program { name: "go_textstatus_on";
3000             signal: "elm,state,text,status,enabled";
3001             source: "elm";
3002             action: STATE_SET "default" 0.0;
3003             target: "elm.text.time";
3004             target: "elm.text.status";
3005             after: "go_contentstatus_off";
3006          }
3007          program { name: "go_textstatus_off";
3008             signal: "elm,state,text,status,disbled";
3009             source: "elm";
3010             action: STATE_SET "disabled" 0.0;
3011             target: "elm.text.time";
3012             target: "elm.text.status";
3013          }
3014          program { name: "go_contentstatus_on";
3015             signal: "elm,state,content,status,enabled";
3016             source: "elm";
3017             action: STATE_SET "enabled" 0.0;
3018             target: "elm.swallow.icon1";
3019             after: "go_textstatus_off";
3020          }
3021          program { name: "go_contentstatus_off";
3022             signal: "elm,state,content,status,disabled";
3023             source: "elm";
3024             action: STATE_SET "default" 0.0;
3025             target: "elm.swallow.icon1";
3026          }
3027       }
3028    }
3029
3030    group { name: "elm/entry/base-noedit-charwrap/sentmessage";
3031       data.item: "default_font_size" "24";
3032       data.item: "min_font_size" "8";
3033       data.item: "max_font_size" "60";
3034       data {
3035          item: context_menu_orientation "horizontal";
3036       }
3037       parts {
3038          part {
3039             name: "elm.rect.right.pad";
3040             type: RECT;
3041             scale: 1;
3042             description {
3043                state: "default" 0.0;
3044                min: ENTRY_BUBBLE_EX_PAD 0;
3045                fixed: 1 0;
3046                align: 1.0 0.0;
3047                color: 0 0 0 0;
3048                rel1.relative: 1.0 0.0;
3049             }
3050          }
3051          part {
3052             name: "elm.rect.left.pad";
3053             type: RECT;
3054             scale: 1;
3055             description {
3056                state: "default" 0.0;
3057                min: ENTRY_BUBBLE_IX_PAD 0;
3058                fixed: 1 0;
3059                align: 1.0 0.0;
3060                color: 0 0 0 0;
3061                rel1 { relative: 0.0 0.0; to: "elm.text"; }
3062                rel2 { relative: 0.0 1.0; to: "elm.text"; }
3063             }
3064          }
3065          part {
3066            name: "elm.rect.top.pad";
3067            type: RECT;
3068            scale: 1;
3069            description {
3070               state: "default" 0.0;
3071               min: 0 ENTRY_BUBBLE_Y_PAD;
3072               fixed: 0 1;
3073               align: 0.0 0.0;
3074               color: 0 0 0 0;
3075               rel2.relative: 1.0 0.0;
3076            }
3077          }
3078          part {
3079            name: "elm.rect.bottom.pad";
3080            type: RECT;
3081            scale: 1;
3082            description {
3083               state: "default" 0.0;
3084               min: 0 ENTRY_BUBBLE_Y_PAD;
3085               fixed: 0 1;
3086               align: 0.0 1.0;
3087               color: 0 0 0 0;
3088               rel1.relative: 0.0 1.0;
3089            }
3090          }
3091          part {
3092             name: "elm.image.bg";
3093             type: IMAGE;
3094             scale: 1;
3095             description {
3096                state: "default" 0.0;
3097                rel1.to_x: "elm.rect.left.pad";
3098                image {
3099                   normal: "00_MessageBubble_BG_send.png";
3100                   border: 20 1 13 20;
3101                   border_scale: 1;
3102                }
3103             }
3104          }
3105          part { name: "elm.text";
3106             type: TEXTBLOCK;
3107             mouse_events: 1;
3108             scale: 1;
3109             entry_mode: PLAIN;
3110             select_mode: BLOCK_HANDLE;
3111             //cursor_mode: BEFORE;
3112             multiline: 1;
3113             source: "elm/entry/selection/default"; // selection under
3114             source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
3115             source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
3116             source5: "elm/entry/anchor/default"; // anchor under
3117             description { state: "default" 0.0;
3118                fixed: 1 0;
3119                align: 1.0 0.0;
3120                rel1 { relative: 0.0 1.0; to_y: "elm.rect.top.pad";}
3121                rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
3122                text {
3123                   style: "entry_textblock_style_charwrap";
3124                   min: 0 1;
3125                   max: 1 0;
3126                }
3127             }
3128             description { state: "disabled" 0.0;
3129                inherit: "default" 0.0;
3130                text {
3131                   style: "entry_textblock_disabled_style_charwrap";
3132                }
3133             }
3134          }
3135       }
3136       programs {
3137          program { name: "focus";
3138             signal: "load";
3139             source: "";
3140             action: FOCUS_SET;
3141             target: "elm.text";
3142          }
3143          program { name: "disable";
3144             signal: "elm,state,disabled";
3145             source: "elm";
3146             action: STATE_SET "disabled" 0.0;
3147             target: "elm.text";
3148          }
3149          program { name: "enable";
3150             signal: "elm,state,enabled";
3151             source: "elm";
3152             action: STATE_SET "default" 0.0;
3153             target: "elm.text";
3154          }
3155       }
3156    }
3157
3158 group { name: "elm/entry/base/font_color_black";
3159    alias: "elm/entry/base-mixedwrap/font_color_black";
3160    alias: "elm/entry/base/font_color_black/default";
3161    alias: "elm/entry/base/font_color_black/lighting";
3162    alias: "elm/entry/base/font_color_black/multiline";
3163    alias: "elm/entry/base/font_color_black/multiline/default";
3164    alias: "elm/entry/base/font_color_black/multiline/lighting";
3165    alias: "elm/entry/base/editfield/font_color_black";
3166
3167    data.item: "default_font_size" "24";
3168    data.item: "min_font_size" "8";
3169    data.item: "max_font_size" "60";
3170
3171    styles {
3172       style { name: "font_color_black_textblock_style";
3173          base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=mixed left_margin=1 right_margin=2 text_class=entry";
3174          tag:  "br" "\n";
3175          tag:  "ps" "ps";
3176          tag:  "tab" "\t";
3177          tag:  "em" "+ font=SLP:style=Oblique";
3178          tag:  "b" "+ font=SLP:style=Bold";
3179          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
3180          tag:  "hilight" "+ font=SLP:style=Bold";
3181          tag:  "preedit" "+ underline=on underline_color=#000000FF";
3182          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
3183       }
3184       style { name: "font_color_black_textblock_disabled_style";
3185          base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=mixed left_margin=1 right_margin=2 text_class=entry";
3186          tag:  "br" "\n";
3187          tag:  "ps" "ps";
3188          tag:  "tab" "\t";
3189          tag:  "em" "+ font=SLP:style=Oblique";
3190          tag:  "b" "+ font=SLP:style=Bold";
3191          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
3192          tag:  "hilight" "+ font=SLP:style=Bold";
3193          tag:  "preedit" "+ underline=on underline_color=#000000FF";
3194          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
3195       }
3196    }
3197    data {
3198       item: context_menu_orientation "horizontal";
3199    }
3200    parts {
3201       part { name: "elm.text";
3202          type: TEXTBLOCK;
3203          mouse_events: 1;
3204          scale: 1;
3205          entry_mode: EDITABLE;
3206          select_mode: BLOCK_HANDLE;
3207          //cursor_mode: BEFORE;
3208          multiline: 1;
3209          source: "elm/entry/selection/default"; // selection under
3210          source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
3211          source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
3212          source4: "elm/entry/cursor/default"; // cursorover
3213          source5: "elm/entry/anchor/default"; // anchor under
3214          //source6: "X"; // anchor over
3215          description { state: "default" 0.0;
3216             fixed: 1 0;
3217             text {
3218                style: "font_color_black_textblock_style";
3219                min: 0 1;
3220             }
3221          }
3222          description { state: "disabled" 0.0;
3223             inherit: "default" 0.0;
3224             text {
3225                style: "font_color_black_textblock_disabled_style";
3226                min: 0 1;
3227             }
3228          }
3229       }
3230    }
3231    programs {
3232       program { name: "focus";
3233          signal: "load";
3234          source: "";
3235          action: FOCUS_SET;
3236          target: "elm.text";
3237       }
3238       program { name: "disable";
3239          signal: "elm,state,disabled";
3240          source: "elm";
3241          action: STATE_SET "disabled" 0.0;
3242          target: "elm.text";
3243       }
3244       program { name: "enable";
3245          signal: "elm,state,enabled";
3246          source: "elm";
3247          action: STATE_SET "default" 0.0;
3248          target: "elm.text";
3249       }
3250    }
3251 }
3252
3253 group { name: "elm/entry/base-noedit/font_color_black";
3254    data.item: "default_font_size" "24";
3255    data.item: "min_font_size" "8";
3256    data.item: "max_font_size" "60";
3257    data {
3258       item: context_menu_orientation "horizontal";
3259    }
3260    parts {
3261       part { name: "elm.text";
3262          type: TEXTBLOCK;
3263          mouse_events: 1;
3264          scale: 1;
3265          entry_mode: PLAIN;
3266          select_mode: BLOCK_HANDLE;
3267          //cursor_mode: BEFORE;
3268          multiline: 1;
3269          source: "elm/entry/selection/default"; // selection under
3270          source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
3271          source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
3272          source4: "elm/entry/cursor/default"; // cursorover
3273          source5: "elm/entry/anchor/default"; // anchor under
3274          //source6: "X"; // anchor over
3275          description { state: "default" 0.0;
3276             fixed: 1 0;
3277             text {
3278                style: "font_color_black_textblock_style";
3279                min: 0 1;
3280             }
3281          }
3282          description { state: "disabled" 0.0;
3283             inherit: "default" 0.0;
3284             text {
3285                style: "font_color_black_textblock_disabled_style";
3286                min: 0 1;
3287             }
3288          }
3289       }
3290    }
3291    programs {
3292       program { name: "focus";
3293          signal: "load";
3294          source: "";
3295          action: FOCUS_SET;
3296          target: "elm.text";
3297       }
3298       program { name: "disable";
3299          signal: "elm,state,disabled";
3300          source: "elm";
3301          action: STATE_SET "disabled" 0.0;
3302          target: "elm.text";
3303       }
3304       program { name: "enable";
3305          signal: "elm,state,enabled";
3306          source: "elm";
3307          action: STATE_SET "default" 0.0;
3308          target: "elm.text";
3309       }
3310    }
3311 }
3312
3313 group { name: "elm/entry/base-charwrap/font_color_black";
3314    alias: "elm/entry/base/font_color_black/char_wrap";
3315    alias: "elm/entry/base/font_color_black/default/char_wrap";
3316    alias: "elm/entry/base/font_color_black/lighting/char_wrap";
3317    alias: "elm/entry/base/font_color_black/multiline/char_wrap";
3318    alias: "elm/entry/base/font_color_black/multiline/default/char_wrap";
3319    alias: "elm/entry/base/font_color_black/multiline/lighting/char_wrap";
3320    alias: "elm/entry/base-charwrap/editfield/font_color_black";
3321
3322    data.item: "default_font_size" "24";
3323    data.item: "min_font_size" "8";
3324    data.item: "max_font_size" "60";
3325
3326    styles {
3327       style { name: "font_color_black_textblock_char_wrap_style";
3328          base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=char left_margin=1 right_margin=2 text_class=entry";
3329          tag:  "br" "\n";
3330          tag:  "ps" "ps";
3331          tag:  "tab" "\t";
3332          tag:  "em" "+ font=SLP:style=Oblique";
3333          tag:  "b" "+ font=SLP:style=Bold";
3334          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
3335          tag:  "hilight" "+ font=SLP:style=Bold";
3336          tag:  "preedit" "+ underline=on underline_color=#000000FF";
3337          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
3338       }
3339       style { name: "font_color_black_textblock_char_wrap_disabled_style";
3340          base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=char left_margin=1 right_margin=2 text_class=entry";
3341          tag:  "br" "\n";
3342          tag:  "ps" "ps";
3343          tag:  "tab" "\t";
3344          tag:  "em" "+ font=SLP:style=Oblique";
3345          tag:  "b" "+ font=SLP:style=Bold";
3346          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
3347          tag:  "hilight" "+ font=SLP:style=Bold";
3348          tag:  "preedit" "+ underline=on underline_color=#000000FF";
3349          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
3350       }
3351    }
3352    data {
3353       item: context_menu_orientation "horizontal";
3354    }
3355    parts {
3356       part { name: "elm.text";
3357          type: TEXTBLOCK;
3358          mouse_events: 1;
3359          scale: 1;
3360          entry_mode: EDITABLE;
3361          select_mode: BLOCK_HANDLE;
3362          //cursor_mode: BEFORE;
3363          multiline: 1;
3364          source: "elm/entry/selection/default"; // selection under
3365          source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
3366          source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
3367          source4: "elm/entry/cursor/default"; // cursorover
3368          source5: "elm/entry/anchor/default"; // anchor under
3369          //source6: "X"; // anchor over
3370          description { state: "default" 0.0;
3371             fixed: 1 0;
3372             text {
3373                style: "font_color_black_textblock_char_wrap_style";
3374                min: 0 1;
3375             }
3376          }
3377          description { state: "disabled" 0.0;
3378             inherit: "default" 0.0;
3379             text {
3380                style: "font_color_black_textblock_char_wrap_disabled_style";
3381                min: 0 1;
3382             }
3383          }
3384       }
3385    }
3386    programs {
3387       program { name: "focus";
3388          signal: "load";
3389          source: "";
3390          action: FOCUS_SET;
3391          target: "elm.text";
3392       }
3393       program { name: "disable";
3394          signal: "elm,state,disabled";
3395          source: "elm";
3396          action: STATE_SET "disabled" 0.0;
3397          target: "elm.text";
3398       }
3399       program { name: "enable";
3400          signal: "elm,state,enabled";
3401          source: "elm";
3402          action: STATE_SET "default" 0.0;
3403          target: "elm.text";
3404       }
3405    }
3406 }
3407
3408 group { name: "elm/entry/base-single/font_color_black";
3409    alias: "elm/entry/base-single/font_color_black/default";
3410    alias: "elm/entry/base-single/font_color_black/lighting";
3411    alias: "elm/entry/base-single/font_color_black/singleline";
3412    alias: "elm/entry/base-single/font_color_black/singleline/default";
3413    alias: "elm/entry/base-single/font_color_black/singleline/lighting";
3414    alias: "elm/entry/base-single/editfield/font_color_black";
3415    alias: "elm/entry/base-single/editfield/searchbar/font_color_black";
3416
3417    data.item: "default_font_size" "24";
3418    data.item: "min_font_size" "8";
3419    data.item: "max_font_size" "60";
3420
3421    styles {
3422       style { name: "font_color_black_single_textblock_style";
3423          base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=none left_margin=1 right_margin=3 text_class=entry";
3424          tag:  "br" "\n";
3425          tag:  "ps" "ps";
3426          tag:  "tab" "\t";
3427          tag:  "em" "+ font=SLP:style=Oblique";
3428          tag:  "b" "+ font=SLP:style=Bold";
3429          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
3430          tag:  "hilight" "+ font=SLP:style=Bold";
3431          tag:  "preedit" "+ underline=on underline_color=#000000FF";
3432          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
3433       }
3434       style { name: "font_color_black_single_textblock_disabled_style";
3435          base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=none left_margin=1 right_margin=3 text_class=entry";
3436          tag:  "br" "\n";
3437          tag:  "ps" "ps";
3438          tag:  "tab" "\t";
3439          tag:  "em" "+ font=SLP:style=Oblique";
3440          tag:  "b" "+ font=SLP:style=Bold";
3441          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
3442          tag:  "hilight" "+ font=SLP:style=Bold";
3443          tag:  "preedit" "+ underline=on underline_color=#000000FF";
3444          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
3445       }
3446    }
3447    data {
3448       item: context_menu_orientation "horizontal";
3449    }
3450    parts {
3451       part { name: "elm.text";
3452          type: TEXTBLOCK;
3453          mouse_events: 1;
3454          scale: 1;
3455          entry_mode: EDITABLE;
3456          select_mode: BLOCK_HANDLE;
3457          //cursor_mode: BEFORE;
3458          multiline: 0;
3459          source: "elm/entry/selection/default"; // selection under
3460          source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
3461          source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
3462          source4: "elm/entry/cursor/default"; // cursorover
3463          source5: "elm/entry/anchor/default"; // anchor under
3464          description { state: "default" 0.0;
3465             text {
3466                style: "font_color_black_single_textblock_style";
3467                min: 1 1;
3468                max: 0 1;
3469             }
3470          }
3471          description { state: "disabled" 0.0;
3472             inherit: "default" 0.0;
3473             text {
3474                style: "font_color_black_single_textblock_disabled_style";
3475             }
3476          }
3477       }
3478    }
3479    programs {
3480       program { name: "focus";
3481          signal: "load";
3482          source: "";
3483          action: FOCUS_SET;
3484          target: "elm.text";
3485       }
3486       program { name: "disable";
3487          signal: "elm,state,disabled";
3488          source: "elm";
3489          action: STATE_SET "disabled" 0.0;
3490          target: "elm.text";
3491       }
3492       program { name: "enable";
3493          signal: "elm,state,enabled";
3494          source: "elm";
3495          action: STATE_SET "default" 0.0;
3496          target: "elm.text";
3497       }
3498    }
3499 }
3500
3501 group { name: "elm/entry/base-single-noedit/font_color_black";
3502    data.item: "default_font_size" "24";
3503    data.item: "min_font_size" "8";
3504    data.item: "max_font_size" "60";
3505    data {
3506       item: context_menu_orientation "horizontal";
3507    }
3508    parts {
3509       part { name: "elm.text";
3510          type: TEXTBLOCK;
3511          mouse_events: 1;
3512          scale: 1;
3513          entry_mode: PLAIN;
3514          select_mode: BLOCK_HANDLE;
3515          //cursor_mode: BEFORE;
3516          multiline: 0;
3517          source: "elm/entry/selection/default"; // selection under
3518          source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
3519          source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
3520          source4: "elm/entry/cursor/default"; // cursorover
3521          source5: "elm/entry/anchor/default"; // anchor under
3522          description { state: "default" 0.0;
3523             text {
3524                style: "font_color_black_single_textblock_style";
3525                min: 1 1;
3526                max: 0 1;
3527             }
3528          }
3529          description { state: "disabled" 0.0;
3530             inherit: "default" 0.0;
3531             text {
3532                style: "font_color_black_single_textblock_disabled_style";
3533             }
3534          }
3535       }
3536    }
3537    programs {
3538       program { name: "focus";
3539          signal: "load";
3540          source: "";
3541          action: FOCUS_SET;
3542          target: "elm.text";
3543       }
3544       program { name: "disable";
3545          signal: "elm,state,disabled";
3546          source: "elm";
3547          action: STATE_SET "disabled" 0.0;
3548          target: "elm.text";
3549       }
3550       program { name: "enable";
3551          signal: "elm,state,enabled";
3552          source: "elm";
3553          action: STATE_SET "default" 0.0;
3554          target: "elm.text";
3555       }
3556    }
3557 }
3558 group { name: "elm/entry/base-password/font_color_black";
3559    alias: "elm/entry/base-password/editfield/font_color_black";
3560    data.item: "default_font_size" "24";
3561    data.item: "min_font_size" "8";
3562    data.item: "max_font_size" "60";
3563    data {
3564       item: context_menu_orientation "horizontal";
3565    }
3566    parts {
3567       part { name: "elm.text";
3568          type: TEXTBLOCK;
3569          mouse_events: 1;
3570          scale: 1;
3571          entry_mode: PASSWORD;
3572          select_mode: BLOCK_HANDLE;
3573          multiline: 0;
3574          source: "elm/entry/selection/default"; // selection under
3575          source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
3576          source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
3577          source4: "elm/entry/cursor/default"; // cursorover
3578          source5: "elm/entry/anchor/default"; // anchor under
3579          description { state: "default" 0.0;
3580             text {
3581                style: "font_color_black_single_textblock_style";
3582                repch: "*";
3583                min: 1 1;
3584                max: 0 1;
3585             }
3586          }
3587          description { state: "disabled" 0.0;
3588             inherit: "default" 0.0;
3589             text {
3590                style: "font_color_black_single_textblock_disabled_style";
3591             }
3592          }
3593       }
3594    }
3595    programs {
3596       program { name: "focus";
3597          signal: "load";
3598          source: "";
3599          action: FOCUS_SET;
3600          target: "elm.text";
3601       }
3602       program { name: "disable";
3603          signal: "elm,state,disabled";
3604          source: "elm";
3605          action: STATE_SET "disabled" 0.0;
3606          target: "elm.text";
3607       }
3608       program { name: "enable";
3609          signal: "elm,state,enabled";
3610          source: "elm";
3611          action: STATE_SET "default" 0.0;
3612          target: "elm.text";
3613       }
3614    }
3615 }
3616
3617 group { name: "elm/scroller/entry/default";
3618       alias : "elm/scroller/entry/editfield";
3619       alias : "elm/scroller/entry/editfield/searchbar/default";
3620       data {
3621          item: "focus_highlight" "on";
3622       }
3623       script {
3624          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
3625          public timer0(val) {
3626             new v;
3627             v = get_int(sbvis_v);
3628             if (v) {
3629                v = get_int(sbalways_v);
3630                if (!v) {
3631                   emit("do-hide-vbar", "");
3632                   set_int(sbvis_v, 0);
3633                }
3634             }
3635             v = get_int(sbvis_h);
3636             if (v) {
3637                v = get_int(sbalways_h);
3638                if (!v) {
3639                   emit("do-hide-hbar", "");
3640                   set_int(sbvis_h, 0);
3641                }
3642             }
3643             set_int(sbvis_timer, 0);
3644             return 0;
3645          }
3646       }
3647       images {
3648          image: "bt_sm_base2.png" COMP;
3649       }
3650       parts {
3651          part { name: "bg";
3652             type: RECT;
3653             description { state: "default" 0.0;
3654                visible: 0;
3655             }
3656          }
3657          part { name: "clipper";
3658             type: RECT;
3659             mouse_events: 0;
3660             description { state: "default" 0.0;
3661                rel1.to: "bg";
3662                rel2.to: "bg";
3663             }
3664          }
3665          part { name: "contentclipper";
3666             type: RECT;
3667             mouse_events: 0;
3668             clip_to: "clipper";
3669             description { state: "default" 0.0;
3670                rel1.to: "elm.swallow.icon";
3671                rel1.relative: 1.0 0.0;
3672                rel2.to: "elm.swallow.end";
3673                rel2.relative: 0.0 1.0;
3674             }
3675          }
3676          part { name: "elm.swallow.icon";
3677             type: SWALLOW;
3678             clip_to: "clipper";
3679             description { state: "default" 0.0;
3680                fixed: 1 1;
3681                rel1 {
3682                   to: "bg";
3683                   relative: 0.0 0.0;
3684                }
3685                rel2 {
3686                   to: "bg";
3687                   relative: 0.0 1.0;
3688                }
3689                visible: 0;
3690             }
3691             description { state: "visible" 0.0;
3692                fixed: 1 1;
3693                align: 0.0 1.0;
3694                rel1 {
3695                          to: "bg";
3696                          relative: 0.0 0.0;
3697                }
3698                rel2 {
3699                   to: "bg";
3700                   relative: 0.0 1.0;
3701                }
3702                visible: 1;
3703             }
3704          }
3705          part { name: "elm.swallow.end";
3706             type: SWALLOW;
3707             clip_to: "clipper";
3708             description { state: "default" 0.0;
3709                fixed: 1 1;
3710                rel1 {
3711                   to: "bg";
3712                   relative: 1.0 0.0;
3713                }
3714                rel2 {
3715                   to: "bg";
3716                   relative: 1.0 1.0;
3717                }
3718                visible: 0;
3719             }
3720             description { state: "visible" 0.0;
3721                fixed: 1 1;
3722                align: 1.0 1.0;
3723                rel1 {
3724                   to: "bg";
3725                   relative: 1.0 0.0;
3726                }
3727                rel2 {
3728                   to: "bg";
3729                   relative: 1.0 1.0;
3730                }
3731                visible: 1;
3732             }
3733          }
3734          part { name: "elm.swallow.content";
3735             clip_to: "contentclipper";
3736             type: SWALLOW;
3737             description { state: "default" 0.0;
3738                rel1 {
3739                        to: "elm.swallow.icon";
3740                        relative: 1.0 0.0;
3741                }
3742                rel2 {
3743                 to: "elm.swallow.end";
3744                 relative: 0.0 1.0;
3745                }
3746             }
3747          }
3748          part { name: "sb_vbar_clip_master";
3749             type: RECT;
3750             mouse_events: 0;
3751             description { state: "default" 0.0;
3752             }
3753             description { state: "hidden" 0.0;
3754                visible: 0;
3755                color: 255 255 255 0;
3756             }
3757          }
3758          part { name: "sb_vbar_clip";
3759             clip_to: "sb_vbar_clip_master";
3760             type: RECT;
3761             mouse_events: 0;
3762             description { state: "default" 0.0;
3763             }
3764             description { state: "hidden" 0.0;
3765                visible: 0;
3766                color: 255 255 255 0;
3767             }
3768          }
3769          part { name: "sb_vbar";
3770             type: RECT;
3771             mouse_events: 0;
3772             description { state: "default" 0.0;
3773                fixed: 1 1;
3774                visible: 0;
3775                min: 10 17;
3776                align: 1.0 0.0;
3777                rel1 {
3778                   relative: 0.0 0.0;
3779                   to_y:     "elm.swallow.content";
3780                   to_x:     "elm.swallow.end";
3781                }
3782                rel2 {
3783                   relative: 0.0 0.0;
3784                   to_y:     "sb_hbar";
3785                   to_x:     "elm.swallow.end";
3786                }
3787             }
3788          }
3789          part { name: "elm.dragable.vbar";
3790             clip_to: "sb_vbar_clip";
3791             mouse_events: 0;
3792             dragable {
3793                x: 0 0 0;
3794                y: 1 1 0;
3795                confine: "sb_vbar";
3796             }
3797             description { state: "default" 0.0;
3798                visible: 0;
3799                fixed: 1 1;
3800                min: 10 17;
3801                max: 10 99999;
3802                rel1 {
3803                   relative: 0.5  0.5;
3804                   to: "sb_vbar";
3805                }
3806                rel2 {
3807                   relative: 0.5  0.5;
3808                   to: "sb_vbar";
3809                }
3810                image {
3811                   normal: "bt_sm_base2.png";
3812                   border: 6 6 6 6;
3813                   middle: SOLID;
3814                }
3815             }
3816          }
3817          part { name: "sb_hbar_clip_master";
3818             type: RECT;
3819             mouse_events: 0;
3820             description { state: "default" 0.0;
3821             }
3822             description { state: "hidden" 0.0;
3823                visible: 0;
3824                color: 255 255 255 0;
3825             }
3826          }
3827          part { name: "sb_hbar_clip";
3828             clip_to: "sb_hbar_clip_master";
3829             type: RECT;
3830             mouse_events: 0;
3831             description { state: "default" 0.0;
3832             }
3833             description { state: "hidden" 0.0;
3834                visible: 0;
3835                color: 255 255 255 0;
3836             }
3837          }
3838          part { name: "sb_hbar";
3839             type: RECT;
3840             mouse_events: 0;
3841             description { state: "default" 0.0;
3842                fixed: 1 1;
3843                visible: 0;
3844                min: 17 10;
3845                align: 0.0 1.0;
3846                rel1 {
3847                   relative: 0.0 1.0;
3848                   to_x:     "elm.swallow.content";
3849                   to_y:     "elm.swallow.content";
3850                }
3851                rel2 {
3852                   relative: 0.0 1.0;
3853                   to_x:     "sb_vbar";
3854                   to_y:     "elm.swallow.content";
3855                }
3856             }
3857          }
3858          part { name: "elm.dragable.hbar";
3859             clip_to: "sb_hbar_clip";
3860             mouse_events: 0;
3861             dragable {
3862                x: 1 1 0;
3863                y: 0 0 0;
3864                confine: "sb_hbar";
3865             }
3866             description { state: "default" 0.0;
3867                fixed: 1 1;
3868                min: 17 10;
3869                max: 99999 10;
3870                rel1 {
3871                   relative: 0.5  0.5;
3872                   to: "sb_hbar";
3873                }
3874                rel2 {
3875                   relative: 0.5  0.5;
3876                   to: "sb_hbar";
3877                }
3878                image {
3879                   normal: "bt_sm_base2.png";
3880                   border: 4 4 4 4;
3881                   middle: SOLID;
3882                }
3883             }
3884          }
3885       }
3886       programs {
3887          program { name: "load";
3888             signal: "load";
3889             source: "";
3890             script {
3891                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
3892                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
3893                set_int(sbvis_h, 0);
3894                set_int(sbvis_v, 0);
3895                set_int(sbalways_v, 0);
3896                set_int(sbalways_h, 0);
3897                set_int(sbvis_timer, 0);
3898             }
3899          }
3900          program { name: "icon_show";
3901             signal: "elm,action,show,icon";
3902             source: "elm";
3903             action: STATE_SET "visible" 0.0;
3904             target: "elm.swallow.icon";
3905          }
3906          program { name: "icon_hide";
3907             signal: "elm,action,hide,icon";
3908             source: "elm";
3909             action: STATE_SET "default" 0.0;
3910             target: "elm.swallow.icon";
3911          }
3912          program { name: "end_show";
3913             signal: "elm,action,show,end";
3914             source: "elm";
3915             action: STATE_SET "visible" 0.0;
3916             target: "elm.swallow.end";
3917          }
3918          program { name: "end_hide";
3919             signal: "elm,action,hide,end";
3920             source: "elm";
3921             action: STATE_SET "default" 0.0;
3922             target: "elm.swallow.end";
3923          }
3924          program { name: "vbar_show";
3925             signal: "elm,action,show,vbar";
3926             source: "elm";
3927             action:  STATE_SET "default" 0.0;
3928             target: "sb_vbar_clip_master";
3929          }
3930          program { name: "vbar_hide";
3931             signal: "elm,action,hide,vbar";
3932             source: "elm";
3933             action:  STATE_SET "hidden" 0.0;
3934             target: "sb_vbar_clip_master";
3935          }
3936          program { name: "vbar_show_always";
3937             signal: "elm,action,show_always,vbar";
3938             source: "elm";
3939             script {
3940                new v;
3941                v = get_int(sbvis_v);
3942                v |= get_int(sbalways_v);
3943                if (!v) {
3944                   set_int(sbalways_v, 1);
3945                   emit("do-show-vbar", "");
3946                   set_int(sbvis_v, 1);
3947                }
3948             }
3949          }
3950          program { name: "vbar_show_notalways";
3951             signal: "elm,action,show_notalways,vbar";
3952             source: "elm";
3953             script {
3954                new v;
3955                v = get_int(sbalways_v);
3956                if (v) {
3957                   set_int(sbalways_v, 0);
3958                   v = get_int(sbvis_v);
3959                   if (!v) {
3960                      emit("do-hide-vbar", "");
3961                      set_int(sbvis_v, 0);
3962                   }
3963                }
3964             }
3965          }
3966          program { name: "sb_vbar_show";
3967             signal: "do-show-vbar";
3968             source: "";
3969             action:  STATE_SET "default" 0.0;
3970             transition: LINEAR 0.5;
3971             target: "sb_vbar_clip";
3972          }
3973          program { name: "sb_vbar_hide";
3974             signal: "do-hide-vbar";
3975             source: "";
3976             action:  STATE_SET "hidden" 0.0;
3977             transition: LINEAR 0.5;
3978             target: "sb_vbar_clip";
3979          }
3980
3981          program { name: "hbar_show";
3982             signal: "elm,action,show,hbar";
3983             source: "elm";
3984             action:  STATE_SET "default" 0.0;
3985             target: "sb_hbar_clip_master";
3986          }
3987          program { name: "hbar_hide";
3988             signal: "elm,action,hide,hbar";
3989             source: "elm";
3990             action:  STATE_SET "hidden" 0.0;
3991             target: "sb_hbar_clip_master";
3992          }
3993          program { name: "hbar_show_always";
3994             signal: "elm,action,show_always,hbar";
3995             source: "elm";
3996             script {
3997                new v;
3998                v = get_int(sbvis_h);
3999                v |= get_int(sbalways_h);
4000                if (!v) {
4001                   set_int(sbalways_h, 1);
4002                   emit("do-show-hbar", "");
4003                   set_int(sbvis_h, 1);
4004                }
4005             }
4006          }
4007          program { name: "hbar_show_notalways";
4008             signal: "elm,action,show_notalways,hbar";
4009             source: "elm";
4010             script {
4011                new v;
4012                v = get_int(sbalways_h);
4013                if (v) {
4014                   set_int(sbalways_h, 0);
4015                   v = get_int(sbvis_h);
4016                   if (!v) {
4017                      emit("do-hide-hbar", "");
4018                      set_int(sbvis_h, 0);
4019                   }
4020                }
4021             }
4022          }
4023          program { name: "sb_hbar_show";
4024             signal: "do-show-hbar";
4025             source: "";
4026             action:  STATE_SET "default" 0.0;
4027             transition: LINEAR 0.5;
4028             target: "sb_hbar_clip";
4029          }
4030          program { name: "sb_hbar_hide";
4031             signal: "do-hide-hbar";
4032             source: "";
4033             action:  STATE_SET "hidden" 0.0;
4034             transition: LINEAR 0.5;
4035             target: "sb_hbar_clip";
4036          }
4037
4038          program { name: "scroll";
4039             signal: "elm,action,scroll";
4040             source: "elm";
4041             script {
4042                new v;
4043                v = get_int(sbvis_v);
4044                v |= get_int(sbalways_v);
4045                if (!v) {
4046                   emit("do-show-vbar", "");
4047                   set_int(sbvis_v, 1);
4048                }
4049                v = get_int(sbvis_h);
4050                v |= get_int(sbalways_h);
4051                if (!v) {
4052                   emit("do-show-hbar", "");
4053                   set_int(sbvis_h, 1);
4054                }
4055                v = get_int(sbvis_timer);
4056                if (v > 0) cancel_timer(v);
4057                v = timer(1.0, "timer0", 0);
4058                set_int(sbvis_timer, v);
4059             }
4060          }
4061       }
4062    }