[bubble] add time field and buttons
[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";
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";
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";
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";
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";
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";
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";
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";
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: "elm,action,focus";
1453                                 source: "elm";
1454                                 script {
1455                                         set_int(handler_focused, 1);
1456                                 }
1457                         }
1458                         program { name: "unfocused";
1459                                 signal: "elm,action,unfocus";
1460                                 source: "elm";
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: "elm,action,focus";
1609                                 source: "elm";
1610                                 script {
1611                                         set_int(handler_focused, 1);
1612                                 }
1613                         }
1614                         program { name: "unfocused";
1615                                 signal: "elm,action,unfocus";
1616                                 source: "elm";
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                }
2285                visible: 1;
2286                color: GENLIST_PART_FONT_LIST_SUB_TEXT_COLOR_INC;
2287                rel1 { relative: 0.0 0.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
2288                rel2 { relative: 0.0 0.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
2289             }
2290             description { state: "disabled" 0.0;
2291                inherit: "default" 0.0;
2292                visible: 0;
2293             }
2294          }
2295          part { name: "elm.text.time";
2296             type: TEXT;
2297             scale: 1;
2298             description { state: "default" 0.0;
2299                align: 0.0 0.0;
2300                fixed: 1 1;
2301                text {
2302                   font: "SLP:style=Roman";
2303                   size: GENLIST_FONT_28_INC;
2304                   min: 1 0;
2305                }
2306                visible: 1;
2307                color: GENLIST_PART_FONT_LIST_SUB_TEXT_COLOR_INC;
2308                rel1 { relative: 0.0 1.0; to_x: "elm.rect.time.pad"; to_y: "elm.rect.time.pad"; }
2309                rel2 { relative: 0.0 1.0; to_x: "elm.rect.time.pad"; to_y: "elm.rect.time.pad"; }
2310             }
2311             description { state: "disabled" 0.0;
2312                inherit: "default" 0.0;
2313                visible: 0;
2314             }
2315          }
2316          part {
2317             name: "elm.swallow.icon1";
2318             type: SWALLOW;
2319             scale: 1;
2320             description {
2321                state: "default" 0.0;
2322                min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
2323                max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
2324                fixed: 1 1;
2325                align: 0.0 1.0;
2326                visible: 0;
2327                rel1 { relative: 1.5 0.3; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
2328                rel2 { relative: 1.0 0.3; to_y: "elm.rect.bottom.pad"; }
2329             }
2330             description { state: "enabled" 0.0;
2331                inherit: "default" 0.0;
2332                visible: 1;
2333             }
2334          }
2335          part {
2336            name: "elm.swallow.end";
2337            type: SWALLOW;
2338            scale: 1;
2339            description { state: "default" 0.0;
2340               align: 0.0 0.0;
2341               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.text"; }
2342               rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
2343            }
2344          }
2345       }
2346       programs {
2347          program { name: "focus";
2348             signal: "load";
2349             source: "";
2350             action: FOCUS_SET;
2351             target: "elm.text";
2352          }
2353          program { name: "disable";
2354             signal: "elm,state,disabled";
2355             source: "elm";
2356             action: STATE_SET "disabled" 0.0;
2357             target: "elm.text";
2358          }
2359          program { name: "enable";
2360             signal: "elm,state,enabled";
2361             source: "elm";
2362             action: STATE_SET "default" 0.0;
2363             target: "elm.text";
2364          }
2365          program { name: "go_callerid_on";
2366             signal: "elm,state,callerid,enabled";
2367             source: "elm";
2368             action: STATE_SET "callerid_on" 0.0;
2369             target: "elm.swallow.callerid";
2370             target: "elm.text";
2371          }
2372          program { name: "go_callerid_off";
2373             signal: "elm,state,callerid,disabled";
2374             source: "elm";
2375             action: STATE_SET "default" 0.0;
2376             target: "elm.swallow.callerid";
2377             target: "elm.text";
2378          }
2379          program { name: "go_textstatus_on";
2380             signal: "elm,state,text,status,enabled";
2381             source: "elm";
2382             action: STATE_SET "default" 0.0;
2383             target: "elm.text.time";
2384             target: "elm.text.status";
2385             after: "go_contentstatus_off";
2386          }
2387          program { name: "go_textstatus_off";
2388             signal: "elm,state,text,status,disbled";
2389             source: "elm";
2390             action: STATE_SET "disabled" 0.0;
2391             target: "elm.text.time";
2392             target: "elm.text.status";
2393          }
2394          program { name: "go_contentstatus_on";
2395             signal: "elm,state,content,status,enabled";
2396             source: "elm";
2397             action: STATE_SET "enabled" 0.0;
2398             target: "elm.swallow.icon1";
2399             after: "go_textstatus_off";
2400          }
2401          program { name: "go_contentstatus_off";
2402             signal: "elm,state,content,status,disabled";
2403             source: "elm";
2404             action: STATE_SET "default" 0.0;
2405             target: "elm.swallow.icon1";
2406          }
2407       }
2408    }
2409
2410    group { name: "elm/entry/base-noedit-charwrap/readmessage";
2411       data.item: "default_font_size" "24";
2412       data.item: "min_font_size" "8";
2413       data.item: "max_font_size" "60";
2414       data {
2415          item: context_menu_orientation "horizontal";
2416       }
2417       parts {
2418          part {
2419             name: "elm.rect.left.pad";
2420             type: RECT;
2421             scale: 1;
2422             description {
2423                state: "default" 0.0;
2424                min: ENTRY_BUBBLE_EX_PAD 0;
2425                fixed: 1 0;
2426                align: 0.0 0.0;
2427                color: 0 0 0 0;
2428                rel2.relative: 0.0 1.0;
2429             }
2430          }
2431          part {
2432             name: "elm.rect.right.pad";
2433             type: RECT;
2434             scale: 1;
2435             description {
2436                state: "default" 0.0;
2437                min: ENTRY_BUBBLE_IX_PAD 0;
2438                fixed: 1 0;
2439                align: 0.0 0.0;
2440                color: 0 0 0 0;
2441                rel1 { relative: 1.0 0.0; to_x: "elm.text"; }
2442                rel2.to_x: "elm.text";
2443             }
2444          }
2445          part {
2446            name: "elm.rect.top.pad";
2447            type: RECT;
2448            scale: 1;
2449            description {
2450               state: "default" 0.0;
2451               min: 0 ENTRY_BUBBLE_Y_PAD;
2452               fixed: 0 1;
2453               align: 0.0 0.0;
2454               color: 0 0 0 0;
2455               rel2.relative: 1.0 0.0;
2456            }
2457          }
2458          part {
2459            name: "elm.rect.bottom.pad";
2460            type: RECT;
2461            scale: 1;
2462            description {
2463               state: "default" 0.0;
2464               min: 0 ENTRY_BUBBLE_Y_PAD;
2465               fixed: 0 1;
2466               align: 0.0 1.0;
2467               color: 0 0 0 0;
2468               rel1.relative: 0.0 1.0;
2469            }
2470          }
2471          part {
2472             name: "elm.image.bg";
2473             type: IMAGE;
2474             scale: 1;
2475             description {
2476                state: "default" 0.0;
2477                rel2.to_x: "elm.rect.right.pad";
2478                image {
2479                   normal: "00_MessageBubble_BG_receive.png";
2480                   border: 1 20 13 20;
2481                   border_scale: 1;
2482                }
2483             }
2484          }
2485          part { name: "elm.text";
2486             type: TEXTBLOCK;
2487             mouse_events: 1;
2488             scale: 1;
2489             entry_mode: PLAIN;
2490             select_mode: BLOCK_HANDLE;
2491             //cursor_mode: BEFORE;
2492             multiline: 1;
2493             source: "elm/entry/selection/default"; // selection under
2494             source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
2495             source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
2496             source5: "elm/entry/anchor/default"; // anchor under
2497             description { state: "default" 0.0;
2498                fixed: 1 0;
2499                align: 0.0 0.0;
2500                rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
2501                rel2 { relative: 1.0 0.0; to_y: "elm.rect.bottom.pad"; }
2502                text {
2503                   style: "entry_textblock_style_charwrap";
2504                   min: 0 1;
2505                   max: 1 0;
2506                }
2507             }
2508             description { state: "disabled" 0.0;
2509                inherit: "default" 0.0;
2510                text {
2511                   style: "entry_textblock_disabled_style_charwrap";
2512                }
2513             }
2514          }
2515       }
2516       programs {
2517          program { name: "focus";
2518             signal: "load";
2519             source: "";
2520             action: FOCUS_SET;
2521             target: "elm.text";
2522          }
2523          program { name: "disable";
2524             signal: "elm,state,disabled";
2525             source: "elm";
2526             action: STATE_SET "disabled" 0.0;
2527             target: "elm.text";
2528          }
2529          program { name: "enable";
2530             signal: "elm,state,enabled";
2531             source: "elm";
2532             action: STATE_SET "default" 0.0;
2533             target: "elm.text";
2534          }
2535       }
2536    }
2537
2538    group { name: "elm/entry/base/sentmessage";
2539       data.item: "default_font_size" "24";
2540       data.item: "min_font_size" "8";
2541       data.item: "max_font_size" "60";
2542       data {
2543          item: context_menu_orientation "horizontal";
2544       }
2545       parts {
2546          part {
2547             name: "elm.rect.right.pad";
2548             type: RECT;
2549             scale: 1;
2550             description {
2551                state: "default" 0.0;
2552                min: ENTRY_BUBBLE_EX_PAD 0;
2553                fixed: 1 0;
2554                align: 1.0 0.0;
2555                color: 0 0 0 0;
2556                rel1.relative: 1.0 0.0;
2557             }
2558          }
2559          part {
2560             name: "elm.rect.left.pad";
2561             type: RECT;
2562             scale: 1;
2563             description {
2564                state: "default" 0.0;
2565                min: ENTRY_BUBBLE_IX_PAD 0;
2566                fixed: 1 0;
2567                align: 1.0 0.0;
2568                color: 0 0 0 0;
2569                rel1 { relative: 0.0 0.0; to: "elm.text"; }
2570                rel2 { relative: 0.0 1.0; to: "elm.text"; }
2571             }
2572          }
2573          part {
2574            name: "elm.rect.top.pad";
2575            type: RECT;
2576            scale: 1;
2577            description {
2578               state: "default" 0.0;
2579               min: 0 ENTRY_BUBBLE_Y_PAD;
2580               fixed: 0 1;
2581               align: 0.0 0.0;
2582               color: 0 0 0 0;
2583               rel2.relative: 1.0 0.0;
2584            }
2585          }
2586          part {
2587            name: "elm.rect.bottom.pad";
2588            type: RECT;
2589            scale: 1;
2590            description {
2591               state: "default" 0.0;
2592               min: 0 ENTRY_BUBBLE_Y_PAD;
2593               fixed: 0 1;
2594               align: 0.0 1.0;
2595               color: 0 0 0 0;
2596               rel1.relative: 0.0 1.0;
2597            }
2598          }
2599          part {
2600             name: "elm.image.bg";
2601             type: IMAGE;
2602             scale: 1;
2603             description {
2604                state: "default" 0.0;
2605                rel1.to_x: "elm.rect.left.pad";
2606                image {
2607                   normal: "00_MessageBubble_BG_send.png";
2608                   border: 20 1 13 20;
2609                   border_scale: 1;
2610                }
2611             }
2612          }
2613          part { name: "elm.text";
2614             type: TEXTBLOCK;
2615             mouse_events: 1;
2616             scale: 1;
2617             entry_mode: EDITABLE;
2618             select_mode: BLOCK_HANDLE;
2619             //cursor_mode: BEFORE;
2620             multiline: 1;
2621             source: "elm/entry/selection/default"; // selection under
2622             source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
2623             source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
2624             source4: "elm/entry/cursor/default"; // cursorover
2625             source5: "elm/entry/anchor/default"; // anchor under
2626 //          source6: "X"; // anchor over
2627             description { state: "default" 0.0;
2628                fixed: 1 0;
2629                align: 1.0 0.0;
2630                rel1 { relative: 0.0 1.0; to_y: "elm.rect.top.pad";}
2631                rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
2632                text {
2633                   style: "entry_textblock_style";
2634                   min: 0 1;
2635                   max: 1 0;
2636                }
2637             }
2638             description { state: "disabled" 0.0;
2639                inherit: "default" 0.0;
2640                text {
2641                   style: "entry_textblock_disabled_style";
2642                }
2643             }
2644          }
2645       }
2646       programs {
2647          program { name: "focus";
2648             signal: "load";
2649             source: "";
2650             action: FOCUS_SET;
2651             target: "elm.text";
2652          }
2653          program { name: "disable";
2654             signal: "elm,state,disabled";
2655             source: "elm";
2656             action: STATE_SET "disabled" 0.0;
2657             target: "elm.text";
2658          }
2659          program { name: "enable";
2660             signal: "elm,state,enabled";
2661             source: "elm";
2662             action: STATE_SET "default" 0.0;
2663             target: "elm.text";
2664          }
2665       }
2666    }
2667
2668    group { name: "elm/entry/base-noedit/sentmessage";
2669       data.item: "default_font_size" "24";
2670       data.item: "min_font_size" "8";
2671       data.item: "max_font_size" "60";
2672       data {
2673          item: context_menu_orientation "horizontal";
2674       }
2675       parts {
2676          part {
2677             name: "elm.rect.right.pad";
2678             type: RECT;
2679             scale: 1;
2680             description {
2681                state: "default" 0.0;
2682                min: ENTRY_BUBBLE_EX_PAD 0;
2683                fixed: 1 0;
2684                align: 1.0 0.0;
2685                color: 0 0 0 0;
2686                rel1.relative: 1.0 0.0;
2687             }
2688          }
2689          part {
2690             name: "elm.rect.left.pad";
2691             type: RECT;
2692             scale: 1;
2693             description {
2694                state: "default" 0.0;
2695                min: ENTRY_BUBBLE_IX_PAD 0;
2696                fixed: 1 0;
2697                align: 1.0 0.0;
2698                color: 0 0 0 0;
2699                rel1 { relative: 0.0 0.0; to: "elm.text"; }
2700                rel2 { relative: 0.0 1.0; to: "elm.text"; }
2701             }
2702          }
2703          part {
2704            name: "elm.rect.topright.pad";
2705            type: RECT;
2706            scale: 1;
2707            description {
2708               state: "default" 0.0;
2709               min: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
2710               max: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
2711               align: 1.0 0.0;
2712               visible: 0;
2713               rel1.relative: 1.0 0.0;
2714            }
2715          }
2716          part {
2717            name: "elm.rect.top.pad";
2718            type: RECT;
2719            scale: 1;
2720            description {
2721               state: "default" 0.0;
2722               min: 0 ENTRY_BUBBLE_Y_PAD;
2723               fixed: 0 1;
2724               align: 0.0 0.0;
2725               color: 0 0 0 0;
2726               rel2.relative: 1.0 0.0;
2727            }
2728          }
2729          part {
2730            name: "elm.rect.bottom.pad";
2731            type: RECT;
2732            scale: 1;
2733            description {
2734               state: "default" 0.0;
2735               min: 0 ENTRY_BUBBLE_BOTTOM_PAD;
2736               fixed: 0 1;
2737               align: 0.0 1.0;
2738               color: 0 0 0 0;
2739               rel1.relative: 0.0 1.0;
2740            }
2741          }
2742          part {
2743             name: "elm.image.bg";
2744             type: IMAGE;
2745             scale: 1;
2746             description {
2747                state: "default" 0.0;
2748                rel1.to_x: "elm.rect.left.pad";
2749                image {
2750                   normal: "00_MessageBubble_BG_send.png";
2751                   border: 20 1 13 20;
2752                   border_scale: 1;
2753                }
2754             }
2755          }
2756          // it's temporary blocked for prepare entry's signal feature
2757          /*
2758          part {
2759            name: "elm.text.subject";
2760            type: TEXTBLOCK;
2761            scale: 1;
2762            description {
2763               state: "default" 0.0;
2764               align: 0.0 0.0;
2765               text {
2766                  style: "entry_textblock_style";
2767                  min: 0 1;
2768               }
2769               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
2770               rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
2771            }
2772          }
2773          */
2774          part {
2775            name: "elm.rect.subject.line";
2776            type: RECT;
2777            scale: 1;
2778            description {
2779               state: "default" 0.0;
2780               visible: 0;
2781               min: 0 1;
2782               align: 0.0 0.0;
2783               color: 0 0 0 255;
2784               /*
2785               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.text.subject"; }
2786               rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.text.subject"; }
2787               */
2788               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
2789               rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
2790            }
2791          }
2792          part {
2793             name: "elm.swallow.callerid";
2794             type: SWALLOW;
2795             scale: 1;
2796             description {
2797                state: "default" 0.0;
2798                min: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT;
2799                max: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT;
2800                align: 1.0 0.0;
2801                visible: 0;
2802                rel1 { relative: 0.0 1.0; to_x: "elm.rect.topright.pad"; to_y: "elm.rect.topright.pad"; }
2803                rel2 { relative: 0.0 1.0; to_x: "elm.rect.topright.pad"; to_y: "elm.rect.bottom.pad"; }
2804             }
2805             description { state: "callerid_on" 0.0;
2806                inherit: "default" 0.0;
2807                visible: 1;
2808             }
2809          }
2810          part {
2811             name: "elm.rect.callerid.pad";
2812             type: RECT;
2813             scale: 1;
2814             description {
2815                state: "default" 0.0;
2816                min: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
2817                max: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
2818                align: 1.0 0.0;
2819                visible: 0;
2820                rel1 { relative: 0.0 1.0; to_x: "elm.swallow.callerid"; to_y: "elm.rect.topright.pad"; }
2821                rel2 { relative: 0.0 1.0; to_x: "elm.swallow.callerid"; to_y: "elm.rect.bottom.pad"; }
2822             }
2823          }
2824          part { name: "elm.text";
2825             type: TEXTBLOCK;
2826             mouse_events: 1;
2827             scale: 1;
2828             entry_mode: PLAIN;
2829             select_mode: BLOCK_HANDLE;
2830             //cursor_mode: BEFORE;
2831             multiline: 1;
2832             source: "elm/entry/selection/default"; // selection under
2833             source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
2834             source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
2835             source5: "elm/entry/anchor/default"; // anchor under
2836             description {
2837                state: "default" 0.0;
2838                fixed: 1 0;
2839                align: 1.0 0.0;
2840                rel1 { relative: 0.0 1.0; to_y: "elm.rect.subject.line";}
2841                rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.subject.line"; }
2842                text {
2843                   style: "entry_textblock_style";
2844                   min: 0 1;
2845                   max: 1 0;
2846                }
2847             }
2848             description { state: "callerid_on" 0.0;
2849                inherit: "default" 0.0;
2850                rel1 { relative: 0.0 1.0; to_y: "elm.rect.subject.line";}
2851                rel2 { relative: 0.0 1.0; to_x: "elm.rect.callerid.pad"; to_y: "elm.rect.subject.line"; }
2852             }
2853             description { state: "disabled" 0.0;
2854                inherit: "default" 0.0;
2855                text {
2856                   style: "entry_textblock_disabled_style";
2857                }
2858             }
2859          }
2860          part {
2861             name: "elm.rect.status.pad";
2862             type: RECT;
2863             scale: 1;
2864             description {
2865                state: "default" 0.0;
2866                min: GENLIST_PADDING_6_INC GENLIST_SIZE_64_INC;
2867                fixed: 1 1;
2868                align: 1.0 1.0;
2869                visible: 0;
2870                rel1 { relative: -0.8 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
2871                rel2 { relative: -0.8 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
2872             }
2873          }
2874          part {
2875             name: "elm.rect.time.pad";
2876             type: RECT;
2877             scale: 1;
2878             description {
2879                state: "default" 0.0;
2880                min: GENLIST_PADDING_6_INC GENLIST_PADDING_34_INC;
2881                max: GENLIST_PADDING_6_INC GENLIST_PADDING_34_INC;
2882                fixed: 1 1;
2883                align: 0.0 0.0;
2884                visible: 0;
2885                rel1.to: "elm.rect.status.pad";
2886                rel2 { relative: 0.0 1.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.bottom.pad"; }
2887             }
2888          }
2889          part { name: "elm.text.status";
2890             type: TEXT;
2891             scale: 1;
2892             description { state: "default" 0.0;
2893                align: 1.0 1.0;
2894                fixed: 1 1;
2895                text {
2896                   font: "SLP:style=Roman";
2897                   size: GENLIST_FONT_28_INC;
2898                   min: 1 0;
2899                }
2900                visible: 1;
2901                color: GENLIST_PART_FONT_LIST_SUB_TEXT_COLOR_INC;
2902                rel1 { relative: 0.0 0.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
2903                rel2 { relative: 0.0 0.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
2904             }
2905             description { state: "disabled" 0.0;
2906                inherit: "default" 0.0;
2907                visible: 0;
2908             }
2909          }
2910          part { name: "elm.text.time";
2911             type: TEXT;
2912             scale: 1;
2913             description { state: "default" 0.0;
2914                align: 1.0 0.0;
2915                fixed: 1 1;
2916                text {
2917                   font: "SLP:style=Roman";
2918                   size: GENLIST_FONT_28_INC;
2919                   min: 1 0;
2920                }
2921                visible: 1;
2922                color: GENLIST_PART_FONT_LIST_SUB_TEXT_COLOR_INC;
2923                rel1 { relative: 0.0 1.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.time.pad"; }
2924                rel2 { relative: 0.0 1.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.time.pad"; }
2925             }
2926             description { state: "disabled" 0.0;
2927                inherit: "default" 0.0;
2928                visible: 0;
2929             }
2930          }
2931          part {
2932             name: "elm.swallow.icon1";
2933             type: SWALLOW;
2934             scale: 1;
2935             description {
2936                state: "default" 0.0;
2937                min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
2938                max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
2939                fixed: 1 1;
2940                align: 1.0 1.0;
2941                visible: 0;
2942                rel1 { relative: -0.8 0.3; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
2943                rel2 { relative: -0.8 0.3; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
2944             }
2945             description { state: "enabled" 0.0;
2946                inherit: "default" 0.0;
2947                visible: 1;
2948             }
2949          }
2950          part {
2951            name: "elm.swallow.end";
2952            type: SWALLOW;
2953            scale: 1;
2954            description {
2955               state: "default" 0.0;
2956               align: 0.0 0.0;
2957               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.text"; }
2958               rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
2959            }
2960          }
2961       }
2962       programs {
2963          program { name: "focus";
2964             signal: "load";
2965             source: "";
2966             action: FOCUS_SET;
2967             target: "elm.text";
2968          }
2969          program { name: "disable";
2970             signal: "elm,state,disabled";
2971             source: "elm";
2972             action: STATE_SET "disabled" 0.0;
2973             target: "elm.text";
2974          }
2975          program { name: "enable";
2976             signal: "elm,state,enabled";
2977             source: "elm";
2978             action: STATE_SET "default" 0.0;
2979             target: "elm.text";
2980          }
2981          program { name: "go_callerid_on";
2982             signal: "elm,state,callerid,enabled";
2983             source: "elm";
2984             action: STATE_SET "callerid_on" 0.0;
2985             target: "elm.swallow.callerid";
2986             target: "elm.text";
2987          }
2988          program { name: "go_callerid_off";
2989             signal: "elm,state,callerid,disabled";
2990             source: "elm";
2991             action: STATE_SET "default" 0.0;
2992             target: "elm.swallow.callerid";
2993             target: "elm.text";
2994          }
2995          program { name: "go_textstatus_on";
2996             signal: "elm,state,text,status,enabled";
2997             source: "elm";
2998             action: STATE_SET "default" 0.0;
2999             target: "elm.text.time";
3000             target: "elm.text.status";
3001             after: "go_contentstatus_off";
3002          }
3003          program { name: "go_textstatus_off";
3004             signal: "elm,state,text,status,disbled";
3005             source: "elm";
3006             action: STATE_SET "disabled" 0.0;
3007             target: "elm.text.time";
3008             target: "elm.text.status";
3009          }
3010          program { name: "go_contentstatus_on";
3011             signal: "elm,state,content,status,enabled";
3012             source: "elm";
3013             action: STATE_SET "enabled" 0.0;
3014             target: "elm.swallow.icon1";
3015             after: "go_textstatus_off";
3016          }
3017          program { name: "go_contentstatus_off";
3018             signal: "elm,state,content,status,disabled";
3019             source: "elm";
3020             action: STATE_SET "default" 0.0;
3021             target: "elm.swallow.icon1";
3022          }
3023       }
3024    }
3025
3026    group { name: "elm/entry/base-noedit-charwrap/sentmessage";
3027       data.item: "default_font_size" "24";
3028       data.item: "min_font_size" "8";
3029       data.item: "max_font_size" "60";
3030       data {
3031          item: context_menu_orientation "horizontal";
3032       }
3033       parts {
3034          part {
3035             name: "elm.rect.right.pad";
3036             type: RECT;
3037             scale: 1;
3038             description {
3039                state: "default" 0.0;
3040                min: ENTRY_BUBBLE_EX_PAD 0;
3041                fixed: 1 0;
3042                align: 1.0 0.0;
3043                color: 0 0 0 0;
3044                rel1.relative: 1.0 0.0;
3045             }
3046          }
3047          part {
3048             name: "elm.rect.left.pad";
3049             type: RECT;
3050             scale: 1;
3051             description {
3052                state: "default" 0.0;
3053                min: ENTRY_BUBBLE_IX_PAD 0;
3054                fixed: 1 0;
3055                align: 1.0 0.0;
3056                color: 0 0 0 0;
3057                rel1 { relative: 0.0 0.0; to: "elm.text"; }
3058                rel2 { relative: 0.0 1.0; to: "elm.text"; }
3059             }
3060          }
3061          part {
3062            name: "elm.rect.top.pad";
3063            type: RECT;
3064            scale: 1;
3065            description {
3066               state: "default" 0.0;
3067               min: 0 ENTRY_BUBBLE_Y_PAD;
3068               fixed: 0 1;
3069               align: 0.0 0.0;
3070               color: 0 0 0 0;
3071               rel2.relative: 1.0 0.0;
3072            }
3073          }
3074          part {
3075            name: "elm.rect.bottom.pad";
3076            type: RECT;
3077            scale: 1;
3078            description {
3079               state: "default" 0.0;
3080               min: 0 ENTRY_BUBBLE_Y_PAD;
3081               fixed: 0 1;
3082               align: 0.0 1.0;
3083               color: 0 0 0 0;
3084               rel1.relative: 0.0 1.0;
3085            }
3086          }
3087          part {
3088             name: "elm.image.bg";
3089             type: IMAGE;
3090             scale: 1;
3091             description {
3092                state: "default" 0.0;
3093                rel1.to_x: "elm.rect.left.pad";
3094                image {
3095                   normal: "00_MessageBubble_BG_send.png";
3096                   border: 20 1 13 20;
3097                   border_scale: 1;
3098                }
3099             }
3100          }
3101          part { name: "elm.text";
3102             type: TEXTBLOCK;
3103             mouse_events: 1;
3104             scale: 1;
3105             entry_mode: PLAIN;
3106             select_mode: BLOCK_HANDLE;
3107             //cursor_mode: BEFORE;
3108             multiline: 1;
3109             source: "elm/entry/selection/default"; // selection under
3110             source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
3111             source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
3112             source5: "elm/entry/anchor/default"; // anchor under
3113             description { state: "default" 0.0;
3114                fixed: 1 0;
3115                align: 1.0 0.0;
3116                rel1 { relative: 0.0 1.0; to_y: "elm.rect.top.pad";}
3117                rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
3118                text {
3119                   style: "entry_textblock_style_charwrap";
3120                   min: 0 1;
3121                   max: 1 0;
3122                }
3123             }
3124             description { state: "disabled" 0.0;
3125                inherit: "default" 0.0;
3126                text {
3127                   style: "entry_textblock_disabled_style_charwrap";
3128                }
3129             }
3130          }
3131       }
3132       programs {
3133          program { name: "focus";
3134             signal: "load";
3135             source: "";
3136             action: FOCUS_SET;
3137             target: "elm.text";
3138          }
3139          program { name: "disable";
3140             signal: "elm,state,disabled";
3141             source: "elm";
3142             action: STATE_SET "disabled" 0.0;
3143             target: "elm.text";
3144          }
3145          program { name: "enable";
3146             signal: "elm,state,enabled";
3147             source: "elm";
3148             action: STATE_SET "default" 0.0;
3149             target: "elm.text";
3150          }
3151       }
3152    }
3153
3154 group { name: "elm/entry/base/font_color_black";
3155    alias: "elm/entry/base-mixedwrap/font_color_black";
3156    alias: "elm/entry/base/font_color_black/default";
3157    alias: "elm/entry/base/font_color_black/lighting";
3158    alias: "elm/entry/base/font_color_black/multiline";
3159    alias: "elm/entry/base/font_color_black/multiline/default";
3160    alias: "elm/entry/base/font_color_black/multiline/lighting";
3161    alias: "elm/entry/base/editfield/font_color_black";
3162
3163    data.item: "default_font_size" "24";
3164    data.item: "min_font_size" "8";
3165    data.item: "max_font_size" "60";
3166
3167    styles {
3168       style { name: "font_color_black_textblock_style";
3169          base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=mixed left_margin=1 right_margin=2";
3170          tag:  "br" "\n";
3171          tag:  "ps" "ps";
3172          tag:  "tab" "\t";
3173          tag:  "em" "+ font=SLP:style=Oblique";
3174          tag:  "b" "+ font=SLP:style=Bold";
3175          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
3176          tag:  "hilight" "+ font=SLP:style=Bold";
3177          tag:  "preedit" "+ underline=on underline_color=#000000FF";
3178          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
3179       }
3180       style { name: "font_color_black_textblock_disabled_style";
3181          base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=mixed left_margin=1 right_margin=2";
3182          tag:  "br" "\n";
3183          tag:  "ps" "ps";
3184          tag:  "tab" "\t";
3185          tag:  "em" "+ font=SLP:style=Oblique";
3186          tag:  "b" "+ font=SLP:style=Bold";
3187          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
3188          tag:  "hilight" "+ font=SLP:style=Bold";
3189          tag:  "preedit" "+ underline=on underline_color=#000000FF";
3190          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
3191       }
3192    }
3193    data {
3194       item: context_menu_orientation "horizontal";
3195    }
3196    parts {
3197       part { name: "elm.text";
3198          type: TEXTBLOCK;
3199          mouse_events: 1;
3200          scale: 1;
3201          entry_mode: EDITABLE;
3202          select_mode: BLOCK_HANDLE;
3203          //cursor_mode: BEFORE;
3204          multiline: 1;
3205          source: "elm/entry/selection/default"; // selection under
3206          source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
3207          source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
3208          source4: "elm/entry/cursor/default"; // cursorover
3209          source5: "elm/entry/anchor/default"; // anchor under
3210          //source6: "X"; // anchor over
3211          description { state: "default" 0.0;
3212             fixed: 1 0;
3213             text {
3214                style: "font_color_black_textblock_style";
3215                min: 0 1;
3216             }
3217          }
3218          description { state: "disabled" 0.0;
3219             inherit: "default" 0.0;
3220             text {
3221                style: "font_color_black_textblock_disabled_style";
3222                min: 0 1;
3223             }
3224          }
3225       }
3226    }
3227    programs {
3228       program { name: "focus";
3229          signal: "load";
3230          source: "";
3231          action: FOCUS_SET;
3232          target: "elm.text";
3233       }
3234       program { name: "disable";
3235          signal: "elm,state,disabled";
3236          source: "elm";
3237          action: STATE_SET "disabled" 0.0;
3238          target: "elm.text";
3239       }
3240       program { name: "enable";
3241          signal: "elm,state,enabled";
3242          source: "elm";
3243          action: STATE_SET "default" 0.0;
3244          target: "elm.text";
3245       }
3246    }
3247 }
3248
3249 group { name: "elm/entry/base-noedit/font_color_black";
3250    data.item: "default_font_size" "24";
3251    data.item: "min_font_size" "8";
3252    data.item: "max_font_size" "60";
3253    data {
3254       item: context_menu_orientation "horizontal";
3255    }
3256    parts {
3257       part { name: "elm.text";
3258          type: TEXTBLOCK;
3259          mouse_events: 1;
3260          scale: 1;
3261          entry_mode: PLAIN;
3262          select_mode: BLOCK_HANDLE;
3263          //cursor_mode: BEFORE;
3264          multiline: 1;
3265          source: "elm/entry/selection/default"; // selection under
3266          source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
3267          source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
3268          source4: "elm/entry/cursor/default"; // cursorover
3269          source5: "elm/entry/anchor/default"; // anchor under
3270          //source6: "X"; // anchor over
3271          description { state: "default" 0.0;
3272             fixed: 1 0;
3273             text {
3274                style: "font_color_black_textblock_style";
3275                min: 0 1;
3276             }
3277          }
3278          description { state: "disabled" 0.0;
3279             inherit: "default" 0.0;
3280             text {
3281                style: "font_color_black_textblock_disabled_style";
3282                min: 0 1;
3283             }
3284          }
3285       }
3286    }
3287    programs {
3288       program { name: "focus";
3289          signal: "load";
3290          source: "";
3291          action: FOCUS_SET;
3292          target: "elm.text";
3293       }
3294       program { name: "disable";
3295          signal: "elm,state,disabled";
3296          source: "elm";
3297          action: STATE_SET "disabled" 0.0;
3298          target: "elm.text";
3299       }
3300       program { name: "enable";
3301          signal: "elm,state,enabled";
3302          source: "elm";
3303          action: STATE_SET "default" 0.0;
3304          target: "elm.text";
3305       }
3306    }
3307 }
3308
3309 group { name: "elm/entry/base-charwrap/font_color_black";
3310    alias: "elm/entry/base/font_color_black/char_wrap";
3311    alias: "elm/entry/base/font_color_black/default/char_wrap";
3312    alias: "elm/entry/base/font_color_black/lighting/char_wrap";
3313    alias: "elm/entry/base/font_color_black/multiline/char_wrap";
3314    alias: "elm/entry/base/font_color_black/multiline/default/char_wrap";
3315    alias: "elm/entry/base/font_color_black/multiline/lighting/char_wrap";
3316    alias: "elm/entry/base-charwrap/editfield/font_color_black";
3317
3318    data.item: "default_font_size" "24";
3319    data.item: "min_font_size" "8";
3320    data.item: "max_font_size" "60";
3321
3322    styles {
3323       style { name: "font_color_black_textblock_char_wrap_style";
3324          base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=char left_margin=1 right_margin=2";
3325          tag:  "br" "\n";
3326          tag:  "ps" "ps";
3327          tag:  "tab" "\t";
3328          tag:  "em" "+ font=SLP:style=Oblique";
3329          tag:  "b" "+ font=SLP:style=Bold";
3330          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
3331          tag:  "hilight" "+ font=SLP:style=Bold";
3332          tag:  "preedit" "+ underline=on underline_color=#000000FF";
3333          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
3334       }
3335       style { name: "font_color_black_textblock_char_wrap_disabled_style";
3336          base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=char left_margin=1 right_margin=2";
3337          tag:  "br" "\n";
3338          tag:  "ps" "ps";
3339          tag:  "tab" "\t";
3340          tag:  "em" "+ font=SLP:style=Oblique";
3341          tag:  "b" "+ font=SLP:style=Bold";
3342          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
3343          tag:  "hilight" "+ font=SLP:style=Bold";
3344          tag:  "preedit" "+ underline=on underline_color=#000000FF";
3345          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
3346       }
3347    }
3348    data {
3349       item: context_menu_orientation "horizontal";
3350    }
3351    parts {
3352       part { name: "elm.text";
3353          type: TEXTBLOCK;
3354          mouse_events: 1;
3355          scale: 1;
3356          entry_mode: EDITABLE;
3357          select_mode: BLOCK_HANDLE;
3358          //cursor_mode: BEFORE;
3359          multiline: 1;
3360          source: "elm/entry/selection/default"; // selection under
3361          source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
3362          source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
3363          source4: "elm/entry/cursor/default"; // cursorover
3364          source5: "elm/entry/anchor/default"; // anchor under
3365          //source6: "X"; // anchor over
3366          description { state: "default" 0.0;
3367             fixed: 1 0;
3368             text {
3369                style: "font_color_black_textblock_char_wrap_style";
3370                min: 0 1;
3371             }
3372          }
3373          description { state: "disabled" 0.0;
3374             inherit: "default" 0.0;
3375             text {
3376                style: "font_color_black_textblock_char_wrap_disabled_style";
3377                min: 0 1;
3378             }
3379          }
3380       }
3381    }
3382    programs {
3383       program { name: "focus";
3384          signal: "load";
3385          source: "";
3386          action: FOCUS_SET;
3387          target: "elm.text";
3388       }
3389       program { name: "disable";
3390          signal: "elm,state,disabled";
3391          source: "elm";
3392          action: STATE_SET "disabled" 0.0;
3393          target: "elm.text";
3394       }
3395       program { name: "enable";
3396          signal: "elm,state,enabled";
3397          source: "elm";
3398          action: STATE_SET "default" 0.0;
3399          target: "elm.text";
3400       }
3401    }
3402 }
3403
3404 group { name: "elm/entry/base-single/font_color_black";
3405    alias: "elm/entry/base-single/font_color_black/default";
3406    alias: "elm/entry/base-single/font_color_black/lighting";
3407    alias: "elm/entry/base-single/font_color_black/singleline";
3408    alias: "elm/entry/base-single/font_color_black/singleline/default";
3409    alias: "elm/entry/base-single/font_color_black/singleline/lighting";
3410    alias: "elm/entry/base-single/editfield/font_color_black";
3411    alias: "elm/entry/base-single/editfield/searchbar/font_color_black";
3412
3413    data.item: "default_font_size" "24";
3414    data.item: "min_font_size" "8";
3415    data.item: "max_font_size" "60";
3416
3417    styles {
3418       style { name: "font_color_black_single_textblock_style";
3419          base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=none left_margin=1 right_margin=3";
3420          tag:  "br" "\n";
3421          tag:  "ps" "ps";
3422          tag:  "tab" "\t";
3423          tag:  "em" "+ font=SLP:style=Oblique";
3424          tag:  "b" "+ font=SLP:style=Bold";
3425          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
3426          tag:  "hilight" "+ font=SLP:style=Bold";
3427          tag:  "preedit" "+ underline=on underline_color=#000000FF";
3428          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
3429       }
3430       style { name: "font_color_black_single_textblock_disabled_style";
3431          base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=none left_margin=1 right_margin=3";
3432          tag:  "br" "\n";
3433          tag:  "ps" "ps";
3434          tag:  "tab" "\t";
3435          tag:  "em" "+ font=SLP:style=Oblique";
3436          tag:  "b" "+ font=SLP:style=Bold";
3437          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
3438          tag:  "hilight" "+ font=SLP:style=Bold";
3439          tag:  "preedit" "+ underline=on underline_color=#000000FF";
3440          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
3441       }
3442    }
3443    data {
3444       item: context_menu_orientation "horizontal";
3445    }
3446    parts {
3447       part { name: "elm.text";
3448          type: TEXTBLOCK;
3449          mouse_events: 1;
3450          scale: 1;
3451          entry_mode: EDITABLE;
3452          select_mode: BLOCK_HANDLE;
3453          //cursor_mode: BEFORE;
3454          multiline: 0;
3455          source: "elm/entry/selection/default"; // selection under
3456          source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
3457          source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
3458          source4: "elm/entry/cursor/default"; // cursorover
3459          source5: "elm/entry/anchor/default"; // anchor under
3460          description { state: "default" 0.0;
3461             text {
3462                style: "font_color_black_single_textblock_style";
3463                min: 1 1;
3464                max: 0 1;
3465             }
3466          }
3467          description { state: "disabled" 0.0;
3468             inherit: "default" 0.0;
3469             text {
3470                style: "font_color_black_single_textblock_disabled_style";
3471             }
3472          }
3473       }
3474    }
3475    programs {
3476       program { name: "focus";
3477          signal: "load";
3478          source: "";
3479          action: FOCUS_SET;
3480          target: "elm.text";
3481       }
3482       program { name: "disable";
3483          signal: "elm,state,disabled";
3484          source: "elm";
3485          action: STATE_SET "disabled" 0.0;
3486          target: "elm.text";
3487       }
3488       program { name: "enable";
3489          signal: "elm,state,enabled";
3490          source: "elm";
3491          action: STATE_SET "default" 0.0;
3492          target: "elm.text";
3493       }
3494    }
3495 }
3496
3497 group { name: "elm/entry/base-single-noedit/font_color_black";
3498    data.item: "default_font_size" "24";
3499    data.item: "min_font_size" "8";
3500    data.item: "max_font_size" "60";
3501    data {
3502       item: context_menu_orientation "horizontal";
3503    }
3504    parts {
3505       part { name: "elm.text";
3506          type: TEXTBLOCK;
3507          mouse_events: 1;
3508          scale: 1;
3509          entry_mode: PLAIN;
3510          select_mode: BLOCK_HANDLE;
3511          //cursor_mode: BEFORE;
3512          multiline: 0;
3513          source: "elm/entry/selection/default"; // selection under
3514          source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
3515          source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
3516          source4: "elm/entry/cursor/default"; // cursorover
3517          source5: "elm/entry/anchor/default"; // anchor under
3518          description { state: "default" 0.0;
3519             text {
3520                style: "font_color_black_single_textblock_style";
3521                min: 1 1;
3522                max: 0 1;
3523             }
3524          }
3525          description { state: "disabled" 0.0;
3526             inherit: "default" 0.0;
3527             text {
3528                style: "font_color_black_single_textblock_disabled_style";
3529             }
3530          }
3531       }
3532    }
3533    programs {
3534       program { name: "focus";
3535          signal: "load";
3536          source: "";
3537          action: FOCUS_SET;
3538          target: "elm.text";
3539       }
3540       program { name: "disable";
3541          signal: "elm,state,disabled";
3542          source: "elm";
3543          action: STATE_SET "disabled" 0.0;
3544          target: "elm.text";
3545       }
3546       program { name: "enable";
3547          signal: "elm,state,enabled";
3548          source: "elm";
3549          action: STATE_SET "default" 0.0;
3550          target: "elm.text";
3551       }
3552    }
3553 }
3554 group { name: "elm/entry/base-password/font_color_black";
3555    alias: "elm/entry/base-password/editfield/font_color_black";
3556    data.item: "default_font_size" "24";
3557    data.item: "min_font_size" "8";
3558    data.item: "max_font_size" "60";
3559    data {
3560       item: context_menu_orientation "horizontal";
3561    }
3562    parts {
3563       part { name: "elm.text";
3564          type: TEXTBLOCK;
3565          mouse_events: 1;
3566          scale: 1;
3567          entry_mode: PASSWORD;
3568          select_mode: BLOCK_HANDLE;
3569          multiline: 0;
3570          source: "elm/entry/selection/default"; // selection under
3571          source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
3572          source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
3573          source4: "elm/entry/cursor/default"; // cursorover
3574          source5: "elm/entry/anchor/default"; // anchor under
3575          description { state: "default" 0.0;
3576             text {
3577                style: "font_color_black_single_textblock_style";
3578                repch: "*";
3579                min: 1 1;
3580                max: 0 1;
3581             }
3582          }
3583          description { state: "disabled" 0.0;
3584             inherit: "default" 0.0;
3585             text {
3586                style: "font_color_black_single_textblock_disabled_style";
3587             }
3588          }
3589       }
3590    }
3591    programs {
3592       program { name: "focus";
3593          signal: "load";
3594          source: "";
3595          action: FOCUS_SET;
3596          target: "elm.text";
3597       }
3598       program { name: "disable";
3599          signal: "elm,state,disabled";
3600          source: "elm";
3601          action: STATE_SET "disabled" 0.0;
3602          target: "elm.text";
3603       }
3604       program { name: "enable";
3605          signal: "elm,state,enabled";
3606          source: "elm";
3607          action: STATE_SET "default" 0.0;
3608          target: "elm.text";
3609       }
3610    }
3611 }
3612
3613 group { name: "elm/scroller/entry/default";
3614       alias : "elm/scroller/entry/editfield";
3615       alias : "elm/scroller/entry/editfield/searchbar/default";
3616       data {
3617          item: "focus_highlight" "on";
3618       }
3619       script {
3620          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
3621          public timer0(val) {
3622             new v;
3623             v = get_int(sbvis_v);
3624             if (v) {
3625                v = get_int(sbalways_v);
3626                if (!v) {
3627                   emit("do-hide-vbar", "");
3628                   set_int(sbvis_v, 0);
3629                }
3630             }
3631             v = get_int(sbvis_h);
3632             if (v) {
3633                v = get_int(sbalways_h);
3634                if (!v) {
3635                   emit("do-hide-hbar", "");
3636                   set_int(sbvis_h, 0);
3637                }
3638             }
3639             set_int(sbvis_timer, 0);
3640             return 0;
3641          }
3642       }
3643       images {
3644          image: "bt_sm_base2.png" COMP;
3645       }
3646       parts {
3647          part { name: "bg";
3648             type: RECT;
3649             description { state: "default" 0.0;
3650                visible: 0;
3651             }
3652          }
3653          part { name: "clipper";
3654             type: RECT;
3655             mouse_events: 0;
3656             description { state: "default" 0.0;
3657                rel1.to: "bg";
3658                rel2.to: "bg";
3659             }
3660          }
3661          part { name: "contentclipper";
3662             type: RECT;
3663             mouse_events: 0;
3664             clip_to: "clipper";
3665             description { state: "default" 0.0;
3666                rel1.to: "elm.swallow.icon";
3667                rel1.relative: 1.0 0.0;
3668                rel2.to: "elm.swallow.end";
3669                rel2.relative: 0.0 1.0;
3670             }
3671          }
3672          part { name: "elm.swallow.icon";
3673             type: SWALLOW;
3674             clip_to: "clipper";
3675             description { state: "default" 0.0;
3676                fixed: 1 1;
3677                rel1 {
3678                   to: "bg";
3679                   relative: 0.0 0.0;
3680                }
3681                rel2 {
3682                   to: "bg";
3683                   relative: 0.0 1.0;
3684                }
3685                visible: 0;
3686             }
3687             description { state: "visible" 0.0;
3688                fixed: 1 1;
3689                align: 0.0 1.0;
3690                rel1 {
3691                          to: "bg";
3692                          relative: 0.0 0.0;
3693                }
3694                rel2 {
3695                   to: "bg";
3696                   relative: 0.0 1.0;
3697                }
3698                visible: 1;
3699             }
3700          }
3701          part { name: "elm.swallow.end";
3702             type: SWALLOW;
3703             clip_to: "clipper";
3704             description { state: "default" 0.0;
3705                fixed: 1 1;
3706                rel1 {
3707                   to: "bg";
3708                   relative: 1.0 0.0;
3709                }
3710                rel2 {
3711                   to: "bg";
3712                   relative: 1.0 1.0;
3713                }
3714                visible: 0;
3715             }
3716             description { state: "visible" 0.0;
3717                fixed: 1 1;
3718                align: 1.0 1.0;
3719                rel1 {
3720                   to: "bg";
3721                   relative: 1.0 0.0;
3722                }
3723                rel2 {
3724                   to: "bg";
3725                   relative: 1.0 1.0;
3726                }
3727                visible: 1;
3728             }
3729          }
3730          part { name: "elm.swallow.content";
3731             clip_to: "contentclipper";
3732             type: SWALLOW;
3733             description { state: "default" 0.0;
3734                rel1 {
3735                        to: "elm.swallow.icon";
3736                        relative: 1.0 0.0;
3737                }
3738                rel2 {
3739                 to: "elm.swallow.end";
3740                 relative: 0.0 1.0;
3741                }
3742             }
3743          }
3744          part { name: "sb_vbar_clip_master";
3745             type: RECT;
3746             mouse_events: 0;
3747             description { state: "default" 0.0;
3748             }
3749             description { state: "hidden" 0.0;
3750                visible: 0;
3751                color: 255 255 255 0;
3752             }
3753          }
3754          part { name: "sb_vbar_clip";
3755             clip_to: "sb_vbar_clip_master";
3756             type: RECT;
3757             mouse_events: 0;
3758             description { state: "default" 0.0;
3759             }
3760             description { state: "hidden" 0.0;
3761                visible: 0;
3762                color: 255 255 255 0;
3763             }
3764          }
3765          part { name: "sb_vbar";
3766             type: RECT;
3767             mouse_events: 0;
3768             description { state: "default" 0.0;
3769                fixed: 1 1;
3770                visible: 0;
3771                min: 10 17;
3772                align: 1.0 0.0;
3773                rel1 {
3774                   relative: 0.0 0.0;
3775                   to_y:     "elm.swallow.content";
3776                   to_x:     "elm.swallow.end";
3777                }
3778                rel2 {
3779                   relative: 0.0 0.0;
3780                   to_y:     "sb_hbar";
3781                   to_x:     "elm.swallow.end";
3782                }
3783             }
3784          }
3785          part { name: "elm.dragable.vbar";
3786             clip_to: "sb_vbar_clip";
3787             mouse_events: 0;
3788             dragable {
3789                x: 0 0 0;
3790                y: 1 1 0;
3791                confine: "sb_vbar";
3792             }
3793             description { state: "default" 0.0;
3794                visible: 0;
3795                fixed: 1 1;
3796                min: 10 17;
3797                max: 10 99999;
3798                rel1 {
3799                   relative: 0.5  0.5;
3800                   to: "sb_vbar";
3801                }
3802                rel2 {
3803                   relative: 0.5  0.5;
3804                   to: "sb_vbar";
3805                }
3806                image {
3807                   normal: "bt_sm_base2.png";
3808                   border: 6 6 6 6;
3809                   middle: SOLID;
3810                }
3811             }
3812          }
3813          part { name: "sb_hbar_clip_master";
3814             type: RECT;
3815             mouse_events: 0;
3816             description { state: "default" 0.0;
3817             }
3818             description { state: "hidden" 0.0;
3819                visible: 0;
3820                color: 255 255 255 0;
3821             }
3822          }
3823          part { name: "sb_hbar_clip";
3824             clip_to: "sb_hbar_clip_master";
3825             type: RECT;
3826             mouse_events: 0;
3827             description { state: "default" 0.0;
3828             }
3829             description { state: "hidden" 0.0;
3830                visible: 0;
3831                color: 255 255 255 0;
3832             }
3833          }
3834          part { name: "sb_hbar";
3835             type: RECT;
3836             mouse_events: 0;
3837             description { state: "default" 0.0;
3838                fixed: 1 1;
3839                visible: 0;
3840                min: 17 10;
3841                align: 0.0 1.0;
3842                rel1 {
3843                   relative: 0.0 1.0;
3844                   to_x:     "elm.swallow.content";
3845                   to_y:     "elm.swallow.content";
3846                }
3847                rel2 {
3848                   relative: 0.0 1.0;
3849                   to_x:     "sb_vbar";
3850                   to_y:     "elm.swallow.content";
3851                }
3852             }
3853          }
3854          part { name: "elm.dragable.hbar";
3855             clip_to: "sb_hbar_clip";
3856             mouse_events: 0;
3857             dragable {
3858                x: 1 1 0;
3859                y: 0 0 0;
3860                confine: "sb_hbar";
3861             }
3862             description { state: "default" 0.0;
3863                fixed: 1 1;
3864                min: 17 10;
3865                max: 99999 10;
3866                rel1 {
3867                   relative: 0.5  0.5;
3868                   to: "sb_hbar";
3869                }
3870                rel2 {
3871                   relative: 0.5  0.5;
3872                   to: "sb_hbar";
3873                }
3874                image {
3875                   normal: "bt_sm_base2.png";
3876                   border: 4 4 4 4;
3877                   middle: SOLID;
3878                }
3879             }
3880          }
3881       }
3882       programs {
3883          program { name: "load";
3884             signal: "load";
3885             source: "";
3886             script {
3887                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
3888                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
3889                set_int(sbvis_h, 0);
3890                set_int(sbvis_v, 0);
3891                set_int(sbalways_v, 0);
3892                set_int(sbalways_h, 0);
3893                set_int(sbvis_timer, 0);
3894             }
3895          }
3896          program { name: "icon_show";
3897             signal: "elm,action,show,icon";
3898             source: "elm";
3899             action: STATE_SET "visible" 0.0;
3900             target: "elm.swallow.icon";
3901          }
3902          program { name: "icon_hide";
3903             signal: "elm,action,hide,icon";
3904             source: "elm";
3905             action: STATE_SET "default" 0.0;
3906             target: "elm.swallow.icon";
3907          }
3908          program { name: "end_show";
3909             signal: "elm,action,show,end";
3910             source: "elm";
3911             action: STATE_SET "visible" 0.0;
3912             target: "elm.swallow.end";
3913          }
3914          program { name: "end_hide";
3915             signal: "elm,action,hide,end";
3916             source: "elm";
3917             action: STATE_SET "default" 0.0;
3918             target: "elm.swallow.end";
3919          }
3920          program { name: "vbar_show";
3921             signal: "elm,action,show,vbar";
3922             source: "elm";
3923             action:  STATE_SET "default" 0.0;
3924             target: "sb_vbar_clip_master";
3925          }
3926          program { name: "vbar_hide";
3927             signal: "elm,action,hide,vbar";
3928             source: "elm";
3929             action:  STATE_SET "hidden" 0.0;
3930             target: "sb_vbar_clip_master";
3931          }
3932          program { name: "vbar_show_always";
3933             signal: "elm,action,show_always,vbar";
3934             source: "elm";
3935             script {
3936                new v;
3937                v = get_int(sbvis_v);
3938                v |= get_int(sbalways_v);
3939                if (!v) {
3940                   set_int(sbalways_v, 1);
3941                   emit("do-show-vbar", "");
3942                   set_int(sbvis_v, 1);
3943                }
3944             }
3945          }
3946          program { name: "vbar_show_notalways";
3947             signal: "elm,action,show_notalways,vbar";
3948             source: "elm";
3949             script {
3950                new v;
3951                v = get_int(sbalways_v);
3952                if (v) {
3953                   set_int(sbalways_v, 0);
3954                   v = get_int(sbvis_v);
3955                   if (!v) {
3956                      emit("do-hide-vbar", "");
3957                      set_int(sbvis_v, 0);
3958                   }
3959                }
3960             }
3961          }
3962          program { name: "sb_vbar_show";
3963             signal: "do-show-vbar";
3964             source: "";
3965             action:  STATE_SET "default" 0.0;
3966             transition: LINEAR 0.5;
3967             target: "sb_vbar_clip";
3968          }
3969          program { name: "sb_vbar_hide";
3970             signal: "do-hide-vbar";
3971             source: "";
3972             action:  STATE_SET "hidden" 0.0;
3973             transition: LINEAR 0.5;
3974             target: "sb_vbar_clip";
3975          }
3976
3977          program { name: "hbar_show";
3978             signal: "elm,action,show,hbar";
3979             source: "elm";
3980             action:  STATE_SET "default" 0.0;
3981             target: "sb_hbar_clip_master";
3982          }
3983          program { name: "hbar_hide";
3984             signal: "elm,action,hide,hbar";
3985             source: "elm";
3986             action:  STATE_SET "hidden" 0.0;
3987             target: "sb_hbar_clip_master";
3988          }
3989          program { name: "hbar_show_always";
3990             signal: "elm,action,show_always,hbar";
3991             source: "elm";
3992             script {
3993                new v;
3994                v = get_int(sbvis_h);
3995                v |= get_int(sbalways_h);
3996                if (!v) {
3997                   set_int(sbalways_h, 1);
3998                   emit("do-show-hbar", "");
3999                   set_int(sbvis_h, 1);
4000                }
4001             }
4002          }
4003          program { name: "hbar_show_notalways";
4004             signal: "elm,action,show_notalways,hbar";
4005             source: "elm";
4006             script {
4007                new v;
4008                v = get_int(sbalways_h);
4009                if (v) {
4010                   set_int(sbalways_h, 0);
4011                   v = get_int(sbvis_h);
4012                   if (!v) {
4013                      emit("do-hide-hbar", "");
4014                      set_int(sbvis_h, 0);
4015                   }
4016                }
4017             }
4018          }
4019          program { name: "sb_hbar_show";
4020             signal: "do-show-hbar";
4021             source: "";
4022             action:  STATE_SET "default" 0.0;
4023             transition: LINEAR 0.5;
4024             target: "sb_hbar_clip";
4025          }
4026          program { name: "sb_hbar_hide";
4027             signal: "do-hide-hbar";
4028             source: "";
4029             action:  STATE_SET "hidden" 0.0;
4030             transition: LINEAR 0.5;
4031             target: "sb_hbar_clip";
4032          }
4033
4034          program { name: "scroll";
4035             signal: "elm,action,scroll";
4036             source: "elm";
4037             script {
4038                new v;
4039                v = get_int(sbvis_v);
4040                v |= get_int(sbalways_v);
4041                if (!v) {
4042                   emit("do-show-vbar", "");
4043                   set_int(sbvis_v, 1);
4044                }
4045                v = get_int(sbvis_h);
4046                v |= get_int(sbalways_h);
4047                if (!v) {
4048                   emit("do-show-hbar", "");
4049                   set_int(sbvis_h, 1);
4050                }
4051                v = get_int(sbvis_timer);
4052                if (v > 0) cancel_timer(v);
4053                v = timer(1.0, "timer0", 0);
4054                set_int(sbvis_timer, v);
4055             }
4056          }
4057       }
4058    }