[Elm_datetime] Timepicker dark theme UX v0.5 is implemented.
[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="ENTRY_DISABLED_TEXT_COLOR_INC" 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="ENTRY_DISABLED_TEXT_COLOR_INC" 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="ENTRY_DISABLED_TEXT_COLOR_INC" 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="ENTRY_DISABLED_TEXT_COLOR_INC" 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="ENTRY_DISABLED_TEXT_COLOR_INC" 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="ENTRY_DISABLED_TEXT_COLOR_INC" 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="ENTRY_DISABLED_TEXT_COLOR_INC" 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="ENTRY_DISABLED_TEXT_COLOR_INC" 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-single/multibuttonentry";
4710
4711    data.item: "default_font_size" "24";
4712    data.item: "min_font_size" "8";
4713    data.item: "max_font_size" "60";
4714
4715    styles {
4716       style { name: "multibuttonentry_single_textblock_style";
4717          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=tizen";
4718          tag:  "br" "\n";
4719          tag:  "ps" "ps";
4720          tag:  "tab" "\t";
4721          tag:  "em" "+ font=Tizen:style=Oblique";
4722          tag:  "b" "+ font=Tizen:style=Bold";
4723          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
4724          tag:  "hilight" "+ font=Tizen:style=Bold";
4725          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
4726          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC;
4727          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
4728          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
4729          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
4730          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
4731       }
4732       style { name: "multibuttonentry_single_textblock_disabled_style";
4733          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=tizen";
4734          tag:  "br" "\n";
4735          tag:  "ps" "ps";
4736          tag:  "tab" "\t";
4737          tag:  "em" "+ font=Tizen:style=Oblique";
4738          tag:  "b" "+ font=Tizen:style=Bold";
4739          tag:  "link" "+ color=#00000080 underline=on underline_color=#8008";
4740          tag:  "hilight" "+ font=Tizen:style=Bold";
4741          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
4742          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC;
4743          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
4744          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
4745          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
4746          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
4747       }
4748       style { name: "multibuttonentry_single_textblock_guide_style";
4749          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=tizen ellipsis=1.0";
4750          tag:  "br" "\n";
4751          tag:  "ps" "ps";
4752          tag:  "tab" "\t";
4753          tag:  "em" "+ font=Tizen:style=Oblique";
4754          tag:  "b" "+ font=Tizen:style=Bold";
4755          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
4756          tag:  "hilight" "+ font=Tizen:style=Bold";
4757       }
4758    }
4759    data {
4760       item: context_menu_orientation "horizontal";
4761    }
4762    ENTRY_FOCUS_DATA
4763    ENTRY_FOCUS_IMAGE
4764    parts {
4765       ENTRY_FOCUS_PARTS
4766       part { name: "elm.guide";
4767          type: TEXTBLOCK;
4768          mouse_events: 0;
4769          scale: 1;
4770          description { state: "default" 0.0;
4771             rel1.to: "elm.text";
4772             rel2.to: "elm.text";
4773             text {
4774                style: "multibuttonentry_single_textblock_guide_style";
4775                min: 0 1;
4776                max: 0 1;
4777             }
4778          }
4779          description { state: "hidden" 0.0;
4780             inherit: "default" 0.0;
4781             visible: 0;
4782          }
4783       }
4784       part { name: "elm.text";
4785          type: TEXTBLOCK;
4786          mouse_events: 1;
4787          scale: 1;
4788          entry_mode: EDITABLE;
4789          select_mode: BLOCK_HANDLE;
4790          //cursor_mode: BEFORE;
4791          multiline: 0;
4792          source: "elm/entry/selection/default"; // selection under
4793          //source2: "X"; // selection over
4794          //source3: "X"; // cursor under
4795          source4: "elm/entry/cursor/default"; // cursorover
4796          source5: "elm/entry/anchor/default"; // anchor under
4797          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
4798          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
4799          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
4800          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
4801          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
4802          description { state: "default" 0.0;
4803             text {
4804                style: "multibuttonentry_single_textblock_style";
4805                min: 1 1;
4806                max: 0 1;
4807             }
4808             ENTRY_TEXTBLOCK_DEFAULT_REL
4809          }
4810          description { state: "disabled" 0.0;
4811             inherit: "default" 0.0;
4812             text {
4813                style: "multibuttonentry_single_textblock_disabled_style";
4814             }
4815          }
4816       }
4817       ENTRY_SWALLOW_PARTS
4818    }
4819    ENTRY_SWALLOW_SCRIPT_PUBLIC
4820    programs {
4821       program { name: "focus";
4822          signal: "load";
4823          source: "";
4824          action: FOCUS_SET;
4825          target: "elm.text";
4826       }
4827       program { name: "disable";
4828          signal: "elm,state,disabled";
4829          source: "elm";
4830          action: STATE_SET "disabled" 0.0;
4831          target: "elm.text";
4832       }
4833       program { name: "enable";
4834          signal: "elm,state,enabled";
4835          source: "elm";
4836          action: STATE_SET "default" 0.0;
4837          target: "elm.text";
4838       }
4839       program { name: "gdisable";
4840          signal: "elm,guide,disabled";
4841          source: "elm";
4842          action: STATE_SET "hidden" 0.0;
4843          target: "elm.guide";
4844       }
4845       program { name: "genable";
4846          signal: "elm,guide,enabled";
4847          source: "elm";
4848          action: STATE_SET "default" 0.0;
4849          target: "elm.guide";
4850       }
4851       program { name: "touch_snd";
4852          signal: "mouse,clicked,1";
4853          source: "elm.text";
4854          action: PLAY_SAMPLE "touch_sound" 1.0;
4855       }
4856       ENTRY_SWALLOW_PROGRAMS
4857       ENTRY_FOCUS_PROGRAMS
4858    }
4859 }
4860 group { name: "elm/entry/base/font_color_black";
4861    alias: "elm/entry/base-mixedwrap/font_color_black";
4862    alias: "elm/entry/base/font_color_black/default";
4863    alias: "elm/entry/base/font_color_black/lighting";
4864    alias: "elm/entry/base/font_color_black/multiline";
4865    alias: "elm/entry/base/font_color_black/multiline/default";
4866    alias: "elm/entry/base/font_color_black/multiline/lighting";
4867    alias: "elm/entry/base/editfield/font_color_black";
4868
4869    data.item: "default_font_size" "24";
4870    data.item: "min_font_size" "8";
4871    data.item: "max_font_size" "60";
4872
4873    styles {
4874       style { name: "font_color_black_textblock_style";
4875          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2 text_class=entry";
4876          tag:  "br" "\n";
4877          tag:  "ps" "ps";
4878          tag:  "tab" "\t";
4879          tag:  "em" "+ font=Tizen:style=Oblique";
4880          tag:  "b" "+ font=Tizen:style=Bold";
4881          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
4882          tag:  "hilight" "+ font=Tizen:style=Bold";
4883          tag:  "preedit" "+ underline=on underline_color=#000000FF";
4884          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
4885          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
4886          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
4887          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
4888          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
4889       }
4890       style { name: "font_color_black_textblock_disabled_style";
4891          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_DISABLED_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2 text_class=entry";
4892          tag:  "br" "\n";
4893          tag:  "ps" "ps";
4894          tag:  "tab" "\t";
4895          tag:  "em" "+ font=Tizen:style=Oblique";
4896          tag:  "b" "+ font=Tizen:style=Bold";
4897          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
4898          tag:  "hilight" "+ font=Tizen:style=Bold";
4899          tag:  "preedit" "+ underline=on underline_color=#000000FF";
4900          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
4901          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
4902          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
4903          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
4904          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
4905       }
4906       style { name: "font_color_black_textblock_guide_style";
4907          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_GUIDE_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2 text_class=entry";
4908          tag:  "br" "\n";
4909          tag:  "ps" "ps";
4910          tag:  "tab" "\t";
4911          tag:  "em" "+ font=Tizen:style=Oblique";
4912          tag:  "b" "+ font=Tizen:style=Bold";
4913          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
4914          tag:  "hilight" "+ font=Tizen:style=Bold";
4915       }
4916    }
4917    data {
4918       item: context_menu_orientation "horizontal";
4919    }
4920    ENTRY_FOCUS_DATA
4921    ENTRY_FOCUS_IMAGE
4922    parts {
4923       ENTRY_FOCUS_PARTS
4924       part { name: "elm.guide";
4925          type: TEXTBLOCK;
4926          mouse_events: 0;
4927          scale: 1;
4928          description { state: "default" 0.0;
4929             rel1.to: "elm.text";
4930             rel2.to: "elm.text";
4931             text {
4932                style: "font_color_black_textblock_guide_style";
4933                min: 0 1;
4934                align: 0.0 0.0;
4935             }
4936          }
4937          description { state: "hidden" 0.0;
4938             inherit: "default" 0.0;
4939             visible: 0;
4940          }
4941       }
4942       part { name: "elm.text";
4943          type: TEXTBLOCK;
4944          mouse_events: 1;
4945          scale: 1;
4946          entry_mode: EDITABLE;
4947          select_mode: BLOCK_HANDLE;
4948          //cursor_mode: BEFORE;
4949          multiline: 1;
4950          source: "elm/entry/selection/default"; // selection under
4951          //source2: "X"; // selection over
4952          //source3: "X"; // cursor under
4953          source4: "elm/entry/cursor/default"; // cursorover
4954          source5: "elm/entry/anchor/default"; // anchor under
4955          //source6: "X"; // anchor over
4956          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
4957          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
4958          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
4959          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
4960          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
4961          description { state: "default" 0.0;
4962             fixed: 1 0;
4963             text {
4964                style: "font_color_black_textblock_style";
4965                min: 0 1;
4966             }
4967             ENTRY_TEXTBLOCK_DEFAULT_REL
4968          }
4969          description { state: "disabled" 0.0;
4970             inherit: "default" 0.0;
4971             text {
4972                style: "font_color_black_textblock_disabled_style";
4973                min: 0 1;
4974             }
4975          }
4976       }
4977       ENTRY_SWALLOW_PARTS
4978    }
4979    ENTRY_SWALLOW_SCRIPT_PUBLIC
4980    programs {
4981       program { name: "focus";
4982          signal: "load";
4983          source: "";
4984          action: FOCUS_SET;
4985          target: "elm.text";
4986       }
4987       program { name: "disable";
4988          signal: "elm,state,disabled";
4989          source: "elm";
4990          action: STATE_SET "disabled" 0.0;
4991          target: "elm.text";
4992       }
4993       program { name: "enable";
4994          signal: "elm,state,enabled";
4995          source: "elm";
4996          action: STATE_SET "default" 0.0;
4997          target: "elm.text";
4998       }
4999       program { name: "gdisable";
5000          signal: "elm,guide,disabled";
5001          source: "elm";
5002          action: STATE_SET "hidden" 0.0;
5003          target: "elm.guide";
5004       }
5005       program { name: "genable";
5006          signal: "elm,guide,enabled";
5007          source: "elm";
5008          action: STATE_SET "default" 0.0;
5009          target: "elm.guide";
5010       }
5011       program { name: "touch_snd";
5012          signal: "mouse,clicked,1";
5013          source: "elm.text";
5014          action: PLAY_SAMPLE "touch_sound" 1.0;
5015       }
5016       ENTRY_SWALLOW_PROGRAMS
5017       ENTRY_FOCUS_PROGRAMS
5018    }
5019 }
5020
5021 group { name: "elm/entry/base-noedit/font_color_black";
5022    data.item: "default_font_size" "24";
5023    data.item: "min_font_size" "8";
5024    data.item: "max_font_size" "60";
5025    data {
5026       item: context_menu_orientation "horizontal";
5027    }
5028    parts {
5029       part { name: "elm.guide";
5030          type: TEXTBLOCK;
5031          mouse_events: 0;
5032          scale: 1;
5033          description { state: "default" 0.0;
5034             rel1.to: "elm.text";
5035             rel2.to: "elm.text";
5036             text {
5037                style: "font_color_black_textblock_guide_style";
5038                min: 0 1;
5039                align: 0.0 0.0;
5040             }
5041          }
5042          description { state: "hidden" 0.0;
5043             inherit: "default" 0.0;
5044             visible: 0;
5045          }
5046       }
5047       part { name: "elm.text";
5048          type: TEXTBLOCK;
5049          mouse_events: 1;
5050          scale: 1;
5051          entry_mode: PLAIN;
5052          select_mode: BLOCK_HANDLE;
5053          //cursor_mode: BEFORE;
5054          multiline: 1;
5055          source: "elm/entry/selection/default"; // selection under
5056          //source2: "X"; // selection over
5057          //source3: "X"; // cursor under
5058          source4: "elm/entry/cursor/default"; // cursorover
5059          source5: "elm/entry/anchor/default"; // anchor under
5060          //source6: "X"; // anchor over
5061          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
5062          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
5063          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
5064          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
5065          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
5066          description { state: "default" 0.0;
5067             fixed: 1 0;
5068             text {
5069                style: "font_color_black_textblock_style";
5070                min: 0 1;
5071             }
5072          }
5073          description { state: "disabled" 0.0;
5074             inherit: "default" 0.0;
5075             text {
5076                style: "font_color_black_textblock_disabled_style";
5077                min: 0 1;
5078             }
5079          }
5080       }
5081    }
5082    programs {
5083       program { name: "focus";
5084          signal: "load";
5085          source: "";
5086          action: FOCUS_SET;
5087          target: "elm.text";
5088       }
5089       program { name: "disable";
5090          signal: "elm,state,disabled";
5091          source: "elm";
5092          action: STATE_SET "disabled" 0.0;
5093          target: "elm.text";
5094       }
5095       program { name: "enable";
5096          signal: "elm,state,enabled";
5097          source: "elm";
5098          action: STATE_SET "default" 0.0;
5099          target: "elm.text";
5100       }
5101       program { name: "gdisable";
5102          signal: "elm,guide,disabled";
5103          source: "elm";
5104          action: STATE_SET "hidden" 0.0;
5105          target: "elm.guide";
5106       }
5107       program { name: "genable";
5108          signal: "elm,guide,enabled";
5109          source: "elm";
5110          action: STATE_SET "default" 0.0;
5111          target: "elm.guide";
5112       }
5113       program { name: "touch_snd";
5114          signal: "mouse,clicked,1";
5115          source: "elm.text";
5116          action: PLAY_SAMPLE "touch_sound" 1.0;
5117       }
5118    }
5119 }
5120
5121 group { name: "elm/entry/base-charwrap/font_color_black";
5122    alias: "elm/entry/base/font_color_black/char_wrap";
5123    alias: "elm/entry/base/font_color_black/default/char_wrap";
5124    alias: "elm/entry/base/font_color_black/lighting/char_wrap";
5125    alias: "elm/entry/base/font_color_black/multiline/char_wrap";
5126    alias: "elm/entry/base/font_color_black/multiline/default/char_wrap";
5127    alias: "elm/entry/base/font_color_black/multiline/lighting/char_wrap";
5128    alias: "elm/entry/base-charwrap/editfield/font_color_black";
5129
5130    data.item: "default_font_size" "24";
5131    data.item: "min_font_size" "8";
5132    data.item: "max_font_size" "60";
5133
5134    styles {
5135       style { name: "font_color_black_textblock_char_wrap_style";
5136          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry";
5137          tag:  "br" "\n";
5138          tag:  "ps" "ps";
5139          tag:  "tab" "\t";
5140          tag:  "em" "+ font=Tizen:style=Oblique";
5141          tag:  "b" "+ font=Tizen:style=Bold";
5142          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
5143          tag:  "hilight" "+ font=Tizen:style=Bold";
5144          tag:  "preedit" "+ underline=on underline_color=#000000FF";
5145          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
5146          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
5147          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
5148          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
5149          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
5150       }
5151       style { name: "font_color_black_textblock_char_wrap_disabled_style";
5152          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_DISABLED_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry";
5153          tag:  "br" "\n";
5154          tag:  "ps" "ps";
5155          tag:  "tab" "\t";
5156          tag:  "em" "+ font=Tizen:style=Oblique";
5157          tag:  "b" "+ font=Tizen:style=Bold";
5158          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
5159          tag:  "hilight" "+ font=Tizen:style=Bold";
5160          tag:  "preedit" "+ underline=on underline_color=#000000FF";
5161          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
5162          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
5163          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
5164          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
5165          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
5166       }
5167       style { name: "font_color_black_textblock_char_wrap_guide_style";
5168          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_GUIDE_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry";
5169          tag:  "br" "\n";
5170          tag:  "ps" "ps";
5171          tag:  "tab" "\t";
5172          tag:  "em" "+ font=Tizen:style=Oblique";
5173          tag:  "b" "+ font=Tizen:style=Bold";
5174          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
5175          tag:  "hilight" "+ font=Tizen:style=Bold";
5176       }
5177    }
5178    data {
5179       item: context_menu_orientation "horizontal";
5180    }
5181    ENTRY_FOCUS_DATA
5182    ENTRY_FOCUS_IMAGE
5183    parts {
5184       ENTRY_FOCUS_PARTS
5185       part { name: "elm.guide";
5186          type: TEXTBLOCK;
5187          mouse_events: 0;
5188          scale: 1;
5189          description { state: "default" 0.0;
5190             rel1.to: "elm.text";
5191             rel2.to: "elm.text";
5192             text {
5193                style: "font_color_black_textblock_char_wrap_guide_style";
5194                min: 0 1;
5195                align: 0.0 0.0;
5196             }
5197          }
5198          description { state: "hidden" 0.0;
5199             inherit: "default" 0.0;
5200             visible: 0;
5201          }
5202       }
5203       part { name: "elm.text";
5204          type: TEXTBLOCK;
5205          mouse_events: 1;
5206          scale: 1;
5207          entry_mode: EDITABLE;
5208          select_mode: BLOCK_HANDLE;
5209          //cursor_mode: BEFORE;
5210          multiline: 1;
5211          source: "elm/entry/selection/default"; // selection under
5212          //source2: "X"; // selection over
5213          //source3: "X"; // cursor under
5214          source4: "elm/entry/cursor/default"; // cursorover
5215          source5: "elm/entry/anchor/default"; // anchor under
5216          //source6: "X"; // anchor over
5217          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
5218          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
5219          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
5220          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
5221          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
5222          description { state: "default" 0.0;
5223             fixed: 1 0;
5224             text {
5225                style: "font_color_black_textblock_char_wrap_style";
5226                min: 0 1;
5227             }
5228             ENTRY_TEXTBLOCK_DEFAULT_REL
5229          }
5230          description { state: "disabled" 0.0;
5231             inherit: "default" 0.0;
5232             text {
5233                style: "font_color_black_textblock_char_wrap_disabled_style";
5234                min: 0 1;
5235             }
5236          }
5237       }
5238       ENTRY_SWALLOW_PARTS
5239    }
5240    ENTRY_SWALLOW_SCRIPT_PUBLIC
5241    programs {
5242       program { name: "focus";
5243          signal: "load";
5244          source: "";
5245          action: FOCUS_SET;
5246          target: "elm.text";
5247       }
5248       program { name: "disable";
5249          signal: "elm,state,disabled";
5250          source: "elm";
5251          action: STATE_SET "disabled" 0.0;
5252          target: "elm.text";
5253       }
5254       program { name: "enable";
5255          signal: "elm,state,enabled";
5256          source: "elm";
5257          action: STATE_SET "default" 0.0;
5258          target: "elm.text";
5259       }
5260       program { name: "gdisable";
5261          signal: "elm,guide,disabled";
5262          source: "elm";
5263          action: STATE_SET "hidden" 0.0;
5264          target: "elm.guide";
5265       }
5266       program { name: "genable";
5267          signal: "elm,guide,enabled";
5268          source: "elm";
5269          action: STATE_SET "default" 0.0;
5270          target: "elm.guide";
5271       }
5272       program { name: "touch_snd";
5273          signal: "mouse,clicked,1";
5274          source: "elm.text";
5275          action: PLAY_SAMPLE "touch_sound" 1.0;
5276       }
5277       ENTRY_SWALLOW_PROGRAMS
5278       ENTRY_FOCUS_PROGRAMS
5279    }
5280 }
5281
5282 group { name: "elm/entry/base-single/font_color_black";
5283    alias: "elm/entry/base-single/font_color_black/default";
5284    alias: "elm/entry/base-single/font_color_black/lighting";
5285    alias: "elm/entry/base-single/font_color_black/singleline";
5286    alias: "elm/entry/base-single/font_color_black/singleline/default";
5287    alias: "elm/entry/base-single/font_color_black/singleline/lighting";
5288    alias: "elm/entry/base-single/editfield/font_color_black";
5289    alias: "elm/entry/base-single/editfield/searchbar/font_color_black";
5290
5291    data.item: "default_font_size" "24";
5292    data.item: "min_font_size" "8";
5293    data.item: "max_font_size" "60";
5294
5295    styles {
5296       style { name: "font_color_black_single_textblock_style";
5297          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry";
5298          tag:  "br" "\n";
5299          tag:  "ps" "ps";
5300          tag:  "tab" "\t";
5301          tag:  "em" "+ font=Tizen:style=Oblique";
5302          tag:  "b" "+ font=Tizen:style=Bold";
5303          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
5304          tag:  "hilight" "+ font=Tizen:style=Bold";
5305          tag:  "preedit" "+ underline=on underline_color=#000000FF";
5306          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
5307          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
5308          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
5309          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
5310          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
5311       }
5312       style { name: "font_color_black_single_textblock_disabled_style";
5313          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_DISABLED_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry";
5314          tag:  "br" "\n";
5315          tag:  "ps" "ps";
5316          tag:  "tab" "\t";
5317          tag:  "em" "+ font=Tizen:style=Oblique";
5318          tag:  "b" "+ font=Tizen:style=Bold";
5319          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
5320          tag:  "hilight" "+ font=Tizen:style=Bold";
5321          tag:  "preedit" "+ underline=on underline_color=#000000FF";
5322          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
5323          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
5324          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
5325          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
5326          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
5327       }
5328       style { name: "font_color_black_single_textblock_guide_style";
5329          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_GUIDE_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry";
5330          tag:  "br" "\n";
5331          tag:  "ps" "ps";
5332          tag:  "tab" "\t";
5333          tag:  "em" "+ font=Tizen:style=Oblique";
5334          tag:  "b" "+ font=Tizen:style=Bold";
5335          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
5336          tag:  "hilight" "+ font=Tizen:style=Bold";
5337       }
5338    }
5339    data {
5340       item: context_menu_orientation "horizontal";
5341    }
5342    ENTRY_FOCUS_DATA
5343    ENTRY_FOCUS_IMAGE
5344    parts {
5345       ENTRY_FOCUS_PARTS
5346       part { name: "elm.guide";
5347          type: TEXTBLOCK;
5348          mouse_events: 0;
5349          scale: 1;
5350          description { state: "default" 0.0;
5351             rel1.to: "elm.text";
5352             rel2.to: "elm.text";
5353             text {
5354                style: "font_color_black_single_textblock_guide_style";
5355                min: 0 1;
5356                max: 0 1;
5357             }
5358          }
5359          description { state: "hidden" 0.0;
5360             inherit: "default" 0.0;
5361             visible: 0;
5362          }
5363       }
5364       part { name: "elm.text";
5365          type: TEXTBLOCK;
5366          mouse_events: 1;
5367          scale: 1;
5368          entry_mode: EDITABLE;
5369          select_mode: BLOCK_HANDLE;
5370          //cursor_mode: BEFORE;
5371          multiline: 0;
5372          source: "elm/entry/selection/default"; // selection under
5373          //source2: "X"; // selection over
5374          //source3: "X"; // cursor under
5375          source4: "elm/entry/cursor/default"; // cursorover
5376          source5: "elm/entry/anchor/default"; // anchor under
5377          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
5378          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
5379          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
5380          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
5381          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
5382          description { state: "default" 0.0;
5383             text {
5384                style: "font_color_black_single_textblock_style";
5385                min: 1 1;
5386                max: 0 1;
5387             }
5388             ENTRY_TEXTBLOCK_DEFAULT_REL
5389          }
5390          description { state: "disabled" 0.0;
5391             inherit: "default" 0.0;
5392             text {
5393                style: "font_color_black_single_textblock_disabled_style";
5394             }
5395          }
5396       }
5397       ENTRY_SWALLOW_PARTS
5398    }
5399    ENTRY_SWALLOW_SCRIPT_PUBLIC
5400    programs {
5401       program { name: "focus";
5402          signal: "load";
5403          source: "";
5404          action: FOCUS_SET;
5405          target: "elm.text";
5406       }
5407       program { name: "disable";
5408          signal: "elm,state,disabled";
5409          source: "elm";
5410          action: STATE_SET "disabled" 0.0;
5411          target: "elm.text";
5412       }
5413       program { name: "enable";
5414          signal: "elm,state,enabled";
5415          source: "elm";
5416          action: STATE_SET "default" 0.0;
5417          target: "elm.text";
5418       }
5419       program { name: "gdisable";
5420          signal: "elm,guide,disabled";
5421          source: "elm";
5422          action: STATE_SET "hidden" 0.0;
5423          target: "elm.guide";
5424       }
5425       program { name: "genable";
5426          signal: "elm,guide,enabled";
5427          source: "elm";
5428          action: STATE_SET "default" 0.0;
5429          target: "elm.guide";
5430       }
5431       program { name: "touch_snd";
5432          signal: "mouse,clicked,1";
5433          source: "elm.text";
5434          action: PLAY_SAMPLE "touch_sound" 1.0;
5435       }
5436       ENTRY_SWALLOW_PROGRAMS
5437       ENTRY_FOCUS_PROGRAMS
5438    }
5439 }
5440
5441 group { name: "elm/entry/base-single-noedit/font_color_black";
5442    data.item: "default_font_size" "24";
5443    data.item: "min_font_size" "8";
5444    data.item: "max_font_size" "60";
5445    data {
5446       item: context_menu_orientation "horizontal";
5447    }
5448    parts {
5449       part { name: "elm.guide";
5450          type: TEXTBLOCK;
5451          mouse_events: 0;
5452          scale: 1;
5453          description { state: "default" 0.0;
5454             rel1.to: "elm.text";
5455             rel2.to: "elm.text";
5456             text {
5457                style: "font_color_black_single_textblock_guide_style";
5458                min: 0 1;
5459                max: 0 1;
5460             }
5461          }
5462          description { state: "hidden" 0.0;
5463             inherit: "default" 0.0;
5464             visible: 0;
5465          }
5466       }
5467       part { name: "elm.text";
5468          type: TEXTBLOCK;
5469          mouse_events: 1;
5470          scale: 1;
5471          entry_mode: PLAIN;
5472          select_mode: BLOCK_HANDLE;
5473          //cursor_mode: BEFORE;
5474          multiline: 0;
5475          source: "elm/entry/selection/default"; // selection under
5476          //source2: "X"; // selection over
5477          //source3: "X"; // cursor under
5478          source4: "elm/entry/cursor/default"; // cursorover
5479          source5: "elm/entry/anchor/default"; // anchor under
5480          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
5481          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
5482          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
5483          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
5484          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
5485          description { state: "default" 0.0;
5486             text {
5487                style: "font_color_black_single_textblock_style";
5488                min: 1 1;
5489                max: 0 1;
5490             }
5491          }
5492          description { state: "disabled" 0.0;
5493             inherit: "default" 0.0;
5494             text {
5495                style: "font_color_black_single_textblock_disabled_style";
5496             }
5497          }
5498       }
5499    }
5500    programs {
5501       program { name: "focus";
5502          signal: "load";
5503          source: "";
5504          action: FOCUS_SET;
5505          target: "elm.text";
5506       }
5507       program { name: "disable";
5508          signal: "elm,state,disabled";
5509          source: "elm";
5510          action: STATE_SET "disabled" 0.0;
5511          target: "elm.text";
5512       }
5513       program { name: "enable";
5514          signal: "elm,state,enabled";
5515          source: "elm";
5516          action: STATE_SET "default" 0.0;
5517          target: "elm.text";
5518       }
5519       program { name: "gdisable";
5520          signal: "elm,guide,disabled";
5521          source: "elm";
5522          action: STATE_SET "hidden" 0.0;
5523          target: "elm.guide";
5524       }
5525       program { name: "genable";
5526          signal: "elm,guide,enabled";
5527          source: "elm";
5528          action: STATE_SET "default" 0.0;
5529          target: "elm.guide";
5530       }
5531       program { name: "touch_snd";
5532          signal: "mouse,clicked,1";
5533          source: "elm.text";
5534          action: PLAY_SAMPLE "touch_sound" 1.0;
5535       }
5536    }
5537 }
5538 group { name: "elm/entry/base-single/font_color_black/tizen_text_class";
5539    inherit: "elm/entry/base-single/font_color_black";
5540    styles {
5541       style { name: "tizen_text_class_single_textblock_style";
5542          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=tizen";
5543          tag:  "br" "\n";
5544          tag:  "ps" "ps";
5545          tag:  "tab" "\t";
5546          tag:  "em" "+ font=Tizen:style=Oblique";
5547          tag:  "b" "+ font=Tizen:style=Bold";
5548          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
5549          tag:  "hilight" "+ font=Tizen:style=Bold";
5550          tag:  "preedit" "+ underline=on underline_color=#000000FF";
5551          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
5552          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
5553          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
5554          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
5555          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
5556       }
5557       style { name: "tizen_text_class_single_textblock_disabled_style";
5558          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_DISABLED_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=tizen";
5559          tag:  "br" "\n";
5560          tag:  "ps" "ps";
5561          tag:  "tab" "\t";
5562          tag:  "em" "+ font=Tizen:style=Oblique";
5563          tag:  "b" "+ font=Tizen:style=Bold";
5564          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
5565          tag:  "hilight" "+ font=Tizen:style=Bold";
5566          tag:  "preedit" "+ underline=on underline_color=#000000FF";
5567          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
5568          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
5569          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
5570          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
5571          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
5572       }
5573       style { name: "tizen_text_class_single_textblock_guide_style";
5574          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_GUIDE_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=tizen ellipsis=1.0";
5575          tag:  "br" "\n";
5576          tag:  "ps" "ps";
5577          tag:  "tab" "\t";
5578          tag:  "em" "+ font=Tizen:style=Oblique";
5579          tag:  "b" "+ font=Tizen:style=Bold";
5580          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
5581          tag:  "hilight" "+ font=Tizen:style=Bold";
5582       }
5583    }
5584    parts {
5585       part { name: "elm.guide";
5586          type: TEXTBLOCK;
5587          mouse_events: 0;
5588          scale: 1;
5589          description { state: "default" 0.0;
5590             rel1.to: "elm.text";
5591             rel2.to: "elm.text";
5592             text {
5593                style: "tizen_text_class_single_textblock_guide_style";
5594                min: 0 1;
5595                max: 0 1;
5596             }
5597          }
5598          description { state: "hidden" 0.0;
5599             inherit: "default" 0.0;
5600             visible: 0;
5601          }
5602       }
5603       part { name: "elm.text";
5604          description { state: "default" 0.0;
5605             text {
5606                style: "tizen_text_class_single_textblock_style";
5607             }
5608             ENTRY_TEXTBLOCK_DEFAULT_REL
5609          }
5610          description { state: "disabled" 0.0;
5611             inherit: "default" 0.0;
5612             text {
5613                style: "tizen_text_class_single_textblock_disabled_style";
5614             }
5615          }
5616       }
5617    }
5618 }
5619 group { name: "elm/entry/base-password/font_color_black";
5620    alias: "elm/entry/base-password/editfield/font_color_black";
5621    data.item: "default_font_size" "24";
5622    data.item: "min_font_size" "8";
5623    data.item: "max_font_size" "60";
5624    data {
5625       item: context_menu_orientation "horizontal";
5626    }
5627    ENTRY_FOCUS_DATA
5628    ENTRY_FOCUS_IMAGE
5629    parts {
5630       ENTRY_FOCUS_PARTS
5631       part { name: "elm.guide";
5632          type: TEXTBLOCK;
5633          mouse_events: 0;
5634          scale: 1;
5635          description { state: "default" 0.0;
5636             rel1.to: "elm.text";
5637             rel2.to: "elm.text";
5638             text {
5639                style: "font_color_black_single_textblock_guide_style";
5640                min: 0 1;
5641                max: 0 1;
5642             }
5643          }
5644          description { state: "hidden" 0.0;
5645             inherit: "default" 0.0;
5646             visible: 0;
5647          }
5648       }
5649       part { name: "elm.text";
5650          type: TEXTBLOCK;
5651          mouse_events: 1;
5652          scale: 1;
5653          entry_mode: PASSWORD;
5654          select_mode: BLOCK_HANDLE;
5655          multiline: 0;
5656          source: "elm/entry/selection/default"; // selection under
5657          //source2: "X"; // selection over
5658          //source3: "X"; // cursor under
5659          source4: "elm/entry/cursor/default"; // cursorover
5660          source5: "elm/entry/anchor/default"; // anchor under
5661          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
5662          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
5663          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
5664          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
5665          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
5666          description { state: "default" 0.0;
5667             text {
5668                style: "font_color_black_single_textblock_style";
5669                repch: "•";
5670                min: 1 1;
5671                max: 0 1;
5672             }
5673             ENTRY_TEXTBLOCK_DEFAULT_REL
5674          }
5675          description { state: "disabled" 0.0;
5676             inherit: "default" 0.0;
5677             text {
5678                style: "font_color_black_single_textblock_disabled_style";
5679             }
5680          }
5681       }
5682       ENTRY_SWALLOW_PARTS
5683    }
5684    ENTRY_SWALLOW_SCRIPT_PUBLIC
5685    programs {
5686       program { name: "focus";
5687          signal: "load";
5688          source: "";
5689          action: FOCUS_SET;
5690          target: "elm.text";
5691       }
5692       program { name: "disable";
5693          signal: "elm,state,disabled";
5694          source: "elm";
5695          action: STATE_SET "disabled" 0.0;
5696          target: "elm.text";
5697       }
5698       program { name: "enable";
5699          signal: "elm,state,enabled";
5700          source: "elm";
5701          action: STATE_SET "default" 0.0;
5702          target: "elm.text";
5703       }
5704       program { name: "gdisable";
5705          signal: "elm,guide,disabled";
5706          source: "elm";
5707          action: STATE_SET "hidden" 0.0;
5708          target: "elm.guide";
5709       }
5710       program { name: "genable";
5711          signal: "elm,guide,enabled";
5712          source: "elm";
5713          action: STATE_SET "default" 0.0;
5714          target: "elm.guide";
5715       }
5716       program { name: "touch_snd";
5717          signal: "mouse,clicked,1";
5718          source: "elm.text";
5719          action: PLAY_SAMPLE "touch_sound" 1.0;
5720       }
5721       ENTRY_SWALLOW_PROGRAMS
5722       ENTRY_FOCUS_PROGRAMS
5723    }
5724 }
5725
5726 group { name: "elm/scroller/entry/default";
5727       data {
5728          item: "focus_highlight" "on";
5729       }
5730       images {
5731          image: "00_focus.png" COMP;
5732       }
5733       script {
5734          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
5735          public timer0(val) {
5736             new v;
5737             v = get_int(sbvis_v);
5738             if (v) {
5739                v = get_int(sbalways_v);
5740                if (!v) {
5741                   emit("do-hide-vbar", "");
5742                   set_int(sbvis_v, 0);
5743                }
5744             }
5745             v = get_int(sbvis_h);
5746             if (v) {
5747                v = get_int(sbalways_h);
5748                if (!v) {
5749                   emit("do-hide-hbar", "");
5750                   set_int(sbvis_h, 0);
5751                }
5752             }
5753             set_int(sbvis_timer, 0);
5754             return 0;
5755          }
5756       }
5757       parts {
5758          part { name: "focus_bg";
5759             type: RECT;
5760             scale: 1;
5761             description { state: "default" 0.0;
5762                visible: 0;
5763                rel1.relative: 0.0 0.0;
5764                rel2.relative: 1.0 1.0;
5765             }
5766          }
5767          part { name: "focus_image";
5768             scale: 1;
5769             mouse_events: 0;
5770             description { state: "default" 0.0;
5771                visible: 0;
5772                image {
5773                   normal: "00_focus.png";
5774                   border: 6 6 6 6;
5775                   border_scale: 1;
5776                }
5777                rel1 {
5778                   to: "focus_bg";
5779                   relative: 0.0 0.0;
5780                }
5781                rel2 {
5782                   to: "focus_bg";
5783                   relative: 1.0 1.0;
5784                }
5785             }
5786             description { state: "focused" 0.0;
5787                inherit: "default" 0.0;
5788                visible: 1;
5789             }
5790          }
5791          part { name: "focus_left_padding";
5792             type: SPACER;
5793             scale: 1;
5794             description { state: "default" 0.0;
5795                min: 10 0;
5796                max: 10 0;
5797                align: 0.0 0.5;
5798                fixed: 1 0;
5799                rel1 {
5800                   to: "focus_bg";
5801                   relative: 0.0 0.0;
5802                }
5803                rel2 {
5804                   to: "focus_bg";
5805                   relative: 0.0 1.0;
5806                }
5807             }
5808          }
5809          part { name: "focus_right_padding";
5810             type: SPACER;
5811             scale: 1;
5812             description { state: "default" 0.0;
5813                min: 10 0;
5814                max: 10 0;
5815                align: 1.0 0.5;
5816                fixed: 1 0;
5817                rel1 {
5818                   to: "focus_bg";
5819                   relative: 1.0 0.0;
5820                }
5821                rel2 {
5822                   to: "focus_bg";
5823                   relative: 1.0 1.0;
5824                }
5825             }
5826          }
5827          part { name: "bg";
5828             type: RECT;
5829             scale: 1;
5830             description { state: "default" 0.0;
5831                visible: 0;
5832                rel1 {
5833                   to_x: "focus_left_padding";
5834                   relative: 1.0 0.0;
5835                }
5836                rel2 {
5837                   to_x: "focus_right_padding";
5838                   relative: 0.0 1.0;
5839                }
5840             }
5841          }
5842          part { name: "clipper";
5843             type: RECT;
5844             scale: 1;
5845             mouse_events: 0;
5846             description { state: "default" 0.0;
5847                rel1.to: "bg";
5848                rel2.to: "bg";
5849             }
5850          }
5851          part { name: "editfield_space";
5852             type: SPACER;
5853             scale: 1;
5854             description { state: "default" 0.0;
5855                align: 1.0 1.0;
5856                min: 0 0;
5857                max: 0 0;
5858                rel1.to: "elm.swallow.end";
5859                rel1.relative: 0.0 0.0;
5860                rel2.to: "elm.swallow.end";
5861                rel2.relative: 1.0 1.0;
5862             }
5863             description { state: "rename_visible" 0.0;
5864                inherit: "default" 0.0;
5865                min: 9 0;
5866                max: 9 0;
5867                rel1 {
5868                   to_x: "elm.swallow.rename";
5869                   relative: 0.0 0.0;
5870                }
5871                rel2 {
5872                   to_x: "elm.swallow.rename";
5873                   relative: 0.0 1.0;
5874                }
5875             }
5876             description { state: "clear_visible" 0.0;
5877                inherit: "default" 0.0;
5878                min: 9 0;
5879                max: 9 0;
5880                rel1 {
5881                   to_x: "elm.swallow.clear";
5882                   relative: 0.0 0.0;
5883                }
5884                rel2 {
5885                   to_x: "elm.swallow.clear";
5886                   relative: 0.0 1.0;
5887                }
5888             }
5889          }
5890          part { name: "contentclipper";
5891             type: RECT;
5892             scale: 1;
5893             mouse_events: 0;
5894             clip_to: "clipper";
5895             description { state: "default" 0.0;
5896                rel1.to: "icon_right_padding";
5897                rel1.relative: 1.0 0.0;
5898                rel2.to: "editfield_space";
5899                rel2.relative: 0.0 1.0;
5900             }
5901          }
5902          part { name: "elm.swallow.icon";
5903             type: SWALLOW;
5904             scale: 1;
5905             clip_to: "clipper";
5906             description { state: "default" 0.0;
5907                align: 0.0 0.5;
5908                fixed: 1 1;
5909                rel1 {
5910                   to: "bg";
5911                   relative: 0.0 0.0;
5912                }
5913                rel2 {
5914                   to: "bg";
5915                   relative: 0.0 1.0;
5916                }
5917                visible: 0;
5918             }
5919             description { state: "visible" 0.0;
5920                inherit: "default" 0.0;
5921                visible: 1;
5922             }
5923          }
5924          part { name: "icon_right_padding";
5925             type: SPACER;
5926             scale: 1;
5927             clip_to: "clipper";
5928             description { state: "default" 0.0;
5929                fixed: 1 1;
5930                align: 0.0 0.0;
5931                min: 0 0;
5932                max: 0 0;
5933                rel1 {
5934                   to_x: "elm.swallow.icon";
5935                   relative: 1.0 0.0;
5936                }
5937                rel2 {
5938                   to_x: "elm.swallow.icon";
5939                   relative: 1.0 1.0;
5940                }
5941             }
5942             description { state: "visible" 0.0;
5943                inherit: "default" 0.0;
5944                min: 8 0;
5945                max: 8 0;
5946             }
5947          }
5948          part { name: "elm.swallow.clear";
5949             type: SWALLOW;
5950             scale: 1;
5951             clip_to: "clipper";
5952             description { state: "default" 0.0;
5953                align: 1.0 0.5;
5954                fixed: 1 1;
5955                rel1 {
5956                   to_x: "elm.swallow.end";
5957                   to_y: "bg";
5958                   relative: 0.0 0.0;
5959                }
5960                rel2 {
5961                   to_x: "elm.swallow.end";
5962                   to_y: "bg";
5963                   relative: 0.0 1.0;
5964                }
5965                visible: 0;
5966             }
5967             description { state: "clear_visible" 0.0;
5968                inherit: "default" 0.0;
5969                visible: 1;
5970             }
5971          }
5972          part { name: "elm.swallow.rename";
5973             type: SWALLOW;
5974             scale: 1;
5975             clip_to: "clipper";
5976             description { state: "default" 0.0;
5977                align: 1.0 0.5;
5978                fixed: 1 1;
5979                rel1 {
5980                   to_x: "elm.swallow.end";
5981                   to_y: "bg";
5982                   relative: 0.0 0.0;
5983                }
5984                rel2 {
5985                   to_x: "elm.swallow.end";
5986                   to_y: "bg";
5987                   relative: 0.0 1.0;
5988                }
5989                visible: 0;
5990             }
5991             description { state: "rename_visible" 0.0;
5992                inherit: "default" 0.0;
5993                visible: 1;
5994             }
5995          }
5996          part { name: "elm.swallow.end";
5997             type: SWALLOW;
5998             scale: 1;
5999             clip_to: "clipper";
6000             description { state: "default" 0.0;
6001                align: 1.0 0.5;
6002                fixed: 1 1;
6003                rel1 {
6004                   to: "bg";
6005                   relative: 1.0 0.0;
6006                }
6007                rel2 {
6008                   to: "bg";
6009                   relative: 1.0 1.0;
6010                }
6011                visible: 0;
6012             }
6013             description { state: "visible" 0.0;
6014                inherit: "default" 0.0;
6015                visible: 1;
6016             }
6017          }
6018          part { name: "elm.swallow.content";
6019             clip_to: "contentclipper";
6020             scale: 1;
6021             type: SWALLOW;
6022             description { state: "default" 0.0;
6023                rel1 {
6024                        to_x: "icon_right_padding";
6025                        relative: 1.0 0.0;
6026                }
6027                rel2 {
6028                 to_x: "editfield_space";
6029                 relative: 0.0 1.0;
6030                }
6031             }
6032          }
6033          part { name: "sb_vbar_clip_master";
6034             type: RECT;
6035             scale: 1;
6036             mouse_events: 0;
6037             description { state: "default" 0.0;
6038             }
6039             description { state: "hidden" 0.0;
6040                visible: 0;
6041                color: 255 255 255 0;
6042             }
6043          }
6044          part { name: "sb_vbar_clip";
6045             clip_to: "sb_vbar_clip_master";
6046             type: RECT;
6047             scale: 1;
6048             mouse_events: 0;
6049             description { state: "default" 0.0;
6050             }
6051             description { state: "hidden" 0.0;
6052                visible: 0;
6053                color: 255 255 255 0;
6054             }
6055          }
6056          part { name: "sb_vbar";
6057             type: RECT;
6058             scale: 1;
6059             mouse_events: 0;
6060             description { state: "default" 0.0;
6061                fixed: 1 1;
6062                visible: 0;
6063                min: 10 17;
6064                align: 1.0 0.0;
6065                rel1 {
6066                   relative: 0.0 0.0;
6067                   to_y:     "elm.swallow.content";
6068                   to_x:     "editfield_space";
6069                }
6070                rel2 {
6071                   relative: 0.0 0.0;
6072                   to_y:     "sb_hbar";
6073                   to_x:     "editfield_space";
6074                }
6075             }
6076          }
6077          part { name: "elm.dragable.vbar";
6078             type: RECT;
6079             scale: 1;
6080             clip_to: "sb_vbar_clip";
6081             mouse_events: 0;
6082             dragable {
6083                x: 0 0 0;
6084                y: 1 1 0;
6085                confine: "sb_vbar";
6086             }
6087             description { state: "default" 0.0;
6088                visible: 0;
6089                fixed: 1 1;
6090                min: 10 17;
6091                max: 10 99999;
6092                rel1 {
6093                   relative: 0.5  0.5;
6094                   to: "sb_vbar";
6095                }
6096                rel2 {
6097                   relative: 0.5  0.5;
6098                   to: "sb_vbar";
6099                }
6100             }
6101          }
6102          part { name: "sb_hbar_clip_master";
6103             type: RECT;
6104             scale: 1;
6105             mouse_events: 0;
6106             description { state: "default" 0.0;
6107             }
6108             description { state: "hidden" 0.0;
6109                visible: 0;
6110                color: 255 255 255 0;
6111             }
6112          }
6113          part { name: "sb_hbar_clip";
6114             clip_to: "sb_hbar_clip_master";
6115             type: RECT;
6116             scale: 1;
6117             mouse_events: 0;
6118             description { state: "default" 0.0;
6119             }
6120             description { state: "hidden" 0.0;
6121                visible: 0;
6122                color: 255 255 255 0;
6123             }
6124          }
6125          part { name: "sb_hbar";
6126             type: RECT;
6127             scale: 1;
6128             mouse_events: 0;
6129             description { state: "default" 0.0;
6130                fixed: 1 1;
6131                visible: 0;
6132                min: 17 10;
6133                align: 0.0 1.0;
6134                rel1 {
6135                   relative: 0.0 1.0;
6136                   to_x:     "elm.swallow.content";
6137                   to_y:     "elm.swallow.content";
6138                }
6139                rel2 {
6140                   relative: 0.0 1.0;
6141                   to_x:     "sb_vbar";
6142                   to_y:     "elm.swallow.content";
6143                }
6144             }
6145          }
6146          part { name: "elm.dragable.hbar";
6147             type: RECT;
6148             scale: 1;
6149             clip_to: "sb_hbar_clip";
6150             mouse_events: 0;
6151             dragable {
6152                x: 1 1 0;
6153                y: 0 0 0;
6154                confine: "sb_hbar";
6155             }
6156             description { state: "default" 0.0;
6157                fixed: 1 1;
6158                min: 17 10;
6159                max: 99999 10;
6160                rel1 {
6161                   relative: 0.5  0.5;
6162                   to: "sb_hbar";
6163                }
6164                rel2 {
6165                   relative: 0.5  0.5;
6166                   to: "sb_hbar";
6167                }
6168             }
6169          }
6170       }
6171       programs {
6172          program { name: "load";
6173             signal: "load";
6174             source: "";
6175             script {
6176                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
6177                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
6178                set_int(sbvis_h, 0);
6179                set_int(sbvis_v, 0);
6180                set_int(sbalways_v, 0);
6181                set_int(sbalways_h, 0);
6182                set_int(sbvis_timer, 0);
6183             }
6184          }
6185          program { name: "icon_show";
6186             signal: "elm,action,show,icon";
6187             source: "elm";
6188             action: STATE_SET "visible" 0.0;
6189             target: "elm.swallow.icon";
6190             target: "icon_right_padding";
6191          }
6192          program { name: "icon_hide";
6193             signal: "elm,action,hide,icon";
6194             source: "elm";
6195             action: STATE_SET "default" 0.0;
6196             target: "elm.swallow.icon";
6197             target: "icon_right_padding";
6198          }
6199          program { name: "clear_show";
6200             signal: "elm,state,clear,visible";
6201             source: "*";
6202             action: STATE_SET "clear_visible" 0.0;
6203             target: "elm.swallow.clear";
6204             target: "editfield_space";
6205          }
6206          program { name: "clear_hide";
6207             signal: "elm,state,clear,hidden";
6208             source: "*";
6209             action: STATE_SET "default" 0.0;
6210             target: "elm.swallow.clear";
6211             target: "editfield_space";
6212          }
6213          program { name: "rename_show";
6214             signal: "elm,state,rename,visible";
6215             source: "*";
6216             action: STATE_SET "rename_visible" 0.0;
6217             target: "elm.swallow.rename";
6218             target: "editfield_space";
6219          }
6220          program { name: "rename_hide";
6221             signal: "elm,state,rename,hidden";
6222             source: "*";
6223             action: STATE_SET "default" 0.0;
6224             target: "elm.swallow.rename";
6225             target: "editfield_space";
6226          }
6227          program { name: "end_show";
6228             signal: "elm,action,show,end";
6229             source: "elm";
6230             action: STATE_SET "visible" 0.0;
6231             target: "elm.swallow.end";
6232          }
6233          program { name: "end_hide";
6234             signal: "elm,action,hide,end";
6235             source: "elm";
6236             action: STATE_SET "default" 0.0;
6237             target: "elm.swallow.end";
6238          }
6239          program { name: "vbar_show";
6240             signal: "elm,action,show,vbar";
6241             source: "elm";
6242             action:  STATE_SET "default" 0.0;
6243             target: "sb_vbar_clip_master";
6244          }
6245          program { name: "vbar_hide";
6246             signal: "elm,action,hide,vbar";
6247             source: "elm";
6248             action:  STATE_SET "hidden" 0.0;
6249             target: "sb_vbar_clip_master";
6250          }
6251          program { name: "vbar_show_always";
6252             signal: "elm,action,show_always,vbar";
6253             source: "elm";
6254             script {
6255                new v;
6256                v = get_int(sbvis_v);
6257                v |= get_int(sbalways_v);
6258                if (!v) {
6259                   set_int(sbalways_v, 1);
6260                   emit("do-show-vbar", "");
6261                   set_int(sbvis_v, 1);
6262                }
6263             }
6264          }
6265          program { name: "vbar_show_notalways";
6266             signal: "elm,action,show_notalways,vbar";
6267             source: "elm";
6268             script {
6269                new v;
6270                v = get_int(sbalways_v);
6271                if (v) {
6272                   set_int(sbalways_v, 0);
6273                   v = get_int(sbvis_v);
6274                   if (!v) {
6275                      emit("do-hide-vbar", "");
6276                      set_int(sbvis_v, 0);
6277                   }
6278                }
6279             }
6280          }
6281          program { name: "sb_vbar_show";
6282             signal: "do-show-vbar";
6283             source: "";
6284             action:  STATE_SET "default" 0.0;
6285             transition: LINEAR 0.5;
6286             target: "sb_vbar_clip";
6287          }
6288          program { name: "sb_vbar_hide";
6289             signal: "do-hide-vbar";
6290             source: "";
6291             action:  STATE_SET "hidden" 0.0;
6292             transition: LINEAR 0.5;
6293             target: "sb_vbar_clip";
6294          }
6295
6296          program { name: "hbar_show";
6297             signal: "elm,action,show,hbar";
6298             source: "elm";
6299             action:  STATE_SET "default" 0.0;
6300             target: "sb_hbar_clip_master";
6301          }
6302          program { name: "hbar_hide";
6303             signal: "elm,action,hide,hbar";
6304             source: "elm";
6305             action:  STATE_SET "hidden" 0.0;
6306             target: "sb_hbar_clip_master";
6307          }
6308          program { name: "hbar_show_always";
6309             signal: "elm,action,show_always,hbar";
6310             source: "elm";
6311             script {
6312                new v;
6313                v = get_int(sbvis_h);
6314                v |= get_int(sbalways_h);
6315                if (!v) {
6316                   set_int(sbalways_h, 1);
6317                   emit("do-show-hbar", "");
6318                   set_int(sbvis_h, 1);
6319                }
6320             }
6321          }
6322          program { name: "hbar_show_notalways";
6323             signal: "elm,action,show_notalways,hbar";
6324             source: "elm";
6325             script {
6326                new v;
6327                v = get_int(sbalways_h);
6328                if (v) {
6329                   set_int(sbalways_h, 0);
6330                   v = get_int(sbvis_h);
6331                   if (!v) {
6332                      emit("do-hide-hbar", "");
6333                      set_int(sbvis_h, 0);
6334                   }
6335                }
6336             }
6337          }
6338          program { name: "sb_hbar_show";
6339             signal: "do-show-hbar";
6340             source: "";
6341             action:  STATE_SET "default" 0.0;
6342             transition: LINEAR 0.5;
6343             target: "sb_hbar_clip";
6344          }
6345          program { name: "sb_hbar_hide";
6346             signal: "do-hide-hbar";
6347             source: "";
6348             action:  STATE_SET "hidden" 0.0;
6349             transition: LINEAR 0.5;
6350             target: "sb_hbar_clip";
6351          }
6352
6353          program { name: "scroll";
6354             signal: "elm,action,scroll";
6355             source: "elm";
6356             script {
6357                new v;
6358                v = get_int(sbvis_v);
6359                v |= get_int(sbalways_v);
6360                if (!v) {
6361                   emit("do-show-vbar", "");
6362                   set_int(sbvis_v, 1);
6363                }
6364                v = get_int(sbvis_h);
6365                v |= get_int(sbalways_h);
6366                if (!v) {
6367                   emit("do-show-hbar", "");
6368                   set_int(sbvis_h, 1);
6369                }
6370                v = get_int(sbvis_timer);
6371                if (v > 0) cancel_timer(v);
6372                v = timer(1.0, "timer0", 0);
6373                set_int(sbvis_timer, v);
6374             }
6375          }
6376          program { name: "action_focus";
6377             signal: "elm,action,focus_highlight,show";
6378             source: "elm";
6379             action: STATE_SET "focused" 0.0;
6380             target: "focus_image";
6381          }
6382          program { name: "action_unfocus";
6383             signal: "elm,action,focus_highlight,hide";
6384             source: "elm";
6385             action: STATE_SET "default" 0.0;
6386             target: "focus_image";
6387          }
6388       }
6389    }
6390 group { name: "elm/scroller/entry/editfield";
6391       inherit: "elm/scroller/entry/default";
6392       data {
6393          item: "focus_highlight" "off";
6394       }
6395       images {
6396          image: "00_edit_field_focus.png" COMP;
6397          image: "00_edit_field_bg.png" COMP;
6398       }
6399       parts {
6400          part { name: "focus_bg";
6401             type: IMAGE;
6402             scale: 1;
6403             mouse_events: 0;
6404             repeat_events: 1;
6405             description { state: "default" 0.0;
6406                visible: 1;
6407                image {
6408                   normal: "00_edit_field_bg.png";
6409                   border: 8 8 8 8;
6410                   border_scale: 1;
6411                }
6412                rel1.relative: 0.0 0.0;
6413                rel2.relative: 1.0 1.0;
6414             }
6415          }
6416          part { name: "focus_image";
6417             scale: 1;
6418             mouse_events: 0;
6419             description { state: "default" 0.0;
6420                visible: 0;
6421                image {
6422                   normal: "00_edit_field_focus.png";
6423                   border: 8 8 8 8;
6424                   border_scale: 1;
6425                }
6426                rel1 {
6427                   to: "focus_bg";
6428                   relative: 0.0 0.0;
6429                }
6430                rel2 {
6431                   to: "focus_bg";
6432                   relative: 1.0 1.0;
6433                }
6434             }
6435             description { state: "focused" 0.0;
6436                inherit: "default" 0.0;
6437                visible: 1;
6438             }
6439          }
6440          part { name: "focus_left_padding";
6441             type: SPACER;
6442             scale: 1;
6443             description { state: "default" 0.0;
6444                min: 10 0;
6445                max: 10 0;
6446                fixed: 1 0;
6447                align: 0.0 0.5;
6448                rel1 {
6449                   to: "focus_bg";
6450                   relative: 0.0 0.0;
6451                }
6452                rel2 {
6453                   to: "focus_bg";
6454                   relative: 0.0 1.0;
6455                }
6456             }
6457          }
6458          part { name: "focus_right_padding";
6459             type: SPACER;
6460             scale: 1;
6461             description { state: "default" 0.0;
6462                min: 10 0;
6463                max: 10 0;
6464                align: 1.0 0.5;
6465                fixed: 1 0;
6466                rel1 {
6467                   to: "focus_bg";
6468                   relative: 1.0 0.0;
6469                }
6470                rel2 {
6471                   to: "focus_bg";
6472                   relative: 1.0 1.0;
6473                }
6474             }
6475          }
6476          part { name: "bg";
6477             type: RECT;
6478             scale: 1;
6479             description { state: "default" 0.0;
6480                visible: 0;
6481                rel1 {
6482                   to_x: "focus_left_padding";
6483                   relative: 1.0 0.0;
6484                }
6485                rel2 {
6486                   to_x: "focus_right_padding";
6487                   relative: 0.0 1.0;
6488                }
6489             }
6490          }
6491       }
6492       programs {
6493          program { name: "action_focus";
6494             signal: "elm,state,focus,on";
6495             source: "*";
6496             action: STATE_SET "focused" 0.0;
6497             target: "focus_image";
6498          }
6499          program { name: "action_unfocus";
6500             signal: "elm,state,focus,off";
6501             source: "*";
6502             action: STATE_SET "default" 0.0;
6503             target: "focus_image";
6504          }
6505       }
6506 }
6507 group { name: "elm/scroller/entry/editfield/searchbar/default";
6508       inherit: "elm/scroller/entry/default";
6509       data {
6510          item: "focus_highlight" "off";
6511       }
6512       images {
6513          image: "00_search_edit_field_bg_focus.png" COMP;
6514          image: "00_search_edit_field_bg.png" COMP;
6515       }
6516       parts {
6517          part { name: "focus_bg";
6518             type: IMAGE;
6519             scale: 1;
6520             mouse_events: 0;
6521             repeat_events: 1;
6522             description { state: "default" 0.0;
6523                visible: 1;
6524                image {
6525                   normal: "00_search_edit_field_bg.png";
6526                   border: 12 13 12 13;
6527                   border_scale: 1;
6528                }
6529                rel1.relative: 0.0 0.0;
6530                rel2.relative: 1.0 1.0;
6531             }
6532          }
6533          part { name: "focus_image";
6534             scale: 1;
6535             mouse_events: 0;
6536             description { state: "default" 0.0;
6537                visible: 0;
6538                image {
6539                   normal: "00_search_edit_field_bg_focus.png";
6540                   border: 12 13 12 13;
6541                   border_scale: 1;
6542                }
6543                rel1 {
6544                   to: "focus_bg";
6545                   relative: 0.0 0.0;
6546                }
6547                rel2 {
6548                   to: "focus_bg";
6549                   relative: 1.0 1.0;
6550                }
6551             }
6552             description { state: "focused" 0.0;
6553                inherit: "default" 0.0;
6554                visible: 1;
6555             }
6556          }
6557          part { name: "focus_left_padding";
6558             type: SPACER;
6559             scale: 1;
6560             description { state: "default" 0.0;
6561                min: 10 0;
6562                max: 10 0;
6563                fixed: 1 0;
6564                align: 0.0 0.5;
6565                rel1 {
6566                   to: "focus_bg";
6567                   relative: 0.0 0.0;
6568                }
6569                rel2 {
6570                   to: "focus_bg";
6571                   relative: 0.0 1.0;
6572                }
6573             }
6574          }
6575          part { name: "focus_right_padding";
6576             type: SPACER;
6577             scale: 1;
6578             description { state: "default" 0.0;
6579                min: 10 0;
6580                max: 10 0;
6581                align: 1.0 0.5;
6582                fixed: 1 0;
6583                rel1 {
6584                   to: "focus_bg";
6585                   relative: 1.0 0.0;
6586                }
6587                rel2 {
6588                   to: "focus_bg";
6589                   relative: 1.0 1.0;
6590                }
6591             }
6592          }
6593          part { name: "bg";
6594             type: RECT;
6595             scale: 1;
6596             description { state: "default" 0.0;
6597                visible: 0;
6598                rel1 {
6599                   to_x: "focus_left_padding";
6600                   relative: 1.0 0.0;
6601                }
6602                rel2 {
6603                   to_x: "focus_right_padding";
6604                   relative: 0.0 1.0;
6605                }
6606             }
6607          }
6608       }
6609       programs {
6610          program { name: "action_focus";
6611             signal: "elm,state,focus,on";
6612             source: "*";
6613             action: STATE_SET "focused" 0.0;
6614             target: "focus_image";
6615          }
6616          program { name: "action_unfocus";
6617             signal: "elm,state,focus,off";
6618             source: "*";
6619             action: STATE_SET "default" 0.0;
6620             target: "focus_image";
6621          }
6622       }
6623 }
6624 group { name: "elm/entry/base-single/datetime_popup";
6625    name: "elm/entry/base-single/datetime_popup/year";
6626    alias: "elm/entry/base-single/datetime_popup/month";
6627    alias: "elm/entry/base-single/datetime_popup/date";
6628    alias: "elm/entry/base-single/datetime_popup/hour";
6629    alias: "elm/entry/base-single/datetime_popup/minute";
6630
6631    inherit: "elm/entry/base-single/default";
6632
6633    data.item: "default_font_size" "64";
6634
6635    styles {
6636       style { name: "entry_datetime_popup_textblock_style";
6637          base: "font=Tizen:style=Roman font_size="ENTRY_DATETIME_POPUP_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=tizen";
6638          tag:  "br" "\n";
6639          tag:  "ps" "ps";
6640          tag:  "tab" "\t";
6641          tag:  "em" "+ font=Tizen:style=Oblique";
6642          tag:  "b" "+ font=Tizen:style=Bold";
6643          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
6644          tag:  "hilight" "+ font=Tizen:style=Bold";
6645          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
6646          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;
6647          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
6648          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
6649          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
6650          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
6651       }
6652    }
6653    parts {
6654       part { name: "elm.text";
6655          type: TEXTBLOCK;
6656          mouse_events: 1;
6657          scale: 1;
6658          entry_mode: EDITABLE;
6659          select_mode: BLOCK_HANDLE;
6660          multiline: 0;
6661          source: "elm/entry/selection/default"; // selection under
6662          source4: "elm/entry/cursor/default"; // cursorover
6663          source5: "elm/entry/anchor/default"; // anchor under
6664          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
6665          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
6666          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
6667          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
6668          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
6669          description { state: "default" 0.0;
6670             text {
6671                style: "entry_datetime_popup_textblock_style";
6672                min: 1 1;
6673                max: 0 0;
6674                align: 0.0 0.5;
6675             }
6676             ENTRY_TEXTBLOCK_DEFAULT_REL
6677          }
6678          description { state: "disabled" 0.0;
6679             inherit: "default" 0.0;
6680             text {
6681                style: "entry_single_textblock_disabled_style";
6682             }
6683          }
6684       }
6685    }
6686 }
6687
6688