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