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