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