[entry] Apply guide text color according to dark theme GUI v0.5
[platform/core/uifw/efl-theme-tizen.git] / themes / widgets / entry.edc
1 /*
2  * efl-theme-tizen
3  * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
4  *
5  * Licensed under the Apache License, Version 2.0 (the License);
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *     http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an AS IS BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17
18 #define ENTRY_BLOCK_HANDLE_SOURCE7 "elm/entry/selection/block_handle_left"
19 #define ENTRY_BLOCK_HANDLE_SOURCE8 "elm/entry/selection/block_handle_right"
20 #define ENTRY_CURSOR_HANDLE_SOURCE9 "elm/entry/cursor_handle/default"
21 #define ENTRY_BLOCK_HANDLE_SOURCE10 "elm/entry/selection/block_handle_edge_left"
22 #define ENTRY_BLOCK_HANDLE_SOURCE11 "elm/entry/selection/block_handle_edge_right"
23
24 #define ENTRY_FOCUS_DATA \
25    data.item: "focus_highlight" "on";
26
27 #define ENTRY_EDITFIELD_FOCUS_DATA \
28    data.item: "focus_highlight" "off";
29
30 #define ENTRY_FOCUS_IMAGE \
31    images { \
32       image: "00_focus.png" COMP; \
33    }
34
35 #define ENTRY_EDITFIELD_FOCUS_IMAGE \
36    images { \
37       image: "00_edit_field_focus.png" COMP; \
38       image: "00_eidt_field_bg.png" COMP; \
39    }
40
41 #define ENTRY_TEXTBLOCK_DEFAULT_REL \
42    rel1 { \
43       to_x: "focus_left_padding"; \
44       relative: 1.0 0.0; \
45    } \
46    rel2 { \
47       to_x: "editfield_space"; \
48       relative: 0.0 1.0; \
49    }
50
51 #define ENTRY_SWALLOW_SCRIPT_PUBLIC \
52    script { \
53       public scroll_enabled; \
54    }
55
56 #define ENTRY_SWALLOW_PARTS \
57    part { name: "editfield_space"; \
58       type: SPACER; \
59       scale: 1; \
60       description { state: "default" 0.0; \
61          align: 1.0 0.5; \
62          min: 0 0; \
63          max: 0 0; \
64          rel1 { \
65             to_x: "focus_right_padding"; \
66             relative: 0.0 0.0; \
67          } \
68          rel2 { \
69             to_x: "focus_right_padding"; \
70             relative: 0.0 1.0; \
71          } \
72       } \
73       description { state: "rename_visible" 0.0; \
74          inherit: "default" 0.0; \
75          min: 9 0; \
76          max: 9 0; \
77          rel1 { \
78             to_x: "elm.swallow.rename"; \
79             relative: 0.0 0.0; \
80          } \
81          rel2 { \
82             to_x: "elm.swallow.rename"; \
83             relative: 0.0 1.0; \
84          } \
85       } \
86       description { state: "clear_visible" 0.0; \
87          inherit: "default" 0.0; \
88          min: 9 0; \
89          max: 9 0; \
90          rel1 { \
91             to_x: "elm.swallow.clear"; \
92             relative: 0.0 0.0; \
93          } \
94          rel2 { \
95             to_x: "elm.swallow.clear"; \
96             relative: 0.0 1.0; \
97          } \
98       } \
99    } \
100    part { name: "elm.swallow.clear"; \
101       type: SWALLOW; \
102       scale: 1; \
103       description { state: "default" 0.0; \
104          align: 1.0 0.5; \
105          fixed: 1 1; \
106          rel1 { \
107             to_x: "focus_right_padding"; \
108             relative: 0.0 0.0; \
109          } \
110          rel2 { \
111             to_x: "focus_right_padding"; \
112             relative: 0.0 1.0; \
113          } \
114          visible: 0; \
115       } \
116       description { state: "visible" 0.0; \
117          inherit: "default" 0.0; \
118          visible: 1; \
119       } \
120    } \
121    part { name: "elm.swallow.rename"; \
122       type: SWALLOW; \
123       scale: 1; \
124       description { state: "default" 0.0; \
125          align: 1.0 0.5; \
126          fixed: 1 1; \
127          rel1 { \
128             to_x: "focus_right_padding"; \
129             relative: 0.0 0.0; \
130          } \
131          rel2 { \
132             to_x: "focus_right_padding"; \
133             relative: 0.0 1.0; \
134          } \
135          visible: 0; \
136       } \
137       description { state: "visible" 0.0; \
138          inherit: "default" 0.0; \
139          visible: 1; \
140       } \
141    }
142
143 #define ENTRY_FOCUS_PARTS \
144    part { name: "focus_bg"; \
145       type: RECT; \
146       scale: 1; \
147       description { state: "default" 0.0; \
148          visible: 0; \
149          rel1.relative: 0.0 0.0; \
150          rel2.relative: 1.0 1.0; \
151       } \
152    } \
153    part { name: "focus_left_padding"; \
154       type: SPACER; \
155       scale: 1; \
156       description { state: "default" 0.0; \
157          min: 10 0; \
158          max: 10 0; \
159          fixed: 1 0; \
160          align: 0.0 0.5; \
161          rel1 { \
162             to_x: "focus_bg"; \
163             relative: 0.0 0.0; \
164          } \
165          rel2 { \
166             to_x: "focus_bg"; \
167             relative: 0.0 1.0; \
168          } \
169       } \
170       description { state: "hidden" 0.0; \
171          inherit: "default" 0.0; \
172          min: 0 0; \
173          max: 0 0; \
174       } \
175    } \
176    part { name: "focus_right_padding"; \
177       type: SPACER; \
178       scale: 1; \
179       description { state: "default" 0.0; \
180          min: 10 0; \
181          max: 10 0; \
182          align: 1.0 0.5; \
183          fixed: 1 0; \
184          rel1 { \
185             to_x: "focus_bg"; \
186             relative: 1.0 0.0; \
187          } \
188          rel2 { \
189             to_x: "focus_bg"; \
190             relative: 1.0 1.0; \
191          } \
192       } \
193       description { state: "hidden" 0.0; \
194          inherit: "default" 0.0; \
195          min: 0 0; \
196          max: 0 0; \
197       } \
198    } \
199    part { name: "focus_image"; \
200       scale: 1; \
201       mouse_events: 0; \
202       description { state: "default" 0.0; \
203          visible: 0; \
204          image { \
205             normal: "00_focus.png"; \
206             border: 6 6 6 6; \
207             border_scale: 1; \
208          } \
209          rel1 { \
210             to_x: "focus_bg"; \
211             relative: 0.0 0.0; \
212          } \
213          rel2 { \
214             to_x: "focus_bg"; \
215             relative: 1.0 1.0; \
216          } \
217       } \
218       description { state: "focused" 0.0; \
219          inherit: "default" 0.0; \
220          visible: 1; \
221       } \
222    }
223
224 #define ENTRY_EDITFIELD_FOCUS_PARTS \
225    part { name: "focus_bg"; \
226       type: IMAGE; \
227       scale: 1; \
228       mouse_events: 0; \
229       repeat_events: 1; \
230       description { state: "default" 0.0; \
231          visible: 1; \
232          image { \
233             normal: "00_edit_field_bg.png"; \
234             border: 8 8 8 8; \
235             border_scale: 1; \
236          } \
237          rel1.relative: 0.0 0.0; \
238          rel2.relative: 1.0 1.0; \
239       } \
240       description { state: "hidden" 0.0; \
241          inherit: "default" 0.0; \
242          visible: 0; \
243       } \
244    } \
245    part { name: "focus_left_padding"; \
246       type: SPACER; \
247       scale: 1; \
248       description { state: "default" 0.0; \
249          min: 10 0; \
250          max: 10 0; \
251          fixed: 1 0; \
252          align: 0.0 0.5; \
253          rel1 { \
254             to_x: "focus_bg"; \
255             relative: 0.0 0.0; \
256          } \
257          rel2 { \
258             to_x: "focus_bg"; \
259             relative: 0.0 1.0; \
260          } \
261       } \
262       description { state: "hidden" 0.0; \
263          inherit: "default" 0.0; \
264          min: 0 0; \
265          max: 0 0; \
266       } \
267    } \
268    part { name: "focus_right_padding"; \
269       type: SPACER; \
270       scale: 1; \
271       description { state: "default" 0.0; \
272          min: 10 0; \
273          max: 10 0; \
274          align: 1.0 0.5; \
275          fixed: 1 0; \
276          rel1 { \
277             to_x: "focus_bg"; \
278             relative: 1.0 0.0; \
279          } \
280          rel2 { \
281             to_x: "focus_bg"; \
282             relative: 1.0 1.0; \
283          } \
284       } \
285       description { state: "hidden" 0.0; \
286          inherit: "default" 0.0; \
287          min: 0 0; \
288          max: 0 0; \
289       } \
290    } \
291    part { name: "focus_image"; \
292       scale: 1; \
293       mouse_events: 0; \
294       description { state: "default" 0.0; \
295          visible: 0; \
296          image { \
297             normal: "00_edit_field_focus.png"; \
298             border: 8 8 8 8; \
299             border_scale: 1; \
300          } \
301          rel1 { \
302             to: "focus_bg"; \
303             relative: 0.0 0.0; \
304          } \
305          rel2 { \
306             to: "focus_bg"; \
307             relative: 1.0 1.0; \
308          } \
309       } \
310       description { state: "focused" 0.0; \
311          inherit: "default" 0.0; \
312          visible: 1; \
313       } \
314    }
315
316 #define ENTRY_SWALLOW_PROGRAMS \
317    program { name: "scroll_enabled"; \
318       signal: "elm,state,scroll,enabled"; \
319       source: "*"; \
320       script { \
321          set_int(scroll_enabled, 1); \
322          set_state(PART:"focus_bg", "hidden", 0.0); \
323          set_state(PART:"focus_left_padding", "hidden", 0.0); \
324          set_state(PART:"focus_right_padding", "hidden", 0.0); \
325       } \
326    } \
327    program { name: "scroll_disabled"; \
328       signal: "elm,state,scroll,disabled"; \
329       source: "*"; \
330       script { \
331          set_int(scroll_enabled, 0); \
332          set_state(PART:"focus_bg", "default", 0.0); \
333          set_state(PART:"focus_left_padding", "default", 0.0); \
334          set_state(PART:"focus_right_padding", "default", 0.0); \
335       } \
336    } \
337    program { name: "clear_show"; \
338       signal: "elm,state,clear,visible"; \
339       source: "*"; \
340       script { \
341          new v; \
342          v = get_int(scroll_enabled); \
343          if (!v) { \
344             set_state(PART:"elm.swallow.clear", "visible", 0.0); \
345             set_state(PART:"editfield_space", "clear_visible", 0.0); \
346          } \
347       } \
348    } \
349    program { name: "clear_hide"; \
350       signal: "elm,state,clear,hidden"; \
351       source: "*"; \
352       script { \
353          new v; \
354          v = get_int(scroll_enabled); \
355          if (!v) { \
356             set_state(PART:"elm.swallow.clear", "default", 0.0); \
357             set_state(PART:"editfield_space", "default", 0.0); \
358          } \
359       } \
360    } \
361    program { name: "rename_show"; \
362       signal: "elm,state,rename,visible"; \
363       source: "*"; \
364       script { \
365          new v; \
366          v = get_int(scroll_enabled); \
367          if (!v) { \
368             set_state(PART:"elm.swallow.rename", "visible", 0.0); \
369             set_state(PART:"editfield_space", "rename_visible", 0.0); \
370          } \
371       } \
372    } \
373    program { name: "rename_hide"; \
374       signal: "elm,state,rename,hidden"; \
375       source: "*"; \
376       script { \
377          new v; \
378          v = get_int(scroll_enabled); \
379          if (!v) { \
380             set_state(PART:"elm.swallow.rename", "default", 0.0); \
381             set_state(PART:"editfield_space", "default", 0.0); \
382          } \
383       } \
384    }
385
386 #define ENTRY_FOCUS_PROGRAMS \
387    program { name: "action_focus"; \
388       signal: "elm,action,focus_highlight,show"; \
389       source: "elm"; \
390       script { \
391          new v; \
392          v = get_int(scroll_enabled); \
393          if (!v) { \
394             set_state(PART:"focus_image", "focused", 0.0); \
395          } \
396       } \
397    } \
398    program { name: "action_unfocus"; \
399       signal: "elm,action,focus_highlight,hide"; \
400       source: "elm"; \
401       script { \
402          new v; \
403          v = get_int(scroll_enabled); \
404          if (!v) { \
405             set_state(PART:"focus_image", "default", 0.0); \
406          } \
407       } \
408    }
409
410 #define ENTRY_EDITFIELD_FOCUS_PROGRAMS \
411    program { name: "action_focus"; \
412       signal: "elm,state,focus,on"; \
413       source: "*"; \
414       script { \
415          new v; \
416          v = get_int(scroll_enabled); \
417          if (!v) { \
418             set_state(PART:"focus_image", "focused", 0.0); \
419          } \
420       } \
421    } \
422    program { name: "action_unfocus"; \
423       signal: "elm,state,focus,off"; \
424       source: "*"; \
425       script { \
426          new v; \
427          v = get_int(scroll_enabled); \
428          if (!v) { \
429             set_state(PART:"focus_image", "default", 0.0); \
430          } \
431       } \
432    }
433
434 sounds {
435    sample {
436       name: "touch_sound" AS_IS;
437       source: "S_Touch_30ms.wav";
438    }
439 }
440
441 group { name: "elm/entry/base/default";
442    alias: "elm/entry/base-mixedwrap/default";
443    data.item: "default_font_size" "24";
444    data.item: "min_font_size" "8";
445    data.item: "max_font_size" "60";
446    styles {
447       style { name: "entry_textblock_style";
448          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" left_margin=1 right_margin=2 wrap=mixed text_class=entry";
449          tag:  "br" "\n";
450          tag:  "ps" "ps";
451          tag:  "tab" "\t";
452          tag:  "em" "+ font=Tizen:style=Oblique";
453          tag:  "b" "+ font=Tizen:style=Bold";
454          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
455          tag:  "hilight" "+ font=Tizen:style=Bold";
456          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
457          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
458          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
459          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
460          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
461          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
462       }
463       style { name: "entry_textblock_disabled_style";
464          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 left_margin=1 right_margin=2 wrap=mixed text_class=entry";
465          tag:  "br" "\n";
466          tag:  "ps" "ps";
467          tag:  "tab" "\t";
468          tag:  "em" "+ font=Tizen:style=Oblique";
469          tag:  "b" "+ font=Tizen:style=Bold";
470          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
471          tag:  "hilight" "+ font=Tizen:style=Bold";
472          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
473          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
474          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
475          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
476          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
477          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
478       }
479       style { name: "entry_textblock_guide_style";
480          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_GUIDE_TEXT_COLOR_INC" left_margin=1 right_margin=2 wrap=mixed text_class=entry";
481          tag:  "br" "\n";
482          tag:  "ps" "ps";
483          tag:  "tab" "\t";
484          tag:  "em" "+ font=Tizen:style=Oblique";
485          tag:  "b" "+ font=Tizen:style=Bold";
486          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
487          tag:  "hilight" "+ font=Tizen:style=Bold";
488       }
489    }
490    data {
491       item: context_menu_orientation "horizontal";
492    }
493    ENTRY_FOCUS_DATA
494    ENTRY_FOCUS_IMAGE
495    parts {
496       ENTRY_FOCUS_PARTS
497       part { name: "elm.guide";
498          type: TEXTBLOCK;
499          mouse_events: 0;
500          scale: 1;
501          description { state: "default" 0.0;
502             rel1.to: "elm.text";
503             rel2.to: "elm.text";
504             text {
505                style: "entry_textblock_guide_style";
506                min: 0 1;
507                align: 0.0 0.0;
508             }
509          }
510          description { state: "hidden" 0.0;
511             inherit: "default" 0.0;
512             visible: 0;
513          }
514       }
515       part { name: "elm.text";
516          type: TEXTBLOCK;
517          mouse_events: 1;
518          scale: 1;
519          entry_mode: EDITABLE;
520          select_mode: BLOCK_HANDLE;
521          //cursor_mode: BEFORE;
522          multiline: 1;
523          source: "elm/entry/selection/default"; // selection under
524          //source2: "X"; // selection over
525          //source3: "X"; // cursor under
526          source4: "elm/entry/cursor/default"; // cursorover
527          source5: "elm/entry/anchor/default"; // anchor under
528          //source6: "X"; // anchor over
529          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
530          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
531          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
532          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
533          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
534          description { state: "default" 0.0;
535             fixed: 1 0;
536             text {
537                style: "entry_textblock_style";
538                min: 0 1;
539                align: 0.0 0.0;
540             }
541             ENTRY_TEXTBLOCK_DEFAULT_REL
542          }
543          description { state: "disabled" 0.0;
544             inherit: "default" 0.0;
545             text {
546                style: "entry_textblock_disabled_style";
547                min: 0 1;
548             }
549          }
550       }
551       ENTRY_SWALLOW_PARTS
552    }
553    ENTRY_SWALLOW_SCRIPT_PUBLIC
554    programs {
555       program { name: "focus";
556          signal: "load";
557          source: "";
558          action: FOCUS_SET;
559          target: "elm.text";
560       }
561       program { name: "disable";
562          signal: "elm,state,disabled";
563          source: "elm";
564          action: STATE_SET "disabled" 0.0;
565          target: "elm.text";
566       }
567       program { name: "enable";
568          signal: "elm,state,enabled";
569          source: "elm";
570          action: STATE_SET "default" 0.0;
571          target: "elm.text";
572       }
573       program { name: "gdisable";
574          signal: "elm,guide,disabled";
575          source: "elm";
576          action: STATE_SET "hidden" 0.0;
577          target: "elm.guide";
578       }
579       program { name: "genable";
580          signal: "elm,guide,enabled";
581          source: "elm";
582          action: STATE_SET "default" 0.0;
583          target: "elm.guide";
584       }
585       program { name: "touch_snd";
586          signal: "mouse,clicked,1";
587          source: "elm.text";
588          action: PLAY_SAMPLE "touch_sound" 1.0;
589       }
590       ENTRY_SWALLOW_PROGRAMS
591       ENTRY_FOCUS_PROGRAMS
592    }
593 }
594
595 group { name: "elm/entry/base-charwrap/default";
596    alias: "elm/entry/base/char_wrap";
597    data.item: "default_font_size" "24";
598    data.item: "min_font_size" "8";
599    data.item: "max_font_size" "60";
600    styles {
601       style { name: "entry_textblock_char_wrap_style";
602          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry";
603          tag:  "br" "\n";
604          tag:  "ps" "ps";
605          tag:  "tab" "\t";
606          tag:  "em" "+ font=Tizen:style=Oblique";
607          tag:  "b" "+ font=Tizen:style=Bold";
608          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
609          tag:  "hilight" "+ font=Tizen:style=Bold";
610          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
611          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
612          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
613          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
614          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
615          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
616       }
617       style { name: "entry_textblock_char_wrap_disabled_style";
618          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=char left_margin=1 right_margin=2 text_class=entry";
619          tag:  "br" "\n";
620          tag:  "ps" "ps";
621          tag:  "tab" "\t";
622          tag:  "em" "+ font=Tizen:style=Oblique";
623          tag:  "b" "+ font=Tizen:style=Bold";
624          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
625          tag:  "hilight" "+ font=Tizen:style=Bold";
626          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
627          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
628          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
629          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
630          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
631          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
632       }
633       style { name: "entry_textblock_char_wrap_guide_style";
634          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_GUIDE_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry";
635          tag:  "br" "\n";
636          tag:  "ps" "ps";
637          tag:  "tab" "\t";
638          tag:  "em" "+ font=Tizen:style=Oblique";
639          tag:  "b" "+ font=Tizen:style=Bold";
640          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
641          tag:  "hilight" "+ font=Tizen:style=Bold";
642       }
643    }
644    data {
645       item: context_menu_orientation "horizontal";
646    }
647    ENTRY_FOCUS_DATA
648    ENTRY_FOCUS_IMAGE
649    parts {
650       ENTRY_FOCUS_PARTS
651       part { name: "elm.guide";
652          type: TEXTBLOCK;
653          mouse_events: 0;
654          scale: 1;
655          description { state: "default" 0.0;
656             rel1.to: "elm.text";
657             rel2.to: "elm.text";
658             text {
659                style: "entry_textblock_char_wrap_guide_style";
660                min: 0 1;
661                align: 0.0 0.0;
662             }
663          }
664          description { state: "hidden" 0.0;
665             inherit: "default" 0.0;
666             visible: 0;
667          }
668       }
669       part { name: "elm.text";
670          type: TEXTBLOCK;
671          mouse_events: 1;
672          scale: 1;
673          entry_mode: EDITABLE;
674          select_mode: BLOCK_HANDLE;
675          //cursor_mode: BEFORE;
676          multiline: 1;
677          source: "elm/entry/selection/default"; // selection under
678          //source2: "X"; // selection over
679          //source3: "X"; // cursor under
680          source4: "elm/entry/cursor/default"; // cursorover
681          source5: "elm/entry/anchor/default"; // anchor under
682          //source6: "X"; // anchor over
683          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
684          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
685          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
686          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
687          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
688          description { state: "default" 0.0;
689             fixed: 1 0;
690             text {
691                style: "entry_textblock_char_wrap_style";
692                min: 0 1;
693                align: 0.0 0.0;
694             }
695             ENTRY_TEXTBLOCK_DEFAULT_REL
696          }
697          description { state: "disabled" 0.0;
698             inherit: "default" 0.0;
699             text {
700                style: "entry_textblock_char_wrap_disabled_style";
701                min: 0 1;
702             }
703          }
704       }
705       ENTRY_SWALLOW_PARTS
706    }
707    ENTRY_SWALLOW_SCRIPT_PUBLIC
708    programs {
709          program { name: "focus";
710         signal: "load";
711             source: "";
712             action: FOCUS_SET;
713             target: "elm.text";
714          }
715          program { name: "disable";
716             signal: "elm,state,disabled";
717             source: "elm";
718             action: STATE_SET "disabled" 0.0;
719             target: "elm.text";
720          }
721          program { name: "enable";
722             signal: "elm,state,enabled";
723             source: "elm";
724             action: STATE_SET "default" 0.0;
725             target: "elm.text";
726          }
727      program { name: "gdisable";
728         signal: "elm,guide,disabled";
729         source: "elm";
730         action: STATE_SET "hidden" 0.0;
731         target: "elm.guide";
732      }
733      program { name: "genable";
734         signal: "elm,guide,enabled";
735         source: "elm";
736         action: STATE_SET "default" 0.0;
737         target: "elm.guide";
738      }
739      program { name: "touch_snd";
740         signal: "mouse,clicked,1";
741         source: "elm.text";
742         action: PLAY_SAMPLE "touch_sound" 1.0;
743      }
744      ENTRY_SWALLOW_PROGRAMS
745      ENTRY_FOCUS_PROGRAMS
746   }
747 }
748
749 group { name: "elm/entry/base-nowrap/default";
750    data.item: "default_font_size" "24";
751    data.item: "min_font_size" "8";
752    data.item: "max_font_size" "60";
753    data {
754       item: context_menu_orientation "horizontal";
755    }
756    ENTRY_FOCUS_DATA
757    ENTRY_FOCUS_IMAGE
758    parts {
759       ENTRY_FOCUS_PARTS
760       part { name: "elm.guide";
761          type: TEXTBLOCK;
762          mouse_events: 0;
763          scale: 1;
764          description { state: "default" 0.0;
765             rel1.to: "elm.text";
766             rel2.to: "elm.text";
767             text {
768                style: "entry_textblock_guide_style";
769                min: 0 1;
770                align: 0.0 0.0;
771             }
772          }
773          description { state: "hidden" 0.0;
774             inherit: "default" 0.0;
775             visible: 0;
776          }
777       }
778       part { name: "elm.text";
779          type: TEXTBLOCK;
780          mouse_events: 1;
781          scale: 1;
782          entry_mode: EDITABLE;
783          select_mode: BLOCK_HANDLE;
784          //cursor_mode: BEFORE;
785          multiline: 1;
786          source: "elm/entry/selection/default"; // selection under
787          //source2: "X"; // selection over
788          //source3: "X"; // cursor under
789          source4: "elm/entry/cursor/default"; // cursorover
790          source5: "elm/entry/anchor/default"; // anchor under
791          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
792          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
793          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
794          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
795          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
796          description { state: "default" 0.0;
797             text {
798                style: "entry_textblock_style";
799                min: 1 1;
800                align: 0.0 0.0;
801             }
802             ENTRY_TEXTBLOCK_DEFAULT_REL
803          }
804          description { state: "disabled" 0.0;
805             inherit: "default" 0.0;
806             text {
807                style: "entry_textblock_disabled_style";
808                min: 0 1;
809             }
810          }
811       }
812       ENTRY_SWALLOW_PARTS
813    }
814    ENTRY_SWALLOW_SCRIPT_PUBLIC
815    programs {
816       program { name: "focus";
817          signal: "load";
818          source: "";
819          action: FOCUS_SET;
820          target: "elm.text";
821       }
822       program { name: "disable";
823          signal: "elm,state,disabled";
824          source: "elm";
825          action: STATE_SET "disabled" 0.0;
826          target: "elm.text";
827       }
828       program { name: "enable";
829          signal: "elm,state,enabled";
830          source: "elm";
831          action: STATE_SET "default" 0.0;
832          target: "elm.text";
833       }
834       program { name: "gdisable";
835          signal: "elm,guide,disabled";
836          source: "elm";
837          action: STATE_SET "hidden" 0.0;
838          target: "elm.guide";
839       }
840       program { name: "genable";
841          signal: "elm,guide,enabled";
842          source: "elm";
843          action: STATE_SET "default" 0.0;
844          target: "elm.guide";
845       }
846       program { name: "touch_snd";
847          signal: "mouse,clicked,1";
848          source: "elm.text";
849          action: PLAY_SAMPLE "touch_sound" 1.0;
850       }
851       ENTRY_SWALLOW_PROGRAMS
852       ENTRY_FOCUS_PROGRAMS
853    }
854 }
855
856 group { name: "elm/entry/base/editfield";
857    alias: "elm/entry/base-mixedwrap/editfield";
858    alias: "elm/entry/base/editfield/default";
859    alias: "elm/entry/base/editfield/lighting";
860    alias: "elm/entry/base/editfield/multiline";
861    alias: "elm/entry/base/editfield/multiline/default";
862    alias: "elm/entry/base/editfield/multiline/lighting";
863    alias: "elm/entry/base/editfield/searchbar/default";
864    data.item: "default_font_size" "24";
865    data.item: "min_font_size" "8";
866    data.item: "max_font_size" "60";
867    styles {
868       style { name: "editfield_textblock_style";
869          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2";
870          tag:  "br" "\n";
871          tag:  "ps" "ps";
872          tag:  "tab" "\t";
873          tag:  "em" "+ font=Tizen:style=Oblique";
874          tag:  "b" "+ font=Tizen:style=Bold";
875          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
876          tag:  "hilight" "+ font=Tizen:style=Bold";
877          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
878          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
879          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
880          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
881          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
882          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
883       }
884       style { name: "editfield_textblock_disabled_style";
885          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=mixed left_margin=1 right_margin=2";
886          tag:  "br" "\n";
887          tag:  "ps" "ps";
888          tag:  "tab" "\t";
889          tag:  "em" "+ font=Tizen:style=Oblique";
890          tag:  "b" "+ font=Tizen:style=Bold";
891          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
892          tag:  "hilight" "+ font=Tizen:style=Bold";
893          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
894          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
895          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
896          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
897          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
898          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
899       }
900       style { name: "editfield_textblock_guide_style";
901          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_GUIDE_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2";
902          tag:  "br" "\n";
903          tag:  "ps" "ps";
904          tag:  "tab" "\t";
905          tag:  "em" "+ font=Tizen:style=Oblique";
906          tag:  "b" "+ font=Tizen:style=Bold";
907          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
908          tag:  "hilight" "+ font=Tizen:style=Bold";
909       }
910    }
911    data {
912       item: context_menu_orientation "horizontal";
913    }
914    ENTRY_EDITFIELD_FOCUS_DATA
915    ENTRY_EDITFIELD_FOCUS_IMAGE
916    parts {
917       ENTRY_EDITFIELD_FOCUS_PARTS
918       part { name: "elm.guide";
919          type: TEXTBLOCK;
920          mouse_events: 0;
921          scale: 1;
922          description { state: "default" 0.0;
923             rel1.to: "elm.text";
924             rel2.to: "elm.text";
925             text {
926                style: "editfield_textblock_guide_style";
927                min: 0 1;
928                align: 0.0 0.0;
929             }
930          }
931          description { state: "hidden" 0.0;
932             inherit: "default" 0.0;
933             visible: 0;
934          }
935       }
936       part { name: "elm.text";
937          type: TEXTBLOCK;
938          mouse_events: 1;
939          scale: 1;
940          entry_mode: EDITABLE;
941          select_mode: BLOCK_HANDLE;
942          //cursor_mode: BEFORE;
943          multiline: 1;
944          source: "elm/entry/selection/default"; // selection under
945          //source2: "X"; // selection over
946          //source3: "X"; // cursor under
947          source4: "elm/entry/cursor/default"; // cursorover
948          source5: "elm/entry/anchor/default"; // anchor under
949          //source6: "X"; // anchor over
950          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
951          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
952          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
953          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
954          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
955          description { state: "default" 0.0;
956             fixed: 1 0;
957             text {
958             style: "editfield_textblock_style";
959                min: 0 1;
960                align: 0.0 0.0;
961             }
962             ENTRY_TEXTBLOCK_DEFAULT_REL
963          }
964          description { state: "disabled" 0.0;
965             inherit: "default" 0.0;
966             text {
967                style: "editfield_textblock_disabled_style";
968                min: 0 1;
969             }
970          }
971       }
972       ENTRY_SWALLOW_PARTS
973    }
974    ENTRY_SWALLOW_SCRIPT_PUBLIC
975    programs {
976       program { name: "focus";
977          signal: "load";
978          source: "";
979          action: FOCUS_SET;
980          target: "elm.text";
981       }
982       program { name: "disable";
983          signal: "elm,state,disabled";
984          source: "elm";
985          action: STATE_SET "disabled" 0.0;
986          target: "elm.text";
987       }
988       program { name: "enable";
989          signal: "elm,state,enabled";
990          source: "elm";
991          action: STATE_SET "default" 0.0;
992          target: "elm.text";
993       }
994       program { name: "gdisable";
995          signal: "elm,guide,disabled";
996          source: "elm";
997          action: STATE_SET "hidden" 0.0;
998          target: "elm.guide";
999       }
1000       program { name: "genable";
1001          signal: "elm,guide,enabled";
1002          source: "elm";
1003          action: STATE_SET "default" 0.0;
1004          target: "elm.guide";
1005       }
1006       program { name: "touch_snd";
1007          signal: "mouse,clicked,1";
1008          source: "elm.text";
1009          action: PLAY_SAMPLE "touch_sound" 1.0;
1010       }
1011       ENTRY_SWALLOW_PROGRAMS
1012       ENTRY_EDITFIELD_FOCUS_PROGRAMS
1013    }
1014 }
1015
1016 group { name: "elm/entry/base-charwrap/editfield";
1017    alias: "elm/entry/base/editfield/char_wrap";
1018    alias: "elm/entry/base/editfield/default/char_wrap";
1019    alias: "elm/entry/base/editfield/lighting/char_wrap";
1020    alias: "elm/entry/base/editfield/multiline/char_wrap";
1021    alias: "elm/entry/base/editfield/multiline/default/char_wrap";
1022    alias: "elm/entry/base/editfield/multiline/lighting/char_wrap";
1023    data.item: "default_font_size" "24";
1024    data.item: "min_font_size" "8";
1025    data.item: "max_font_size" "60";
1026    styles {
1027       style { name: "editfield_textblock_char_wrap_style";
1028          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2";
1029          tag:  "br" "\n";
1030          tag:  "ps" "ps";
1031          tag:  "tab" "\t";
1032          tag:  "em" "+ font=Tizen:style=Oblique";
1033          tag:  "b" "+ font=Tizen:style=Bold";
1034          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
1035          tag:  "hilight" "+ font=Tizen:style=Bold";
1036          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1037          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
1038          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1039          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1040          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1041          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1042       }
1043       style { name: "editfield_textblock_char_wrap_disabled_style";
1044          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=char left_margin=1 right_margin=2";
1045          tag:  "br" "\n";
1046          tag:  "ps" "ps";
1047          tag:  "tab" "\t";
1048          tag:  "em" "+ font=Tizen:style=Oblique";
1049          tag:  "b" "+ font=Tizen:style=Bold";
1050          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
1051          tag:  "hilight" "+ font=Tizen:style=Bold";
1052          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1053          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
1054          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1055          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1056          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1057          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1058       }
1059       style { name: "editfield_textblock_char_wrap_guide_style";
1060          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_GUIDE_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2";
1061          tag:  "br" "\n";
1062          tag:  "ps" "ps";
1063          tag:  "tab" "\t";
1064          tag:  "em" "+ font=Tizen:style=Oblique";
1065          tag:  "b" "+ font=Tizen:style=Bold";
1066          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
1067          tag:  "hilight" "+ font=Tizen:style=Bold";
1068       }
1069    }
1070    data {
1071       item: context_menu_orientation "horizontal";
1072    }
1073    ENTRY_EDITFIELD_FOCUS_DATA
1074    ENTRY_EDITFIELD_FOCUS_IMAGE
1075    parts {
1076       ENTRY_EDITFIELD_FOCUS_PARTS
1077       part { name: "elm.guide";
1078          type: TEXTBLOCK;
1079          mouse_events: 0;
1080          scale: 1;
1081          description { state: "default" 0.0;
1082             rel1.to: "elm.text";
1083             rel2.to: "elm.text";
1084             text {
1085                style: "editfield_textblock_char_wrap_guide_style";
1086                min: 0 1;
1087                align: 0.0 0.0;
1088             }
1089          }
1090          description { state: "hidden" 0.0;
1091             inherit: "default" 0.0;
1092             visible: 0;
1093          }
1094       }
1095       part { name: "elm.text";
1096          type: TEXTBLOCK;
1097          mouse_events: 1;
1098          scale: 1;
1099          entry_mode: EDITABLE;
1100          select_mode: BLOCK_HANDLE;
1101          //cursor_mode: BEFORE;
1102          multiline: 1;
1103          source: "elm/entry/selection/default"; // selection under
1104          //source2: "X"; // selection over
1105          //source3: "X"; // cursor under
1106          source4: "elm/entry/cursor/default"; // cursorover
1107          source5: "elm/entry/anchor/default"; // anchor under
1108          //source6: "X"; // anchor over
1109          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
1110          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
1111          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
1112          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
1113          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
1114          description { state: "default" 0.0;
1115             fixed: 1 0;
1116             text {
1117                style: "editfield_textblock_char_wrap_style";
1118                min: 0 1;
1119                align: 0.0 0.0;
1120             }
1121             ENTRY_TEXTBLOCK_DEFAULT_REL
1122          }
1123          description { state: "disabled" 0.0;
1124             inherit: "default" 0.0;
1125             text {
1126                style: "editfield_textblock_char_wrap_disabled_style";
1127                min: 0 1;
1128             }
1129          }
1130       }
1131       ENTRY_SWALLOW_PARTS
1132    }
1133    ENTRY_SWALLOW_SCRIPT_PUBLIC
1134    programs {
1135       program { name: "focus";
1136          signal: "load";
1137          source: "";
1138          action: FOCUS_SET;
1139          target: "elm.text";
1140       }
1141       program { name: "disable";
1142          signal: "elm,state,disabled";
1143          source: "elm";
1144          action: STATE_SET "disabled" 0.0;
1145          target: "elm.text";
1146       }
1147       program { name: "enable";
1148          signal: "elm,state,enabled";
1149          source: "elm";
1150          action: STATE_SET "default" 0.0;
1151          target: "elm.text";
1152       }
1153       program { name: "gdisable";
1154          signal: "elm,guide,disabled";
1155          source: "elm";
1156          action: STATE_SET "hidden" 0.0;
1157          target: "elm.guide";
1158       }
1159       program { name: "genable";
1160          signal: "elm,guide,enabled";
1161          source: "elm";
1162          action: STATE_SET "default" 0.0;
1163          target: "elm.guide";
1164       }
1165       program { name: "touch_snd";
1166          signal: "mouse,clicked,1";
1167          source: "elm.text";
1168          action: PLAY_SAMPLE "touch_sound" 1.0;
1169       }
1170       ENTRY_SWALLOW_PROGRAMS
1171       ENTRY_EDITFIELD_FOCUS_PROGRAMS
1172    }
1173 }
1174
1175 group { name: "elm/entry/base-single/editfield";
1176    alias: "elm/entry/base-single/editfield/default";
1177    alias: "elm/entry/base-single/editfield/lighting";
1178    alias: "elm/entry/base-single/editfield/singleline";
1179    alias: "elm/entry/base-single/editfield/singleline/default";
1180    alias: "elm/entry/base-single/editfield/singleline/lighting";
1181    data.item: "default_font_size" "24";
1182    data.item: "min_font_size" "8";
1183    data.item: "max_font_size" "60";
1184    styles {
1185       style { name: "editfield_single_textblock_style";
1186          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry";
1187          tag:  "br" "\n";
1188          tag:  "ps" "ps";
1189          tag:  "tab" "\t";
1190          tag:  "em" "+ font=Tizen:style=Oblique";
1191          tag:  "b" "+ font=Tizen:style=Bold";
1192          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
1193          tag:  "hilight" "+ font=Tizen:style=Bold";
1194          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1195          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
1196          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1197          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1198          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1199          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1200       }
1201       style { name: "editfield_single_textblock_disabled_style";
1202          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=none left_margin=1 right_margin=3 text_class=entry";
1203          tag:  "br" "\n";
1204          tag:  "ps" "ps";
1205          tag:  "tab" "\t";
1206          tag:  "em" "+ font=Tizen:style=Oblique";
1207          tag:  "b" "+ font=Tizen:style=Bold";
1208          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
1209          tag:  "hilight" "+ font=Tizen:style=Bold";
1210          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1211          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
1212          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1213          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1214          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1215          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1216       }
1217       style { name: "editfield_single_textblock_guide_style";
1218          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_GUIDE_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry ellipsis=1.0";
1219          tag:  "br" "\n";
1220          tag:  "ps" "ps";
1221          tag:  "tab" "\t";
1222          tag:  "em" "+ font=Tizen:style=Oblique";
1223          tag:  "b" "+ font=Tizen:style=Bold";
1224          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
1225          tag:  "hilight" "+ font=Tizen:style=Bold";
1226       }
1227    }
1228    data {
1229       item: context_menu_orientation "horizontal";
1230    }
1231    ENTRY_EDITFIELD_FOCUS_DATA
1232    ENTRY_EDITFIELD_FOCUS_IMAGE
1233    parts {
1234       ENTRY_EDITFIELD_FOCUS_PARTS
1235       part { name: "elm.guide";
1236          type: TEXTBLOCK;
1237          mouse_events: 0;
1238          scale: 1;
1239          description { state: "default" 0.0;
1240             rel1.to: "elm.text";
1241             rel2.to: "elm.text";
1242             text {
1243                style: "editfield_single_textblock_guide_style";
1244                min: 0 1;
1245                max: 0 1;
1246             }
1247          }
1248          description { state: "hidden" 0.0;
1249             inherit: "default" 0.0;
1250             visible: 0;
1251          }
1252       }
1253       part { name: "elm.text";
1254          type: TEXTBLOCK;
1255          mouse_events: 1;
1256          scale: 1;
1257          entry_mode: EDITABLE;
1258          select_mode: BLOCK_HANDLE;
1259          //cursor_mode: BEFORE;
1260          multiline: 0;
1261          source: "elm/entry/selection/default"; // selection under
1262          //source2: ; // selection over
1263          //source3: ; // cursor under
1264          source4: "elm/entry/cursor/default"; // cursorover
1265          source5: "elm/entry/anchor/default"; // anchor under
1266          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
1267          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
1268          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
1269          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
1270          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
1271          description { state: "default" 0.0;
1272             text {
1273                style: "editfield_single_textblock_style";
1274                min: 1 1;
1275                max: 0 1;
1276             }
1277             ENTRY_TEXTBLOCK_DEFAULT_REL
1278          }
1279          description { state: "disabled" 0.0;
1280             inherit: "default" 0.0;
1281             text {
1282                style: "editfield_single_textblock_disabled_style";
1283             }
1284          }
1285       }
1286       ENTRY_SWALLOW_PARTS
1287    }
1288    ENTRY_SWALLOW_SCRIPT_PUBLIC
1289    programs {
1290       program { name: "focus";
1291          signal: "load";
1292          source: "";
1293          action: FOCUS_SET;
1294          target: "elm.text";
1295       }
1296       program { name: "disable";
1297          signal: "elm,state,disabled";
1298          source: "elm";
1299          action: STATE_SET "disabled" 0.0;
1300          target: "elm.text";
1301       }
1302       program { name: "enable";
1303          signal: "elm,state,enabled";
1304          source: "elm";
1305          action: STATE_SET "default" 0.0;
1306          target: "elm.text";
1307       }
1308       program { name: "gdisable";
1309          signal: "elm,guide,disabled";
1310          source: "elm";
1311          action: STATE_SET "hidden" 0.0;
1312          target: "elm.guide";
1313       }
1314       program { name: "genable";
1315          signal: "elm,guide,enabled";
1316          source: "elm";
1317          action: STATE_SET "default" 0.0;
1318          target: "elm.guide";
1319       }
1320       program { name: "touch_snd";
1321          signal: "mouse,clicked,1";
1322          source: "elm.text";
1323          action: PLAY_SAMPLE "touch_sound" 1.0;
1324       }
1325       ENTRY_SWALLOW_PROGRAMS
1326       ENTRY_EDITFIELD_FOCUS_PROGRAMS
1327    }
1328 }
1329
1330 group { name: "elm/entry/base-single/editfield/searchbar/default";
1331    data.item: "default_font_size" "24";
1332    data.item: "min_font_size" "8";
1333    data.item: "max_font_size" "60";
1334    data {
1335       item: context_menu_orientation "horizontal";
1336    }
1337    ENTRY_FOCUS_DATA
1338    ENTRY_FOCUS_IMAGE
1339    styles {
1340       style { name: "editfield_searchbar_single_textblock_style";
1341          base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry";
1342          tag:  "br" "\n";
1343          tag:  "ps" "ps";
1344          tag:  "tab" "\t";
1345          tag:  "em" "+ font=Tizen:style=Oblique";
1346          tag:  "b" "+ font=Tizen:style=Bold";
1347          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
1348          tag:  "hilight" "+ font=Tizen:style=Bold";
1349          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1350          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
1351          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1352          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1353          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1354          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1355       }
1356       style { name: "editfield_searchbar_single_textblock_disabled_style";
1357          base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color=#00000080 wrap=none left_margin=1 right_margin=3 text_class=entry";
1358          tag:  "br" "\n";
1359          tag:  "ps" "ps";
1360          tag:  "tab" "\t";
1361          tag:  "em" "+ font=Tizen:style=Oblique";
1362          tag:  "b" "+ font=Tizen:style=Bold";
1363          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
1364          tag:  "hilight" "+ font=Tizen:style=Bold";
1365          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1366          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
1367          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1368          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1369          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1370          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1371       }
1372       style { name: "editfield_searchbar_single_textblock_guide_style";
1373          base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color="ENTRY_GUIDE_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry ellipsis=1.0";
1374          tag:  "br" "\n";
1375          tag:  "ps" "ps";
1376          tag:  "tab" "\t";
1377          tag:  "em" "+ font=Tizen:style=Oblique";
1378          tag:  "b" "+ font=Tizen:style=Bold";
1379          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
1380          tag:  "hilight" "+ font=Tizen:style=Bold";
1381       }
1382    }
1383    parts {
1384       ENTRY_FOCUS_PARTS
1385       part { name: "elm.guide";
1386          type: TEXTBLOCK;
1387          mouse_events: 0;
1388          scale: 1;
1389          description { state: "default" 0.0;
1390             rel1.to: "elm.text";
1391             rel2.to: "elm.text";
1392             text {
1393                style: "editfield_searchbar_single_textblock_guide_style";
1394                min: 0 1;
1395                max: 0 1;
1396             }
1397          }
1398          description { state: "hidden" 0.0;
1399             inherit: "default" 0.0;
1400             visible: 0;
1401          }
1402       }
1403       part { name: "elm.text";
1404          type: TEXTBLOCK;
1405          mouse_events: 1;
1406          scale: 1;
1407          entry_mode: EDITABLE;
1408          select_mode: BLOCK_HANDLE;
1409          //cursor_mode: BEFORE;
1410          multiline: 0;
1411          source: "elm/entry/selection/default"; // selection under
1412          //source2: "X"; // selection over
1413          //source3: "X"; // cursor under
1414          source4: "elm/entry/cursor/default"; // cursorover
1415          source5: "elm/entry/anchor/default"; // anchor under
1416          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
1417          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
1418          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
1419          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
1420          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
1421          description { state: "default" 0.0;
1422             text {
1423                style: "editfield_searchbar_single_textblock_style";
1424                min: 1 1;
1425                max: 0 1;
1426             }
1427             ENTRY_TEXTBLOCK_DEFAULT_REL
1428          }
1429          description { state: "disabled" 0.0;
1430             inherit: "default" 0.0;
1431             text {
1432                style: "editfield_searchbar_single_textblock_disabled_style";
1433             }
1434          }
1435       }
1436       ENTRY_SWALLOW_PARTS
1437    }
1438    ENTRY_SWALLOW_SCRIPT_PUBLIC
1439    programs {
1440       program { name: "focus";
1441          signal: "load";
1442          source: "";
1443          action: FOCUS_SET;
1444          target: "elm.text";
1445       }
1446       program { name: "disable";
1447          signal: "elm,state,disabled";
1448          source: "elm";
1449          action: STATE_SET "disabled" 0.0;
1450          target: "elm.text";
1451       }
1452       program { name: "enable";
1453          signal: "elm,state,enabled";
1454          source: "elm";
1455          action: STATE_SET "default" 0.0;
1456          target: "elm.text";
1457       }
1458       program { name: "gdisable";
1459          signal: "elm,guide,disabled";
1460          source: "elm";
1461          action: STATE_SET "hidden" 0.0;
1462          target: "elm.guide";
1463       }
1464       program { name: "genable";
1465          signal: "elm,guide,enabled";
1466          source: "elm";
1467          action: STATE_SET "default" 0.0;
1468          target: "elm.guide";
1469       }
1470       program { name: "touch_snd";
1471          signal: "mouse,clicked,1";
1472          source: "elm.text";
1473          action: PLAY_SAMPLE "touch_sound" 1.0;
1474       }
1475       ENTRY_SWALLOW_PROGRAMS
1476       ENTRY_FOCUS_PROGRAMS
1477    }
1478 }
1479
1480 group { name: "elm/entry/base-single/default";
1481    data.item: "default_font_size" "24";
1482    data.item: "min_font_size" "8";
1483    data.item: "max_font_size" "60";
1484    styles {
1485       style { name: "entry_single_textblock_style";
1486          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry";
1487          tag:  "br" "\n";
1488          tag:  "ps" "ps";
1489          tag:  "tab" "\t";
1490          tag:  "em" "+ font=Tizen:style=Oblique";
1491          tag:  "b" "+ font=Tizen:style=Bold";
1492          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
1493          tag:  "hilight" "+ font=Tizen:style=Bold";
1494          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1495          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
1496          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1497          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1498          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1499          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1500       }
1501       style { name: "entry_single_textblock_disabled_style";
1502          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=none left_margin=1 right_margin=3 text_class=entry";
1503          tag:  "br" "\n";
1504          tag:  "ps" "ps";
1505          tag:  "tab" "\t";
1506          tag:  "em" "+ font=Tizen:style=Oblique";
1507          tag:  "b" "+ font=Tizen:style=Bold";
1508          tag:  "link " "+ color=#00000080 underline=on underline_color=#00000080";
1509          tag:  "hilight" "+ font=Tizen:style=Bold";
1510          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1511          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
1512          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1513          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1514          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1515          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1516       }
1517       style { name: "entry_single_textblock_guide_style";
1518          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_GUIDE_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry ellipsis=1.0";
1519          tag:  "br" "\n";
1520          tag:  "ps" "ps";
1521          tag:  "tab" "\t";
1522          tag:  "em" "+ font=Tizen:style=Oblique";
1523          tag:  "b" "+ font=Tizen:style=Bold";
1524          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
1525          tag:  "hilight" "+ font=Tizen:style=Bold";
1526       }
1527    }
1528    ENTRY_FOCUS_DATA
1529    ENTRY_FOCUS_IMAGE
1530    data {
1531       item: context_menu_orientation "horizontal";
1532    }
1533    parts {
1534       ENTRY_FOCUS_PARTS
1535       part { name: "elm.guide";
1536          type: TEXTBLOCK;
1537          mouse_events: 0;
1538          scale: 1;
1539          description { state: "default" 0.0;
1540             rel1.to: "elm.text";
1541             rel2.to: "elm.text";
1542             text {
1543                style: "entry_single_textblock_guide_style";
1544                min: 0 1;
1545                max: 0 0;
1546                align: 0.0 0.5;
1547             }
1548          }
1549          description { state: "hidden" 0.0;
1550             inherit: "default" 0.0;
1551             visible: 0;
1552          }
1553       }
1554       part { name: "elm.text";
1555          type: TEXTBLOCK;
1556          mouse_events: 1;
1557          scale: 1;
1558          entry_mode: EDITABLE;
1559          select_mode: BLOCK_HANDLE;
1560          //cursor_mode: BEFORE;
1561          multiline: 0;
1562          source: "elm/entry/selection/default"; // selection under
1563          //source2: "X"; // selection over
1564          //source3: "X"; // cursor under
1565          source4: "elm/entry/cursor/default"; // cursorover
1566          source5: "elm/entry/anchor/default"; // anchor under
1567          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
1568          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
1569          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
1570          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
1571          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
1572          description { state: "default" 0.0;
1573             text {
1574                style: "entry_single_textblock_style";
1575                min: 1 1;
1576                max: 0 0;
1577                align: 0.0 0.5;
1578             }
1579             ENTRY_TEXTBLOCK_DEFAULT_REL
1580          }
1581          description { state: "disabled" 0.0;
1582             inherit: "default" 0.0;
1583             text {
1584                style: "entry_single_textblock_disabled_style";
1585             }
1586          }
1587       }
1588       ENTRY_SWALLOW_PARTS
1589    }
1590    ENTRY_SWALLOW_SCRIPT_PUBLIC
1591    programs {
1592       program { name: "focus";
1593          signal: "load";
1594          source: "";
1595          action: FOCUS_SET;
1596          target: "elm.text";
1597       }
1598       program { name: "disable";
1599          signal: "elm,state,disabled";
1600          source: "elm";
1601          action: STATE_SET "disabled" 0.0;
1602          target: "elm.text";
1603       }
1604       program { name: "enable";
1605          signal: "elm,state,enabled";
1606          source: "elm";
1607          action: STATE_SET "default" 0.0;
1608          target: "elm.text";
1609       }
1610       program { name: "gdisable";
1611          signal: "elm,guide,disabled";
1612          source: "elm";
1613          action: STATE_SET "hidden" 0.0;
1614          target: "elm.guide";
1615       }
1616       program { name: "genable";
1617          signal: "elm,guide,enabled";
1618          source: "elm";
1619          action: STATE_SET "default" 0.0;
1620          target: "elm.guide";
1621       }
1622       program { name: "touch_snd";
1623          signal: "mouse,clicked,1";
1624          source: "elm.text";
1625          action: PLAY_SAMPLE "touch_sound" 1.0;
1626       }
1627       ENTRY_SWALLOW_PROGRAMS
1628       ENTRY_FOCUS_PROGRAMS
1629    }
1630 }
1631
1632 group { name: "elm/entry/base-single-noedit/default";
1633    data.item: "default_font_size" "24";
1634    data.item: "min_font_size" "8";
1635    data.item: "max_font_size" "60";
1636    data {
1637       item: context_menu_orientation "horizontal";
1638    }
1639    parts {
1640       part { name: "elm.guide";
1641          type: TEXTBLOCK;
1642          mouse_events: 0;
1643          scale: 1;
1644          description { state: "default" 0.0;
1645             rel1.to: "elm.text";
1646             rel2.to: "elm.text";
1647             text {
1648                style: "entry_single_textblock_guide_style";
1649                min: 0 1;
1650                max: 0 1;
1651             }
1652          }
1653          description { state: "hidden" 0.0;
1654             inherit: "default" 0.0;
1655             visible: 0;
1656          }
1657       }
1658       part { name: "elm.text";
1659          type: TEXTBLOCK;
1660          mouse_events: 1;
1661          scale: 1;
1662          entry_mode: PLAIN;
1663          select_mode: BLOCK_HANDLE;
1664          //cursor_mode: BEFORE;
1665          multiline: 0;
1666          source: "elm/entry/selection/default"; // selection under
1667          //source2: "X"; // selection over
1668          //source3: "X"; // cursor under
1669          source5: "elm/entry/anchor/default"; // anchor under
1670          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
1671          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
1672          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
1673          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
1674          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
1675          description { state: "default" 0.0;
1676             text {
1677                style: "entry_single_textblock_style";
1678                min: 1 1;
1679                max: 0 1;
1680             }
1681          }
1682          description { state: "disabled" 0.0;
1683             inherit: "default" 0.0;
1684             text {
1685                style: "entry_single_textblock_disabled_style";
1686             }
1687          }
1688       }
1689    }
1690    programs {
1691       program { name: "focus";
1692          signal: "load";
1693          source: "";
1694          action: FOCUS_SET;
1695          target: "elm.text";
1696       }
1697       program { name: "disable";
1698          signal: "elm,state,disabled";
1699          source: "elm";
1700          action: STATE_SET "disabled" 0.0;
1701          target: "elm.text";
1702       }
1703       program { name: "enable";
1704          signal: "elm,state,enabled";
1705          source: "elm";
1706          action: STATE_SET "default" 0.0;
1707          target: "elm.text";
1708       }
1709       program { name: "gdisable";
1710          signal: "elm,guide,disabled";
1711          source: "elm";
1712          action: STATE_SET "hidden" 0.0;
1713          target: "elm.guide";
1714       }
1715       program { name: "genable";
1716          signal: "elm,guide,enabled";
1717          source: "elm";
1718          action: STATE_SET "default" 0.0;
1719          target: "elm.guide";
1720       }
1721       program { name: "touch_snd";
1722          signal: "mouse,clicked,1";
1723          source: "elm.text";
1724          action: PLAY_SAMPLE "touch_sound" 1.0;
1725       }
1726    }
1727 }
1728
1729 group { name: "elm/entry/base-noedit/default";
1730    data.item: "default_font_size" "24";
1731    data.item: "min_font_size" "8";
1732    data.item: "max_font_size" "60";
1733    data {
1734       item: context_menu_orientation "horizontal";
1735    }
1736    parts {
1737       part { name: "elm.guide";
1738          type: TEXTBLOCK;
1739          mouse_events: 0;
1740          scale: 1;
1741          description { state: "default" 0.0;
1742             rel1.to: "elm.text";
1743             rel2.to: "elm.text";
1744             text {
1745                style: "entry_textblock_guide_style";
1746                min: 0 1;
1747                align: 0.0 0.0;
1748             }
1749          }
1750          description { state: "hidden" 0.0;
1751             inherit: "default" 0.0;
1752             visible: 0;
1753          }
1754       }
1755       part { name: "elm.text";
1756          type: TEXTBLOCK;
1757          mouse_events: 1;
1758          scale: 1;
1759          entry_mode: PLAIN;
1760          select_mode: BLOCK_HANDLE;
1761          //cursor_mode: BEFORE;
1762          multiline: 1;
1763          source: "elm/entry/selection/default"; // selection under
1764          //source2: "X"; // selection over
1765          //source3: "X"; // cursor under
1766          source5: "elm/entry/anchor/default"; // anchor under
1767          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
1768          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
1769          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
1770          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
1771          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
1772          description { state: "default" 0.0;
1773             fixed: 1 0;
1774             text {
1775                style: "entry_textblock_style";
1776                min: 0 1;
1777                align: 0.0 0.0;
1778             }
1779          }
1780          description { state: "disabled" 0.0;
1781             inherit: "default" 0.0;
1782             text {
1783                style: "entry_textblock_disabled_style";
1784             }
1785          }
1786       }
1787    }
1788    programs {
1789       program { name: "focus";
1790          signal: "load";
1791          source: "";
1792          action: FOCUS_SET;
1793          target: "elm.text";
1794       }
1795       program { name: "disable";
1796          signal: "elm,state,disabled";
1797          source: "elm";
1798          action: STATE_SET "disabled" 0.0;
1799          target: "elm.text";
1800       }
1801       program { name: "enable";
1802          signal: "elm,state,enabled";
1803          source: "elm";
1804          action: STATE_SET "default" 0.0;
1805          target: "elm.text";
1806       }
1807       program { name: "gdisable";
1808          signal: "elm,guide,disabled";
1809          source: "elm";
1810          action: STATE_SET "hidden" 0.0;
1811          target: "elm.guide";
1812       }
1813       program { name: "genable";
1814          signal: "elm,guide,enabled";
1815          source: "elm";
1816          action: STATE_SET "default" 0.0;
1817          target: "elm.guide";
1818       }
1819       program { name: "touch_snd";
1820          signal: "mouse,clicked,1";
1821          source: "elm.text";
1822          action: PLAY_SAMPLE "touch_sound" 1.0;
1823       }
1824    }
1825 }
1826
1827    group { name: "elm/entry/base-noedit-charwrap/default";
1828       data.item: "default_font_size" "24";
1829       data.item: "min_font_size" "8";
1830       data.item: "max_font_size" "60";
1831       data {
1832          item: context_menu_orientation "horizontal";
1833       }
1834       parts {
1835          part { name: "elm.guide";
1836             type: TEXTBLOCK;
1837             mouse_events: 0;
1838             scale: 1;
1839             description { state: "default" 0.0;
1840                rel1.to: "elm.text";
1841                rel2.to: "elm.text";
1842                text {
1843                   style: "entry_textblock_char_wrap_guide_style";
1844                   min: 0 1;
1845                   align: 0.0 0.0;
1846                }
1847             }
1848             description { state: "hidden" 0.0;
1849                inherit: "default" 0.0;
1850                visible: 0;
1851             }
1852          }
1853          part { name: "elm.text";
1854             type: TEXTBLOCK;
1855             mouse_events: 1;
1856             scale: 1;
1857             entry_mode: PLAIN;
1858             select_mode: BLOCK_HANDLE;
1859             //cursor_mode: BEFORE;
1860             multiline: 1;
1861             source: "elm/entry/selection/default"; // selection under
1862             //source2: "X"; // selection over
1863             //source3: "X"; // cursor under
1864             source5: "elm/entry/anchor/default"; // anchor under
1865             source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
1866             source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
1867             source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
1868             source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
1869             source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
1870             description { state: "default" 0.0;
1871                fixed: 1 0;
1872                text {
1873                   style: "entry_textblock_char_wrap_style";
1874                   min: 0 1;
1875                align: 0.0 0.0;
1876                }
1877             }
1878             description { state: "disabled" 0.0;
1879                inherit: "default" 0.0;
1880                text {
1881                   style: "entry_textblock_char_wrap_disabled_style";
1882                }
1883             }
1884          }
1885       }
1886       programs {
1887          program { name: "focus";
1888            signal: "load";
1889                source: "";
1890                action: FOCUS_SET;
1891                target: "elm.text";
1892             }
1893             program { name: "disable";
1894                signal: "elm,state,disabled";
1895                source: "elm";
1896                action: STATE_SET "disabled" 0.0;
1897                target: "elm.text";
1898             }
1899             program { name: "enable";
1900                signal: "elm,state,enabled";
1901                source: "elm";
1902                action: STATE_SET "default" 0.0;
1903                target: "elm.text";
1904             }
1905         program { name: "gdisable";
1906            signal: "elm,guide,disabled";
1907            source: "elm";
1908            action: STATE_SET "hidden" 0.0;
1909            target: "elm.guide";
1910         }
1911         program { name: "genable";
1912            signal: "elm,guide,enabled";
1913            source: "elm";
1914            action: STATE_SET "default" 0.0;
1915            target: "elm.guide";
1916         }
1917         program { name: "touch_snd";
1918            signal: "mouse,clicked,1";
1919            source: "elm.text";
1920            action: PLAY_SAMPLE "touch_sound" 1.0;
1921         }
1922       }
1923    }
1924
1925    group { name: "elm/entry/base-nowrap-noedit/default";
1926       data.item: "default_font_size" "24";
1927       data.item: "min_font_size" "8";
1928       data.item: "max_font_size" "60";
1929       data {
1930          item: context_menu_orientation "horizontal";
1931       }
1932       parts {
1933          part { name: "elm.guide";
1934             type: TEXTBLOCK;
1935             mouse_events: 0;
1936             scale: 1;
1937             description { state: "default" 0.0;
1938                rel1.to: "elm.text";
1939                rel2.to: "elm.text";
1940                text {
1941                   style: "entry_textblock_guide_style";
1942                   min: 0 1;
1943                   align: 0.0 0.0;
1944                }
1945             }
1946             description { state: "hidden" 0.0;
1947                inherit: "default" 0.0;
1948                visible: 0;
1949             }
1950          }
1951          part { name: "elm.text";
1952             type: TEXTBLOCK;
1953             mouse_events: 1;
1954             scale: 1;
1955             entry_mode: PLAIN;
1956             select_mode: BLOCK_HANDLE;
1957             //cursor_mode: BEFORE;
1958             multiline: 1;
1959             source: "elm/entry/selection/default"; // selection under
1960             //source2: "X"; // selection over
1961             //source3: "X"; // cursor under
1962             source5: "elm/entry/anchor/default"; // anchor under
1963             source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
1964             source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
1965             source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
1966             source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
1967             source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
1968             description { state: "default" 0.0;
1969                text {
1970                   style: "entry_textblock_style";
1971                   min: 1 1;
1972                align: 0.0 0.0;
1973                }
1974             }
1975             description { state: "disabled" 0.0;
1976                inherit: "default" 0.0;
1977                text {
1978                   style: "entry_textblock_disabled_style";
1979                }
1980             }
1981          }
1982       }
1983       programs {
1984          program { name: "focus";
1985             signal: "load";
1986             source: "";
1987             action: FOCUS_SET;
1988             target: "elm.text";
1989          }
1990          program { name: "disable";
1991             signal: "elm,state,disabled";
1992             source: "elm";
1993             action: STATE_SET "disabled" 0.0;
1994             target: "elm.text";
1995          }
1996          program { name: "enable";
1997             signal: "elm,state,enabled";
1998             source: "elm";
1999             action: STATE_SET "default" 0.0;
2000             target: "elm.text";
2001          }
2002          program { name: "gdisable";
2003             signal: "elm,guide,disabled";
2004             source: "elm";
2005             action: STATE_SET "hidden" 0.0;
2006             target: "elm.guide";
2007          }
2008          program { name: "genable";
2009             signal: "elm,guide,enabled";
2010             source: "elm";
2011             action: STATE_SET "default" 0.0;
2012             target: "elm.guide";
2013          }
2014          program { name: "touch_snd";
2015             signal: "mouse,clicked,1";
2016             source: "elm.text";
2017             action: PLAY_SAMPLE "touch_sound" 1.0;
2018          }
2019       }
2020    }
2021
2022   group { name: "elm/entry/base-password/default";
2023       data.item: "default_font_size" "24";
2024       data.item: "min_font_size" "8";
2025       data.item: "max_font_size" "60";
2026       data {
2027          item: context_menu_orientation "horizontal";
2028       }
2029       ENTRY_FOCUS_DATA
2030       ENTRY_FOCUS_IMAGE
2031       parts {
2032          ENTRY_FOCUS_PARTS
2033          part { name: "elm.guide";
2034             type: TEXTBLOCK;
2035             mouse_events: 0;
2036             scale: 1;
2037             description { state: "default" 0.0;
2038                rel1.to: "elm.text";
2039                rel2.to: "elm.text";
2040                text {
2041                   style: "editfield_single_textblock_guide_style";
2042                   min: 0 1;
2043                   max: 0 1;
2044                }
2045             }
2046             description { state: "hidden" 0.0;
2047                inherit: "default" 0.0;
2048                visible: 0;
2049             }
2050          }
2051          part { name: "elm.text";
2052             type: TEXTBLOCK;
2053             mouse_events: 1;
2054             scale: 1;
2055             entry_mode: PASSWORD;
2056             select_mode: BLOCK_HANDLE;
2057             //cursor_mode: BEFORE;
2058             multiline: 0;
2059             source: "elm/entry/selection/default"; // selection under
2060             //source2: "X"; // selection over
2061             //source3: "X"; // cursor under
2062             source4: "elm/entry/cursor/default"; // cursorover
2063             source5: "elm/entry/anchor/default"; // anchor under
2064             source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
2065             source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
2066             source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
2067             source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
2068             source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
2069             description { state: "default" 0.0;
2070                text {
2071                   style: "entry_single_textblock_style";
2072                   repch: "•";
2073                   min: 1 1;
2074                   max: 0 1;
2075                }
2076                ENTRY_TEXTBLOCK_DEFAULT_REL
2077             }
2078             description { state: "disabled" 0.0;
2079                inherit: "default" 0.0;
2080                text {
2081                   style: "entry_single_textblock_disabled_style";
2082                }
2083             }
2084          }
2085          ENTRY_SWALLOW_PARTS
2086       }
2087       ENTRY_SWALLOW_SCRIPT_PUBLIC
2088       programs {
2089          program { name: "focus";
2090             signal: "load";
2091             source: "";
2092             action: FOCUS_SET;
2093             target: "elm.text";
2094          }
2095          program { name: "disable";
2096             signal: "elm,state,disabled";
2097             source: "elm";
2098             action: STATE_SET "disabled" 0.0;
2099             target: "elm.text";
2100          }
2101          program { name: "enable";
2102             signal: "elm,state,enabled";
2103             source: "elm";
2104             action: STATE_SET "default" 0.0;
2105             target: "elm.text";
2106          }
2107          program { name: "gdisable";
2108             signal: "elm,guide,disabled";
2109             source: "elm";
2110             action: STATE_SET "hidden" 0.0;
2111             target: "elm.guide";
2112          }
2113          program { name: "genable";
2114             signal: "elm,guide,enabled";
2115             source: "elm";
2116             action: STATE_SET "default" 0.0;
2117             target: "elm.guide";
2118          }
2119          program { name: "touch_snd";
2120             signal: "mouse,clicked,1";
2121             source: "elm.text";
2122             action: PLAY_SAMPLE "touch_sound" 1.0;
2123          }
2124          ENTRY_SWALLOW_PROGRAMS
2125          ENTRY_FOCUS_PROGRAMS
2126       }
2127    }
2128
2129 group { name: "elm/entry/base-password/popup";
2130    data.item: "default_font_size" "24";
2131    data.item: "min_font_size" "8";
2132    data.item: "max_font_size" "60";
2133    data {
2134       item: context_menu_orientation "horizontal";
2135    }
2136    styles
2137    {
2138       style { name: "entry_single_textblock_popup_style";
2139          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" align=center wrap=mixed ellipsis=1.0 text_class=entry";
2140          tag:  "br" "\n";
2141          tag:  "ps" "ps";
2142          tag:  "tab" "\t";
2143          tag:  "em" "+ font=Tizen:style=Oblique";
2144          tag:  "b" "+ font=Tizen:style=Bold";
2145          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
2146          tag:  "hilight" "+ font=Tizen:style=Bold";
2147          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
2148          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
2149          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
2150          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
2151          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
2152          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
2153       }
2154       style { name: "entry_single_textblock_disabled_popup_style";
2155          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 align=center wrap=mixed ellipsis=1.0 text_class=entry";
2156          tag:  "br" "\n";
2157          tag:  "ps" "ps";
2158          tag:  "tab" "\t";
2159          tag:  "em" "+ font=Tizen:style=Oblique";
2160          tag:  "b" "+ font=Tizen:style=Bold";
2161          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
2162          tag:  "hilight" "+ font=Tizen:style=Bold";
2163          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
2164          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
2165          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
2166          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
2167          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
2168          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
2169       }
2170       style { name: "entry_single_textblock_popup_guide_style";
2171          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_GUIDE_TEXT_COLOR_INC" align=center wrap=mixed ellipsis=1.0 text_class=entry";
2172          tag:  "br" "\n";
2173          tag:  "ps" "ps";
2174          tag:  "tab" "\t";
2175          tag:  "em" "+ font=Tizen:style=Oblique";
2176          tag:  "b" "+ font=Tizen:style=Bold";
2177          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
2178          tag:  "hilight" "+ font=Tizen:style=Bold";
2179       }
2180    }
2181    ENTRY_FOCUS_DATA
2182    ENTRY_FOCUS_IMAGE
2183    parts {
2184       ENTRY_FOCUS_PARTS
2185       part { name: "elm.guide";
2186          type: TEXTBLOCK;
2187          mouse_events: 0;
2188          scale: 1;
2189          description { state: "default" 0.0;
2190             rel1.to: "elm.text";
2191             rel2.to: "elm.text";
2192             text {
2193                style: "entry_single_textblock_popup_guide_style";
2194                min: 0 1;
2195                max: 0 1;
2196             }
2197          }
2198          description { state: "hidden" 0.0;
2199             inherit: "default" 0.0;
2200             visible: 0;
2201          }
2202       }
2203       part { name: "elm.text";
2204          type: TEXTBLOCK;
2205          mouse_events: 1;
2206          scale: 1;
2207          entry_mode: PASSWORD;
2208          select_mode: BLOCK_HANDLE;
2209          //cursor_mode: BEFORE;
2210          multiline: 0;
2211          source: "elm/entry/selection/default"; // selection under
2212          //source2: "X"; // selection over
2213          //source3: "X"; // cursor under
2214          source4: "elm/entry/cursor/default"; // cursorover
2215          source5: "elm/entry/anchor/default"; // anchor under
2216          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
2217          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
2218          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
2219          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
2220          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
2221          description { state: "default" 0.0;
2222             text {
2223                style: "entry_single_textblock_popup_style";
2224                repch: "•";
2225                min: 1 1;
2226                max: 0 1;
2227             }
2228             ENTRY_TEXTBLOCK_DEFAULT_REL
2229          }
2230          description { state: "disabled" 0.0;
2231             inherit: "default" 0.0;
2232             text {
2233                style: "entry_single_textblock_disabled_popup_style";
2234             }
2235          }
2236       }
2237       ENTRY_SWALLOW_PARTS
2238    }
2239    ENTRY_SWALLOW_SCRIPT_PUBLIC
2240    programs {
2241       program { name: "focus";
2242          signal: "load";
2243          source: "";
2244          action: FOCUS_SET;
2245          target: "elm.text";
2246       }
2247       program { name: "disable";
2248          signal: "elm,state,disabled";
2249          source: "elm";
2250          action: STATE_SET "disabled" 0.0;
2251          target: "elm.text";
2252       }
2253       program { name: "enable";
2254          signal: "elm,state,enabled";
2255          source: "elm";
2256          action: STATE_SET "default" 0.0;
2257          target: "elm.text";
2258       }
2259       program { name: "gdisable";
2260          signal: "elm,guide,disabled";
2261          source: "elm";
2262          action: STATE_SET "hidden" 0.0;
2263          target: "elm.guide";
2264       }
2265       program { name: "genable";
2266          signal: "elm,guide,enabled";
2267          source: "elm";
2268          action: STATE_SET "default" 0.0;
2269          target: "elm.guide";
2270       }
2271       program { name: "touch_snd";
2272          signal: "mouse,clicked,1";
2273          source: "elm.text";
2274          action: PLAY_SAMPLE "touch_sound" 1.0;
2275       }
2276       ENTRY_SWALLOW_PROGRAMS
2277       ENTRY_FOCUS_PROGRAMS
2278    }
2279 }
2280
2281         group { name: "elm/entry/cursor/default";
2282                 parts {
2283                         part { name: "clip2";
2284                                 type: RECT;
2285                                 mouse_events: 0;
2286                                 scale: 1;
2287                                 description { state: "default" 0.0;
2288                                         rel1.to: "clip";
2289                                         rel2.to: "clip";
2290                                 visible: 0;
2291                                 }
2292                                 description { state: "focused" 0.0;
2293                                         inherit: "default" 0.0;
2294                                         visible: 1;
2295                                 }
2296                         }
2297                         part { name: "clip";
2298                                 type: RECT;
2299                                 mouse_events: 0;
2300                                 scale: 1;
2301                                 clip_to: "clip2";
2302                                 description { state: "default" 0.0;
2303                                         rel1.offset: -10 0;
2304                                         rel2.offset: 9 9;
2305                                 }
2306                                 description { state: "hidden" 0.0;
2307                                         inherit: "default" 0.0;
2308                                         visible: 0;
2309                                 }
2310                         }
2311                         part { name: "base";
2312                                 type: RECT;
2313                                 mouse_events: 0;
2314                                 scale: 1;
2315                                 clip_to: "clip";
2316                                 description { state: "default" 0.0;
2317                                         min: 2 2;
2318                                         align: 0.5 1.0;
2319                                         color: 0 0 0 0;
2320                                 }
2321                         }
2322
2323                         part { name: "glow";
2324                                 type: RECT;
2325                                 mouse_events: 0;
2326                                 scale: 1;
2327                                 clip_to: "clip2";
2328                                 description { state: "default" 0.0;
2329                                         min: 3 0;
2330                                         fixed: 1 0;
2331                                         align: 0.5 0.5;
2332                                         rel1 {
2333                                                 relative: 0.0  0.0;
2334                                                 offset: 0 -2;
2335                                         }
2336                                         rel2 {
2337                                                 relative: 0.0  1.0;
2338                                                 offset: 0 -2;
2339                                         }
2340                                         color: ENTRY_CURSOR_COLOR_INC;
2341                                 }
2342                                 description { state: "hidden" 0.0;
2343                                         inherit: "default" 0.0;
2344                                         color: 0 0 0 0;
2345                                 }
2346                         }
2347                 }
2348                 programs {
2349                         program { name: "show";
2350                                 action: STATE_SET "hidden" 0.0;
2351                                 in: 0.6 0.0;
2352                                 target: "glow";
2353                                 after: "show4";
2354                         }
2355                         program { name: "show4";
2356                                 action: STATE_SET "default" 0.0;
2357                                 in: 0.6 0.0;
2358                                 target: "glow";
2359                                 after: "show";
2360                         }
2361                         program { name: "focused";
2362                                 signal: "elm,action,focus";
2363                                 source: "elm";
2364                                 action: STATE_SET "focused" 0.0;
2365                                 target: "clip2";
2366                                 after: "show4";
2367                         }
2368                         program { name: "unfocused";
2369                                 signal: "elm,action,unfocus";
2370                                 source: "elm";
2371                                 action: STATE_SET "default" 0.0;
2372                                 target: "clip2";
2373                                 after: "stop_glow";
2374                         }
2375                         program { name: "stop_glow";
2376                         action: ACTION_STOP;
2377                                 target: "show";
2378                                 target: "show4";
2379                         }
2380                 }
2381         }
2382
2383
2384         group { name: "elm/entry/selection/default";
2385                 parts {
2386                         part { name: "bg";
2387                                 type: RECT;
2388                                 scale: 1;
2389                                 mouse_events: 0;
2390                                 description { state: "default" 0.0;
2391                                         color: ENTRY_SELECTION_BG_COLOR;
2392                                 }
2393                         }
2394                 }
2395         }
2396
2397         group { name: "elm/entry/selection/block_handle_left";
2398                 data.item: "height" "79";
2399                 data.item: "gap" "32";
2400                 images {
2401                   image: "copy&paste_Handler_left.png" COMP;
2402                   image: "copy&paste_Handler_left_01.png" COMP;
2403                   image: "copy&paste_Handler_left_reverse.png" COMP;
2404                   image: "copy&paste_Handler_left_01_reverse.png" COMP;
2405                 }
2406                 parts {
2407                         part { name: "edge";
2408                                 type: RECT;
2409                                 scale: 1;
2410                                 mouse_events: 0;
2411                                 description { state: "default" 0.0;
2412                                         min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0;
2413                                         max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0;
2414                                         color: 0 0 0 0;
2415                                         visible: 0;
2416                                         align: 0 0;
2417                                 }
2418                         }
2419                         part { name: "handle";
2420                                 mouse_events: 1;
2421                                 scale: 1;
2422                                 description { state: "default" 0.0;
2423                                         visible: 0;
2424                                         fixed: 1 1;
2425                                         align: 1 0;
2426                                         rel2 { relative: 1 1; to_x: "edge"; }
2427                                         min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE;
2428                                         max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE;
2429                                         image {
2430                                                 normal: "copy&paste_Handler_left_01.png";
2431                                                 border: 0 0 0 0;
2432                                         }
2433                                         image.middle: SOLID;
2434                                         fill.smooth: 0;
2435                                 }
2436                                 description { state: "show" 0.0;
2437                                         inherit: "default" 0.0;
2438                                         visible: 1;
2439                                 }
2440                                 description { state: "top" 0.0;
2441                                         inherit: "default" 0.0;
2442                                         visible: 1;
2443                                         align: 1 1;
2444                                         rel2 { relative: 1 1; to_x: "edge"; }
2445                                         image {
2446                                                 normal: "copy&paste_Handler_left.png";
2447                                         }
2448                                 }
2449                                 description { state: "bottom_reversed" 0.0;
2450                                         inherit: "default" 0.0;
2451                                         visible: 1;
2452                                         align: 0 0;
2453                                         rel1 { relative: 0 0; to_x: "edge"; }
2454                                         image {
2455                                                 normal: "copy&paste_Handler_left_01_reverse.png";
2456                                         }
2457                                 }
2458                                 description { state: "top_reversed" 0.0;
2459                                         inherit: "default" 0.0;
2460                                         visible: 1;
2461                                         align: 0 1;
2462                                         rel1 { relative: 0 0; to_x: "edge"; }
2463                                         image {
2464                                                 normal: "copy&paste_Handler_left_reverse.png";
2465                                         }
2466                                 }
2467                         }
2468                 }
2469                 script {
2470                         public handler_ontop;
2471                         public handler_focused;
2472                 }
2473                 programs {
2474                         program { name: "focused";
2475                                 signal: "edje,focus,in";
2476                                 source: "edje";
2477                                 script {
2478                                         set_int(handler_focused, 1);
2479                                 }
2480                         }
2481                         program { name: "unfocused";
2482                                 signal: "edje,focus,out";
2483                                 source: "edje";
2484                                 script {
2485                                         set_int(handler_focused, 0);
2486                                         set_state(PART:"handle", "default", 0.0);
2487                                 }
2488                         }
2489                         program { name: "bottom_reversed";
2490                                 signal: "elm,state,bottom,reversed";
2491                                 source: "elm";
2492                                 script {
2493                                         set_state(PART:"handle", "bottom_reversed", 0.0);
2494                                 }
2495                         }
2496                         program { name: "top_reversed";
2497                                 signal: "elm,state,top,reversed";
2498                                 source: "elm";
2499                                 script {
2500                                         set_state(PART:"handle", "top_reversed", 0.0);
2501                                 }
2502                         }
2503                         program { name: "top";
2504                                 signal: "elm,state,top";
2505                                 source: "elm";
2506                                 script {
2507                                         new focused;
2508                                         focused = get_int(handler_focused);
2509                                         set_int(handler_ontop, 1);
2510                                         if (focused)
2511                                         {
2512                                                 set_state(PART:"handle", "top", 0.0);
2513                                         }
2514                                         else
2515                                         {
2516                                                 set_state(PART:"handle", "default", 0.0);
2517                                         }
2518                                 }
2519                         }
2520                         program { name: "bottom";
2521                                 signal: "elm,state,bottom";
2522                                 source: "elm";
2523                                 script {
2524                                         new focused;
2525                                         focused = get_int(handler_focused);
2526                                         set_int(handler_ontop, 0);
2527                                         if (focused)
2528                                         {
2529                                                 set_state(PART:"handle", "show", 0.0);
2530                                         }
2531                                         else
2532                                         {
2533                                                 set_state(PART:"handle", "default", 0.0);
2534                                         }
2535                                 }
2536                         }
2537                 }
2538         }
2539
2540         group { name: "elm/entry/selection/block_handle_right";
2541                 data.item: "height" "79";
2542                 data.item: "gap" "32";
2543                 images {
2544                   image: "copy&paste_Handler_right.png" COMP;
2545                   image: "copy&paste_Handler_right_01.png" COMP;
2546                   image: "copy&paste_Handler_right_reverse.png" COMP;
2547                   image: "copy&paste_Handler_right_01_reverse.png" COMP;
2548                 }
2549                 parts {
2550                         part { name: "edge";
2551                                 type: RECT;
2552                                 scale: 1;
2553                                 mouse_events: 0;
2554                                 description { state: "default" 0.0;
2555                                         min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0;
2556                                         max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0;
2557                                         color: 0 0 0 0;
2558                                         visible: 0;
2559                                         align: 0 0;
2560                                 }
2561                         }
2562                         part { name: "handle";
2563                                 mouse_events: 1;
2564                                 scale: 1;
2565                                 description { state: "default" 0.0;
2566                                         visible: 0;
2567                                         fixed: 1 1;
2568                                         align: 0 0;
2569                                         min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE;
2570                                         max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE;
2571                                         image {
2572                                                 normal: "copy&paste_Handler_right.png";
2573                                                 border: 0 0 0 0;
2574                                         }
2575                                         image.middle: SOLID;
2576                                         fill.smooth: 0;
2577                                 }
2578                                 description { state: "show" 0.0;
2579                                         inherit: "default" 0.0;
2580                                         visible: 1;
2581                                 }
2582                                 description { state: "top" 0.0;
2583                                         inherit: "default" 0.0;
2584                                         visible: 1;
2585                                         align: 0 1;
2586                                         image {
2587                                                 normal: "copy&paste_Handler_right_01.png";
2588                                         }
2589                                 }
2590                                 description { state: "bottom_reversed" 0.0;
2591                                         inherit: "default" 0.0;
2592                                         visible: 1;
2593                                         align: 1 0;
2594                                         rel2 { relative: 1.0 0.0; to_x: "edge"; }
2595                                         image {
2596                                                 normal: "copy&paste_Handler_right_reverse.png";
2597                                         }
2598                                 }
2599                                 description { state: "top_reversed" 0.0;
2600                                         inherit: "default" 0.0;
2601                                         visible: 1;
2602                                         align: 1 1;
2603                                         rel2 { relative: 1.0 0.0; to_x: "edge"; }
2604                                         image {
2605                                                 normal: "copy&paste_Handler_right_01_reverse.png";
2606                                         }
2607                                 }
2608                         }
2609                 }
2610                 script {
2611                         public handler_ontop;
2612                         public handler_focused;
2613                 }
2614                 programs {
2615                         program { name: "focused";
2616                                 signal: "edje,focus,in";
2617                                 source: "edje";
2618                                 script {
2619                                         set_int(handler_focused, 1);
2620                                 }
2621                         }
2622                         program { name: "unfocused";
2623                                 signal: "edje,focus,out";
2624                                 source: "edje";
2625                                 script {
2626                                         set_int(handler_focused, 0);
2627                                         set_state(PART:"handle", "default", 0.0);
2628                                 }
2629                         }
2630                         program { name: "top";
2631                                 signal: "elm,state,top";
2632                                 source: "elm";
2633                                 script {
2634                                         new focused;
2635                                         focused = get_int(handler_focused);
2636                                         set_int(handler_ontop, 1);
2637                                         if (focused)
2638                                                 {
2639                                                         set_state(PART:"handle", "top", 0.0);
2640                                                 }
2641                                         else
2642                                                 {
2643                                                         set_state(PART:"handle", "default", 0.0);
2644                                         }
2645                                 }
2646                         }
2647                         program { name: "bottom";
2648                                 signal: "elm,state,bottom";
2649                                 source: "elm";
2650                                 script {
2651                                         new focused;
2652                                         focused = get_int(handler_focused);
2653                                         set_int(handler_ontop, 0);
2654                                         if (focused)
2655                                                 {
2656                                                         set_state(PART:"handle", "show", 0.0);
2657                                                 }
2658                                         else
2659                                                 {
2660                                                         set_state(PART:"handle", "default", 0.0);
2661                                         }
2662                                 }
2663                         }
2664                         program { name: "bottom_reversed";
2665                                 signal: "elm,state,bottom,reversed";
2666                                 source: "elm";
2667                                 script {
2668                                         set_state(PART:"handle", "bottom_reversed", 0.0);
2669                                 }
2670                         }
2671                         program { name: "top_reversed";
2672                                 signal: "elm,state,top,reversed";
2673                                 source: "elm";
2674                                 script {
2675                                         set_state(PART:"handle", "top_reversed", 0.0);
2676                                 }
2677                         }
2678                 }
2679         }
2680
2681         group { name: "elm/entry/cursor_handle/default";
2682                 images {
2683                   image: "copy&paste_Handler_center.png" COMP;
2684                   image: "copy&paste_Handler_center_reverse.png" COMP;
2685                 }
2686                 parts {
2687                         part { name: "handle";
2688                                 scale: 1;
2689                                 mouse_events: 1;
2690                                 description { state: "default" 0.0;
2691                                         max: 59 86;
2692                                         min: 59 86;
2693                                         align: 0 0;
2694                                         visible: 0;
2695                                         align: 0.5 0;
2696                                         image {
2697                                                 normal: "copy&paste_Handler_center.png";
2698                                                 border: 0 0 0 0;
2699                                         }
2700                                         image.middle: SOLID;
2701                                         fill.smooth: 0;
2702                                 }
2703                                 description { state: "show" 0.0;
2704                                         inherit: "default" 0.0;
2705                                         visible: 1;
2706                                 }
2707                                 description { state: "top" 0.0;
2708                                         inherit: "default" 0.0;
2709                                         visible: 1;
2710                                         align: 0.5 1.0;
2711                                         image {
2712                                                 normal: "copy&paste_Handler_center_reverse.png";
2713                                                 border: 0 0 0 0;
2714                                         }
2715                                 }
2716                         }
2717                 }
2718                 script {
2719                         public on_top;
2720                 }
2721                 programs {
2722                         program { name: "focused";
2723                                 signal: "edje,focus,in";
2724                                 source: "edje";
2725                                 script {
2726                                         new on_top_val = get_int(on_top);
2727                                         if (on_top_val)
2728                                         {
2729                                                 set_state(PART:"handle", "top", 0.0);
2730                                         }
2731                                         else
2732                                         {
2733                                                 set_state(PART:"handle", "show", 0.0);
2734                                         }
2735                                 }
2736                         }
2737                         program { name: "unfocused";
2738                                 signal: "edje,focus,out";
2739                                 source: "edje";
2740                                 script {
2741                                         set_state(PART:"handle", "default", 0.0);
2742                                 }
2743                         }
2744                         program { name: "show";
2745                                 signal: "edje,cursor,handle,show";
2746                                 source: "edje";
2747                                 script {
2748                                         set_int(on_top, 0);
2749                                         set_state(PART:"handle", "show", 0.0);
2750                                 }
2751                         }
2752                         program { name: "hide";
2753                                 signal: "edje,cursor,handle,hide";
2754                                 source: "edje";
2755                                 script {
2756                                         set_state(PART:"handle", "default", 0.0);
2757                                 }
2758                         }
2759                         program { name: "top";
2760                                 signal: "edje,cursor,handle,top";
2761                                 source: "edje";
2762                                 script {
2763                                         set_int(on_top, 1);
2764                                         set_state(PART:"handle", "top", 0.0);
2765                                 }
2766                         }
2767                 }
2768         }
2769
2770         group { name: "elm/entry/selection/block_handle_edge_left";
2771                 parts {
2772                         part { name: "align";
2773                                 type: RECT;
2774                                 scale: 1;
2775                                 mouse_events: 0;
2776                                 description { state: "default" 0.0;
2777                                         min: 0 0;
2778                                         max: 0 0;
2779                                         color: 0 0 0 0;
2780                                         visible: 0;
2781                                         align: 0 0;
2782                                 }
2783                         }
2784                         part { name: "bg";
2785                                 type: RECT;
2786                                 scale: 1;
2787                                 mouse_events: 0;
2788                                 description { state: "default" 0.0;
2789                                         color: ENTRY_SELECTION_EDGE_COLOR;
2790                                         min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0;
2791                                         max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH -1;
2792                                         rel2 { relative: 0 1; to_x: "align"; }
2793                                         align: 0 0;
2794                                         visible: 0;
2795                                 }
2796                                 description { state: "show" 0.0;
2797                                         inherit: "default" 0.0;
2798                                         visible: 1;
2799                                 }
2800                         }
2801                 }
2802                 programs {
2803                         program { name: "show";
2804                                 signal: "edje,focus,in";
2805                                 source: "edje";
2806                                 script {
2807                                         set_state(PART:"bg", "show", 0.0);
2808                                 }
2809                         }
2810                         program { name: "hide";
2811                                 signal: "edje,focus,out";
2812                                 source: "edje";
2813                                 script {
2814                                         set_state(PART:"bg", "default", 0.0);
2815                                 }
2816                         }
2817                 }
2818         }
2819
2820         group { name: "elm/entry/selection/block_handle_edge_right";
2821                 parts {
2822                         part { name: "bg";
2823                                 type: RECT;
2824                                 scale: 1;
2825                                 mouse_events: 0;
2826                                 description { state: "default" 0.0;
2827                                         color: ENTRY_SELECTION_EDGE_COLOR;
2828                                         min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0;
2829                                         max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH -1;
2830                                         visible: 0;
2831                                 }
2832                                 description { state: "show" 0.0;
2833                                         inherit: "default" 0.0;
2834                                         visible: 1;
2835                                 }
2836                         }
2837                 }
2838                 programs {
2839                         program { name: "show";
2840                                 signal: "edje,focus,in";
2841                                 source: "edje";
2842                                 script {
2843                                         set_state(PART:"bg", "show", 0.0);
2844                                 }
2845                         }
2846                         program { name: "hide";
2847                                 signal: "edje,focus,out";
2848                                 source: "edje";
2849                                 script {
2850                                         set_state(PART:"bg", "default", 0.0);
2851                                 }
2852                         }
2853                 }
2854         }
2855
2856         group { name: "elm/entry/anchor/default";
2857                 parts {
2858                         part { name: "bg";
2859                                 type: RECT;
2860                                 mouse_events: 0;
2861                                 description { state: "default" 0.0;
2862                                         color: 0 0 0 0;
2863                                 }
2864                         }
2865                 }
2866         }
2867
2868     group { name: "elm/entry/preedit/default";
2869         parts {
2870             part { name: "bg";
2871                 type: RECT;
2872                 mouse_events: 0;
2873                 description { state: "default" 0.0;
2874                     color: 128 128 128 255;
2875                 }
2876             }
2877         }
2878    }
2879
2880
2881 #define MAGNIFIER_SCALE 1.5
2882
2883         group { name: "elm/entry/magnifier/fixed-size";
2884                 data.item: "height" MAGNIFIER_HEIGHT_FIXED;
2885                 data.item: "scale" MAGNIFIER_SCALE;
2886                 data.item: "arrow" 24;
2887                 images {
2888                   image: "copy&paste_Magnifier_left.png" COMP;
2889                   image: "copy&paste_Magnifier_middle.png" COMP;
2890                   image: "copy&paste_Magnifier_right.png" COMP;
2891                 }
2892                 parts {
2893                         part { name: "bg";
2894                                 mouse_events: 0;
2895                                 scale: 1;
2896                                 type: RECT;
2897                                 description { state: "default" 0.0;
2898                                         fixed: 1 1;
2899                                         min: MAGNIFIER_WIDTH_FIXED MAGNIFIER_HEIGHT_FIXED;
2900                                         align: 0.5 0.0;
2901                                         visible: 1;
2902                                         color: 0 0 0 0;
2903                                 }
2904                         }
2905                         part { name: "bg_middle_left";
2906                                 mouse_events: 0;
2907                                 scale: 1;
2908                                 type: RECT;
2909                                 description { state: "default" 0.0;
2910                                         min: 20 134;
2911                                         max: 20 -1;
2912                                         align: 1.0 0.0;
2913                                         rel2 { relative: 0.5 1.0; to: "bg"; }
2914                                         visible: 1;
2915                                         color: 0 0 0 0;
2916                                 }
2917                         }
2918                         part { name: "bg_middle_right";
2919                                 mouse_events: 0;
2920                                 scale: 1;
2921                                 type: RECT;
2922                                 description { state: "default" 0.0;
2923                                         min: 20 134;
2924                                         max: 20 -1;
2925                                         align: 0.0 0.0;
2926                                         rel1 { relative: 0.5 0.0; to: "bg"; }
2927                                         visible: 1;
2928                                         color: 0 0 0 0;
2929                                 }
2930                         }
2931                         part { name: "bg_left";
2932                                 mouse_events: 0;
2933                                 scale: 1;
2934                                 description { state: "default" 0.0;
2935                                         fixed: 1 1;
2936                                         min: 136 134;
2937                                         align: 0.0 0.0;
2938                                         rel1 { relative: 0.0 0.0; to: "bg"; }
2939                                         rel2 { relative: 0.0 1.0; to: "bg_middle_left"; }
2940                                         image {
2941                                                 normal: "copy&paste_Magnifier_left.png";
2942                                                 border: 21 1 20 44;
2943                                         }
2944                                         image.middle: 1;
2945                                         fill.smooth: 0;
2946                                 }
2947                         }
2948                         part { name: "bg_middle";
2949                                 mouse_events: 0;
2950                                 scale: 1;
2951                                 description { state: "default" 0.0;
2952                                         align: 0.0 0.0;
2953                                         rel1 { relative: 0.0 0.0; to: "bg_middle_left"; }
2954                                         rel2 { relative: 1.0 1.0; to: "bg_middle_right"; }
2955                                         image {
2956                                                 normal: "copy&paste_Magnifier_middle.png";
2957                                                 border: 1 38 20 44;
2958                                         }
2959                                         image.middle: 1;
2960                                         fill.smooth: 0;
2961                                 }
2962                         }
2963                         part { name: "bg_right";
2964                                 mouse_events: 0;
2965                                 scale: 1;
2966                                 description { state: "default" 0.0;
2967                                         fixed: 1 1;
2968                                         min: 136 134;
2969                                         rel1 { relative: 1.0 0.0; to: "bg_middle_right"; }
2970                                         rel2.to: "bg";
2971                                         image {
2972                                                 normal: "copy&paste_Magnifier_right.png";
2973                                                 border: 1 21 20 44;
2974                                         }
2975                                         image.middle: 1;
2976                                         fill.smooth: 0;
2977                                 }
2978                         }
2979                         part { name: "swallow";
2980                                 type: SWALLOW;
2981                                 mouse_events: 0;
2982                                 scale: 1;
2983                                 description { state: "default" 0.0;
2984                                         fixed: 1 1;
2985                                         align: 0.0 0.0;
2986                                         rel1 {
2987                                                 to: "bg";
2988                                                 offset: 21-5 22-8; //need to update when image with rounded corners releases
2989                                         }
2990                                         rel2 {
2991                                                 to: "bg";
2992                                                 offset: -21+5 -44+10;
2993                                         }
2994                                 }
2995                         }
2996                 }
2997         }
2998
2999         group { name: "elm/entry/matchlist/default";
3000                 data.item: "max_height" "230";
3001                 parts {
3002                         part { name: "base";
3003                                 type: RECT;
3004                                 scale : 1;
3005                                 mouse_events: 1;
3006                                 repeat_events: 1;
3007                                 description { state: "default" 0.0;
3008                                         color: 0 0 0 0;
3009                                         rel1 {
3010                                                 relative: 0.0 0.0;
3011                                                 offset: 0 20;
3012                                         }
3013                                         rel2 {
3014                                                 relative: 1.0 1.0;
3015                                                 offset: 0 20;
3016                                         }
3017                                 }
3018                         }
3019                         part { name: "elm.swallow.content";
3020                                 type: SWALLOW;
3021                                 description { state: "default" 0.0;
3022                                         align: 0.0 0.0;
3023                                         rel1 {
3024                                                 to: "base";
3025                                         }
3026                                         rel2 {
3027                                                 to: "base";
3028                                         }
3029                                 }
3030                         }
3031                 }
3032         }
3033
3034 /* Entry's bubble style */
3035
3036 styles {
3037    style { 
3038       name: "entry_bubble_date_area_textblock_style";
3039       base: "font=Tizen: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";
3040       tag:  "br" "\n";
3041       tag:  "ps" "ps";
3042       tag:  "tab" "\t";
3043       tag:  "em" "+ font=Tizen:style=Oblique";
3044       tag:  "b" "+ font=Tizen:style=Bold";
3045       tag:  "link" "+ color=#800 underline=on underline_color=#8008";
3046       tag:  "hilight" "+ font=Tizen:style=Bold";
3047       tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
3048       tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
3049       tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
3050       tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
3051       tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
3052       tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
3053    }
3054    style {
3055       name: "entry_bubble_sent_textblock_style";
3056       base: "font=Tizen:style=Roman style="ENTRY_BUBBLE_SENT_TEXT_SHADOW_STYLE" shadow_color="ENTRY_BUBBLE_SENT_TEXT_SHADOW_COLOR" font_size="ENTRY_BUBBLE_TEXT_SIZE" color="ENTRY_BUBBLE_SENT_TEXT_COLOR" left_margin=1 right_margin=2 wrap=mixed text_class=entry";
3057       tag:  "br" "\n";
3058       tag:  "ps" "ps";
3059       tag:  "tab" "\t";
3060       tag:  "em" "+ font=Tizen:style=Oblique";
3061       tag:  "b" "+ font=Tizen:style=Bold";
3062       tag:  "link" "+ color=#800 underline=on underline_color=#8008";
3063       tag:  "hilight" "+ font=Tizen:style=Bold";
3064    }
3065    style {
3066       name: "entry_bubble_receive_textblock_style";
3067       base: "font=Tizen:style=Roman style="ENTRY_BUBBLE_RECEV_TEXT_SHADOW_STYLE" shadow_color="ENTRY_BUBBLE_RECEV_TEXT_SHADOW_COLOR" font_size="ENTRY_BUBBLE_TEXT_SIZE" color="ENTRY_BUBBLE_RECEV_TEXT_COLOR" left_margin=1 right_margin=2 wrap=mixed text_class=entry";
3068       tag:  "br" "\n";
3069       tag:  "ps" "ps";
3070       tag:  "tab" "\t";
3071       tag:  "em" "+ font=Tizen:style=Oblique";
3072       tag:  "b" "+ font=Tizen:style=Bold";
3073       tag:  "link" "+ color=#800 underline=on underline_color=#8008";
3074       tag:  "hilight" "+ font=Tizen:style=Bold";
3075    }
3076 }
3077
3078    group { name: "elm/entry/base/readmessage";
3079       data.item: "default_font_size" "24";
3080       data.item: "min_font_size" "8";
3081       data.item: "max_font_size" "60";
3082       data {
3083          item: context_menu_orientation "horizontal";
3084       }
3085       parts {
3086          part {
3087             name: "elm.rect.left.pad";
3088             type: RECT;
3089             scale: 1;
3090             description {
3091                state: "default" 0.0;
3092                min: ENTRY_BUBBLE_EX_PAD 0;
3093                fixed: 1 0;
3094                align: 0.0 0.0;
3095                color: 0 0 0 0;
3096                rel2.relative: 0.0 1.0;
3097             }
3098          }
3099          part {
3100             name: "elm.rect.right.pad";
3101             type: RECT;
3102             scale: 1;
3103             description {
3104                state: "default" 0.0;
3105                min: ENTRY_BUBBLE_IX_PAD 0;
3106                fixed: 1 0;
3107                align: 0.0 0.0;
3108                color: 0 0 0 0;
3109                rel1 { relative: 1.0 0.0; to: "elm.text"; }
3110                rel2.to: "elm.text";
3111             }
3112          }
3113          part {
3114            name: "elm.rect.top.pad";
3115            type: RECT;
3116            scale: 1;
3117            description {
3118               state: "default" 0.0;
3119               min: 0 ENTRY_BUBBLE_Y_PAD;
3120               fixed: 0 1;
3121               align: 0.0 0.0;
3122               color: 0 0 0 0;
3123               rel2.relative: 1.0 0.0;
3124             }
3125          }
3126          part {
3127            name: "elm.rect.bottom.pad";
3128            type: RECT;
3129            scale: 1;
3130            description {
3131               state: "default" 0.0;
3132               min: 0 ENTRY_BUBBLE_Y_PAD;
3133               fixed: 0 1;
3134               align: 0.0 1.0;
3135               color: 0 0 0 0;
3136               rel1.relative: 0.0 1.0;
3137             }
3138          }
3139          part {
3140             name: "elm.image.bg";
3141             type: IMAGE;
3142             scale: 1;
3143             description {
3144                state: "default" 0.0;
3145                rel2.to_x: "elm.rect.right.pad";
3146                image {
3147                   normal: "00_messagebubble_bg_receive.png";
3148                   border: 1 20 13 20;
3149                   border_scale: 1;
3150                }
3151             }
3152          }
3153          part { name: "elm.text";
3154             type: TEXTBLOCK;
3155             mouse_events: 1;
3156             scale: 1;
3157             entry_mode: EDITABLE;
3158             select_mode: BLOCK_HANDLE;
3159             //cursor_mode: BEFORE;
3160             multiline: 1;
3161             source: "elm/entry/selection/default"; // selection under
3162             //source2: "X"; // selection over
3163             //source3: "X"; // cursor under
3164             source4: "elm/entry/cursor/default"; // cursorover
3165             source5: "elm/entry/anchor/default"; // anchor under
3166             source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
3167             source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
3168             source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
3169             source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
3170             source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
3171 //          source6: "X"; // anchor over
3172             description { state: "default" 0.0;
3173                fixed: 1 0;
3174                align: 0.0 0.0;
3175                rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
3176                rel2 { relative: 1.0 0.0; to_y: "elm.rect.bottom.pad"; }
3177                text {
3178                   style: "entry_textblock_style";
3179                   min: 0 1;
3180                   max: 1 0;
3181                }
3182             }
3183             description { state: "disabled" 0.0;
3184                inherit: "default" 0.0;
3185                text {
3186                   style: "entry_textblock_disabled_style";
3187                }
3188             }
3189          }
3190       }
3191       programs {
3192          program { name: "focus";
3193             signal: "load";
3194             source: "";
3195             action: FOCUS_SET;
3196             target: "elm.text";
3197          }
3198          program { name: "disable";
3199             signal: "elm,state,disabled";
3200             source: "elm";
3201             action: STATE_SET "disabled" 0.0;
3202             target: "elm.text";
3203          }
3204          program { name: "enable";
3205             signal: "elm,state,enabled";
3206             source: "elm";
3207             action: STATE_SET "default" 0.0;
3208             target: "elm.text";
3209          }
3210       }
3211    }
3212
3213    group { name: "elm/entry/base-noedit/readmessage";
3214       data.item: "default_font_size" "24";
3215       data.item: "min_font_size" "8";
3216       data.item: "max_font_size" "60";
3217       data {
3218          item: context_menu_orientation "horizontal";
3219       }
3220       parts {
3221          part {
3222             name: "elm.rect.left.pad";
3223                 type: RECT;
3224                 scale: 1;
3225                 description {
3226                    state: "default" 0.0;
3227                min: ENTRY_BUBBLE_EX_PAD 0;
3228                fixed: 1 0;
3229                    align: 0.0 0.0;
3230                color: 0 0 0 0;
3231                    rel2.relative: 0.0 1.0;
3232                }
3233                description {
3234                state: "callerid_on" 0.0;
3235                inherit: "default" 0.0;
3236                    min: ENTRY_BUBBLE_EX_CALLERID_PAD 0;
3237                }
3238          }
3239          part {
3240             name: "elm.rect.right.pad";
3241             type: RECT;
3242             scale: 1;
3243             description {
3244                state: "default" 0.0;
3245                min: ENTRY_BUBBLE_IX_PAD 0;
3246                fixed: 1 0;
3247                align: 0.0 0.0;
3248                color: 0 0 0 0;
3249                rel1 { relative: 1.0 0.0; to: "elm.text"; }
3250                rel2.to: "elm.text";
3251             }
3252          }
3253          part {
3254            name: "elm.rect.top.pad";
3255            type: RECT;
3256            scale: 1;
3257            description {
3258               state: "default" 0.0;
3259               min: 0 ENTRY_BUBBLE_Y_PAD;
3260               fixed: 0 1;
3261               align: 0.0 0.0;
3262               color: 0 0 0 0;
3263               rel2.relative: 1.0 0.0;
3264            }
3265          }
3266          part {
3267            name: "elm.rect.topleft.pad";
3268            type: RECT;
3269            scale: 1;
3270            description {
3271               state: "default" 0.0;
3272               min: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
3273               max: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
3274               fixed: 1 1;
3275               align: 0.0 0.0;
3276               visible: 0;
3277            }
3278          }
3279          part {
3280            name: "elm.rect.bottom.pad";
3281            type: RECT;
3282            scale: 1;
3283            description {
3284               state: "default" 0.0;
3285               min: 0 ENTRY_BUBBLE_BOTTOM_PAD;
3286               fixed: 0 1;
3287               align: 0.0 1.0;
3288               color: 0 0 0 0;
3289               rel1.relative: 0.0 1.0;
3290            }
3291          }
3292          part {
3293            name: "elm.rect.bottomleft.pad";
3294            type: RECT;
3295            scale: 1;
3296            description {
3297               state: "default" 0.0;
3298               min: ENTRY_BUBBLE_BOTTOMRIGHT_PAD  2;
3299               max: ENTRY_BUBBLE_BOTTOMRIGHT_PAD 2;
3300               align: 0.0 1.0;
3301                           visible: 0;
3302            }
3303          }
3304          part {
3305            name: "elm.rect.groupchat.pad";
3306            type: RECT;
3307            scale: 1;
3308            description {
3309               state: "default" 0.0;
3310               min: ENTRY_BUBBLE_GROUPCHART_PAD;
3311               max: ENTRY_BUBBLE_GROUPCHART_PAD;
3312               align: 0.0 0.0;
3313                           visible: 0;
3314            }
3315            description {
3316               state: "callerid_on" 0.0;
3317               inherit: "default" 0.0;
3318               min: ENTRY_BUBBLE_GROUPCHART_WITH_CALLERID_PAD;
3319               max: ENTRY_BUBBLE_GROUPCHART_WITH_CALLERID_PAD;
3320            }
3321          }
3322          part {
3323            name: "elm.rect.groupchat.text.pad";
3324            type: RECT;
3325            scale: 1;
3326            description {
3327               state: "default" 0.0;
3328               min: 120 14;
3329               max: 120 14;
3330               align: 0.0 0.0;
3331                           visible: 0;
3332                           rel1 { relative: 0.0 1.0; to: "elm.rect.groupchat.pad"; }
3333            }
3334          }
3335          part { name: "elm.text.groupchat";
3336             type: TEXT;
3337             scale: 1;
3338             description { state: "default" 0.0;
3339                align: 0.0 0.0;
3340                fixed: 1 1;
3341                text {
3342                   font: "Tizen:style=Roman";
3343                   size: ENTRY_BUBBLE_GROUPCHAT_SIZE_INC;
3344                   min: 1 0;
3345                                   align: 0.0 0.5;
3346                   text_class: "tizen";
3347                }
3348                visible: 1;
3349                color: ENTRY_BUBBLE_GROUPCHAT_COLOR_INC;
3350                rel1 { relative: 1.0 0.0; to: "elm.rect.groupchat.pad"; }
3351                rel2.to_y: "elm.rect.groupchat.pad";
3352             }
3353          }
3354          part {
3355             name: "elm.image.bg";
3356             type: IMAGE;
3357             scale: 1;
3358             description {
3359                state: "default" 0.0;
3360                rel2.to_x: "elm.rect.right.pad";
3361                image {
3362                   normal: "00_messagebubble_bg_receive.png";
3363                   border: ENTRY_BUBBLE_RECEV_BG_BORDER_INC;
3364                   border_scale: 1;
3365                }
3366             }
3367             description {
3368                state: "callerid_on" 0.0;
3369            inherit: "default" 0.0;
3370            rel1 { relative: 1.0 0.0; to_x: "elm.rect.bottomleft.pad"; }
3371             }
3372             description {
3373                state: "callerid_groupchat" 0.0;
3374            inherit: "default" 0.0;
3375            rel1 { relative: 1.0 1.0; to_x: "elm.rect.bottomleft.pad"; to_y:"elm.rect.groupchat.pad"; }
3376             }
3377             description {
3378                state: "groupchat_on" 0.0;
3379            inherit: "default" 0.0;
3380            rel1 { relative: 0.0 1.0; to_y:"elm.rect.groupchat.pad"; }
3381             }
3382          }
3383          // it's temporary blocked for prepare entry's signal feature
3384          /*
3385          part {
3386            name: "elm.text.subject";
3387            type: TEXTBLOCK;
3388            scale: 1;
3389            description {
3390               state: "default" 0.0;
3391               align: 0.0 0.0;
3392               text {
3393                  style: "entry_textblock_style";
3394                  min: 0 1;
3395               }
3396               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
3397               rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
3398            }
3399          }
3400          */
3401
3402          part {
3403            name: "elm.rect.subject.line";
3404            type: RECT;
3405            scale: 1;
3406            description {
3407               state: "default" 0.0;
3408               visible: 0;
3409               min: 0 1;
3410               align: 0.0 0.0;
3411               color: 0 0 0 255;
3412               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
3413               rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
3414            }
3415          }
3416          part {
3417             name: "elm.swallow.callerid";
3418             type: SWALLOW;
3419             scale: 1;
3420             description {
3421                state: "default" 0.0;
3422                min: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT;
3423                max: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT;
3424                fixed: 1 1;
3425                align: 0.0 0.0;
3426                visible: 0;
3427                rel1 { relative: ENTRY_BUBBLE_RECEV_CALLERID_REL_INC; to_x: "elm.rect.topleft.pad"; to_y: "elm.rect.topleft.pad"; }
3428                rel2 { relative: ENTRY_BUBBLE_RECEV_CALLERID_REL_INC; to_x: "elm.rect.topleft.pad"; to_y: "elm.rect.bottom.pad"; }
3429             }
3430             description { state: "callerid_on" 0.0;
3431                inherit: "default" 0.0;
3432                visible: 1;
3433             }
3434          }
3435          part {
3436             name: "elm.rect.callerid.pad";
3437             type: RECT;
3438             scale: 1;
3439             description {
3440                state: "default" 0.0;
3441                min: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
3442                max: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
3443                fixed: 1 1;
3444                align: 0.0 0.0;
3445                visible: 0;
3446                rel1 { relative: 1.0 1.0; to: "elm.swallow.callerid"; to_y: "elm.rect.top.pad"; }
3447                rel2 { relative: 1.0 0.0; to_y: "elm.rect.bottom.pad"; }
3448             }
3449          }
3450          part { name: "elm.text";
3451             type: TEXTBLOCK;
3452             mouse_events: 1;
3453             scale: 1;
3454             entry_mode: PLAIN;
3455             select_mode: BLOCK_HANDLE;
3456             //cursor_mode: BEFORE;
3457             multiline: 1;
3458             source: "elm/entry/selection/default"; // selection under
3459             //source2: "X"; // selection over
3460             //source3: "X"; // cursor under
3461             source5: "elm/entry/anchor/default"; // anchor under
3462             source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
3463             source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
3464             source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
3465             source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
3466             source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
3467             description {
3468                state: "default" 0.0;
3469                fixed: 1 0;
3470                min: 200 0;
3471                align: 0.0 0.0;
3472                rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.subject.line"; }
3473                rel2 { relative: 1.0 1.0; to_y: "elm.rect.subject.line"; }
3474                text {
3475                   style: "entry_bubble_receive_textblock_style";
3476                   min: 0 1;
3477               max: 1 0;
3478                }
3479             }
3480                 /* callerid only */
3481             description { state: "callerid_on" 0.0;
3482                inherit: "default" 0.0;
3483                rel1 { relative: 1.0 1.0; to_x: ENTRY_BUBBLE_READ_TEXT_CALLID_REL1_X_INC; to_y: "elm.rect.subject.line"; }
3484                rel2 { relative: 1.0 1.0; to_y: "elm.rect.subject.line"; }
3485             }
3486                 /* callerid and groupchat */
3487             description { state: "callerid_groupchat" 0.0;
3488                inherit: "default" 0.0;
3489                rel1 { relative: 1.0 1.0; to_x: ENTRY_BUBBLE_READ_TEXT_CALLID_REL1_X_INC; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
3490                rel2 { relative: 1.0 1.0; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
3491             }
3492                 /* groupchat only */
3493             description { state: "groupchat_on" 0.0;
3494                inherit: "default" 0.0;
3495                rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
3496                rel2 { relative: 1.0 1.0; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
3497             }
3498             description { state: "disabled" 0.0;
3499                inherit: "default" 0.0;
3500                text {
3501                   style: "entry_textblock_disabled_style";
3502                }
3503             }
3504          }
3505          part {
3506             name: "elm.rect.status.pad";
3507             type: RECT;
3508             scale: 1;
3509             description {
3510                state: "default" 0.0;
3511                min: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC 64;
3512                max: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC 64;
3513                fixed: 1 1;
3514                align: 0.0 1.0;
3515                visible: 0;
3516                            color: 255 0 0 255;
3517                rel1 { relative: ENTRY_BUBBLE_READ_STATUS_TIME_PAD_REL_INC; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
3518                rel2 { relative: 1.0 1.0; to_y: "elm.rect.bottom.pad"; }
3519             }
3520          }
3521          part {
3522             name: "elm.rect.time.pad";
3523             type: RECT;
3524             scale: 1;
3525             description {
3526                state: "default" 0.0;
3527                min: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC GENLIST_PADDING_34_INC;
3528                max: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC GENLIST_PADDING_34_INC;
3529                fixed: 1 1;
3530                align: 0.0 0.0;
3531                visible: 0;
3532                            color: 0 255 0 255;
3533                rel1.to: "elm.rect.status.pad";
3534                rel2 { relative: 1.0 1.0; to_y: "elm.rect.bottom.pad"; }
3535             }
3536          }
3537          part { name: "elm.text.status";
3538             type: TEXT;
3539             scale: 1;
3540             description { state: "default" 0.0;
3541                align: 0.0 1.0;
3542                fixed: 1 1;
3543                text {
3544                   font: "Tizen:style=Roman";
3545                   size: ENTRY_BUBBLE_STATUS_TIME_SIZE_INC;
3546                   min: 1 0;
3547                   text_class: "tizen";
3548                }
3549                visible: 1;
3550                color: ENTRY_BUBBLE_READ_STATUS_TIME_COLOR_INC;
3551                rel1 { relative: ENTRY_BUBBLE_READ_STATUS_REL_INC; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
3552                rel2 { relative: ENTRY_BUBBLE_READ_STATUS_REL_INC; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
3553             }
3554             description { state: "disabled" 0.0;
3555                inherit: "default" 0.0;
3556                visible: 0;
3557             }
3558          }
3559          part { name: "elm.text.time";
3560             type: TEXT;
3561             scale: 1;
3562             description { state: "default" 0.0;
3563                align: 0.0 0.0;
3564                fixed: 1 1;
3565                text {
3566                   font: "Tizen:style=Roman";
3567                   size: ENTRY_BUBBLE_STATUS_TIME_SIZE_INC;
3568                   min: 1 0;
3569                   text_class: "tizen";
3570                }
3571                visible: 1;
3572                color: ENTRY_BUBBLE_READ_STATUS_TIME_COLOR_INC;
3573                rel1 { relative: ENTRY_BUBBLE_READ_TIME_REL_INC; to_x: "elm.rect.time.pad"; to_y: "elm.rect.time.pad"; }
3574                rel2 { relative: ENTRY_BUBBLE_READ_TIME_REL_INC; to_x: "elm.rect.time.pad"; to_y: "elm.rect.time.pad"; }
3575             }
3576             description { state: "disabled" 0.0;
3577                inherit: "default" 0.0;
3578                visible: 0;
3579             }
3580          }
3581          part {
3582             name: "elm.swallow.icon1";
3583             type: SWALLOW;
3584             scale: 1;
3585             description {
3586                state: "default" 0.0;
3587                min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
3588                max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
3589                fixed: 1 1;
3590                align: 0.0 1.0;
3591                visible: 0;
3592                rel1 { relative: 1.5 0.3; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
3593                rel2 { relative: 1.0 0.3; to_y: "elm.rect.bottom.pad"; }
3594             }
3595             description { state: "enabled" 0.0;
3596                inherit: "default" 0.0;
3597                visible: 1;
3598             }
3599          }
3600          part {
3601             name: "elm.rect.middle.pad";
3602             type: RECT;
3603             scale: 1;
3604             description {
3605                state: "default" 0.0;
3606                min: 0 0;
3607                max: 0 0;
3608                align: 0.0 0.0;
3609                color: 0 0 0 0;
3610                rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.text"; }
3611             }
3612             description {
3613                state: "show" 0.0;
3614                inherit: "default" 0.0;
3615                min: 0 ENTRY_BUBBLE_MIDDLE_PAD;
3616                max: 0 ENTRY_BUBBLE_MIDDLE_PAD;
3617             }
3618          }
3619          part {
3620            name: "elm.swallow.end";
3621            type: SWALLOW;
3622            scale: 1;
3623            description { state: "default" 0.0;
3624               align: 0.0 0.0;
3625               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.middle.pad"; }
3626               rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
3627            }
3628          }
3629       }
3630       programs {
3631          program { name: "focus";
3632             signal: "load";
3633             source: "";
3634             action: FOCUS_SET;
3635             target: "elm.text";
3636          }
3637          program { name: "disable";
3638             signal: "elm,state,disabled";
3639             source: "elm";
3640             action: STATE_SET "disabled" 0.0;
3641             target: "elm.text";
3642          }
3643          program { name: "enable";
3644             signal: "elm,state,enabled";
3645             source: "elm";
3646             action: STATE_SET "default" 0.0;
3647             target: "elm.text";
3648          }
3649          program { name: "go_callerid_on";
3650             signal: "elm,state,callerid,enabled";
3651             source: "elm";
3652          script {
3653             new st[31];
3654             new Float:vl;
3655             get_state(PART:"elm.text", st, 30, vl);
3656             if (!strcmp(st, "default")) {
3657               set_state(PART:"elm.image.bg", "callerid_on", 0.0);
3658               set_state(PART:"elm.text", "callerid_on", 0.0);
3659                         }
3660             else if (!strcmp(st, "groupchat_on")) {
3661               set_state(PART:"elm.image.bg", "callerid_groupchat", 0.0);
3662               set_state(PART:"elm.text", "callerid_groupchat", 0.0);
3663                         }
3664
3665             set_state(PART:"elm.swallow.callerid", "callerid_on", 0.0);
3666             set_state(PART:"elm.rect.left.pad", "callerid_on", 0.0);
3667             set_state(PART:"elm.rect.groupchat.pad", "callerid_on", 0.0);
3668          }
3669          }
3670          program { name: "go_callerid_off";
3671             signal: "elm,state,callerid,disabled";
3672             source: "elm";
3673          script {
3674             new st[31];
3675             new Float:vl;
3676             get_state(PART:"elm.text", st, 30, vl);
3677             if (!strcmp(st, "callerid_groupchat")) {
3678               set_state(PART:"elm.image.bg", "groupchat_on", 0.0);
3679               set_state(PART:"elm.text", "groupchat_on", 0.0);
3680                         }
3681             else {
3682               set_state(PART:"elm.image.bg", "default", 0.0);
3683               set_state(PART:"elm.text", "default", 0.0);
3684                         }
3685
3686             set_state(PART:"elm.swallow.callerid", "default", 0.0);
3687             set_state(PART:"elm.rect.groupchat.pad", "default", 0.0);
3688                  }
3689          }
3690 /* groupchat - since white-hd theme */
3691 #if ENTRY_BUBBLE_GROUPCHART_ENABLE_INC
3692          program { name: "go_groupchat_on";
3693             signal: "elm,state,groupchat,enabled";
3694             source: "elm";
3695          script {
3696             new st[31];
3697             new Float:vl;
3698             get_state(PART:"elm.text", st, 30, vl);
3699             if (!strcmp(st, "default")) {
3700               set_state(PART:"elm.image.bg", "groupchat_on", 0.0);
3701               set_state(PART:"elm.text", "groupchat_on", 0.0);
3702                         }
3703             else if (!strcmp(st, "callerid_on")) {
3704               set_state(PART:"elm.image.bg", "callerid_groupchat", 0.0);
3705               set_state(PART:"elm.text", "callerid_groupchat", 0.0);
3706                         }
3707          }
3708          }
3709 #endif
3710          program { name: "go_textstatus_on";
3711             signal: "elm,state,text,status,enabled";
3712             source: "elm";
3713             action: STATE_SET "default" 0.0;
3714             target: "elm.text.time";
3715             target: "elm.text.status";
3716             after: "go_contentstatus_off";
3717          }
3718          program { name: "go_textstatus_off";
3719             signal: "elm,state,text,status,disbled";
3720             source: "elm";
3721             action: STATE_SET "disabled" 0.0;
3722             target: "elm.text.time";
3723             target: "elm.text.status";
3724          }
3725          program { name: "go_contentstatus_on";
3726             signal: "elm,state,content,status,enabled";
3727             source: "elm";
3728             action: STATE_SET "enabled" 0.0;
3729             target: "elm.swallow.icon1";
3730             after: "go_textstatus_off";
3731          }
3732          program { name: "go_contentstatus_off";
3733             signal: "elm,state,content,status,disabled";
3734             source: "elm";
3735             action: STATE_SET "default" 0.0;
3736             target: "elm.swallow.icon1";
3737          }
3738          program { name: "show_middle_pad";
3739             signal: "elm,state,middle,pad,enabled";
3740             source: "elm";
3741             action: STATE_SET "show" 0.0;
3742             target: "elm.rect.middle.pad";
3743          }
3744          program { name: "hide_middle_pad";
3745             signal: "elm,state,middle,pad,disabled";
3746             source: "elm";
3747             action: STATE_SET "default" 0.0;
3748             target: "elm.rect.middle.pad";
3749          }
3750       }
3751    }
3752
3753    group { name: "elm/entry/base-noedit-charwrap/readmessage";
3754       data.item: "default_font_size" "24";
3755       data.item: "min_font_size" "8";
3756       data.item: "max_font_size" "60";
3757       data {
3758          item: context_menu_orientation "horizontal";
3759       }
3760       parts {
3761          part {
3762             name: "elm.rect.left.pad";
3763             type: RECT;
3764             scale: 1;
3765             description {
3766                state: "default" 0.0;
3767                min: ENTRY_BUBBLE_EX_PAD 0;
3768                fixed: 1 0;
3769                align: 0.0 0.0;
3770                color: 0 0 0 0;
3771                rel2.relative: 0.0 1.0;
3772             }
3773          }
3774          part {
3775             name: "elm.rect.right.pad";
3776             type: RECT;
3777             scale: 1;
3778             description {
3779                state: "default" 0.0;
3780                min: ENTRY_BUBBLE_IX_PAD 0;
3781                fixed: 1 0;
3782                align: 0.0 0.0;
3783                color: 0 0 0 0;
3784                rel1 { relative: 1.0 0.0; to_x: "elm.text"; }
3785                rel2.to_x: "elm.text";
3786             }
3787          }
3788          part {
3789            name: "elm.rect.top.pad";
3790            type: RECT;
3791            scale: 1;
3792            description {
3793               state: "default" 0.0;
3794               min: 0 ENTRY_BUBBLE_Y_PAD;
3795               fixed: 0 1;
3796               align: 0.0 0.0;
3797               color: 0 0 0 0;
3798               rel2.relative: 1.0 0.0;
3799            }
3800          }
3801          part {
3802            name: "elm.rect.bottom.pad";
3803            type: RECT;
3804            scale: 1;
3805            description {
3806               state: "default" 0.0;
3807               min: 0 ENTRY_BUBBLE_Y_PAD;
3808               fixed: 0 1;
3809               align: 0.0 1.0;
3810               color: 0 0 0 0;
3811               rel1.relative: 0.0 1.0;
3812            }
3813          }
3814          part {
3815             name: "elm.image.bg";
3816             type: IMAGE;
3817             scale: 1;
3818             description {
3819                state: "default" 0.0;
3820                rel2.to_x: "elm.rect.right.pad";
3821                image {
3822                   normal: "00_messagebubble_bg_receive.png";
3823                   border: 1 20 13 20;
3824                   border_scale: 1;
3825                }
3826             }
3827          }
3828          part { name: "elm.text";
3829             type: TEXTBLOCK;
3830             mouse_events: 1;
3831             scale: 1;
3832             entry_mode: PLAIN;
3833             select_mode: BLOCK_HANDLE;
3834             //cursor_mode: BEFORE;
3835             multiline: 1;
3836             source: "elm/entry/selection/default"; // selection under
3837             //source2: "X"; // selection over
3838             //source3: "X"; // cursor under
3839             source5: "elm/entry/anchor/default"; // anchor under
3840             source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
3841             source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
3842             source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
3843             source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
3844             source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
3845             description { state: "default" 0.0;
3846                fixed: 1 0;
3847                align: 0.0 0.0;
3848                rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
3849                rel2 { relative: 1.0 0.0; to_y: "elm.rect.bottom.pad"; }
3850                text {
3851                   style: "entry_textblock_char_wrap_style";
3852                   min: 0 1;
3853                   max: 1 0;
3854                }
3855             }
3856             description { state: "disabled" 0.0;
3857                inherit: "default" 0.0;
3858                text {
3859                   style: "entry_textblock_char_wrap_disabled_style";
3860                }
3861             }
3862          }
3863       }
3864       programs {
3865          program { name: "focus";
3866             signal: "load";
3867             source: "";
3868             action: FOCUS_SET;
3869             target: "elm.text";
3870          }
3871          program { name: "disable";
3872             signal: "elm,state,disabled";
3873             source: "elm";
3874             action: STATE_SET "disabled" 0.0;
3875             target: "elm.text";
3876          }
3877          program { name: "enable";
3878             signal: "elm,state,enabled";
3879             source: "elm";
3880             action: STATE_SET "default" 0.0;
3881             target: "elm.text";
3882          }
3883       }
3884    }
3885
3886    group { name: "elm/entry/base/sentmessage";
3887       data.item: "default_font_size" "24";
3888       data.item: "min_font_size" "8";
3889       data.item: "max_font_size" "60";
3890       data {
3891          item: context_menu_orientation "horizontal";
3892       }
3893       parts {
3894          part {
3895             name: "elm.rect.right.pad";
3896             type: RECT;
3897             scale: 1;
3898             description {
3899                state: "default" 0.0;
3900                min: ENTRY_BUBBLE_EX_PAD 0;
3901                fixed: 1 0;
3902                align: 1.0 0.0;
3903                color: 0 0 0 0;
3904                rel1.relative: 1.0 0.0;
3905             }
3906          }
3907          part {
3908             name: "elm.rect.left.pad";
3909             type: RECT;
3910             scale: 1;
3911             description {
3912                state: "default" 0.0;
3913                min: ENTRY_BUBBLE_IX_PAD 0;
3914                fixed: 1 0;
3915                align: 1.0 0.0;
3916                color: 0 0 0 0;
3917                rel1 { relative: 0.0 0.0; to: "elm.text"; }
3918                rel2 { relative: 0.0 1.0; to: "elm.text"; }
3919             }
3920          }
3921          part {
3922            name: "elm.rect.top.pad";
3923            type: RECT;
3924            scale: 1;
3925            description {
3926               state: "default" 0.0;
3927               min: 0 ENTRY_BUBBLE_Y_PAD;
3928               fixed: 0 1;
3929               align: 0.0 0.0;
3930               color: 0 0 0 0;
3931               rel2.relative: 1.0 0.0;
3932            }
3933          }
3934          part {
3935            name: "elm.rect.bottom.pad";
3936            type: RECT;
3937            scale: 1;
3938            description {
3939               state: "default" 0.0;
3940               min: 0 ENTRY_BUBBLE_Y_PAD;
3941               fixed: 0 1;
3942               align: 0.0 1.0;
3943               color: 0 0 0 0;
3944               rel1.relative: 0.0 1.0;
3945            }
3946          }
3947          part {
3948             name: "elm.image.bg";
3949             type: IMAGE;
3950             scale: 1;
3951             description {
3952                state: "default" 0.0;
3953                rel1.to_x: "elm.rect.left.pad";
3954                image {
3955                   normal: "00_messagebubble_bg_sent.png";
3956                   border: 20 1 13 20;
3957                   border_scale: 1;
3958                }
3959             }
3960          }
3961          part { name: "elm.text";
3962             type: TEXTBLOCK;
3963             mouse_events: 1;
3964             scale: 1;
3965             entry_mode: EDITABLE;
3966             select_mode: BLOCK_HANDLE;
3967             //cursor_mode: BEFORE;
3968             multiline: 1;
3969             source: "elm/entry/selection/default"; // selection under
3970             //source2: "X"; // selection over
3971             //source3: "X"; // cursor under
3972             source4: "elm/entry/cursor/default"; // cursorover
3973             source5: "elm/entry/anchor/default"; // anchor under
3974 //          source6: "X"; // anchor over
3975             source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
3976             source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
3977             source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
3978             source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
3979             source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
3980             description { state: "default" 0.0;
3981                fixed: 1 0;
3982                align: 1.0 0.0;
3983                rel1 { relative: 0.0 1.0; to_y: "elm.rect.top.pad";}
3984                rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
3985                text {
3986                   style: "entry_textblock_style";
3987                   min: 0 1;
3988                   max: 1 0;
3989                }
3990             }
3991             description { state: "disabled" 0.0;
3992                inherit: "default" 0.0;
3993                text {
3994                   style: "entry_textblock_disabled_style";
3995                }
3996             }
3997          }
3998       }
3999       programs {
4000          program { name: "focus";
4001             signal: "load";
4002             source: "";
4003             action: FOCUS_SET;
4004             target: "elm.text";
4005          }
4006          program { name: "disable";
4007             signal: "elm,state,disabled";
4008             source: "elm";
4009             action: STATE_SET "disabled" 0.0;
4010             target: "elm.text";
4011          }
4012          program { name: "enable";
4013             signal: "elm,state,enabled";
4014             source: "elm";
4015             action: STATE_SET "default" 0.0;
4016             target: "elm.text";
4017          }
4018       }
4019    }
4020
4021    group { name: "elm/entry/base-noedit/sentmessage";
4022       data.item: "default_font_size" "24";
4023       data.item: "min_font_size" "8";
4024       data.item: "max_font_size" "60";
4025       data {
4026          item: context_menu_orientation "horizontal";
4027       }
4028       parts {
4029          part {
4030            name: "elm.rect.right.pad";
4031                type: RECT;
4032                scale: 1;
4033                description {
4034                   state: "default" 0.0;
4035                   min: ENTRY_BUBBLE_EX_PAD 0;
4036               fixed: 1 0;
4037                   align: 1.0 0.0;
4038               color: 0 0 0 0;
4039               rel1.relative: 1.0 0.0;
4040                }
4041                description {
4042                state: "callerid_on" 0.0;
4043                inherit: "default" 0.0;
4044                    min: ENTRY_BUBBLE_EX_CALLERID_PAD 0;
4045                }
4046          }
4047          part {
4048             name: "elm.rect.left.pad";
4049             type: RECT;
4050             scale: 1;
4051             description {
4052                state: "default" 0.0;
4053                min: ENTRY_BUBBLE_IX_PAD 0;
4054                fixed: 1 0;
4055                align: 1.0 0.0;
4056                color: 0 0 0 0;
4057                rel1 { relative: 0.0 0.0; to: "elm.text"; }
4058                rel2 { relative: 0.0 1.0; to: "elm.text"; }
4059             }
4060          }
4061          part {
4062            name: "elm.rect.topright.pad";
4063            type: RECT;
4064            scale: 1;
4065            description {
4066               state: "default" 0.0;
4067               min: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
4068               max: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
4069               align: 1.0 0.0;
4070               visible: 0;
4071               rel1.relative: 1.0 0.0;
4072            }
4073          }
4074          part {
4075            name: "elm.rect.top.pad";
4076            type: RECT;
4077            scale: 1;
4078            description {
4079               state: "default" 0.0;
4080               min: 0 ENTRY_BUBBLE_Y_PAD;
4081               fixed: 0 1;
4082               align: 0.0 0.0;
4083               color: 0 0 0 0;
4084               rel2.relative: 1.0 0.0;
4085            }
4086          }
4087          part {
4088            name: "elm.rect.bottom.pad";
4089            type: RECT;
4090            scale: 1;
4091            description {
4092               state: "default" 0.0;
4093               min: 0 ENTRY_BUBBLE_BOTTOM_PAD;
4094               fixed: 0 1;
4095               align: 0.0 1.0;
4096               color: 0 0 0 0;
4097               rel1.relative: 0.0 1.0;
4098            }
4099          }
4100          part {
4101            name: "elm.rect.bottomright.pad";
4102            type: RECT;
4103            scale: 1;
4104            description {
4105               state: "default" 0.0;
4106               min: ENTRY_BUBBLE_BOTTOMRIGHT_PAD  2;
4107               max: ENTRY_BUBBLE_BOTTOMRIGHT_PAD 2;
4108               align: 1.0 1.0;
4109                           visible: 0;
4110            }
4111          }
4112          part {
4113            name: "elm.rect.groupchat.pad";
4114            type: RECT;
4115            scale: 1;
4116            description {
4117               state: "default" 0.0;
4118               min: ENTRY_BUBBLE_GROUPCHART_PAD;
4119               max: ENTRY_BUBBLE_GROUPCHART_PAD;
4120               align: 1.0 0.0;
4121                           visible: 0;
4122            }
4123            description {
4124               state: "callerid_on" 0.0;
4125               inherit: "default" 0.0;
4126               min: ENTRY_BUBBLE_GROUPCHART_WITH_CALLERID_PAD;
4127               max: ENTRY_BUBBLE_GROUPCHART_WITH_CALLERID_PAD;
4128            }
4129          }
4130          part {
4131            name: "elm.rect.groupchat.text.pad";
4132            type: RECT;
4133            scale: 1;
4134            description {
4135               state: "default" 0.0;
4136               min: 120 14;
4137               max: 120 14;
4138               align: 0.0 0.0;
4139                           visible: 0;
4140                           rel1 { relative: 0.0 1.0; to: "elm.rect.groupchat.pad"; }
4141            }
4142          }
4143          part { name: "elm.text.groupchat";
4144             type: TEXT;
4145             scale: 1;
4146             description { state: "default" 0.0;
4147                align: 1.0 1.0;
4148                fixed: 1 1;
4149                text {
4150                   font: "Tizen:style=Roman";
4151                   size: ENTRY_BUBBLE_GROUPCHAT_SIZE_INC;
4152                   min: 1 0;
4153                                   align: 1.0 0.5;
4154                   text_class: "tizen";
4155                }
4156                visible: 1;
4157                color: ENTRY_BUBBLE_GROUPCHAT_COLOR_INC;
4158                rel2 { relative: 0.0 1.0; to: "elm.rect.groupchat.pad"; }
4159             }
4160          }
4161          part {
4162             name: "elm.image.bg";
4163             type: IMAGE;
4164             scale: 1;
4165             description {
4166                state: "default" 0.0;
4167            rel1.to_x: "elm.rect.left.pad";
4168                image {
4169                       normal: "00_messagebubble_bg_sent.png";
4170                       border: ENTRY_BUBBLE_SENT_BG_BORDER_INC;
4171                       border_scale: 1;
4172                }
4173             }
4174             description {
4175                state: "callerid_on" 0.0;
4176            inherit: "default" 0.0;
4177            rel2 { relative: 0.0 1.0; to: "elm.rect.bottomright.pad"; }
4178             }
4179             description {
4180                state: "callerid_groupchat" 0.0;
4181            inherit: "default" 0.0;
4182                    rel1 { relative: 0.0 1.0; to_x:"elm.rect.left.pad"; to_y:"elm.rect.groupchat.pad"; }
4183            rel2 { relative: 0.0 1.0; to: "elm.rect.bottomright.pad"; }
4184             }
4185             description {
4186                state: "groupchat_on" 0.0;
4187            inherit: "default" 0.0;
4188                    rel1 { relative: 0.0 1.0; to_x:"elm.rect.left.pad"; to_y:"elm.rect.groupchat.pad"; }
4189             }
4190          }
4191          // it's temporary blocked for prepare entry's signal feature
4192          /*
4193          part {
4194            name: "elm.text.subject";
4195            type: TEXTBLOCK;
4196            scale: 1;
4197            description {
4198               state: "default" 0.0;
4199               align: 0.0 0.0;
4200               text {
4201                  style: "entry_textblock_style";
4202                  min: 0 1;
4203               }
4204               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
4205               rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
4206            }
4207          }
4208          */
4209
4210          part {
4211            name: "elm.rect.subject.line";
4212            type: RECT;
4213            scale: 1;
4214            description {
4215               state: "default" 0.0;
4216               visible: 0;
4217               min: 0 1;
4218               align: 0.0 0.0;
4219               color: 0 0 0 255;
4220               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
4221               rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
4222            }
4223          }
4224          part {
4225             name: "elm.swallow.callerid";
4226             type: SWALLOW;
4227             scale: 1;
4228             description {
4229                state: "default" 0.0;
4230                min: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT;
4231                max: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT;
4232                align: 1.0 0.0;
4233                visible: 0;
4234                rel1 { relative: ENTRY_BUBBLE_CALLERID_RELATIVE_INC; to_x: "elm.rect.topright.pad"; to_y: "elm.rect.topright.pad"; }
4235                rel2 { relative: ENTRY_BUBBLE_CALLERID_RELATIVE_INC; to_x: "elm.rect.topright.pad"; to_y: "elm.rect.bottom.pad"; }
4236             }
4237             description { state: "callerid_on" 0.0;
4238                inherit: "default" 0.0;
4239                visible: 1;
4240             }
4241          }
4242          part {
4243             name: "elm.rect.callerid.pad";
4244             type: RECT;
4245             scale: 1;
4246             description {
4247                state: "default" 0.0;
4248                min: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
4249                max: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
4250                align: 1.0 0.0;
4251                visible: 0;
4252                rel1 { relative: 0.0 1.0; to_x: "elm.swallow.callerid"; to_y: "elm.rect.topright.pad"; }
4253                rel2 { relative: 0.0 1.0; to_x: "elm.swallow.callerid"; to_y: "elm.rect.bottom.pad"; }
4254                 }
4255          }
4256          part { name: "elm.text";
4257             type: TEXTBLOCK;
4258             mouse_events: 1;
4259             scale: 1;
4260             entry_mode: PLAIN;
4261             select_mode: BLOCK_HANDLE;
4262             //cursor_mode: BEFORE;
4263             multiline: 1;
4264             source: "elm/entry/selection/default"; // selection under
4265             //source2: "X"; // selection over
4266             //source3: "X"; // cursor under
4267             source5: "elm/entry/anchor/default"; // anchor under
4268             source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
4269             source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
4270             source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
4271             source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
4272             source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
4273             description {
4274            state: "default" 0.0;
4275            fixed: 1 0;
4276                    min: 200 0;
4277            align: 1.0 0.0;
4278            rel1 { relative: 0.0 1.0; to_y: "elm.rect.subject.line"; }
4279            rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.subject.line"; }
4280                text {
4281                       style: "entry_bubble_sent_textblock_style";
4282                       min: 0 1;
4283               max: 1 0;
4284                }
4285             }
4286                 /* callerid only */
4287             description { state: "callerid_on" 0.0;
4288                inherit: "default" 0.0;
4289                rel1 { relative: 0.0 1.0; to_y: "elm.rect.subject.line";}
4290                rel2 { relative: 0.0 1.0; to_x: ENTRY_BUBBLE_TEXT_CALLID_REL2_X_INC; to_y: "elm.rect.subject.line"; }
4291             }
4292                 /* callerid and groupchat */
4293             description { state: "callerid_groupchat" 0.0;
4294                inherit: "default" 0.0;
4295                rel1 { relative: 0.0 1.0; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
4296                rel2 { relative: 0.0 1.0; to_x: ENTRY_BUBBLE_TEXT_CALLID_REL2_X_INC; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
4297             }
4298                 /* groupchat only */
4299             description { state: "groupchat_on" 0.0;
4300                inherit: "default" 0.0;
4301                rel1 { relative: 0.0 1.0; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
4302                rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
4303             }
4304             description { state: "disabled" 0.0;
4305                inherit: "default" 0.0;
4306                text {
4307                   style: "entry_textblock_disabled_style";
4308                }
4309             }
4310          }
4311          part {
4312             name: "elm.rect.status.pad";
4313             type: RECT;
4314             scale: 1;
4315             description {
4316                state: "default" 0.0;
4317                min: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC 64;
4318                fixed: 1 1;
4319                align: 1.0 1.0;
4320                visible: 0;
4321                            color: 255 0 0 255;
4322                rel1 { relative: ENTRY_BUBBLE_STATUS_TIME_PAD_REL_INC; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
4323                rel2 { relative: ENTRY_BUBBLE_STATUS_TIME_PAD_REL_INC; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
4324             }
4325          }
4326          part {
4327             name: "elm.rect.time.pad";
4328             type: RECT;
4329             scale: 1;
4330             description {
4331                state: "default" 0.0;
4332                min: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC GENLIST_PADDING_34_INC;
4333                max: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC GENLIST_PADDING_34_INC;
4334                fixed: 1 1;
4335                align: 0.0 0.0;
4336                visible: 0;
4337                            color: 0 255 0 255;
4338                rel1.to: "elm.rect.status.pad";
4339                rel2 { relative: 0.0 1.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.bottom.pad"; }
4340             }
4341          }
4342          part { name: "elm.text.status";
4343             type: TEXT;
4344             scale: 1;
4345             description { state: "default" 0.0;
4346                align: 1.0 1.0;
4347                fixed: 1 1;
4348                text {
4349                   font: "Tizen:style=Roman";
4350                   size: ENTRY_BUBBLE_STATUS_TIME_SIZE_INC;
4351                   min: 1 0;
4352                   text_class: "tizen";
4353                }
4354                visible: 1;
4355                color: ENTRY_BUBBLE_SENT_STATUS_TIME_COLOR_INC;
4356                rel1 { relative: 0.0 0.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
4357                rel2 { relative: 0.0 0.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
4358             }
4359             description { state: "disabled" 0.0;
4360                inherit: "default" 0.0;
4361                visible: 0;
4362             }
4363          }
4364          part { name: "elm.text.time";
4365             type: TEXT;
4366             scale: 1;
4367             description { state: "default" 0.0;
4368                align: 1.0 0.0;
4369                fixed: 1 1;
4370                text {
4371                   font: "Tizen:style=Roman";
4372                   size: ENTRY_BUBBLE_STATUS_TIME_SIZE_INC;
4373                   min: 1 0;
4374                   text_class: "tizen";
4375                }
4376                visible: 1;
4377                color: ENTRY_BUBBLE_SENT_STATUS_TIME_COLOR_INC;
4378                rel1 { relative: 0.0 1.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.time.pad"; }
4379                rel2 { relative: 0.0 1.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.time.pad"; }
4380             }
4381             description { state: "disabled" 0.0;
4382                inherit: "default" 0.0;
4383                visible: 0;
4384             }
4385          }
4386          part {
4387             name: "elm.swallow.icon1";
4388             type: SWALLOW;
4389             scale: 1;
4390             description {
4391                state: "default" 0.0;
4392                min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
4393                max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
4394                fixed: 1 1;
4395                align: 1.0 1.0;
4396                visible: 0;
4397                rel1 { relative: -0.8 0.3; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
4398                rel2 { relative: -0.8 0.3; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
4399             }
4400             description { state: "enabled" 0.0;
4401                inherit: "default" 0.0;
4402                visible: 1;
4403             }
4404          }
4405          part {
4406             name: "elm.rect.middle.pad";
4407             type: RECT;
4408             scale: 1;
4409             description {
4410                state: "default" 0.0;
4411                min: 0 0;
4412                max: 0 0;
4413                align: 0.0 0.0;
4414                color: 0 0 0 0;
4415                rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.text"; }
4416             }
4417             description {
4418                state: "show" 0.0;
4419                inherit: "default" 0.0;
4420                min: 0 ENTRY_BUBBLE_MIDDLE_PAD;
4421                max: 0 ENTRY_BUBBLE_MIDDLE_PAD;
4422             }
4423          }
4424          part {
4425            name: "elm.swallow.end";
4426            type: SWALLOW;
4427            scale: 1;
4428            description {
4429               state: "default" 0.0;
4430               align: 0.0 0.0;
4431               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.middle.pad"; }
4432               rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
4433            }
4434          }
4435       }
4436       programs {
4437          program { name: "focus";
4438             signal: "load";
4439             source: "";
4440             action: FOCUS_SET;
4441             target: "elm.text";
4442          }
4443          program { name: "disable";
4444             signal: "elm,state,disabled";
4445             source: "elm";
4446             action: STATE_SET "disabled" 0.0;
4447             target: "elm.text";
4448          }
4449          program { name: "enable";
4450             signal: "elm,state,enabled";
4451             source: "elm";
4452             action: STATE_SET "default" 0.0;
4453             target: "elm.text";
4454          }
4455          program { name: "go_callerid_on";
4456             signal: "elm,state,callerid,enabled";
4457             source: "elm";
4458          script {
4459             new st[31];
4460             new Float:vl;
4461             get_state(PART:"elm.text", st, 30, vl);
4462             if (!strcmp(st, "default")) {
4463               set_state(PART:"elm.image.bg", "callerid_on", 0.0);
4464               set_state(PART:"elm.text", "callerid_on", 0.0);
4465                         }
4466             else if (!strcmp(st, "groupchat_on")) {
4467               set_state(PART:"elm.image.bg", "callerid_groupchat", 0.0);
4468               set_state(PART:"elm.text", "callerid_groupchat", 0.0);
4469                         }
4470
4471             set_state(PART:"elm.swallow.callerid", "callerid_on", 0.0);
4472             set_state(PART:"elm.rect.right.pad", "callerid_on", 0.0);
4473             set_state(PART:"elm.rect.groupchat.pad", "callerid_on", 0.0);
4474          }
4475          }
4476          program { name: "go_callerid_off";
4477             signal: "elm,state,callerid,disabled";
4478             source: "elm";
4479          script {
4480             new st[31];
4481             new Float:vl;
4482             get_state(PART:"elm.text", st, 30, vl);
4483             if (!strcmp(st, "callerid_groupchat")) {
4484               set_state(PART:"elm.image.bg", "groupchat_on", 0.0);
4485               set_state(PART:"elm.text", "groupchat_on", 0.0);
4486                         }
4487             else {
4488               set_state(PART:"elm.image.bg", "default", 0.0);
4489               set_state(PART:"elm.text", "default", 0.0);
4490                         }
4491
4492             set_state(PART:"elm.swallow.callerid", "default", 0.0);
4493             set_state(PART:"elm.rect.groupchat.pad", "default", 0.0);
4494                  }
4495          }
4496 /* groupchat - since white-hd theme */
4497 #if ENTRY_BUBBLE_GROUPCHART_ENABLE_INC
4498          program { name: "go_groupchat_on";
4499             signal: "elm,state,groupchat,enabled";
4500             source: "elm";
4501          script {
4502             new st[31];
4503             new Float:vl;
4504             get_state(PART:"elm.text", st, 30, vl);
4505             if (!strcmp(st, "default")) {
4506               set_state(PART:"elm.image.bg", "groupchat_on", 0.0);
4507               set_state(PART:"elm.text", "groupchat_on", 0.0);
4508                         }
4509             else if (!strcmp(st, "callerid_on")) {
4510               set_state(PART:"elm.image.bg", "callerid_groupchat", 0.0);
4511               set_state(PART:"elm.text", "callerid_groupchat", 0.0);
4512                         }
4513          }
4514          }
4515 #endif
4516          program { name: "go_groupchat_off";
4517             signal: "elm,state,groupchat,disabled";
4518             source: "elm";
4519          script {
4520             new st[31];
4521             new Float:vl;
4522             get_state(PART:"elm.text", st, 30, vl);
4523             if (!strcmp(st, "callerid_groupchat")) {
4524               set_state(PART:"elm.image.bg", "callerid_on", 0.0);
4525               set_state(PART:"elm.text", "callerid_on", 0.0);
4526                         }
4527             else {
4528               set_state(PART:"elm.image.bg", "default", 0.0);
4529               set_state(PART:"elm.text", "default", 0.0);
4530                         }
4531                  }
4532          }
4533          program { name: "go_textstatus_on";
4534             signal: "elm,state,text,status,enabled";
4535             source: "elm";
4536             action: STATE_SET "default" 0.0;
4537             target: "elm.text.time";
4538             target: "elm.text.status";
4539             after: "go_contentstatus_off";
4540          }
4541          program { name: "go_textstatus_off";
4542             signal: "elm,state,text,status,disbled";
4543             source: "elm";
4544             action: STATE_SET "disabled" 0.0;
4545             target: "elm.text.time";
4546             target: "elm.text.status";
4547          }
4548          program { name: "go_contentstatus_on";
4549             signal: "elm,state,content,status,enabled";
4550             source: "elm";
4551             action: STATE_SET "enabled" 0.0;
4552             target: "elm.swallow.icon1";
4553             after: "go_textstatus_off";
4554          }
4555          program { name: "go_contentstatus_off";
4556             signal: "elm,state,content,status,disabled";
4557             source: "elm";
4558             action: STATE_SET "default" 0.0;
4559             target: "elm.swallow.icon1";
4560          }
4561          program { name: "show_middle_pad";
4562             signal: "elm,state,middle,pad,enabled";
4563             source: "elm";
4564             action: STATE_SET "show" 0.0;
4565             target: "elm.rect.middle.pad";
4566          }
4567          program { name: "hide_middle_pad";
4568             signal: "elm,state,middle,pad,disabled";
4569             source: "elm";
4570             action: STATE_SET "default" 0.0;
4571             target: "elm.rect.middle.pad";
4572          }
4573       }
4574    }
4575
4576    group { name: "elm/entry/base-noedit-charwrap/sentmessage";
4577       data.item: "default_font_size" "24";
4578       data.item: "min_font_size" "8";
4579       data.item: "max_font_size" "60";
4580       data {
4581          item: context_menu_orientation "horizontal";
4582       }
4583       parts {
4584          part {
4585             name: "elm.rect.right.pad";
4586             type: RECT;
4587             scale: 1;
4588             description {
4589                state: "default" 0.0;
4590                min: ENTRY_BUBBLE_EX_PAD 0;
4591                fixed: 1 0;
4592                align: 1.0 0.0;
4593                color: 0 0 0 0;
4594                rel1.relative: 1.0 0.0;
4595             }
4596          }
4597          part {
4598             name: "elm.rect.left.pad";
4599             type: RECT;
4600             scale: 1;
4601             description {
4602                state: "default" 0.0;
4603                min: ENTRY_BUBBLE_IX_PAD 0;
4604                fixed: 1 0;
4605                align: 1.0 0.0;
4606                color: 0 0 0 0;
4607                rel1 { relative: 0.0 0.0; to: "elm.text"; }
4608                rel2 { relative: 0.0 1.0; to: "elm.text"; }
4609             }
4610          }
4611          part {
4612            name: "elm.rect.top.pad";
4613            type: RECT;
4614            scale: 1;
4615            description {
4616               state: "default" 0.0;
4617               min: 0 ENTRY_BUBBLE_Y_PAD;
4618               fixed: 0 1;
4619               align: 0.0 0.0;
4620               color: 0 0 0 0;
4621               rel2.relative: 1.0 0.0;
4622            }
4623          }
4624          part {
4625            name: "elm.rect.bottom.pad";
4626            type: RECT;
4627            scale: 1;
4628            description {
4629               state: "default" 0.0;
4630               min: 0 ENTRY_BUBBLE_Y_PAD;
4631               fixed: 0 1;
4632               align: 0.0 1.0;
4633               color: 0 0 0 0;
4634               rel1.relative: 0.0 1.0;
4635            }
4636          }
4637          part {
4638             name: "elm.image.bg";
4639             type: IMAGE;
4640             scale: 1;
4641             description {
4642                state: "default" 0.0;
4643                rel1.to_x: "elm.rect.left.pad";
4644                image {
4645                   normal: "00_messagebubble_bg_sent.png";
4646                   border: 20 1 13 20;
4647                   border_scale: 1;
4648                }
4649             }
4650          }
4651          part { name: "elm.text";
4652             type: TEXTBLOCK;
4653             mouse_events: 1;
4654             scale: 1;
4655             entry_mode: PLAIN;
4656             select_mode: BLOCK_HANDLE;
4657             //cursor_mode: BEFORE;
4658             multiline: 1;
4659             source: "elm/entry/selection/default"; // selection under
4660             //source2: "X"; // selection over
4661             //source3: "X"; // cursor under
4662             source5: "elm/entry/anchor/default"; // anchor under
4663             source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
4664             source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
4665             source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
4666             source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
4667             source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
4668             description { state: "default" 0.0;
4669                fixed: 1 0;
4670                align: 1.0 0.0;
4671                rel1 { relative: 0.0 1.0; to_y: "elm.rect.top.pad";}
4672                rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
4673                text {
4674                   style: "entry_textblock_char_wrap_style";
4675                   min: 0 1;
4676                   max: 1 0;
4677                }
4678             }
4679             description { state: "disabled" 0.0;
4680                inherit: "default" 0.0;
4681                text {
4682                   style: "entry_textblock_char_wrap_disabled_style";
4683                }
4684             }
4685          }
4686       }
4687       programs {
4688          program { name: "focus";
4689             signal: "load";
4690             source: "";
4691             action: FOCUS_SET;
4692             target: "elm.text";
4693          }
4694          program { name: "disable";
4695             signal: "elm,state,disabled";
4696             source: "elm";
4697             action: STATE_SET "disabled" 0.0;
4698             target: "elm.text";
4699          }
4700          program { name: "enable";
4701             signal: "elm,state,enabled";
4702             source: "elm";
4703             action: STATE_SET "default" 0.0;
4704             target: "elm.text";
4705          }
4706       }
4707    }
4708
4709 group { name: "elm/entry/base/font_color_black";
4710    alias: "elm/entry/base-mixedwrap/font_color_black";
4711    alias: "elm/entry/base/font_color_black/default";
4712    alias: "elm/entry/base/font_color_black/lighting";
4713    alias: "elm/entry/base/font_color_black/multiline";
4714    alias: "elm/entry/base/font_color_black/multiline/default";
4715    alias: "elm/entry/base/font_color_black/multiline/lighting";
4716    alias: "elm/entry/base/editfield/font_color_black";
4717
4718    data.item: "default_font_size" "24";
4719    data.item: "min_font_size" "8";
4720    data.item: "max_font_size" "60";
4721
4722    styles {
4723       style { name: "font_color_black_textblock_style";
4724          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=mixed left_margin=1 right_margin=2 text_class=entry";
4725          tag:  "br" "\n";
4726          tag:  "ps" "ps";
4727          tag:  "tab" "\t";
4728          tag:  "em" "+ font=Tizen:style=Oblique";
4729          tag:  "b" "+ font=Tizen:style=Bold";
4730          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
4731          tag:  "hilight" "+ font=Tizen:style=Bold";
4732          tag:  "preedit" "+ underline=on underline_color=#000000FF";
4733          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
4734          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
4735          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
4736          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
4737          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
4738       }
4739       style { name: "font_color_black_textblock_disabled_style";
4740          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=mixed left_margin=1 right_margin=2 text_class=entry";
4741          tag:  "br" "\n";
4742          tag:  "ps" "ps";
4743          tag:  "tab" "\t";
4744          tag:  "em" "+ font=Tizen:style=Oblique";
4745          tag:  "b" "+ font=Tizen:style=Bold";
4746          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
4747          tag:  "hilight" "+ font=Tizen:style=Bold";
4748          tag:  "preedit" "+ underline=on underline_color=#000000FF";
4749          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
4750          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
4751          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
4752          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
4753          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
4754       }
4755       style { name: "font_color_black_textblock_guide_style";
4756          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#90A9C7 wrap=mixed left_margin=1 right_margin=2 text_class=entry";
4757          tag:  "br" "\n";
4758          tag:  "ps" "ps";
4759          tag:  "tab" "\t";
4760          tag:  "em" "+ font=Tizen:style=Oblique";
4761          tag:  "b" "+ font=Tizen:style=Bold";
4762          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
4763          tag:  "hilight" "+ font=Tizen:style=Bold";
4764       }
4765    }
4766    data {
4767       item: context_menu_orientation "horizontal";
4768    }
4769    ENTRY_FOCUS_DATA
4770    ENTRY_FOCUS_IMAGE
4771    parts {
4772       ENTRY_FOCUS_PARTS
4773       part { name: "elm.guide";
4774          type: TEXTBLOCK;
4775          mouse_events: 0;
4776          scale: 1;
4777          description { state: "default" 0.0;
4778             rel1.to: "elm.text";
4779             rel2.to: "elm.text";
4780             text {
4781                style: "font_color_black_textblock_guide_style";
4782                min: 0 1;
4783                align: 0.0 0.0;
4784             }
4785          }
4786          description { state: "hidden" 0.0;
4787             inherit: "default" 0.0;
4788             visible: 0;
4789          }
4790       }
4791       part { name: "elm.text";
4792          type: TEXTBLOCK;
4793          mouse_events: 1;
4794          scale: 1;
4795          entry_mode: EDITABLE;
4796          select_mode: BLOCK_HANDLE;
4797          //cursor_mode: BEFORE;
4798          multiline: 1;
4799          source: "elm/entry/selection/default"; // selection under
4800          //source2: "X"; // selection over
4801          //source3: "X"; // cursor under
4802          source4: "elm/entry/cursor/default"; // cursorover
4803          source5: "elm/entry/anchor/default"; // anchor under
4804          //source6: "X"; // anchor over
4805          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
4806          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
4807          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
4808          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
4809          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
4810          description { state: "default" 0.0;
4811             fixed: 1 0;
4812             text {
4813                style: "font_color_black_textblock_style";
4814                min: 0 1;
4815             }
4816             ENTRY_TEXTBLOCK_DEFAULT_REL
4817          }
4818          description { state: "disabled" 0.0;
4819             inherit: "default" 0.0;
4820             text {
4821                style: "font_color_black_textblock_disabled_style";
4822                min: 0 1;
4823             }
4824          }
4825       }
4826       ENTRY_SWALLOW_PARTS
4827    }
4828    ENTRY_SWALLOW_SCRIPT_PUBLIC
4829    programs {
4830       program { name: "focus";
4831          signal: "load";
4832          source: "";
4833          action: FOCUS_SET;
4834          target: "elm.text";
4835       }
4836       program { name: "disable";
4837          signal: "elm,state,disabled";
4838          source: "elm";
4839          action: STATE_SET "disabled" 0.0;
4840          target: "elm.text";
4841       }
4842       program { name: "enable";
4843          signal: "elm,state,enabled";
4844          source: "elm";
4845          action: STATE_SET "default" 0.0;
4846          target: "elm.text";
4847       }
4848       program { name: "gdisable";
4849          signal: "elm,guide,disabled";
4850          source: "elm";
4851          action: STATE_SET "hidden" 0.0;
4852          target: "elm.guide";
4853       }
4854       program { name: "genable";
4855          signal: "elm,guide,enabled";
4856          source: "elm";
4857          action: STATE_SET "default" 0.0;
4858          target: "elm.guide";
4859       }
4860       program { name: "touch_snd";
4861          signal: "mouse,clicked,1";
4862          source: "elm.text";
4863          action: PLAY_SAMPLE "touch_sound" 1.0;
4864       }
4865       ENTRY_SWALLOW_PROGRAMS
4866       ENTRY_FOCUS_PROGRAMS
4867    }
4868 }
4869
4870 group { name: "elm/entry/base-noedit/font_color_black";
4871    data.item: "default_font_size" "24";
4872    data.item: "min_font_size" "8";
4873    data.item: "max_font_size" "60";
4874    data {
4875       item: context_menu_orientation "horizontal";
4876    }
4877    parts {
4878       part { name: "elm.guide";
4879          type: TEXTBLOCK;
4880          mouse_events: 0;
4881          scale: 1;
4882          description { state: "default" 0.0;
4883             rel1.to: "elm.text";
4884             rel2.to: "elm.text";
4885             text {
4886                style: "font_color_black_textblock_guide_style";
4887                min: 0 1;
4888                align: 0.0 0.0;
4889             }
4890          }
4891          description { state: "hidden" 0.0;
4892             inherit: "default" 0.0;
4893             visible: 0;
4894          }
4895       }
4896       part { name: "elm.text";
4897          type: TEXTBLOCK;
4898          mouse_events: 1;
4899          scale: 1;
4900          entry_mode: PLAIN;
4901          select_mode: BLOCK_HANDLE;
4902          //cursor_mode: BEFORE;
4903          multiline: 1;
4904          source: "elm/entry/selection/default"; // selection under
4905          //source2: "X"; // selection over
4906          //source3: "X"; // cursor under
4907          source4: "elm/entry/cursor/default"; // cursorover
4908          source5: "elm/entry/anchor/default"; // anchor under
4909          //source6: "X"; // anchor over
4910          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
4911          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
4912          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
4913          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
4914          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
4915          description { state: "default" 0.0;
4916             fixed: 1 0;
4917             text {
4918                style: "font_color_black_textblock_style";
4919                min: 0 1;
4920             }
4921          }
4922          description { state: "disabled" 0.0;
4923             inherit: "default" 0.0;
4924             text {
4925                style: "font_color_black_textblock_disabled_style";
4926                min: 0 1;
4927             }
4928          }
4929       }
4930    }
4931    programs {
4932       program { name: "focus";
4933          signal: "load";
4934          source: "";
4935          action: FOCUS_SET;
4936          target: "elm.text";
4937       }
4938       program { name: "disable";
4939          signal: "elm,state,disabled";
4940          source: "elm";
4941          action: STATE_SET "disabled" 0.0;
4942          target: "elm.text";
4943       }
4944       program { name: "enable";
4945          signal: "elm,state,enabled";
4946          source: "elm";
4947          action: STATE_SET "default" 0.0;
4948          target: "elm.text";
4949       }
4950       program { name: "gdisable";
4951          signal: "elm,guide,disabled";
4952          source: "elm";
4953          action: STATE_SET "hidden" 0.0;
4954          target: "elm.guide";
4955       }
4956       program { name: "genable";
4957          signal: "elm,guide,enabled";
4958          source: "elm";
4959          action: STATE_SET "default" 0.0;
4960          target: "elm.guide";
4961       }
4962       program { name: "touch_snd";
4963          signal: "mouse,clicked,1";
4964          source: "elm.text";
4965          action: PLAY_SAMPLE "touch_sound" 1.0;
4966       }
4967    }
4968 }
4969
4970 group { name: "elm/entry/base-charwrap/font_color_black";
4971    alias: "elm/entry/base/font_color_black/char_wrap";
4972    alias: "elm/entry/base/font_color_black/default/char_wrap";
4973    alias: "elm/entry/base/font_color_black/lighting/char_wrap";
4974    alias: "elm/entry/base/font_color_black/multiline/char_wrap";
4975    alias: "elm/entry/base/font_color_black/multiline/default/char_wrap";
4976    alias: "elm/entry/base/font_color_black/multiline/lighting/char_wrap";
4977    alias: "elm/entry/base-charwrap/editfield/font_color_black";
4978
4979    data.item: "default_font_size" "24";
4980    data.item: "min_font_size" "8";
4981    data.item: "max_font_size" "60";
4982
4983    styles {
4984       style { name: "font_color_black_textblock_char_wrap_style";
4985          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=char left_margin=1 right_margin=2 text_class=entry";
4986          tag:  "br" "\n";
4987          tag:  "ps" "ps";
4988          tag:  "tab" "\t";
4989          tag:  "em" "+ font=Tizen:style=Oblique";
4990          tag:  "b" "+ font=Tizen:style=Bold";
4991          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
4992          tag:  "hilight" "+ font=Tizen:style=Bold";
4993          tag:  "preedit" "+ underline=on underline_color=#000000FF";
4994          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
4995          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
4996          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
4997          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
4998          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
4999       }
5000       style { name: "font_color_black_textblock_char_wrap_disabled_style";
5001          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=char left_margin=1 right_margin=2 text_class=entry";
5002          tag:  "br" "\n";
5003          tag:  "ps" "ps";
5004          tag:  "tab" "\t";
5005          tag:  "em" "+ font=Tizen:style=Oblique";
5006          tag:  "b" "+ font=Tizen:style=Bold";
5007          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
5008          tag:  "hilight" "+ font=Tizen:style=Bold";
5009          tag:  "preedit" "+ underline=on underline_color=#000000FF";
5010          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
5011          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
5012          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
5013          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
5014          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
5015       }
5016       style { name: "font_color_black_textblock_char_wrap_guide_style";
5017          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#90A9C7 wrap=char left_margin=1 right_margin=2 text_class=entry";
5018          tag:  "br" "\n";
5019          tag:  "ps" "ps";
5020          tag:  "tab" "\t";
5021          tag:  "em" "+ font=Tizen:style=Oblique";
5022          tag:  "b" "+ font=Tizen:style=Bold";
5023          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
5024          tag:  "hilight" "+ font=Tizen:style=Bold";
5025       }
5026    }
5027    data {
5028       item: context_menu_orientation "horizontal";
5029    }
5030    ENTRY_FOCUS_DATA
5031    ENTRY_FOCUS_IMAGE
5032    parts {
5033       ENTRY_FOCUS_PARTS
5034       part { name: "elm.guide";
5035          type: TEXTBLOCK;
5036          mouse_events: 0;
5037          scale: 1;
5038          description { state: "default" 0.0;
5039             rel1.to: "elm.text";
5040             rel2.to: "elm.text";
5041             text {
5042                style: "font_color_black_textblock_char_wrap_guide_style";
5043                min: 0 1;
5044                align: 0.0 0.0;
5045             }
5046          }
5047          description { state: "hidden" 0.0;
5048             inherit: "default" 0.0;
5049             visible: 0;
5050          }
5051       }
5052       part { name: "elm.text";
5053          type: TEXTBLOCK;
5054          mouse_events: 1;
5055          scale: 1;
5056          entry_mode: EDITABLE;
5057          select_mode: BLOCK_HANDLE;
5058          //cursor_mode: BEFORE;
5059          multiline: 1;
5060          source: "elm/entry/selection/default"; // selection under
5061          //source2: "X"; // selection over
5062          //source3: "X"; // cursor under
5063          source4: "elm/entry/cursor/default"; // cursorover
5064          source5: "elm/entry/anchor/default"; // anchor under
5065          //source6: "X"; // anchor over
5066          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
5067          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
5068          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
5069          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
5070          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
5071          description { state: "default" 0.0;
5072             fixed: 1 0;
5073             text {
5074                style: "font_color_black_textblock_char_wrap_style";
5075                min: 0 1;
5076             }
5077             ENTRY_TEXTBLOCK_DEFAULT_REL
5078          }
5079          description { state: "disabled" 0.0;
5080             inherit: "default" 0.0;
5081             text {
5082                style: "font_color_black_textblock_char_wrap_disabled_style";
5083                min: 0 1;
5084             }
5085          }
5086       }
5087       ENTRY_SWALLOW_PARTS
5088    }
5089    ENTRY_SWALLOW_SCRIPT_PUBLIC
5090    programs {
5091       program { name: "focus";
5092          signal: "load";
5093          source: "";
5094          action: FOCUS_SET;
5095          target: "elm.text";
5096       }
5097       program { name: "disable";
5098          signal: "elm,state,disabled";
5099          source: "elm";
5100          action: STATE_SET "disabled" 0.0;
5101          target: "elm.text";
5102       }
5103       program { name: "enable";
5104          signal: "elm,state,enabled";
5105          source: "elm";
5106          action: STATE_SET "default" 0.0;
5107          target: "elm.text";
5108       }
5109       program { name: "gdisable";
5110          signal: "elm,guide,disabled";
5111          source: "elm";
5112          action: STATE_SET "hidden" 0.0;
5113          target: "elm.guide";
5114       }
5115       program { name: "genable";
5116          signal: "elm,guide,enabled";
5117          source: "elm";
5118          action: STATE_SET "default" 0.0;
5119          target: "elm.guide";
5120       }
5121       program { name: "touch_snd";
5122          signal: "mouse,clicked,1";
5123          source: "elm.text";
5124          action: PLAY_SAMPLE "touch_sound" 1.0;
5125       }
5126       ENTRY_SWALLOW_PROGRAMS
5127       ENTRY_FOCUS_PROGRAMS
5128    }
5129 }
5130
5131 group { name: "elm/entry/base-single/font_color_black";
5132    alias: "elm/entry/base-single/font_color_black/default";
5133    alias: "elm/entry/base-single/font_color_black/lighting";
5134    alias: "elm/entry/base-single/font_color_black/singleline";
5135    alias: "elm/entry/base-single/font_color_black/singleline/default";
5136    alias: "elm/entry/base-single/font_color_black/singleline/lighting";
5137    alias: "elm/entry/base-single/editfield/font_color_black";
5138    alias: "elm/entry/base-single/editfield/searchbar/font_color_black";
5139
5140    data.item: "default_font_size" "24";
5141    data.item: "min_font_size" "8";
5142    data.item: "max_font_size" "60";
5143
5144    styles {
5145       style { name: "font_color_black_single_textblock_style";
5146          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=none left_margin=1 right_margin=3 text_class=entry";
5147          tag:  "br" "\n";
5148          tag:  "ps" "ps";
5149          tag:  "tab" "\t";
5150          tag:  "em" "+ font=Tizen:style=Oblique";
5151          tag:  "b" "+ font=Tizen:style=Bold";
5152          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
5153          tag:  "hilight" "+ font=Tizen:style=Bold";
5154          tag:  "preedit" "+ underline=on underline_color=#000000FF";
5155          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
5156          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
5157          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
5158          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
5159          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
5160       }
5161       style { name: "font_color_black_single_textblock_disabled_style";
5162          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=none left_margin=1 right_margin=3 text_class=entry";
5163          tag:  "br" "\n";
5164          tag:  "ps" "ps";
5165          tag:  "tab" "\t";
5166          tag:  "em" "+ font=Tizen:style=Oblique";
5167          tag:  "b" "+ font=Tizen:style=Bold";
5168          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
5169          tag:  "hilight" "+ font=Tizen:style=Bold";
5170          tag:  "preedit" "+ underline=on underline_color=#000000FF";
5171          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
5172          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
5173          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
5174          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
5175          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
5176       }
5177       style { name: "font_color_black_single_textblock_guide_style";
5178          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#90A9C7 wrap=none left_margin=1 right_margin=3 text_class=entry";
5179          tag:  "br" "\n";
5180          tag:  "ps" "ps";
5181          tag:  "tab" "\t";
5182          tag:  "em" "+ font=Tizen:style=Oblique";
5183          tag:  "b" "+ font=Tizen:style=Bold";
5184          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
5185          tag:  "hilight" "+ font=Tizen:style=Bold";
5186       }
5187    }
5188    data {
5189       item: context_menu_orientation "horizontal";
5190    }
5191    ENTRY_FOCUS_DATA
5192    ENTRY_FOCUS_IMAGE
5193    parts {
5194       ENTRY_FOCUS_PARTS
5195       part { name: "elm.guide";
5196          type: TEXTBLOCK;
5197          mouse_events: 0;
5198          scale: 1;
5199          description { state: "default" 0.0;
5200             rel1.to: "elm.text";
5201             rel2.to: "elm.text";
5202             text {
5203                style: "font_color_black_single_textblock_guide_style";
5204                min: 0 1;
5205                max: 0 1;
5206             }
5207          }
5208          description { state: "hidden" 0.0;
5209             inherit: "default" 0.0;
5210             visible: 0;
5211          }
5212       }
5213       part { name: "elm.text";
5214          type: TEXTBLOCK;
5215          mouse_events: 1;
5216          scale: 1;
5217          entry_mode: EDITABLE;
5218          select_mode: BLOCK_HANDLE;
5219          //cursor_mode: BEFORE;
5220          multiline: 0;
5221          source: "elm/entry/selection/default"; // selection under
5222          //source2: "X"; // selection over
5223          //source3: "X"; // cursor under
5224          source4: "elm/entry/cursor/default"; // cursorover
5225          source5: "elm/entry/anchor/default"; // anchor under
5226          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
5227          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
5228          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
5229          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
5230          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
5231          description { state: "default" 0.0;
5232             text {
5233                style: "font_color_black_single_textblock_style";
5234                min: 1 1;
5235                max: 0 1;
5236             }
5237             ENTRY_TEXTBLOCK_DEFAULT_REL
5238          }
5239          description { state: "disabled" 0.0;
5240             inherit: "default" 0.0;
5241             text {
5242                style: "font_color_black_single_textblock_disabled_style";
5243             }
5244          }
5245       }
5246       ENTRY_SWALLOW_PARTS
5247    }
5248    ENTRY_SWALLOW_SCRIPT_PUBLIC
5249    programs {
5250       program { name: "focus";
5251          signal: "load";
5252          source: "";
5253          action: FOCUS_SET;
5254          target: "elm.text";
5255       }
5256       program { name: "disable";
5257          signal: "elm,state,disabled";
5258          source: "elm";
5259          action: STATE_SET "disabled" 0.0;
5260          target: "elm.text";
5261       }
5262       program { name: "enable";
5263          signal: "elm,state,enabled";
5264          source: "elm";
5265          action: STATE_SET "default" 0.0;
5266          target: "elm.text";
5267       }
5268       program { name: "gdisable";
5269          signal: "elm,guide,disabled";
5270          source: "elm";
5271          action: STATE_SET "hidden" 0.0;
5272          target: "elm.guide";
5273       }
5274       program { name: "genable";
5275          signal: "elm,guide,enabled";
5276          source: "elm";
5277          action: STATE_SET "default" 0.0;
5278          target: "elm.guide";
5279       }
5280       program { name: "touch_snd";
5281          signal: "mouse,clicked,1";
5282          source: "elm.text";
5283          action: PLAY_SAMPLE "touch_sound" 1.0;
5284       }
5285       ENTRY_SWALLOW_PROGRAMS
5286       ENTRY_FOCUS_PROGRAMS
5287    }
5288 }
5289
5290 group { name: "elm/entry/base-single-noedit/font_color_black";
5291    data.item: "default_font_size" "24";
5292    data.item: "min_font_size" "8";
5293    data.item: "max_font_size" "60";
5294    data {
5295       item: context_menu_orientation "horizontal";
5296    }
5297    parts {
5298       part { name: "elm.guide";
5299          type: TEXTBLOCK;
5300          mouse_events: 0;
5301          scale: 1;
5302          description { state: "default" 0.0;
5303             rel1.to: "elm.text";
5304             rel2.to: "elm.text";
5305             text {
5306                style: "font_color_black_single_textblock_guide_style";
5307                min: 0 1;
5308                max: 0 1;
5309             }
5310          }
5311          description { state: "hidden" 0.0;
5312             inherit: "default" 0.0;
5313             visible: 0;
5314          }
5315       }
5316       part { name: "elm.text";
5317          type: TEXTBLOCK;
5318          mouse_events: 1;
5319          scale: 1;
5320          entry_mode: PLAIN;
5321          select_mode: BLOCK_HANDLE;
5322          //cursor_mode: BEFORE;
5323          multiline: 0;
5324          source: "elm/entry/selection/default"; // selection under
5325          //source2: "X"; // selection over
5326          //source3: "X"; // cursor under
5327          source4: "elm/entry/cursor/default"; // cursorover
5328          source5: "elm/entry/anchor/default"; // anchor under
5329          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
5330          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
5331          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
5332          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
5333          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
5334          description { state: "default" 0.0;
5335             text {
5336                style: "font_color_black_single_textblock_style";
5337                min: 1 1;
5338                max: 0 1;
5339             }
5340          }
5341          description { state: "disabled" 0.0;
5342             inherit: "default" 0.0;
5343             text {
5344                style: "font_color_black_single_textblock_disabled_style";
5345             }
5346          }
5347       }
5348    }
5349    programs {
5350       program { name: "focus";
5351          signal: "load";
5352          source: "";
5353          action: FOCUS_SET;
5354          target: "elm.text";
5355       }
5356       program { name: "disable";
5357          signal: "elm,state,disabled";
5358          source: "elm";
5359          action: STATE_SET "disabled" 0.0;
5360          target: "elm.text";
5361       }
5362       program { name: "enable";
5363          signal: "elm,state,enabled";
5364          source: "elm";
5365          action: STATE_SET "default" 0.0;
5366          target: "elm.text";
5367       }
5368       program { name: "gdisable";
5369          signal: "elm,guide,disabled";
5370          source: "elm";
5371          action: STATE_SET "hidden" 0.0;
5372          target: "elm.guide";
5373       }
5374       program { name: "genable";
5375          signal: "elm,guide,enabled";
5376          source: "elm";
5377          action: STATE_SET "default" 0.0;
5378          target: "elm.guide";
5379       }
5380       program { name: "touch_snd";
5381          signal: "mouse,clicked,1";
5382          source: "elm.text";
5383          action: PLAY_SAMPLE "touch_sound" 1.0;
5384       }
5385    }
5386 }
5387 group { name: "elm/entry/base-single/font_color_black/tizen_text_class";
5388    inherit: "elm/entry/base-single/font_color_black";
5389    styles {
5390       style { name: "tizen_text_class_single_textblock_style";
5391          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=none left_margin=1 right_margin=3 text_class=tizen";
5392          tag:  "br" "\n";
5393          tag:  "ps" "ps";
5394          tag:  "tab" "\t";
5395          tag:  "em" "+ font=Tizen:style=Oblique";
5396          tag:  "b" "+ font=Tizen:style=Bold";
5397          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
5398          tag:  "hilight" "+ font=Tizen:style=Bold";
5399          tag:  "preedit" "+ underline=on underline_color=#000000FF";
5400          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
5401          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
5402          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
5403          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
5404          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
5405       }
5406       style { name: "tizen_text_class_single_textblock_disabled_style";
5407          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=none left_margin=1 right_margin=3 text_class=tizen";
5408          tag:  "br" "\n";
5409          tag:  "ps" "ps";
5410          tag:  "tab" "\t";
5411          tag:  "em" "+ font=Tizen:style=Oblique";
5412          tag:  "b" "+ font=Tizen:style=Bold";
5413          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
5414          tag:  "hilight" "+ font=Tizen:style=Bold";
5415          tag:  "preedit" "+ underline=on underline_color=#000000FF";
5416          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
5417          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
5418          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
5419          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
5420          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
5421       }
5422       style { name: "tizen_text_class_single_textblock_guide_style";
5423          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#90A9C7 wrap=none left_margin=1 right_margin=3 text_class=tizen ellipsis=1.0";
5424          tag:  "br" "\n";
5425          tag:  "ps" "ps";
5426          tag:  "tab" "\t";
5427          tag:  "em" "+ font=Tizen:style=Oblique";
5428          tag:  "b" "+ font=Tizen:style=Bold";
5429          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
5430          tag:  "hilight" "+ font=Tizen:style=Bold";
5431       }
5432    }
5433    parts {
5434       part { name: "elm.guide";
5435          type: TEXTBLOCK;
5436          mouse_events: 0;
5437          scale: 1;
5438          description { state: "default" 0.0;
5439             rel1.to: "elm.text";
5440             rel2.to: "elm.text";
5441             text {
5442                style: "tizen_text_class_single_textblock_guide_style";
5443                min: 0 1;
5444                max: 0 1;
5445             }
5446          }
5447          description { state: "hidden" 0.0;
5448             inherit: "default" 0.0;
5449             visible: 0;
5450          }
5451       }
5452       part { name: "elm.text";
5453          description { state: "default" 0.0;
5454             text {
5455                style: "tizen_text_class_single_textblock_style";
5456             }
5457             ENTRY_TEXTBLOCK_DEFAULT_REL
5458          }
5459          description { state: "disabled" 0.0;
5460             inherit: "default" 0.0;
5461             text {
5462                style: "tizen_text_class_single_textblock_disabled_style";
5463             }
5464          }
5465       }
5466    }
5467 }
5468 group { name: "elm/entry/base-password/font_color_black";
5469    alias: "elm/entry/base-password/editfield/font_color_black";
5470    data.item: "default_font_size" "24";
5471    data.item: "min_font_size" "8";
5472    data.item: "max_font_size" "60";
5473    data {
5474       item: context_menu_orientation "horizontal";
5475    }
5476    ENTRY_FOCUS_DATA
5477    ENTRY_FOCUS_IMAGE
5478    parts {
5479       ENTRY_FOCUS_PARTS
5480       part { name: "elm.guide";
5481          type: TEXTBLOCK;
5482          mouse_events: 0;
5483          scale: 1;
5484          description { state: "default" 0.0;
5485             rel1.to: "elm.text";
5486             rel2.to: "elm.text";
5487             text {
5488                style: "font_color_black_single_textblock_guide_style";
5489                min: 0 1;
5490                max: 0 1;
5491             }
5492          }
5493          description { state: "hidden" 0.0;
5494             inherit: "default" 0.0;
5495             visible: 0;
5496          }
5497       }
5498       part { name: "elm.text";
5499          type: TEXTBLOCK;
5500          mouse_events: 1;
5501          scale: 1;
5502          entry_mode: PASSWORD;
5503          select_mode: BLOCK_HANDLE;
5504          multiline: 0;
5505          source: "elm/entry/selection/default"; // selection under
5506          //source2: "X"; // selection over
5507          //source3: "X"; // cursor under
5508          source4: "elm/entry/cursor/default"; // cursorover
5509          source5: "elm/entry/anchor/default"; // anchor under
5510          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
5511          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
5512          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
5513          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
5514          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
5515          description { state: "default" 0.0;
5516             text {
5517                style: "font_color_black_single_textblock_style";
5518                repch: "•";
5519                min: 1 1;
5520                max: 0 1;
5521             }
5522             ENTRY_TEXTBLOCK_DEFAULT_REL
5523          }
5524          description { state: "disabled" 0.0;
5525             inherit: "default" 0.0;
5526             text {
5527                style: "font_color_black_single_textblock_disabled_style";
5528             }
5529          }
5530       }
5531       ENTRY_SWALLOW_PARTS
5532    }
5533    ENTRY_SWALLOW_SCRIPT_PUBLIC
5534    programs {
5535       program { name: "focus";
5536          signal: "load";
5537          source: "";
5538          action: FOCUS_SET;
5539          target: "elm.text";
5540       }
5541       program { name: "disable";
5542          signal: "elm,state,disabled";
5543          source: "elm";
5544          action: STATE_SET "disabled" 0.0;
5545          target: "elm.text";
5546       }
5547       program { name: "enable";
5548          signal: "elm,state,enabled";
5549          source: "elm";
5550          action: STATE_SET "default" 0.0;
5551          target: "elm.text";
5552       }
5553       program { name: "gdisable";
5554          signal: "elm,guide,disabled";
5555          source: "elm";
5556          action: STATE_SET "hidden" 0.0;
5557          target: "elm.guide";
5558       }
5559       program { name: "genable";
5560          signal: "elm,guide,enabled";
5561          source: "elm";
5562          action: STATE_SET "default" 0.0;
5563          target: "elm.guide";
5564       }
5565       program { name: "touch_snd";
5566          signal: "mouse,clicked,1";
5567          source: "elm.text";
5568          action: PLAY_SAMPLE "touch_sound" 1.0;
5569       }
5570       ENTRY_SWALLOW_PROGRAMS
5571       ENTRY_FOCUS_PROGRAMS
5572    }
5573 }
5574
5575 group { name: "elm/scroller/entry/default";
5576       data {
5577          item: "focus_highlight" "on";
5578       }
5579       images {
5580          image: "00_focus.png" COMP;
5581       }
5582       script {
5583          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
5584          public timer0(val) {
5585             new v;
5586             v = get_int(sbvis_v);
5587             if (v) {
5588                v = get_int(sbalways_v);
5589                if (!v) {
5590                   emit("do-hide-vbar", "");
5591                   set_int(sbvis_v, 0);
5592                }
5593             }
5594             v = get_int(sbvis_h);
5595             if (v) {
5596                v = get_int(sbalways_h);
5597                if (!v) {
5598                   emit("do-hide-hbar", "");
5599                   set_int(sbvis_h, 0);
5600                }
5601             }
5602             set_int(sbvis_timer, 0);
5603             return 0;
5604          }
5605       }
5606       parts {
5607          part { name: "focus_bg";
5608             type: RECT;
5609             scale: 1;
5610             description { state: "default" 0.0;
5611                visible: 0;
5612                rel1.relative: 0.0 0.0;
5613                rel2.relative: 1.0 1.0;
5614             }
5615          }
5616          part { name: "focus_image";
5617             scale: 1;
5618             mouse_events: 0;
5619             description { state: "default" 0.0;
5620                visible: 0;
5621                image {
5622                   normal: "00_focus.png";
5623                   border: 6 6 6 6;
5624                   border_scale: 1;
5625                }
5626                rel1 {
5627                   to: "focus_bg";
5628                   relative: 0.0 0.0;
5629                }
5630                rel2 {
5631                   to: "focus_bg";
5632                   relative: 1.0 1.0;
5633                }
5634             }
5635             description { state: "focused" 0.0;
5636                inherit: "default" 0.0;
5637                visible: 1;
5638             }
5639          }
5640          part { name: "focus_left_padding";
5641             type: SPACER;
5642             scale: 1;
5643             description { state: "default" 0.0;
5644                min: 10 0;
5645                max: 10 0;
5646                align: 0.0 0.5;
5647                fixed: 1 0;
5648                rel1 {
5649                   to: "focus_bg";
5650                   relative: 0.0 0.0;
5651                }
5652                rel2 {
5653                   to: "focus_bg";
5654                   relative: 0.0 1.0;
5655                }
5656             }
5657          }
5658          part { name: "focus_right_padding";
5659             type: SPACER;
5660             scale: 1;
5661             description { state: "default" 0.0;
5662                min: 10 0;
5663                max: 10 0;
5664                align: 1.0 0.5;
5665                fixed: 1 0;
5666                rel1 {
5667                   to: "focus_bg";
5668                   relative: 1.0 0.0;
5669                }
5670                rel2 {
5671                   to: "focus_bg";
5672                   relative: 1.0 1.0;
5673                }
5674             }
5675          }
5676          part { name: "bg";
5677             type: RECT;
5678             scale: 1;
5679             description { state: "default" 0.0;
5680                visible: 0;
5681                rel1 {
5682                   to_x: "focus_left_padding";
5683                   relative: 1.0 0.0;
5684                }
5685                rel2 {
5686                   to_x: "focus_right_padding";
5687                   relative: 0.0 1.0;
5688                }
5689             }
5690          }
5691          part { name: "clipper";
5692             type: RECT;
5693             scale: 1;
5694             mouse_events: 0;
5695             description { state: "default" 0.0;
5696                rel1.to: "bg";
5697                rel2.to: "bg";
5698             }
5699          }
5700          part { name: "editfield_space";
5701             type: SPACER;
5702             scale: 1;
5703             description { state: "default" 0.0;
5704                align: 1.0 1.0;
5705                min: 0 0;
5706                max: 0 0;
5707                rel1.to: "elm.swallow.end";
5708                rel1.relative: 0.0 0.0;
5709                rel2.to: "elm.swallow.end";
5710                rel2.relative: 1.0 1.0;
5711             }
5712             description { state: "rename_visible" 0.0;
5713                inherit: "default" 0.0;
5714                min: 9 0;
5715                max: 9 0;
5716                rel1 {
5717                   to_x: "elm.swallow.rename";
5718                   relative: 0.0 0.0;
5719                }
5720                rel2 {
5721                   to_x: "elm.swallow.rename";
5722                   relative: 0.0 1.0;
5723                }
5724             }
5725             description { state: "clear_visible" 0.0;
5726                inherit: "default" 0.0;
5727                min: 9 0;
5728                max: 9 0;
5729                rel1 {
5730                   to_x: "elm.swallow.clear";
5731                   relative: 0.0 0.0;
5732                }
5733                rel2 {
5734                   to_x: "elm.swallow.clear";
5735                   relative: 0.0 1.0;
5736                }
5737             }
5738          }
5739          part { name: "contentclipper";
5740             type: RECT;
5741             scale: 1;
5742             mouse_events: 0;
5743             clip_to: "clipper";
5744             description { state: "default" 0.0;
5745                rel1.to: "icon_right_padding";
5746                rel1.relative: 1.0 0.0;
5747                rel2.to: "editfield_space";
5748                rel2.relative: 0.0 1.0;
5749             }
5750          }
5751          part { name: "elm.swallow.icon";
5752             type: SWALLOW;
5753             scale: 1;
5754             clip_to: "clipper";
5755             description { state: "default" 0.0;
5756                align: 0.0 0.5;
5757                fixed: 1 1;
5758                rel1 {
5759                   to: "bg";
5760                   relative: 0.0 0.0;
5761                }
5762                rel2 {
5763                   to: "bg";
5764                   relative: 0.0 1.0;
5765                }
5766                visible: 0;
5767             }
5768             description { state: "visible" 0.0;
5769                inherit: "default" 0.0;
5770                visible: 1;
5771             }
5772          }
5773          part { name: "icon_right_padding";
5774             type: SPACER;
5775             scale: 1;
5776             clip_to: "clipper";
5777             description { state: "default" 0.0;
5778                fixed: 1 1;
5779                align: 0.0 0.0;
5780                min: 0 0;
5781                max: 0 0;
5782                rel1 {
5783                   to_x: "elm.swallow.icon";
5784                   relative: 1.0 0.0;
5785                }
5786                rel2 {
5787                   to_x: "elm.swallow.icon";
5788                   relative: 1.0 1.0;
5789                }
5790             }
5791             description { state: "visible" 0.0;
5792                inherit: "default" 0.0;
5793                min: 8 0;
5794                max: 8 0;
5795             }
5796          }
5797          part { name: "elm.swallow.clear";
5798             type: SWALLOW;
5799             scale: 1;
5800             clip_to: "clipper";
5801             description { state: "default" 0.0;
5802                align: 1.0 0.5;
5803                fixed: 1 1;
5804                rel1 {
5805                   to_x: "elm.swallow.end";
5806                   to_y: "bg";
5807                   relative: 0.0 0.0;
5808                }
5809                rel2 {
5810                   to_x: "elm.swallow.end";
5811                   to_y: "bg";
5812                   relative: 0.0 1.0;
5813                }
5814                visible: 0;
5815             }
5816             description { state: "clear_visible" 0.0;
5817                inherit: "default" 0.0;
5818                visible: 1;
5819             }
5820          }
5821          part { name: "elm.swallow.rename";
5822             type: SWALLOW;
5823             scale: 1;
5824             clip_to: "clipper";
5825             description { state: "default" 0.0;
5826                align: 1.0 0.5;
5827                fixed: 1 1;
5828                rel1 {
5829                   to_x: "elm.swallow.end";
5830                   to_y: "bg";
5831                   relative: 0.0 0.0;
5832                }
5833                rel2 {
5834                   to_x: "elm.swallow.end";
5835                   to_y: "bg";
5836                   relative: 0.0 1.0;
5837                }
5838                visible: 0;
5839             }
5840             description { state: "rename_visible" 0.0;
5841                inherit: "default" 0.0;
5842                visible: 1;
5843             }
5844          }
5845          part { name: "elm.swallow.end";
5846             type: SWALLOW;
5847             scale: 1;
5848             clip_to: "clipper";
5849             description { state: "default" 0.0;
5850                align: 1.0 0.5;
5851                fixed: 1 1;
5852                rel1 {
5853                   to: "bg";
5854                   relative: 1.0 0.0;
5855                }
5856                rel2 {
5857                   to: "bg";
5858                   relative: 1.0 1.0;
5859                }
5860                visible: 0;
5861             }
5862             description { state: "visible" 0.0;
5863                inherit: "default" 0.0;
5864                visible: 1;
5865             }
5866          }
5867          part { name: "elm.swallow.content";
5868             clip_to: "contentclipper";
5869             scale: 1;
5870             type: SWALLOW;
5871             description { state: "default" 0.0;
5872                rel1 {
5873                        to_x: "icon_right_padding";
5874                        relative: 1.0 0.0;
5875                }
5876                rel2 {
5877                 to_x: "editfield_space";
5878                 relative: 0.0 1.0;
5879                }
5880             }
5881          }
5882          part { name: "sb_vbar_clip_master";
5883             type: RECT;
5884             scale: 1;
5885             mouse_events: 0;
5886             description { state: "default" 0.0;
5887             }
5888             description { state: "hidden" 0.0;
5889                visible: 0;
5890                color: 255 255 255 0;
5891             }
5892          }
5893          part { name: "sb_vbar_clip";
5894             clip_to: "sb_vbar_clip_master";
5895             type: RECT;
5896             scale: 1;
5897             mouse_events: 0;
5898             description { state: "default" 0.0;
5899             }
5900             description { state: "hidden" 0.0;
5901                visible: 0;
5902                color: 255 255 255 0;
5903             }
5904          }
5905          part { name: "sb_vbar";
5906             type: RECT;
5907             scale: 1;
5908             mouse_events: 0;
5909             description { state: "default" 0.0;
5910                fixed: 1 1;
5911                visible: 0;
5912                min: 10 17;
5913                align: 1.0 0.0;
5914                rel1 {
5915                   relative: 0.0 0.0;
5916                   to_y:     "elm.swallow.content";
5917                   to_x:     "editfield_space";
5918                }
5919                rel2 {
5920                   relative: 0.0 0.0;
5921                   to_y:     "sb_hbar";
5922                   to_x:     "editfield_space";
5923                }
5924             }
5925          }
5926          part { name: "elm.dragable.vbar";
5927             type: RECT;
5928             scale: 1;
5929             clip_to: "sb_vbar_clip";
5930             mouse_events: 0;
5931             dragable {
5932                x: 0 0 0;
5933                y: 1 1 0;
5934                confine: "sb_vbar";
5935             }
5936             description { state: "default" 0.0;
5937                visible: 0;
5938                fixed: 1 1;
5939                min: 10 17;
5940                max: 10 99999;
5941                rel1 {
5942                   relative: 0.5  0.5;
5943                   to: "sb_vbar";
5944                }
5945                rel2 {
5946                   relative: 0.5  0.5;
5947                   to: "sb_vbar";
5948                }
5949             }
5950          }
5951          part { name: "sb_hbar_clip_master";
5952             type: RECT;
5953             scale: 1;
5954             mouse_events: 0;
5955             description { state: "default" 0.0;
5956             }
5957             description { state: "hidden" 0.0;
5958                visible: 0;
5959                color: 255 255 255 0;
5960             }
5961          }
5962          part { name: "sb_hbar_clip";
5963             clip_to: "sb_hbar_clip_master";
5964             type: RECT;
5965             scale: 1;
5966             mouse_events: 0;
5967             description { state: "default" 0.0;
5968             }
5969             description { state: "hidden" 0.0;
5970                visible: 0;
5971                color: 255 255 255 0;
5972             }
5973          }
5974          part { name: "sb_hbar";
5975             type: RECT;
5976             scale: 1;
5977             mouse_events: 0;
5978             description { state: "default" 0.0;
5979                fixed: 1 1;
5980                visible: 0;
5981                min: 17 10;
5982                align: 0.0 1.0;
5983                rel1 {
5984                   relative: 0.0 1.0;
5985                   to_x:     "elm.swallow.content";
5986                   to_y:     "elm.swallow.content";
5987                }
5988                rel2 {
5989                   relative: 0.0 1.0;
5990                   to_x:     "sb_vbar";
5991                   to_y:     "elm.swallow.content";
5992                }
5993             }
5994          }
5995          part { name: "elm.dragable.hbar";
5996             type: RECT;
5997             scale: 1;
5998             clip_to: "sb_hbar_clip";
5999             mouse_events: 0;
6000             dragable {
6001                x: 1 1 0;
6002                y: 0 0 0;
6003                confine: "sb_hbar";
6004             }
6005             description { state: "default" 0.0;
6006                fixed: 1 1;
6007                min: 17 10;
6008                max: 99999 10;
6009                rel1 {
6010                   relative: 0.5  0.5;
6011                   to: "sb_hbar";
6012                }
6013                rel2 {
6014                   relative: 0.5  0.5;
6015                   to: "sb_hbar";
6016                }
6017             }
6018          }
6019       }
6020       programs {
6021          program { name: "load";
6022             signal: "load";
6023             source: "";
6024             script {
6025                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
6026                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
6027                set_int(sbvis_h, 0);
6028                set_int(sbvis_v, 0);
6029                set_int(sbalways_v, 0);
6030                set_int(sbalways_h, 0);
6031                set_int(sbvis_timer, 0);
6032             }
6033          }
6034          program { name: "icon_show";
6035             signal: "elm,action,show,icon";
6036             source: "elm";
6037             action: STATE_SET "visible" 0.0;
6038             target: "elm.swallow.icon";
6039             target: "icon_right_padding";
6040          }
6041          program { name: "icon_hide";
6042             signal: "elm,action,hide,icon";
6043             source: "elm";
6044             action: STATE_SET "default" 0.0;
6045             target: "elm.swallow.icon";
6046             target: "icon_right_padding";
6047          }
6048          program { name: "clear_show";
6049             signal: "elm,state,clear,visible";
6050             source: "*";
6051             action: STATE_SET "clear_visible" 0.0;
6052             target: "elm.swallow.clear";
6053             target: "editfield_space";
6054          }
6055          program { name: "clear_hide";
6056             signal: "elm,state,clear,hidden";
6057             source: "*";
6058             action: STATE_SET "default" 0.0;
6059             target: "elm.swallow.clear";
6060             target: "editfield_space";
6061          }
6062          program { name: "rename_show";
6063             signal: "elm,state,rename,visible";
6064             source: "*";
6065             action: STATE_SET "rename_visible" 0.0;
6066             target: "elm.swallow.rename";
6067             target: "editfield_space";
6068          }
6069          program { name: "rename_hide";
6070             signal: "elm,state,rename,hidden";
6071             source: "*";
6072             action: STATE_SET "default" 0.0;
6073             target: "elm.swallow.rename";
6074             target: "editfield_space";
6075          }
6076          program { name: "end_show";
6077             signal: "elm,action,show,end";
6078             source: "elm";
6079             action: STATE_SET "visible" 0.0;
6080             target: "elm.swallow.end";
6081          }
6082          program { name: "end_hide";
6083             signal: "elm,action,hide,end";
6084             source: "elm";
6085             action: STATE_SET "default" 0.0;
6086             target: "elm.swallow.end";
6087          }
6088          program { name: "vbar_show";
6089             signal: "elm,action,show,vbar";
6090             source: "elm";
6091             action:  STATE_SET "default" 0.0;
6092             target: "sb_vbar_clip_master";
6093          }
6094          program { name: "vbar_hide";
6095             signal: "elm,action,hide,vbar";
6096             source: "elm";
6097             action:  STATE_SET "hidden" 0.0;
6098             target: "sb_vbar_clip_master";
6099          }
6100          program { name: "vbar_show_always";
6101             signal: "elm,action,show_always,vbar";
6102             source: "elm";
6103             script {
6104                new v;
6105                v = get_int(sbvis_v);
6106                v |= get_int(sbalways_v);
6107                if (!v) {
6108                   set_int(sbalways_v, 1);
6109                   emit("do-show-vbar", "");
6110                   set_int(sbvis_v, 1);
6111                }
6112             }
6113          }
6114          program { name: "vbar_show_notalways";
6115             signal: "elm,action,show_notalways,vbar";
6116             source: "elm";
6117             script {
6118                new v;
6119                v = get_int(sbalways_v);
6120                if (v) {
6121                   set_int(sbalways_v, 0);
6122                   v = get_int(sbvis_v);
6123                   if (!v) {
6124                      emit("do-hide-vbar", "");
6125                      set_int(sbvis_v, 0);
6126                   }
6127                }
6128             }
6129          }
6130          program { name: "sb_vbar_show";
6131             signal: "do-show-vbar";
6132             source: "";
6133             action:  STATE_SET "default" 0.0;
6134             transition: LINEAR 0.5;
6135             target: "sb_vbar_clip";
6136          }
6137          program { name: "sb_vbar_hide";
6138             signal: "do-hide-vbar";
6139             source: "";
6140             action:  STATE_SET "hidden" 0.0;
6141             transition: LINEAR 0.5;
6142             target: "sb_vbar_clip";
6143          }
6144
6145          program { name: "hbar_show";
6146             signal: "elm,action,show,hbar";
6147             source: "elm";
6148             action:  STATE_SET "default" 0.0;
6149             target: "sb_hbar_clip_master";
6150          }
6151          program { name: "hbar_hide";
6152             signal: "elm,action,hide,hbar";
6153             source: "elm";
6154             action:  STATE_SET "hidden" 0.0;
6155             target: "sb_hbar_clip_master";
6156          }
6157          program { name: "hbar_show_always";
6158             signal: "elm,action,show_always,hbar";
6159             source: "elm";
6160             script {
6161                new v;
6162                v = get_int(sbvis_h);
6163                v |= get_int(sbalways_h);
6164                if (!v) {
6165                   set_int(sbalways_h, 1);
6166                   emit("do-show-hbar", "");
6167                   set_int(sbvis_h, 1);
6168                }
6169             }
6170          }
6171          program { name: "hbar_show_notalways";
6172             signal: "elm,action,show_notalways,hbar";
6173             source: "elm";
6174             script {
6175                new v;
6176                v = get_int(sbalways_h);
6177                if (v) {
6178                   set_int(sbalways_h, 0);
6179                   v = get_int(sbvis_h);
6180                   if (!v) {
6181                      emit("do-hide-hbar", "");
6182                      set_int(sbvis_h, 0);
6183                   }
6184                }
6185             }
6186          }
6187          program { name: "sb_hbar_show";
6188             signal: "do-show-hbar";
6189             source: "";
6190             action:  STATE_SET "default" 0.0;
6191             transition: LINEAR 0.5;
6192             target: "sb_hbar_clip";
6193          }
6194          program { name: "sb_hbar_hide";
6195             signal: "do-hide-hbar";
6196             source: "";
6197             action:  STATE_SET "hidden" 0.0;
6198             transition: LINEAR 0.5;
6199             target: "sb_hbar_clip";
6200          }
6201
6202          program { name: "scroll";
6203             signal: "elm,action,scroll";
6204             source: "elm";
6205             script {
6206                new v;
6207                v = get_int(sbvis_v);
6208                v |= get_int(sbalways_v);
6209                if (!v) {
6210                   emit("do-show-vbar", "");
6211                   set_int(sbvis_v, 1);
6212                }
6213                v = get_int(sbvis_h);
6214                v |= get_int(sbalways_h);
6215                if (!v) {
6216                   emit("do-show-hbar", "");
6217                   set_int(sbvis_h, 1);
6218                }
6219                v = get_int(sbvis_timer);
6220                if (v > 0) cancel_timer(v);
6221                v = timer(1.0, "timer0", 0);
6222                set_int(sbvis_timer, v);
6223             }
6224          }
6225          program { name: "action_focus";
6226             signal: "elm,action,focus_highlight,show";
6227             source: "elm";
6228             action: STATE_SET "focused" 0.0;
6229             target: "focus_image";
6230          }
6231          program { name: "action_unfocus";
6232             signal: "elm,action,focus_highlight,hide";
6233             source: "elm";
6234             action: STATE_SET "default" 0.0;
6235             target: "focus_image";
6236          }
6237       }
6238    }
6239 group { name: "elm/scroller/entry/editfield";
6240       inherit: "elm/scroller/entry/default";
6241       data {
6242          item: "focus_highlight" "off";
6243       }
6244       images {
6245          image: "00_edit_field_focus.png" COMP;
6246          image: "00_edit_field_bg.png" COMP;
6247       }
6248       parts {
6249          part { name: "focus_bg";
6250             type: IMAGE;
6251             scale: 1;
6252             mouse_events: 0;
6253             repeat_events: 1;
6254             description { state: "default" 0.0;
6255                visible: 1;
6256                image {
6257                   normal: "00_edit_field_bg.png";
6258                   border: 8 8 8 8;
6259                   border_scale: 1;
6260                }
6261                rel1.relative: 0.0 0.0;
6262                rel2.relative: 1.0 1.0;
6263             }
6264          }
6265          part { name: "focus_image";
6266             scale: 1;
6267             mouse_events: 0;
6268             description { state: "default" 0.0;
6269                visible: 0;
6270                image {
6271                   normal: "00_edit_field_focus.png";
6272                   border: 8 8 8 8;
6273                   border_scale: 1;
6274                }
6275                rel1 {
6276                   to: "focus_bg";
6277                   relative: 0.0 0.0;
6278                }
6279                rel2 {
6280                   to: "focus_bg";
6281                   relative: 1.0 1.0;
6282                }
6283             }
6284             description { state: "focused" 0.0;
6285                inherit: "default" 0.0;
6286                visible: 1;
6287             }
6288          }
6289          part { name: "focus_left_padding";
6290             type: SPACER;
6291             scale: 1;
6292             description { state: "default" 0.0;
6293                min: 10 0;
6294                max: 10 0;
6295                fixed: 1 0;
6296                align: 0.0 0.5;
6297                rel1 {
6298                   to: "focus_bg";
6299                   relative: 0.0 0.0;
6300                }
6301                rel2 {
6302                   to: "focus_bg";
6303                   relative: 0.0 1.0;
6304                }
6305             }
6306          }
6307          part { name: "focus_right_padding";
6308             type: SPACER;
6309             scale: 1;
6310             description { state: "default" 0.0;
6311                min: 10 0;
6312                max: 10 0;
6313                align: 1.0 0.5;
6314                fixed: 1 0;
6315                rel1 {
6316                   to: "focus_bg";
6317                   relative: 1.0 0.0;
6318                }
6319                rel2 {
6320                   to: "focus_bg";
6321                   relative: 1.0 1.0;
6322                }
6323             }
6324          }
6325          part { name: "bg";
6326             type: RECT;
6327             scale: 1;
6328             description { state: "default" 0.0;
6329                visible: 0;
6330                rel1 {
6331                   to_x: "focus_left_padding";
6332                   relative: 1.0 0.0;
6333                }
6334                rel2 {
6335                   to_x: "focus_right_padding";
6336                   relative: 0.0 1.0;
6337                }
6338             }
6339          }
6340       }
6341       programs {
6342          program { name: "action_focus";
6343             signal: "elm,state,focus,on";
6344             source: "*";
6345             action: STATE_SET "focused" 0.0;
6346             target: "focus_image";
6347          }
6348          program { name: "action_unfocus";
6349             signal: "elm,state,focus,off";
6350             source: "*";
6351             action: STATE_SET "default" 0.0;
6352             target: "focus_image";
6353          }
6354       }
6355 }
6356 group { name: "elm/scroller/entry/editfield/searchbar/default";
6357       inherit: "elm/scroller/entry/default";
6358       data {
6359          item: "focus_highlight" "off";
6360       }
6361       images {
6362          image: "00_search_edit_field_bg_focus.png" COMP;
6363          image: "00_search_edit_field_bg.png" COMP;
6364       }
6365       parts {
6366          part { name: "focus_bg";
6367             type: IMAGE;
6368             scale: 1;
6369             mouse_events: 0;
6370             repeat_events: 1;
6371             description { state: "default" 0.0;
6372                visible: 1;
6373                image {
6374                   normal: "00_search_edit_field_bg.png";
6375                   border: 12 13 12 13;
6376                   border_scale: 1;
6377                }
6378                rel1.relative: 0.0 0.0;
6379                rel2.relative: 1.0 1.0;
6380             }
6381          }
6382          part { name: "focus_image";
6383             scale: 1;
6384             mouse_events: 0;
6385             description { state: "default" 0.0;
6386                visible: 0;
6387                image {
6388                   normal: "00_search_edit_field_bg_focus.png";
6389                   border: 12 13 12 13;
6390                   border_scale: 1;
6391                }
6392                rel1 {
6393                   to: "focus_bg";
6394                   relative: 0.0 0.0;
6395                }
6396                rel2 {
6397                   to: "focus_bg";
6398                   relative: 1.0 1.0;
6399                }
6400             }
6401             description { state: "focused" 0.0;
6402                inherit: "default" 0.0;
6403                visible: 1;
6404             }
6405          }
6406          part { name: "focus_left_padding";
6407             type: SPACER;
6408             scale: 1;
6409             description { state: "default" 0.0;
6410                min: 10 0;
6411                max: 10 0;
6412                fixed: 1 0;
6413                align: 0.0 0.5;
6414                rel1 {
6415                   to: "focus_bg";
6416                   relative: 0.0 0.0;
6417                }
6418                rel2 {
6419                   to: "focus_bg";
6420                   relative: 0.0 1.0;
6421                }
6422             }
6423          }
6424          part { name: "focus_right_padding";
6425             type: SPACER;
6426             scale: 1;
6427             description { state: "default" 0.0;
6428                min: 10 0;
6429                max: 10 0;
6430                align: 1.0 0.5;
6431                fixed: 1 0;
6432                rel1 {
6433                   to: "focus_bg";
6434                   relative: 1.0 0.0;
6435                }
6436                rel2 {
6437                   to: "focus_bg";
6438                   relative: 1.0 1.0;
6439                }
6440             }
6441          }
6442          part { name: "bg";
6443             type: RECT;
6444             scale: 1;
6445             description { state: "default" 0.0;
6446                visible: 0;
6447                rel1 {
6448                   to_x: "focus_left_padding";
6449                   relative: 1.0 0.0;
6450                }
6451                rel2 {
6452                   to_x: "focus_right_padding";
6453                   relative: 0.0 1.0;
6454                }
6455             }
6456          }
6457       }
6458       programs {
6459          program { name: "action_focus";
6460             signal: "elm,state,focus,on";
6461             source: "*";
6462             action: STATE_SET "focused" 0.0;
6463             target: "focus_image";
6464          }
6465          program { name: "action_unfocus";
6466             signal: "elm,state,focus,off";
6467             source: "*";
6468             action: STATE_SET "default" 0.0;
6469             target: "focus_image";
6470          }
6471       }
6472 }
6473
6474
6475