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