bae727674161a231b9e924a9c1c4f50bca096ee1
[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          min: 0 0; \
55          max: 0 0; \
56          fixed: 1 0; \
57          rel1 { \
58             to_x: "focus_right_padding"; \
59             relative: 0.0 0.0; \
60          } \
61          rel2 { \
62             to_x: "focus_right_padding"; \
63             relative: 0.0 1.0; \
64          } \
65       } \
66       description { state: "visible" 0.0; \
67          inherit: "default" 0.0; \
68          min: 70 0; \
69          max: 70 0; \
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_TEXT_SIZE_INC" color="ENTRY_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_TEXT_SIZE_INC" color="ENTRY_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_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_TEXT_SIZE_INC" color="ENTRY_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_TEXT_SIZE_INC" color="ENTRY_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_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_TEXT_SIZE_INC" color="ENTRY_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_TEXT_SIZE_INC" color="ENTRY_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_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    ENTRY_EDITFIELD_FOCUS_DATA
1129    ENTRY_EDITFIELD_FOCUS_IMAGE
1130    styles {
1131       style { name: "editfield_searchbar_single_textblock_style";
1132          base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry";
1133          tag:  "br" "\n";
1134          tag:  "ps" "ps";
1135          tag:  "tab" "\t";
1136          tag:  "em" "+ font=Tizen:style=Oblique";
1137          tag:  "b" "+ font=Tizen:style=Bold";
1138          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
1139          tag:  "hilight" "+ font=Tizen:style=Bold";
1140          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1141          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;
1142          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1143          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1144          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1145          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1146       }
1147       style { name: "editfield_searchbar_single_textblock_disabled_style";
1148          base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color="ENTRY_DISABLED_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry";
1149          tag:  "br" "\n";
1150          tag:  "ps" "ps";
1151          tag:  "tab" "\t";
1152          tag:  "em" "+ font=Tizen:style=Oblique";
1153          tag:  "b" "+ font=Tizen:style=Bold";
1154          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
1155          tag:  "hilight" "+ font=Tizen:style=Bold";
1156          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1157          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;
1158          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1159          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1160          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1161          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1162       }
1163       style { name: "editfield_searchbar_single_textblock_guide_style";
1164          base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color="ENTRY_GUIDE_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry ellipsis=1.0";
1165          tag:  "br" "\n";
1166          tag:  "ps" "ps";
1167          tag:  "tab" "\t";
1168          tag:  "em" "+ font=Tizen:style=Oblique";
1169          tag:  "b" "+ font=Tizen:style=Bold";
1170          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
1171          tag:  "hilight" "+ font=Tizen:style=Bold";
1172       }
1173    }
1174    parts {
1175       ENTRY_EDITFIELD_FOCUS_PARTS
1176       part { name: "elm.guide";
1177          type: TEXTBLOCK;
1178          mouse_events: 0;
1179          scale: 1;
1180          description { state: "default" 0.0;
1181             rel1.to: "elm.text";
1182             rel2.to: "elm.text";
1183             text {
1184                style: "editfield_searchbar_single_textblock_guide_style";
1185                min: 0 1;
1186                max: 0 1;
1187             }
1188          }
1189          description { state: "hidden" 0.0;
1190             inherit: "default" 0.0;
1191             visible: 0;
1192          }
1193       }
1194       part { name: "elm.text";
1195          type: TEXTBLOCK;
1196          mouse_events: 1;
1197          scale: 1;
1198          entry_mode: EDITABLE;
1199          select_mode: BLOCK_HANDLE;
1200          //cursor_mode: BEFORE;
1201          multiline: 0;
1202          source: "elm/entry/selection/default"; // selection under
1203          //source2: "X"; // selection over
1204          //source3: "X"; // cursor under
1205          source4: "elm/entry/cursor/default"; // cursorover
1206          source5: "elm/entry/anchor/default"; // anchor under
1207          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
1208          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
1209          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
1210          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
1211          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
1212          description { state: "default" 0.0;
1213             text {
1214                style: "editfield_searchbar_single_textblock_style";
1215                min: 1 1;
1216                max: 0 1;
1217             }
1218             ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL
1219          }
1220          description { state: "disabled" 0.0;
1221             inherit: "default" 0.0;
1222             text {
1223                style: "editfield_searchbar_single_textblock_disabled_style";
1224             }
1225          }
1226       }
1227       ENTRY_EDITFIELD_SWALLOW_PARTS
1228    }
1229    ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC
1230    programs {
1231       program { name: "focus";
1232          signal: "load";
1233          source: "";
1234          action: FOCUS_SET;
1235          target: "elm.text";
1236       }
1237       program { name: "disable";
1238          signal: "elm,state,disabled";
1239          source: "elm";
1240          action: STATE_SET "disabled" 0.0;
1241          target: "elm.text";
1242       }
1243       program { name: "enable";
1244          signal: "elm,state,enabled";
1245          source: "elm";
1246          action: STATE_SET "default" 0.0;
1247          target: "elm.text";
1248       }
1249       program { name: "gdisable";
1250          signal: "elm,guide,disabled";
1251          source: "elm";
1252          action: STATE_SET "hidden" 0.0;
1253          target: "elm.guide";
1254       }
1255       program { name: "genable";
1256          signal: "elm,guide,enabled";
1257          source: "elm";
1258          action: STATE_SET "default" 0.0;
1259          target: "elm.guide";
1260       }
1261       program { name: "touch_snd";
1262          signal: "mouse,clicked,1";
1263          source: "elm.text";
1264          action: PLAY_SAMPLE "touch_sound" 1.0;
1265       }
1266       ENTRY_EDITFIELD_SWALLOW_PROGRAMS
1267       ENTRY_EDITFIELD_FOCUS_PROGRAMS
1268    }
1269 }
1270
1271 group { name: "elm/entry/base-single/default";
1272    data.item: "default_font_size" "24";
1273    data.item: "min_font_size" "8";
1274    data.item: "max_font_size" "60";
1275    styles {
1276       style { name: "entry_single_textblock_style";
1277          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";
1278          tag:  "br" "\n";
1279          tag:  "ps" "ps";
1280          tag:  "tab" "\t";
1281          tag:  "em" "+ font=Tizen:style=Oblique";
1282          tag:  "b" "+ font=Tizen:style=Bold";
1283          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
1284          tag:  "hilight" "+ font=Tizen:style=Bold";
1285          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1286          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;
1287          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1288          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1289          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1290          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1291       }
1292       style { name: "entry_single_textblock_disabled_style";
1293          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";
1294          tag:  "br" "\n";
1295          tag:  "ps" "ps";
1296          tag:  "tab" "\t";
1297          tag:  "em" "+ font=Tizen:style=Oblique";
1298          tag:  "b" "+ font=Tizen:style=Bold";
1299          tag:  "link " "+ color=#00000080 underline=on underline_color=#00000080";
1300          tag:  "hilight" "+ font=Tizen:style=Bold";
1301          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1302          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;
1303          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1304          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1305          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1306          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1307       }
1308       style { name: "entry_single_textblock_guide_style";
1309          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";
1310          tag:  "br" "\n";
1311          tag:  "ps" "ps";
1312          tag:  "tab" "\t";
1313          tag:  "em" "+ font=Tizen:style=Oblique";
1314          tag:  "b" "+ font=Tizen:style=Bold";
1315          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
1316          tag:  "hilight" "+ font=Tizen:style=Bold";
1317       }
1318    }
1319    data {
1320       item: context_menu_orientation "horizontal";
1321    }
1322    parts {
1323       part { name: "elm.guide";
1324          type: TEXTBLOCK;
1325          mouse_events: 0;
1326          scale: 1;
1327          description { state: "default" 0.0;
1328             rel1.to: "elm.text";
1329             rel2.to: "elm.text";
1330             text {
1331                style: "entry_single_textblock_guide_style";
1332                min: 0 1;
1333                max: 0 0;
1334                align: 0.0 0.5;
1335             }
1336          }
1337          description { state: "hidden" 0.0;
1338             inherit: "default" 0.0;
1339             visible: 0;
1340          }
1341       }
1342       part { name: "elm.text";
1343          type: TEXTBLOCK;
1344          mouse_events: 1;
1345          scale: 1;
1346          entry_mode: EDITABLE;
1347          select_mode: BLOCK_HANDLE;
1348          //cursor_mode: BEFORE;
1349          multiline: 0;
1350          source: "elm/entry/selection/default"; // selection under
1351          //source2: "X"; // selection over
1352          //source3: "X"; // cursor under
1353          source4: "elm/entry/cursor/default"; // cursorover
1354          source5: "elm/entry/anchor/default"; // anchor under
1355          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
1356          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
1357          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
1358          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
1359          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
1360          description { state: "default" 0.0;
1361             text {
1362                style: "entry_single_textblock_style";
1363                min: 1 1;
1364                max: 0 0;
1365                align: 0.0 0.5;
1366             }
1367          }
1368          description { state: "disabled" 0.0;
1369             inherit: "default" 0.0;
1370             text {
1371                style: "entry_single_textblock_disabled_style";
1372             }
1373          }
1374       }
1375    }
1376    programs {
1377       program { name: "focus";
1378          signal: "load";
1379          source: "";
1380          action: FOCUS_SET;
1381          target: "elm.text";
1382       }
1383       program { name: "disable";
1384          signal: "elm,state,disabled";
1385          source: "elm";
1386          action: STATE_SET "disabled" 0.0;
1387          target: "elm.text";
1388       }
1389       program { name: "enable";
1390          signal: "elm,state,enabled";
1391          source: "elm";
1392          action: STATE_SET "default" 0.0;
1393          target: "elm.text";
1394       }
1395       program { name: "gdisable";
1396          signal: "elm,guide,disabled";
1397          source: "elm";
1398          action: STATE_SET "hidden" 0.0;
1399          target: "elm.guide";
1400       }
1401       program { name: "genable";
1402          signal: "elm,guide,enabled";
1403          source: "elm";
1404          action: STATE_SET "default" 0.0;
1405          target: "elm.guide";
1406       }
1407       program { name: "touch_snd";
1408          signal: "mouse,clicked,1";
1409          source: "elm.text";
1410          action: PLAY_SAMPLE "touch_sound" 1.0;
1411       }
1412    }
1413 }
1414
1415 group { name: "elm/entry/base-single-noedit/default";
1416    data.item: "default_font_size" "24";
1417    data.item: "min_font_size" "8";
1418    data.item: "max_font_size" "60";
1419    data {
1420       item: context_menu_orientation "horizontal";
1421    }
1422    parts {
1423       part { name: "elm.guide";
1424          type: TEXTBLOCK;
1425          mouse_events: 0;
1426          scale: 1;
1427          description { state: "default" 0.0;
1428             rel1.to: "elm.text";
1429             rel2.to: "elm.text";
1430             text {
1431                style: "entry_single_textblock_guide_style";
1432                min: 0 1;
1433                max: 0 1;
1434             }
1435          }
1436          description { state: "hidden" 0.0;
1437             inherit: "default" 0.0;
1438             visible: 0;
1439          }
1440       }
1441       part { name: "elm.text";
1442          type: TEXTBLOCK;
1443          mouse_events: 1;
1444          scale: 1;
1445          entry_mode: PLAIN;
1446          select_mode: BLOCK_HANDLE;
1447          //cursor_mode: BEFORE;
1448          multiline: 0;
1449          source: "elm/entry/selection/default"; // selection under
1450          //source2: "X"; // selection over
1451          //source3: "X"; // cursor under
1452          source5: "elm/entry/anchor/default"; // anchor under
1453          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
1454          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
1455          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
1456          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
1457          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
1458          description { state: "default" 0.0;
1459             text {
1460                style: "entry_single_textblock_style";
1461                min: 1 1;
1462                max: 0 1;
1463             }
1464          }
1465          description { state: "disabled" 0.0;
1466             inherit: "default" 0.0;
1467             text {
1468                style: "entry_single_textblock_disabled_style";
1469             }
1470          }
1471       }
1472    }
1473    programs {
1474       program { name: "focus";
1475          signal: "load";
1476          source: "";
1477          action: FOCUS_SET;
1478          target: "elm.text";
1479       }
1480       program { name: "disable";
1481          signal: "elm,state,disabled";
1482          source: "elm";
1483          action: STATE_SET "disabled" 0.0;
1484          target: "elm.text";
1485       }
1486       program { name: "enable";
1487          signal: "elm,state,enabled";
1488          source: "elm";
1489          action: STATE_SET "default" 0.0;
1490          target: "elm.text";
1491       }
1492       program { name: "gdisable";
1493          signal: "elm,guide,disabled";
1494          source: "elm";
1495          action: STATE_SET "hidden" 0.0;
1496          target: "elm.guide";
1497       }
1498       program { name: "genable";
1499          signal: "elm,guide,enabled";
1500          source: "elm";
1501          action: STATE_SET "default" 0.0;
1502          target: "elm.guide";
1503       }
1504       program { name: "touch_snd";
1505          signal: "mouse,clicked,1";
1506          source: "elm.text";
1507          action: PLAY_SAMPLE "touch_sound" 1.0;
1508       }
1509    }
1510 }
1511
1512 group { name: "elm/entry/base-noedit/default";
1513    data.item: "default_font_size" "24";
1514    data.item: "min_font_size" "8";
1515    data.item: "max_font_size" "60";
1516    data {
1517       item: context_menu_orientation "horizontal";
1518    }
1519    parts {
1520       part { name: "elm.guide";
1521          type: TEXTBLOCK;
1522          mouse_events: 0;
1523          scale: 1;
1524          description { state: "default" 0.0;
1525             rel1.to: "elm.text";
1526             rel2.to: "elm.text";
1527             text {
1528                style: "entry_textblock_guide_style";
1529                min: 0 1;
1530                align: 0.0 0.0;
1531             }
1532          }
1533          description { state: "hidden" 0.0;
1534             inherit: "default" 0.0;
1535             visible: 0;
1536          }
1537       }
1538       part { name: "elm.text";
1539          type: TEXTBLOCK;
1540          mouse_events: 1;
1541          scale: 1;
1542          entry_mode: PLAIN;
1543          select_mode: BLOCK_HANDLE;
1544          //cursor_mode: BEFORE;
1545          multiline: 1;
1546          source: "elm/entry/selection/default"; // selection under
1547          //source2: "X"; // selection over
1548          //source3: "X"; // cursor under
1549          source5: "elm/entry/anchor/default"; // anchor under
1550          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
1551          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
1552          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
1553          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
1554          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
1555          description { state: "default" 0.0;
1556             fixed: 1 0;
1557             text {
1558                style: "entry_textblock_style";
1559                min: 0 1;
1560                align: 0.0 0.0;
1561             }
1562          }
1563          description { state: "disabled" 0.0;
1564             inherit: "default" 0.0;
1565             text {
1566                style: "entry_textblock_disabled_style";
1567             }
1568          }
1569       }
1570    }
1571    programs {
1572       program { name: "focus";
1573          signal: "load";
1574          source: "";
1575          action: FOCUS_SET;
1576          target: "elm.text";
1577       }
1578       program { name: "disable";
1579          signal: "elm,state,disabled";
1580          source: "elm";
1581          action: STATE_SET "disabled" 0.0;
1582          target: "elm.text";
1583       }
1584       program { name: "enable";
1585          signal: "elm,state,enabled";
1586          source: "elm";
1587          action: STATE_SET "default" 0.0;
1588          target: "elm.text";
1589       }
1590       program { name: "gdisable";
1591          signal: "elm,guide,disabled";
1592          source: "elm";
1593          action: STATE_SET "hidden" 0.0;
1594          target: "elm.guide";
1595       }
1596       program { name: "genable";
1597          signal: "elm,guide,enabled";
1598          source: "elm";
1599          action: STATE_SET "default" 0.0;
1600          target: "elm.guide";
1601       }
1602       program { name: "touch_snd";
1603          signal: "mouse,clicked,1";
1604          source: "elm.text";
1605          action: PLAY_SAMPLE "touch_sound" 1.0;
1606       }
1607    }
1608 }
1609
1610    group { name: "elm/entry/base-noedit-charwrap/default";
1611       data.item: "default_font_size" "24";
1612       data.item: "min_font_size" "8";
1613       data.item: "max_font_size" "60";
1614       data {
1615          item: context_menu_orientation "horizontal";
1616       }
1617       parts {
1618          part { name: "elm.guide";
1619             type: TEXTBLOCK;
1620             mouse_events: 0;
1621             scale: 1;
1622             description { state: "default" 0.0;
1623                rel1.to: "elm.text";
1624                rel2.to: "elm.text";
1625                text {
1626                   style: "entry_textblock_char_wrap_guide_style";
1627                   min: 0 1;
1628                   align: 0.0 0.0;
1629                }
1630             }
1631             description { state: "hidden" 0.0;
1632                inherit: "default" 0.0;
1633                visible: 0;
1634             }
1635          }
1636          part { name: "elm.text";
1637             type: TEXTBLOCK;
1638             mouse_events: 1;
1639             scale: 1;
1640             entry_mode: PLAIN;
1641             select_mode: BLOCK_HANDLE;
1642             //cursor_mode: BEFORE;
1643             multiline: 1;
1644             source: "elm/entry/selection/default"; // selection under
1645             //source2: "X"; // selection over
1646             //source3: "X"; // cursor under
1647             source5: "elm/entry/anchor/default"; // anchor under
1648             source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
1649             source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
1650             source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
1651             source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
1652             source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
1653             description { state: "default" 0.0;
1654                fixed: 1 0;
1655                text {
1656                   style: "entry_textblock_char_wrap_style";
1657                   min: 0 1;
1658                align: 0.0 0.0;
1659                }
1660             }
1661             description { state: "disabled" 0.0;
1662                inherit: "default" 0.0;
1663                text {
1664                   style: "entry_textblock_char_wrap_disabled_style";
1665                }
1666             }
1667          }
1668       }
1669       programs {
1670          program { name: "focus";
1671            signal: "load";
1672                source: "";
1673                action: FOCUS_SET;
1674                target: "elm.text";
1675             }
1676             program { name: "disable";
1677                signal: "elm,state,disabled";
1678                source: "elm";
1679                action: STATE_SET "disabled" 0.0;
1680                target: "elm.text";
1681             }
1682             program { name: "enable";
1683                signal: "elm,state,enabled";
1684                source: "elm";
1685                action: STATE_SET "default" 0.0;
1686                target: "elm.text";
1687             }
1688         program { name: "gdisable";
1689            signal: "elm,guide,disabled";
1690            source: "elm";
1691            action: STATE_SET "hidden" 0.0;
1692            target: "elm.guide";
1693         }
1694         program { name: "genable";
1695            signal: "elm,guide,enabled";
1696            source: "elm";
1697            action: STATE_SET "default" 0.0;
1698            target: "elm.guide";
1699         }
1700         program { name: "touch_snd";
1701            signal: "mouse,clicked,1";
1702            source: "elm.text";
1703            action: PLAY_SAMPLE "touch_sound" 1.0;
1704         }
1705       }
1706    }
1707
1708    group { name: "elm/entry/base-nowrap-noedit/default";
1709       data.item: "default_font_size" "24";
1710       data.item: "min_font_size" "8";
1711       data.item: "max_font_size" "60";
1712       data {
1713          item: context_menu_orientation "horizontal";
1714       }
1715       parts {
1716          part { name: "elm.guide";
1717             type: TEXTBLOCK;
1718             mouse_events: 0;
1719             scale: 1;
1720             description { state: "default" 0.0;
1721                rel1.to: "elm.text";
1722                rel2.to: "elm.text";
1723                text {
1724                   style: "entry_textblock_guide_style";
1725                   min: 0 1;
1726                   align: 0.0 0.0;
1727                }
1728             }
1729             description { state: "hidden" 0.0;
1730                inherit: "default" 0.0;
1731                visible: 0;
1732             }
1733          }
1734          part { name: "elm.text";
1735             type: TEXTBLOCK;
1736             mouse_events: 1;
1737             scale: 1;
1738             entry_mode: PLAIN;
1739             select_mode: BLOCK_HANDLE;
1740             //cursor_mode: BEFORE;
1741             multiline: 1;
1742             source: "elm/entry/selection/default"; // selection under
1743             //source2: "X"; // selection over
1744             //source3: "X"; // cursor under
1745             source5: "elm/entry/anchor/default"; // anchor under
1746             source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
1747             source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
1748             source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
1749             source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
1750             source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
1751             description { state: "default" 0.0;
1752                text {
1753                   style: "entry_textblock_style";
1754                   min: 1 1;
1755                align: 0.0 0.0;
1756                }
1757             }
1758             description { state: "disabled" 0.0;
1759                inherit: "default" 0.0;
1760                text {
1761                   style: "entry_textblock_disabled_style";
1762                }
1763             }
1764          }
1765       }
1766       programs {
1767          program { name: "focus";
1768             signal: "load";
1769             source: "";
1770             action: FOCUS_SET;
1771             target: "elm.text";
1772          }
1773          program { name: "disable";
1774             signal: "elm,state,disabled";
1775             source: "elm";
1776             action: STATE_SET "disabled" 0.0;
1777             target: "elm.text";
1778          }
1779          program { name: "enable";
1780             signal: "elm,state,enabled";
1781             source: "elm";
1782             action: STATE_SET "default" 0.0;
1783             target: "elm.text";
1784          }
1785          program { name: "gdisable";
1786             signal: "elm,guide,disabled";
1787             source: "elm";
1788             action: STATE_SET "hidden" 0.0;
1789             target: "elm.guide";
1790          }
1791          program { name: "genable";
1792             signal: "elm,guide,enabled";
1793             source: "elm";
1794             action: STATE_SET "default" 0.0;
1795             target: "elm.guide";
1796          }
1797          program { name: "touch_snd";
1798             signal: "mouse,clicked,1";
1799             source: "elm.text";
1800             action: PLAY_SAMPLE "touch_sound" 1.0;
1801          }
1802       }
1803    }
1804
1805   group { name: "elm/entry/base-password/default";
1806       data.item: "default_font_size" "24";
1807       data.item: "min_font_size" "8";
1808       data.item: "max_font_size" "60";
1809       data {
1810          item: context_menu_orientation "horizontal";
1811       }
1812       parts {
1813          part { name: "elm.guide";
1814             type: TEXTBLOCK;
1815             mouse_events: 0;
1816             scale: 1;
1817             description { state: "default" 0.0;
1818                rel1.to: "elm.text";
1819                rel2.to: "elm.text";
1820                text {
1821                   style: "editfield_single_textblock_guide_style";
1822                   min: 0 1;
1823                   max: 0 1;
1824                }
1825             }
1826             description { state: "hidden" 0.0;
1827                inherit: "default" 0.0;
1828                visible: 0;
1829             }
1830          }
1831          part { name: "elm.text";
1832             type: TEXTBLOCK;
1833             mouse_events: 1;
1834             scale: 1;
1835             entry_mode: PASSWORD;
1836             select_mode: BLOCK_HANDLE;
1837             //cursor_mode: BEFORE;
1838             multiline: 0;
1839             source: "elm/entry/selection/default"; // selection under
1840             //source2: "X"; // selection over
1841             //source3: "X"; // cursor under
1842             source4: "elm/entry/cursor/default"; // cursorover
1843             source5: "elm/entry/anchor/default"; // anchor under
1844             source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
1845             source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
1846             source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
1847             source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
1848             source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
1849             description { state: "default" 0.0;
1850                text {
1851                   style: "entry_single_textblock_style";
1852                   repch: "•";
1853                   min: 1 1;
1854                   max: 0 1;
1855                }
1856             }
1857             description { state: "disabled" 0.0;
1858                inherit: "default" 0.0;
1859                text {
1860                   style: "entry_single_textblock_disabled_style";
1861                }
1862             }
1863          }
1864       }
1865       programs {
1866          program { name: "focus";
1867             signal: "load";
1868             source: "";
1869             action: FOCUS_SET;
1870             target: "elm.text";
1871          }
1872          program { name: "disable";
1873             signal: "elm,state,disabled";
1874             source: "elm";
1875             action: STATE_SET "disabled" 0.0;
1876             target: "elm.text";
1877          }
1878          program { name: "enable";
1879             signal: "elm,state,enabled";
1880             source: "elm";
1881             action: STATE_SET "default" 0.0;
1882             target: "elm.text";
1883          }
1884          program { name: "gdisable";
1885             signal: "elm,guide,disabled";
1886             source: "elm";
1887             action: STATE_SET "hidden" 0.0;
1888             target: "elm.guide";
1889          }
1890          program { name: "genable";
1891             signal: "elm,guide,enabled";
1892             source: "elm";
1893             action: STATE_SET "default" 0.0;
1894             target: "elm.guide";
1895          }
1896          program { name: "touch_snd";
1897             signal: "mouse,clicked,1";
1898             source: "elm.text";
1899             action: PLAY_SAMPLE "touch_sound" 1.0;
1900          }
1901       }
1902    }
1903
1904 group { name: "elm/entry/base-password/popup";
1905    data.item: "default_font_size" "24";
1906    data.item: "min_font_size" "8";
1907    data.item: "max_font_size" "60";
1908    data {
1909       item: context_menu_orientation "horizontal";
1910    }
1911    styles
1912    {
1913       style { name: "entry_single_textblock_popup_style";
1914          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";
1915          tag:  "br" "\n";
1916          tag:  "ps" "ps";
1917          tag:  "tab" "\t";
1918          tag:  "em" "+ font=Tizen:style=Oblique";
1919          tag:  "b" "+ font=Tizen:style=Bold";
1920          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
1921          tag:  "hilight" "+ font=Tizen:style=Bold";
1922          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1923          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;
1924          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1925          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1926          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1927          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1928       }
1929       style { name: "entry_single_textblock_disabled_popup_style";
1930          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";
1931          tag:  "br" "\n";
1932          tag:  "ps" "ps";
1933          tag:  "tab" "\t";
1934          tag:  "em" "+ font=Tizen:style=Oblique";
1935          tag:  "b" "+ font=Tizen:style=Bold";
1936          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
1937          tag:  "hilight" "+ font=Tizen:style=Bold";
1938          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1939          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;
1940          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1941          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1942          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1943          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
1944       }
1945       style { name: "entry_single_textblock_popup_guide_style";
1946          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";
1947          tag:  "br" "\n";
1948          tag:  "ps" "ps";
1949          tag:  "tab" "\t";
1950          tag:  "em" "+ font=Tizen:style=Oblique";
1951          tag:  "b" "+ font=Tizen:style=Bold";
1952          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
1953          tag:  "hilight" "+ font=Tizen:style=Bold";
1954       }
1955    }
1956    parts {
1957       part { name: "elm.guide";
1958          type: TEXTBLOCK;
1959          mouse_events: 0;
1960          scale: 1;
1961          description { state: "default" 0.0;
1962             rel1.to: "elm.text";
1963             rel2.to: "elm.text";
1964             text {
1965                style: "entry_single_textblock_popup_guide_style";
1966                min: 0 1;
1967                max: 0 1;
1968             }
1969          }
1970          description { state: "hidden" 0.0;
1971             inherit: "default" 0.0;
1972             visible: 0;
1973          }
1974       }
1975       part { name: "elm.text";
1976          type: TEXTBLOCK;
1977          mouse_events: 1;
1978          scale: 1;
1979          entry_mode: PASSWORD;
1980          select_mode: BLOCK_HANDLE;
1981          //cursor_mode: BEFORE;
1982          multiline: 0;
1983          source: "elm/entry/selection/default"; // selection under
1984          //source2: "X"; // selection over
1985          //source3: "X"; // cursor under
1986          source4: "elm/entry/cursor/default"; // cursorover
1987          source5: "elm/entry/anchor/default"; // anchor under
1988          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
1989          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
1990          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
1991          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
1992          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
1993          description { state: "default" 0.0;
1994             text {
1995                style: "entry_single_textblock_popup_style";
1996                repch: "•";
1997                min: 1 1;
1998                max: 0 1;
1999             }
2000          }
2001          description { state: "disabled" 0.0;
2002             inherit: "default" 0.0;
2003             text {
2004                style: "entry_single_textblock_disabled_popup_style";
2005             }
2006          }
2007       }
2008    }
2009    programs {
2010       program { name: "focus";
2011          signal: "load";
2012          source: "";
2013          action: FOCUS_SET;
2014          target: "elm.text";
2015       }
2016       program { name: "disable";
2017          signal: "elm,state,disabled";
2018          source: "elm";
2019          action: STATE_SET "disabled" 0.0;
2020          target: "elm.text";
2021       }
2022       program { name: "enable";
2023          signal: "elm,state,enabled";
2024          source: "elm";
2025          action: STATE_SET "default" 0.0;
2026          target: "elm.text";
2027       }
2028       program { name: "gdisable";
2029          signal: "elm,guide,disabled";
2030          source: "elm";
2031          action: STATE_SET "hidden" 0.0;
2032          target: "elm.guide";
2033       }
2034       program { name: "genable";
2035          signal: "elm,guide,enabled";
2036          source: "elm";
2037          action: STATE_SET "default" 0.0;
2038          target: "elm.guide";
2039       }
2040       program { name: "touch_snd";
2041          signal: "mouse,clicked,1";
2042          source: "elm.text";
2043          action: PLAY_SAMPLE "touch_sound" 1.0;
2044       }
2045    }
2046 }
2047
2048         group { name: "elm/entry/cursor/default";
2049                 parts {
2050                         part { name: "clip2";
2051                                 type: RECT;
2052                                 mouse_events: 0;
2053                                 scale: 1;
2054                                 description { state: "default" 0.0;
2055                                         rel1.to: "clip";
2056                                         rel2.to: "clip";
2057                                 visible: 0;
2058                                 }
2059                                 description { state: "focused" 0.0;
2060                                         inherit: "default" 0.0;
2061                                         visible: 1;
2062                                 }
2063                         }
2064                         part { name: "clip";
2065                                 type: RECT;
2066                                 mouse_events: 0;
2067                                 scale: 1;
2068                                 clip_to: "clip2";
2069                                 description { state: "default" 0.0;
2070                                         rel1.offset: -10 0;
2071                                         rel2.offset: 9 9;
2072                                 }
2073                                 description { state: "hidden" 0.0;
2074                                         inherit: "default" 0.0;
2075                                         visible: 0;
2076                                 }
2077                         }
2078                         part { name: "base";
2079                                 type: RECT;
2080                                 mouse_events: 0;
2081                                 scale: 1;
2082                                 clip_to: "clip";
2083                                 description { state: "default" 0.0;
2084                                         min: 2 2;
2085                                         align: 0.5 1.0;
2086                                         color: 0 0 0 0;
2087                                 }
2088                         }
2089
2090                         part { name: "glow";
2091                                 type: RECT;
2092                                 mouse_events: 0;
2093                                 scale: 1;
2094                                 clip_to: "clip2";
2095                                 description { state: "default" 0.0;
2096                                         min: 3 0;
2097                                         fixed: 1 0;
2098                                         align: 0.5 0.5;
2099                                         rel1 {
2100                                                 relative: 0.0  0.0;
2101                                                 offset: 0 -2;
2102                                         }
2103                                         rel2 {
2104                                                 relative: 0.0  1.0;
2105                                                 offset: 0 -2;
2106                                         }
2107                                         color: ENTRY_CURSOR_COLOR_INC;
2108                                 }
2109                                 description { state: "hidden" 0.0;
2110                                         inherit: "default" 0.0;
2111                                         color: 0 0 0 0;
2112                                 }
2113                         }
2114                 }
2115                 programs {
2116                         program { name: "show";
2117                                 action: STATE_SET "hidden" 0.0;
2118                                 in: 0.6 0.0;
2119                                 target: "glow";
2120                                 after: "show4";
2121                         }
2122                         program { name: "show4";
2123                                 action: STATE_SET "default" 0.0;
2124                                 in: 0.6 0.0;
2125                                 target: "glow";
2126                                 after: "show";
2127                         }
2128                         program { name: "focused";
2129                                 signal: "elm,action,focus";
2130                                 source: "elm";
2131                                 action: STATE_SET "focused" 0.0;
2132                                 target: "clip2";
2133                                 after: "show4";
2134                         }
2135                         program { name: "unfocused";
2136                                 signal: "elm,action,unfocus";
2137                                 source: "elm";
2138                                 action: STATE_SET "default" 0.0;
2139                                 target: "clip2";
2140                                 after: "stop_glow";
2141                         }
2142                         program { name: "stop_glow";
2143                         action: ACTION_STOP;
2144                                 target: "show";
2145                                 target: "show4";
2146                         }
2147                 }
2148         }
2149
2150
2151         group { name: "elm/entry/selection/default";
2152                 parts {
2153                         part { name: "bg";
2154                                 type: RECT;
2155                                 scale: 1;
2156                                 mouse_events: 0;
2157                                 description { state: "default" 0.0;
2158                                         color: ENTRY_SELECTION_BG_COLOR;
2159                                 }
2160                         }
2161                 }
2162         }
2163
2164         group { name: "elm/entry/selection/block_handle_left";
2165                 data.item: "height" "79";
2166                 data.item: "gap" "32";
2167                 images {
2168                   image: "copy&paste_Handler_left.png" COMP;
2169                   image: "copy&paste_Handler_left_01.png" COMP;
2170                   image: "copy&paste_Handler_left_reverse.png" COMP;
2171                   image: "copy&paste_Handler_left_01_reverse.png" COMP;
2172                 }
2173                 parts {
2174                         part { name: "edge";
2175                                 type: RECT;
2176                                 scale: 1;
2177                                 mouse_events: 0;
2178                                 description { state: "default" 0.0;
2179                                         min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0;
2180                                         max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0;
2181                                         color: 0 0 0 0;
2182                                         visible: 0;
2183                                         align: 0 0;
2184                                 }
2185                         }
2186                         part { name: "handle";
2187                                 mouse_events: 1;
2188                                 scale: 1;
2189                                 description { state: "default" 0.0;
2190                                         visible: 0;
2191                                         fixed: 1 1;
2192                                         align: 1 0;
2193                                         rel2 { relative: 1 1; to_x: "edge"; }
2194                                         min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE;
2195                                         max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE;
2196                                         image {
2197                                                 normal: "copy&paste_Handler_left_01.png";
2198                                                 border: 0 0 0 0;
2199                                         }
2200                                         image.middle: SOLID;
2201                                         fill.smooth: 0;
2202                                 }
2203                                 description { state: "show" 0.0;
2204                                         inherit: "default" 0.0;
2205                                         visible: 1;
2206                                 }
2207                                 description { state: "top" 0.0;
2208                                         inherit: "default" 0.0;
2209                                         visible: 1;
2210                                         align: 1 1;
2211                                         rel2 { relative: 1 1; to_x: "edge"; }
2212                                         image {
2213                                                 normal: "copy&paste_Handler_left.png";
2214                                         }
2215                                 }
2216                                 description { state: "bottom_reversed" 0.0;
2217                                         inherit: "default" 0.0;
2218                                         visible: 1;
2219                                         align: 0 0;
2220                                         rel1 { relative: 0 0; to_x: "edge"; }
2221                                         image {
2222                                                 normal: "copy&paste_Handler_left_01_reverse.png";
2223                                         }
2224                                 }
2225                                 description { state: "top_reversed" 0.0;
2226                                         inherit: "default" 0.0;
2227                                         visible: 1;
2228                                         align: 0 1;
2229                                         rel1 { relative: 0 0; to_x: "edge"; }
2230                                         image {
2231                                                 normal: "copy&paste_Handler_left_reverse.png";
2232                                         }
2233                                 }
2234                         }
2235                 }
2236                 script {
2237                         public handler_ontop;
2238                         public handler_focused;
2239                 }
2240                 programs {
2241                         program { name: "focused";
2242                                 signal: "edje,focus,in";
2243                                 source: "edje";
2244                                 script {
2245                                         set_int(handler_focused, 1);
2246                                 }
2247                         }
2248                         program { name: "unfocused";
2249                                 signal: "edje,focus,out";
2250                                 source: "edje";
2251                                 script {
2252                                         set_int(handler_focused, 0);
2253                                         set_state(PART:"handle", "default", 0.0);
2254                                 }
2255                         }
2256                         program { name: "bottom_reversed";
2257                                 signal: "elm,state,bottom,reversed";
2258                                 source: "elm";
2259                                 script {
2260                                         set_state(PART:"handle", "bottom_reversed", 0.0);
2261                                 }
2262                         }
2263                         program { name: "top_reversed";
2264                                 signal: "elm,state,top,reversed";
2265                                 source: "elm";
2266                                 script {
2267                                         set_state(PART:"handle", "top_reversed", 0.0);
2268                                 }
2269                         }
2270                         program { name: "top";
2271                                 signal: "elm,state,top";
2272                                 source: "elm";
2273                                 script {
2274                                         new focused;
2275                                         focused = get_int(handler_focused);
2276                                         set_int(handler_ontop, 1);
2277                                         if (focused)
2278                                         {
2279                                                 set_state(PART:"handle", "top", 0.0);
2280                                         }
2281                                         else
2282                                         {
2283                                                 set_state(PART:"handle", "default", 0.0);
2284                                         }
2285                                 }
2286                         }
2287                         program { name: "bottom";
2288                                 signal: "elm,state,bottom";
2289                                 source: "elm";
2290                                 script {
2291                                         new focused;
2292                                         focused = get_int(handler_focused);
2293                                         set_int(handler_ontop, 0);
2294                                         if (focused)
2295                                         {
2296                                                 set_state(PART:"handle", "show", 0.0);
2297                                         }
2298                                         else
2299                                         {
2300                                                 set_state(PART:"handle", "default", 0.0);
2301                                         }
2302                                 }
2303                         }
2304                 }
2305         }
2306
2307         group { name: "elm/entry/selection/block_handle_right";
2308                 data.item: "height" "79";
2309                 data.item: "gap" "32";
2310                 images {
2311                   image: "copy&paste_Handler_right.png" COMP;
2312                   image: "copy&paste_Handler_right_01.png" COMP;
2313                   image: "copy&paste_Handler_right_reverse.png" COMP;
2314                   image: "copy&paste_Handler_right_01_reverse.png" COMP;
2315                 }
2316                 parts {
2317                         part { name: "edge";
2318                                 type: RECT;
2319                                 scale: 1;
2320                                 mouse_events: 0;
2321                                 description { state: "default" 0.0;
2322                                         min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0;
2323                                         max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0;
2324                                         color: 0 0 0 0;
2325                                         visible: 0;
2326                                         align: 0 0;
2327                                 }
2328                         }
2329                         part { name: "handle";
2330                                 mouse_events: 1;
2331                                 scale: 1;
2332                                 description { state: "default" 0.0;
2333                                         visible: 0;
2334                                         fixed: 1 1;
2335                                         align: 0 0;
2336                                         min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE;
2337                                         max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE;
2338                                         image {
2339                                                 normal: "copy&paste_Handler_right.png";
2340                                                 border: 0 0 0 0;
2341                                         }
2342                                         image.middle: SOLID;
2343                                         fill.smooth: 0;
2344                                 }
2345                                 description { state: "show" 0.0;
2346                                         inherit: "default" 0.0;
2347                                         visible: 1;
2348                                 }
2349                                 description { state: "top" 0.0;
2350                                         inherit: "default" 0.0;
2351                                         visible: 1;
2352                                         align: 0 1;
2353                                         image {
2354                                                 normal: "copy&paste_Handler_right_01.png";
2355                                         }
2356                                 }
2357                                 description { state: "bottom_reversed" 0.0;
2358                                         inherit: "default" 0.0;
2359                                         visible: 1;
2360                                         align: 1 0;
2361                                         rel2 { relative: 1.0 0.0; to_x: "edge"; }
2362                                         image {
2363                                                 normal: "copy&paste_Handler_right_reverse.png";
2364                                         }
2365                                 }
2366                                 description { state: "top_reversed" 0.0;
2367                                         inherit: "default" 0.0;
2368                                         visible: 1;
2369                                         align: 1 1;
2370                                         rel2 { relative: 1.0 0.0; to_x: "edge"; }
2371                                         image {
2372                                                 normal: "copy&paste_Handler_right_01_reverse.png";
2373                                         }
2374                                 }
2375                         }
2376                 }
2377                 script {
2378                         public handler_ontop;
2379                         public handler_focused;
2380                 }
2381                 programs {
2382                         program { name: "focused";
2383                                 signal: "edje,focus,in";
2384                                 source: "edje";
2385                                 script {
2386                                         set_int(handler_focused, 1);
2387                                 }
2388                         }
2389                         program { name: "unfocused";
2390                                 signal: "edje,focus,out";
2391                                 source: "edje";
2392                                 script {
2393                                         set_int(handler_focused, 0);
2394                                         set_state(PART:"handle", "default", 0.0);
2395                                 }
2396                         }
2397                         program { name: "top";
2398                                 signal: "elm,state,top";
2399                                 source: "elm";
2400                                 script {
2401                                         new focused;
2402                                         focused = get_int(handler_focused);
2403                                         set_int(handler_ontop, 1);
2404                                         if (focused)
2405                                                 {
2406                                                         set_state(PART:"handle", "top", 0.0);
2407                                                 }
2408                                         else
2409                                                 {
2410                                                         set_state(PART:"handle", "default", 0.0);
2411                                         }
2412                                 }
2413                         }
2414                         program { name: "bottom";
2415                                 signal: "elm,state,bottom";
2416                                 source: "elm";
2417                                 script {
2418                                         new focused;
2419                                         focused = get_int(handler_focused);
2420                                         set_int(handler_ontop, 0);
2421                                         if (focused)
2422                                                 {
2423                                                         set_state(PART:"handle", "show", 0.0);
2424                                                 }
2425                                         else
2426                                                 {
2427                                                         set_state(PART:"handle", "default", 0.0);
2428                                         }
2429                                 }
2430                         }
2431                         program { name: "bottom_reversed";
2432                                 signal: "elm,state,bottom,reversed";
2433                                 source: "elm";
2434                                 script {
2435                                         set_state(PART:"handle", "bottom_reversed", 0.0);
2436                                 }
2437                         }
2438                         program { name: "top_reversed";
2439                                 signal: "elm,state,top,reversed";
2440                                 source: "elm";
2441                                 script {
2442                                         set_state(PART:"handle", "top_reversed", 0.0);
2443                                 }
2444                         }
2445                 }
2446         }
2447
2448         group { name: "elm/entry/cursor_handle/default";
2449                 images {
2450                   image: "copy&paste_Handler_center.png" COMP;
2451                   image: "copy&paste_Handler_center_reverse.png" COMP;
2452                 }
2453                 parts {
2454                         part { name: "handle";
2455                                 scale: 1;
2456                                 mouse_events: 1;
2457                                 description { state: "default" 0.0;
2458                                         max: 59 86;
2459                                         min: 59 86;
2460                                         align: 0 0;
2461                                         visible: 0;
2462                                         align: 0.5 0;
2463                                         image {
2464                                                 normal: "copy&paste_Handler_center.png";
2465                                                 border: 0 0 0 0;
2466                                         }
2467                                         image.middle: SOLID;
2468                                         fill.smooth: 0;
2469                                 }
2470                                 description { state: "show" 0.0;
2471                                         inherit: "default" 0.0;
2472                                         visible: 1;
2473                                 }
2474                                 description { state: "top" 0.0;
2475                                         inherit: "default" 0.0;
2476                                         visible: 1;
2477                                         align: 0.5 1.0;
2478                                         image {
2479                                                 normal: "copy&paste_Handler_center_reverse.png";
2480                                                 border: 0 0 0 0;
2481                                         }
2482                                 }
2483                         }
2484                 }
2485                 script {
2486                         public on_top;
2487                 }
2488                 programs {
2489                         program { name: "focused";
2490                                 signal: "edje,focus,in";
2491                                 source: "edje";
2492                                 script {
2493                                         new on_top_val = get_int(on_top);
2494                                         if (on_top_val)
2495                                         {
2496                                                 set_state(PART:"handle", "top", 0.0);
2497                                         }
2498                                         else
2499                                         {
2500                                                 set_state(PART:"handle", "show", 0.0);
2501                                         }
2502                                 }
2503                         }
2504                         program { name: "unfocused";
2505                                 signal: "edje,focus,out";
2506                                 source: "edje";
2507                                 script {
2508                                         set_state(PART:"handle", "default", 0.0);
2509                                 }
2510                         }
2511                         program { name: "show";
2512                                 signal: "edje,cursor,handle,show";
2513                                 source: "edje";
2514                                 script {
2515                                         set_int(on_top, 0);
2516                                         set_state(PART:"handle", "show", 0.0);
2517                                 }
2518                         }
2519                         program { name: "hide";
2520                                 signal: "edje,cursor,handle,hide";
2521                                 source: "edje";
2522                                 script {
2523                                         set_state(PART:"handle", "default", 0.0);
2524                                 }
2525                         }
2526                         program { name: "top";
2527                                 signal: "edje,cursor,handle,top";
2528                                 source: "edje";
2529                                 script {
2530                                         set_int(on_top, 1);
2531                                         set_state(PART:"handle", "top", 0.0);
2532                                 }
2533                         }
2534                 }
2535         }
2536
2537         group { name: "elm/entry/selection/block_handle_edge_left";
2538                 parts {
2539                         part { name: "align";
2540                                 type: RECT;
2541                                 scale: 1;
2542                                 mouse_events: 0;
2543                                 description { state: "default" 0.0;
2544                                         min: 0 0;
2545                                         max: 0 0;
2546                                         color: 0 0 0 0;
2547                                         visible: 0;
2548                                         align: 0 0;
2549                                 }
2550                         }
2551                         part { name: "bg";
2552                                 type: RECT;
2553                                 scale: 1;
2554                                 mouse_events: 0;
2555                                 description { state: "default" 0.0;
2556                                         color: ENTRY_SELECTION_EDGE_COLOR;
2557                                         min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0;
2558                                         max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH -1;
2559                                         rel2 { relative: 0 1; to_x: "align"; }
2560                                         align: 0 0;
2561                                         visible: 0;
2562                                 }
2563                                 description { state: "show" 0.0;
2564                                         inherit: "default" 0.0;
2565                                         visible: 1;
2566                                 }
2567                         }
2568                 }
2569                 programs {
2570                         program { name: "show";
2571                                 signal: "edje,focus,in";
2572                                 source: "edje";
2573                                 script {
2574                                         set_state(PART:"bg", "show", 0.0);
2575                                 }
2576                         }
2577                         program { name: "hide";
2578                                 signal: "edje,focus,out";
2579                                 source: "edje";
2580                                 script {
2581                                         set_state(PART:"bg", "default", 0.0);
2582                                 }
2583                         }
2584                 }
2585         }
2586
2587         group { name: "elm/entry/selection/block_handle_edge_right";
2588                 parts {
2589                         part { name: "bg";
2590                                 type: RECT;
2591                                 scale: 1;
2592                                 mouse_events: 0;
2593                                 description { state: "default" 0.0;
2594                                         color: ENTRY_SELECTION_EDGE_COLOR;
2595                                         min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0;
2596                                         max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH -1;
2597                                         visible: 0;
2598                                 }
2599                                 description { state: "show" 0.0;
2600                                         inherit: "default" 0.0;
2601                                         visible: 1;
2602                                 }
2603                         }
2604                 }
2605                 programs {
2606                         program { name: "show";
2607                                 signal: "edje,focus,in";
2608                                 source: "edje";
2609                                 script {
2610                                         set_state(PART:"bg", "show", 0.0);
2611                                 }
2612                         }
2613                         program { name: "hide";
2614                                 signal: "edje,focus,out";
2615                                 source: "edje";
2616                                 script {
2617                                         set_state(PART:"bg", "default", 0.0);
2618                                 }
2619                         }
2620                 }
2621         }
2622
2623         group { name: "elm/entry/anchor/default";
2624                 parts {
2625                         part { name: "bg";
2626                                 type: RECT;
2627                                 mouse_events: 0;
2628                                 description { state: "default" 0.0;
2629                                         color: 0 0 0 0;
2630                                 }
2631                         }
2632                 }
2633         }
2634
2635     group { name: "elm/entry/preedit/default";
2636         parts {
2637             part { name: "bg";
2638                 type: RECT;
2639                 mouse_events: 0;
2640                 description { state: "default" 0.0;
2641                     color: 128 128 128 255;
2642                 }
2643             }
2644         }
2645    }
2646
2647
2648 #define MAGNIFIER_SCALE 1.5
2649
2650         group { name: "elm/entry/magnifier/fixed-size";
2651                 data.item: "height" MAGNIFIER_HEIGHT_FIXED;
2652                 data.item: "scale" MAGNIFIER_SCALE;
2653                 data.item: "arrow" 24;
2654                 images {
2655                   image: "copy&paste_Magnifier_left.png" COMP;
2656                   image: "copy&paste_Magnifier_middle.png" COMP;
2657                   image: "copy&paste_Magnifier_right.png" COMP;
2658                 }
2659                 parts {
2660                         part { name: "bg";
2661                                 mouse_events: 0;
2662                                 scale: 1;
2663                                 type: RECT;
2664                                 description { state: "default" 0.0;
2665                                         fixed: 1 1;
2666                                         min: MAGNIFIER_WIDTH_FIXED MAGNIFIER_HEIGHT_FIXED;
2667                                         align: 0.5 0.0;
2668                                         visible: 1;
2669                                         color: 0 0 0 0;
2670                                 }
2671                         }
2672                         part { name: "bg_middle_left";
2673                                 mouse_events: 0;
2674                                 scale: 1;
2675                                 type: RECT;
2676                                 description { state: "default" 0.0;
2677                                         min: 20 134;
2678                                         max: 20 -1;
2679                                         align: 1.0 0.0;
2680                                         rel2 { relative: 0.5 1.0; to: "bg"; }
2681                                         visible: 1;
2682                                         color: 0 0 0 0;
2683                                 }
2684                         }
2685                         part { name: "bg_middle_right";
2686                                 mouse_events: 0;
2687                                 scale: 1;
2688                                 type: RECT;
2689                                 description { state: "default" 0.0;
2690                                         min: 20 134;
2691                                         max: 20 -1;
2692                                         align: 0.0 0.0;
2693                                         rel1 { relative: 0.5 0.0; to: "bg"; }
2694                                         visible: 1;
2695                                         color: 0 0 0 0;
2696                                 }
2697                         }
2698                         part { name: "bg_left";
2699                                 mouse_events: 0;
2700                                 scale: 1;
2701                                 description { state: "default" 0.0;
2702                                         fixed: 1 1;
2703                                         min: 136 134;
2704                                         align: 0.0 0.0;
2705                                         rel1 { relative: 0.0 0.0; to: "bg"; }
2706                                         rel2 { relative: 0.0 1.0; to: "bg_middle_left"; }
2707                                         image {
2708                                                 normal: "copy&paste_Magnifier_left.png";
2709                                                 border: 21 1 20 44;
2710                                         }
2711                                         image.middle: 1;
2712                                         fill.smooth: 0;
2713                                 }
2714                         }
2715                         part { name: "bg_middle";
2716                                 mouse_events: 0;
2717                                 scale: 1;
2718                                 description { state: "default" 0.0;
2719                                         align: 0.0 0.0;
2720                                         rel1 { relative: 0.0 0.0; to: "bg_middle_left"; }
2721                                         rel2 { relative: 1.0 1.0; to: "bg_middle_right"; }
2722                                         image {
2723                                                 normal: "copy&paste_Magnifier_middle.png";
2724                                                 border: 1 38 20 44;
2725                                         }
2726                                         image.middle: 1;
2727                                         fill.smooth: 0;
2728                                 }
2729                         }
2730                         part { name: "bg_right";
2731                                 mouse_events: 0;
2732                                 scale: 1;
2733                                 description { state: "default" 0.0;
2734                                         fixed: 1 1;
2735                                         min: 136 134;
2736                                         rel1 { relative: 1.0 0.0; to: "bg_middle_right"; }
2737                                         rel2.to: "bg";
2738                                         image {
2739                                                 normal: "copy&paste_Magnifier_right.png";
2740                                                 border: 1 21 20 44;
2741                                         }
2742                                         image.middle: 1;
2743                                         fill.smooth: 0;
2744                                 }
2745                         }
2746                         part { name: "swallow";
2747                                 type: SWALLOW;
2748                                 mouse_events: 0;
2749                                 scale: 1;
2750                                 description { state: "default" 0.0;
2751                                         fixed: 1 1;
2752                                         align: 0.0 0.0;
2753                                         rel1 {
2754                                                 to: "bg";
2755                                                 offset: 21-5 22-8; //need to update when image with rounded corners releases
2756                                         }
2757                                         rel2 {
2758                                                 to: "bg";
2759                                                 offset: -21+5 -44+10;
2760                                         }
2761                                 }
2762                         }
2763                 }
2764         }
2765
2766         group { name: "elm/entry/matchlist/default";
2767                 data.item: "max_height" "230";
2768                 parts {
2769                         part { name: "base";
2770                                 type: RECT;
2771                                 scale : 1;
2772                                 mouse_events: 1;
2773                                 repeat_events: 1;
2774                                 description { state: "default" 0.0;
2775                                         color: 0 0 0 0;
2776                                         rel1 {
2777                                                 relative: 0.0 0.0;
2778                                                 offset: 0 20;
2779                                         }
2780                                         rel2 {
2781                                                 relative: 1.0 1.0;
2782                                                 offset: 0 20;
2783                                         }
2784                                 }
2785                         }
2786                         part { name: "elm.swallow.content";
2787                                 type: SWALLOW;
2788                                 description { state: "default" 0.0;
2789                                         align: 0.0 0.0;
2790                                         rel1 {
2791                                                 to: "base";
2792                                         }
2793                                         rel2 {
2794                                                 to: "base";
2795                                         }
2796                                 }
2797                         }
2798                 }
2799         }
2800
2801 /* Entry's bubble style */
2802
2803 styles {
2804    style { 
2805       name: "entry_bubble_date_area_textblock_style";
2806       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";
2807       tag:  "br" "\n";
2808       tag:  "ps" "ps";
2809       tag:  "tab" "\t";
2810       tag:  "em" "+ font=Tizen:style=Oblique";
2811       tag:  "b" "+ font=Tizen:style=Bold";
2812       tag:  "link" "+ color=#800 underline=on underline_color=#8008";
2813       tag:  "hilight" "+ font=Tizen:style=Bold";
2814       tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
2815       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;
2816       tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
2817       tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
2818       tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
2819       tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
2820    }
2821    style {
2822       name: "entry_bubble_sent_textblock_style";
2823       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";
2824       tag:  "br" "\n";
2825       tag:  "ps" "ps";
2826       tag:  "tab" "\t";
2827       tag:  "em" "+ font=Tizen:style=Oblique";
2828       tag:  "b" "+ font=Tizen:style=Bold";
2829       tag:  "link" "+ color=#800 underline=on underline_color=#8008";
2830       tag:  "hilight" "+ font=Tizen:style=Bold";
2831    }
2832    style {
2833       name: "entry_bubble_receive_textblock_style";
2834       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";
2835       tag:  "br" "\n";
2836       tag:  "ps" "ps";
2837       tag:  "tab" "\t";
2838       tag:  "em" "+ font=Tizen:style=Oblique";
2839       tag:  "b" "+ font=Tizen:style=Bold";
2840       tag:  "link" "+ color=#800 underline=on underline_color=#8008";
2841       tag:  "hilight" "+ font=Tizen:style=Bold";
2842    }
2843 }
2844
2845    group { name: "elm/entry/base/readmessage";
2846       data.item: "default_font_size" "24";
2847       data.item: "min_font_size" "8";
2848       data.item: "max_font_size" "60";
2849       data {
2850          item: context_menu_orientation "horizontal";
2851       }
2852       parts {
2853          part {
2854             name: "elm.rect.left.pad";
2855             type: RECT;
2856             scale: 1;
2857             description {
2858                state: "default" 0.0;
2859                min: ENTRY_BUBBLE_EX_PAD 0;
2860                fixed: 1 0;
2861                align: 0.0 0.0;
2862                color: 0 0 0 0;
2863                rel2.relative: 0.0 1.0;
2864             }
2865          }
2866          part {
2867             name: "elm.rect.right.pad";
2868             type: RECT;
2869             scale: 1;
2870             description {
2871                state: "default" 0.0;
2872                min: ENTRY_BUBBLE_IX_PAD 0;
2873                fixed: 1 0;
2874                align: 0.0 0.0;
2875                color: 0 0 0 0;
2876                rel1 { relative: 1.0 0.0; to: "elm.text"; }
2877                rel2.to: "elm.text";
2878             }
2879          }
2880          part {
2881            name: "elm.rect.top.pad";
2882            type: RECT;
2883            scale: 1;
2884            description {
2885               state: "default" 0.0;
2886               min: 0 ENTRY_BUBBLE_Y_PAD;
2887               fixed: 0 1;
2888               align: 0.0 0.0;
2889               color: 0 0 0 0;
2890               rel2.relative: 1.0 0.0;
2891             }
2892          }
2893          part {
2894            name: "elm.rect.bottom.pad";
2895            type: RECT;
2896            scale: 1;
2897            description {
2898               state: "default" 0.0;
2899               min: 0 ENTRY_BUBBLE_Y_PAD;
2900               fixed: 0 1;
2901               align: 0.0 1.0;
2902               color: 0 0 0 0;
2903               rel1.relative: 0.0 1.0;
2904             }
2905          }
2906          part {
2907             name: "elm.image.bg";
2908             type: IMAGE;
2909             scale: 1;
2910             description {
2911                state: "default" 0.0;
2912                rel2.to_x: "elm.rect.right.pad";
2913                image {
2914                   normal: "00_messagebubble_bg_receive.png";
2915                   border: 1 20 13 20;
2916                   border_scale: 1;
2917                }
2918             }
2919          }
2920          part { name: "elm.text";
2921             type: TEXTBLOCK;
2922             mouse_events: 1;
2923             scale: 1;
2924             entry_mode: EDITABLE;
2925             select_mode: BLOCK_HANDLE;
2926             //cursor_mode: BEFORE;
2927             multiline: 1;
2928             source: "elm/entry/selection/default"; // selection under
2929             //source2: "X"; // selection over
2930             //source3: "X"; // cursor under
2931             source4: "elm/entry/cursor/default"; // cursorover
2932             source5: "elm/entry/anchor/default"; // anchor under
2933             source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
2934             source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
2935             source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
2936             source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
2937             source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
2938 //          source6: "X"; // anchor over
2939             description { state: "default" 0.0;
2940                fixed: 1 0;
2941                align: 0.0 0.0;
2942                rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
2943                rel2 { relative: 1.0 0.0; to_y: "elm.rect.bottom.pad"; }
2944                text {
2945                   style: "entry_textblock_style";
2946                   min: 0 1;
2947                   max: 1 0;
2948                }
2949             }
2950             description { state: "disabled" 0.0;
2951                inherit: "default" 0.0;
2952                text {
2953                   style: "entry_textblock_disabled_style";
2954                }
2955             }
2956          }
2957       }
2958       programs {
2959          program { name: "focus";
2960             signal: "load";
2961             source: "";
2962             action: FOCUS_SET;
2963             target: "elm.text";
2964          }
2965          program { name: "disable";
2966             signal: "elm,state,disabled";
2967             source: "elm";
2968             action: STATE_SET "disabled" 0.0;
2969             target: "elm.text";
2970          }
2971          program { name: "enable";
2972             signal: "elm,state,enabled";
2973             source: "elm";
2974             action: STATE_SET "default" 0.0;
2975             target: "elm.text";
2976          }
2977       }
2978    }
2979
2980    group { name: "elm/entry/base-noedit/readmessage";
2981       data.item: "default_font_size" "24";
2982       data.item: "min_font_size" "8";
2983       data.item: "max_font_size" "60";
2984       data {
2985          item: context_menu_orientation "horizontal";
2986       }
2987       parts {
2988          part {
2989             name: "elm.rect.left.pad";
2990                 type: RECT;
2991                 scale: 1;
2992                 description {
2993                    state: "default" 0.0;
2994                min: ENTRY_BUBBLE_EX_PAD 0;
2995                fixed: 1 0;
2996                    align: 0.0 0.0;
2997                color: 0 0 0 0;
2998                    rel2.relative: 0.0 1.0;
2999                }
3000                description {
3001                state: "callerid_on" 0.0;
3002                inherit: "default" 0.0;
3003                    min: ENTRY_BUBBLE_EX_CALLERID_PAD 0;
3004                }
3005          }
3006          part {
3007             name: "elm.rect.right.pad";
3008             type: RECT;
3009             scale: 1;
3010             description {
3011                state: "default" 0.0;
3012                min: ENTRY_BUBBLE_IX_PAD 0;
3013                fixed: 1 0;
3014                align: 0.0 0.0;
3015                color: 0 0 0 0;
3016                rel1 { relative: 1.0 0.0; to: "elm.text"; }
3017                rel2.to: "elm.text";
3018             }
3019          }
3020          part {
3021            name: "elm.rect.top.pad";
3022            type: RECT;
3023            scale: 1;
3024            description {
3025               state: "default" 0.0;
3026               min: 0 ENTRY_BUBBLE_Y_PAD;
3027               fixed: 0 1;
3028               align: 0.0 0.0;
3029               color: 0 0 0 0;
3030               rel2.relative: 1.0 0.0;
3031            }
3032          }
3033          part {
3034            name: "elm.rect.topleft.pad";
3035            type: RECT;
3036            scale: 1;
3037            description {
3038               state: "default" 0.0;
3039               min: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
3040               max: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
3041               fixed: 1 1;
3042               align: 0.0 0.0;
3043               visible: 0;
3044            }
3045          }
3046          part {
3047            name: "elm.rect.bottom.pad";
3048            type: RECT;
3049            scale: 1;
3050            description {
3051               state: "default" 0.0;
3052               min: 0 ENTRY_BUBBLE_BOTTOM_PAD;
3053               fixed: 0 1;
3054               align: 0.0 1.0;
3055               color: 0 0 0 0;
3056               rel1.relative: 0.0 1.0;
3057            }
3058          }
3059          part {
3060            name: "elm.rect.bottomleft.pad";
3061            type: RECT;
3062            scale: 1;
3063            description {
3064               state: "default" 0.0;
3065               min: ENTRY_BUBBLE_BOTTOMRIGHT_PAD  2;
3066               max: ENTRY_BUBBLE_BOTTOMRIGHT_PAD 2;
3067               align: 0.0 1.0;
3068                           visible: 0;
3069            }
3070          }
3071          part {
3072            name: "elm.rect.groupchat.pad";
3073            type: RECT;
3074            scale: 1;
3075            description {
3076               state: "default" 0.0;
3077               min: ENTRY_BUBBLE_GROUPCHART_PAD;
3078               max: ENTRY_BUBBLE_GROUPCHART_PAD;
3079               align: 0.0 0.0;
3080                           visible: 0;
3081            }
3082            description {
3083               state: "callerid_on" 0.0;
3084               inherit: "default" 0.0;
3085               min: ENTRY_BUBBLE_GROUPCHART_WITH_CALLERID_PAD;
3086               max: ENTRY_BUBBLE_GROUPCHART_WITH_CALLERID_PAD;
3087            }
3088          }
3089          part {
3090            name: "elm.rect.groupchat.text.pad";
3091            type: RECT;
3092            scale: 1;
3093            description {
3094               state: "default" 0.0;
3095               min: 120 14;
3096               max: 120 14;
3097               align: 0.0 0.0;
3098                           visible: 0;
3099                           rel1 { relative: 0.0 1.0; to: "elm.rect.groupchat.pad"; }
3100            }
3101          }
3102          part { name: "elm.text.groupchat";
3103             type: TEXT;
3104             scale: 1;
3105             description { state: "default" 0.0;
3106                align: 0.0 0.0;
3107                fixed: 1 1;
3108                text {
3109                   font: "Tizen:style=Roman";
3110                   size: ENTRY_BUBBLE_GROUPCHAT_SIZE_INC;
3111                   min: 1 0;
3112                                   align: 0.0 0.5;
3113                   text_class: "tizen";
3114                }
3115                visible: 1;
3116                color: ENTRY_BUBBLE_GROUPCHAT_COLOR_INC;
3117                rel1 { relative: 1.0 0.0; to: "elm.rect.groupchat.pad"; }
3118                rel2.to_y: "elm.rect.groupchat.pad";
3119             }
3120          }
3121          part {
3122             name: "elm.image.bg";
3123             type: IMAGE;
3124             scale: 1;
3125             description {
3126                state: "default" 0.0;
3127                rel2.to_x: "elm.rect.right.pad";
3128                image {
3129                   normal: "00_messagebubble_bg_receive.png";
3130                   border: ENTRY_BUBBLE_RECEV_BG_BORDER_INC;
3131                   border_scale: 1;
3132                }
3133             }
3134             description {
3135                state: "callerid_on" 0.0;
3136            inherit: "default" 0.0;
3137            rel1 { relative: 1.0 0.0; to_x: "elm.rect.bottomleft.pad"; }
3138             }
3139             description {
3140                state: "callerid_groupchat" 0.0;
3141            inherit: "default" 0.0;
3142            rel1 { relative: 1.0 1.0; to_x: "elm.rect.bottomleft.pad"; to_y:"elm.rect.groupchat.pad"; }
3143             }
3144             description {
3145                state: "groupchat_on" 0.0;
3146            inherit: "default" 0.0;
3147            rel1 { relative: 0.0 1.0; to_y:"elm.rect.groupchat.pad"; }
3148             }
3149          }
3150          // it's temporary blocked for prepare entry's signal feature
3151          /*
3152          part {
3153            name: "elm.text.subject";
3154            type: TEXTBLOCK;
3155            scale: 1;
3156            description {
3157               state: "default" 0.0;
3158               align: 0.0 0.0;
3159               text {
3160                  style: "entry_textblock_style";
3161                  min: 0 1;
3162               }
3163               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
3164               rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
3165            }
3166          }
3167          */
3168
3169          part {
3170            name: "elm.rect.subject.line";
3171            type: RECT;
3172            scale: 1;
3173            description {
3174               state: "default" 0.0;
3175               visible: 0;
3176               min: 0 1;
3177               align: 0.0 0.0;
3178               color: 0 0 0 255;
3179               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
3180               rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
3181            }
3182          }
3183          part {
3184             name: "elm.swallow.callerid";
3185             type: SWALLOW;
3186             scale: 1;
3187             description {
3188                state: "default" 0.0;
3189                min: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT;
3190                max: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT;
3191                fixed: 1 1;
3192                align: 0.0 0.0;
3193                visible: 0;
3194                rel1 { relative: ENTRY_BUBBLE_RECEV_CALLERID_REL_INC; to_x: "elm.rect.topleft.pad"; to_y: "elm.rect.topleft.pad"; }
3195                rel2 { relative: ENTRY_BUBBLE_RECEV_CALLERID_REL_INC; to_x: "elm.rect.topleft.pad"; to_y: "elm.rect.bottom.pad"; }
3196             }
3197             description { state: "callerid_on" 0.0;
3198                inherit: "default" 0.0;
3199                visible: 1;
3200             }
3201          }
3202          part {
3203             name: "elm.rect.callerid.pad";
3204             type: RECT;
3205             scale: 1;
3206             description {
3207                state: "default" 0.0;
3208                min: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
3209                max: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
3210                fixed: 1 1;
3211                align: 0.0 0.0;
3212                visible: 0;
3213                rel1 { relative: 1.0 1.0; to: "elm.swallow.callerid"; to_y: "elm.rect.top.pad"; }
3214                rel2 { relative: 1.0 0.0; to_y: "elm.rect.bottom.pad"; }
3215             }
3216          }
3217          part { name: "elm.text";
3218             type: TEXTBLOCK;
3219             mouse_events: 1;
3220             scale: 1;
3221             entry_mode: PLAIN;
3222             select_mode: BLOCK_HANDLE;
3223             //cursor_mode: BEFORE;
3224             multiline: 1;
3225             source: "elm/entry/selection/default"; // selection under
3226             //source2: "X"; // selection over
3227             //source3: "X"; // cursor under
3228             source5: "elm/entry/anchor/default"; // anchor under
3229             source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
3230             source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
3231             source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
3232             source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
3233             source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
3234             description {
3235                state: "default" 0.0;
3236                fixed: 1 0;
3237                min: 200 0;
3238                align: 0.0 0.0;
3239                rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.subject.line"; }
3240                rel2 { relative: 1.0 1.0; to_y: "elm.rect.subject.line"; }
3241                text {
3242                   style: "entry_bubble_receive_textblock_style";
3243                   min: 0 1;
3244               max: 1 0;
3245                }
3246             }
3247                 /* callerid only */
3248             description { state: "callerid_on" 0.0;
3249                inherit: "default" 0.0;
3250                rel1 { relative: 1.0 1.0; to_x: ENTRY_BUBBLE_READ_TEXT_CALLID_REL1_X_INC; to_y: "elm.rect.subject.line"; }
3251                rel2 { relative: 1.0 1.0; to_y: "elm.rect.subject.line"; }
3252             }
3253                 /* callerid and groupchat */
3254             description { state: "callerid_groupchat" 0.0;
3255                inherit: "default" 0.0;
3256                rel1 { relative: 1.0 1.0; to_x: ENTRY_BUBBLE_READ_TEXT_CALLID_REL1_X_INC; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
3257                rel2 { relative: 1.0 1.0; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
3258             }
3259                 /* groupchat only */
3260             description { state: "groupchat_on" 0.0;
3261                inherit: "default" 0.0;
3262                rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
3263                rel2 { relative: 1.0 1.0; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
3264             }
3265             description { state: "disabled" 0.0;
3266                inherit: "default" 0.0;
3267                text {
3268                   style: "entry_textblock_disabled_style";
3269                }
3270             }
3271          }
3272          part {
3273             name: "elm.rect.status.pad";
3274             type: RECT;
3275             scale: 1;
3276             description {
3277                state: "default" 0.0;
3278                min: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC 64;
3279                max: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC 64;
3280                fixed: 1 1;
3281                align: 0.0 1.0;
3282                visible: 0;
3283                            color: 255 0 0 255;
3284                rel1 { relative: ENTRY_BUBBLE_READ_STATUS_TIME_PAD_REL_INC; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
3285                rel2 { relative: 1.0 1.0; to_y: "elm.rect.bottom.pad"; }
3286             }
3287          }
3288          part {
3289             name: "elm.rect.time.pad";
3290             type: RECT;
3291             scale: 1;
3292             description {
3293                state: "default" 0.0;
3294                min: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC GENLIST_PADDING_34_INC;
3295                max: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC GENLIST_PADDING_34_INC;
3296                fixed: 1 1;
3297                align: 0.0 0.0;
3298                visible: 0;
3299                            color: 0 255 0 255;
3300                rel1.to: "elm.rect.status.pad";
3301                rel2 { relative: 1.0 1.0; to_y: "elm.rect.bottom.pad"; }
3302             }
3303          }
3304          part { name: "elm.text.status";
3305             type: TEXT;
3306             scale: 1;
3307             description { state: "default" 0.0;
3308                align: 0.0 1.0;
3309                fixed: 1 1;
3310                text {
3311                   font: "Tizen:style=Roman";
3312                   size: ENTRY_BUBBLE_STATUS_TIME_SIZE_INC;
3313                   min: 1 0;
3314                   text_class: "tizen";
3315                }
3316                visible: 1;
3317                color: ENTRY_BUBBLE_READ_STATUS_TIME_COLOR_INC;
3318                rel1 { relative: ENTRY_BUBBLE_READ_STATUS_REL_INC; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
3319                rel2 { relative: ENTRY_BUBBLE_READ_STATUS_REL_INC; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
3320             }
3321             description { state: "disabled" 0.0;
3322                inherit: "default" 0.0;
3323                visible: 0;
3324             }
3325          }
3326          part { name: "elm.text.time";
3327             type: TEXT;
3328             scale: 1;
3329             description { state: "default" 0.0;
3330                align: 0.0 0.0;
3331                fixed: 1 1;
3332                text {
3333                   font: "Tizen:style=Roman";
3334                   size: ENTRY_BUBBLE_STATUS_TIME_SIZE_INC;
3335                   min: 1 0;
3336                   text_class: "tizen";
3337                }
3338                visible: 1;
3339                color: ENTRY_BUBBLE_READ_STATUS_TIME_COLOR_INC;
3340                rel1 { relative: ENTRY_BUBBLE_READ_TIME_REL_INC; to_x: "elm.rect.time.pad"; to_y: "elm.rect.time.pad"; }
3341                rel2 { relative: ENTRY_BUBBLE_READ_TIME_REL_INC; to_x: "elm.rect.time.pad"; to_y: "elm.rect.time.pad"; }
3342             }
3343             description { state: "disabled" 0.0;
3344                inherit: "default" 0.0;
3345                visible: 0;
3346             }
3347          }
3348          part {
3349             name: "elm.swallow.icon1";
3350             type: SWALLOW;
3351             scale: 1;
3352             description {
3353                state: "default" 0.0;
3354                min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
3355                max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
3356                fixed: 1 1;
3357                align: 0.0 1.0;
3358                visible: 0;
3359                rel1 { relative: 1.5 0.3; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
3360                rel2 { relative: 1.0 0.3; to_y: "elm.rect.bottom.pad"; }
3361             }
3362             description { state: "enabled" 0.0;
3363                inherit: "default" 0.0;
3364                visible: 1;
3365             }
3366          }
3367          part {
3368             name: "elm.rect.middle.pad";
3369             type: RECT;
3370             scale: 1;
3371             description {
3372                state: "default" 0.0;
3373                min: 0 0;
3374                max: 0 0;
3375                align: 0.0 0.0;
3376                color: 0 0 0 0;
3377                rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.text"; }
3378             }
3379             description {
3380                state: "show" 0.0;
3381                inherit: "default" 0.0;
3382                min: 0 ENTRY_BUBBLE_MIDDLE_PAD;
3383                max: 0 ENTRY_BUBBLE_MIDDLE_PAD;
3384             }
3385          }
3386          part {
3387            name: "elm.swallow.end";
3388            type: SWALLOW;
3389            scale: 1;
3390            description { state: "default" 0.0;
3391               align: 0.0 0.0;
3392               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.middle.pad"; }
3393               rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
3394            }
3395          }
3396       }
3397       programs {
3398          program { name: "focus";
3399             signal: "load";
3400             source: "";
3401             action: FOCUS_SET;
3402             target: "elm.text";
3403          }
3404          program { name: "disable";
3405             signal: "elm,state,disabled";
3406             source: "elm";
3407             action: STATE_SET "disabled" 0.0;
3408             target: "elm.text";
3409          }
3410          program { name: "enable";
3411             signal: "elm,state,enabled";
3412             source: "elm";
3413             action: STATE_SET "default" 0.0;
3414             target: "elm.text";
3415          }
3416          program { name: "go_callerid_on";
3417             signal: "elm,state,callerid,enabled";
3418             source: "elm";
3419          script {
3420             new st[31];
3421             new Float:vl;
3422             get_state(PART:"elm.text", st, 30, vl);
3423             if (!strcmp(st, "default")) {
3424               set_state(PART:"elm.image.bg", "callerid_on", 0.0);
3425               set_state(PART:"elm.text", "callerid_on", 0.0);
3426                         }
3427             else if (!strcmp(st, "groupchat_on")) {
3428               set_state(PART:"elm.image.bg", "callerid_groupchat", 0.0);
3429               set_state(PART:"elm.text", "callerid_groupchat", 0.0);
3430                         }
3431
3432             set_state(PART:"elm.swallow.callerid", "callerid_on", 0.0);
3433             set_state(PART:"elm.rect.left.pad", "callerid_on", 0.0);
3434             set_state(PART:"elm.rect.groupchat.pad", "callerid_on", 0.0);
3435          }
3436          }
3437          program { name: "go_callerid_off";
3438             signal: "elm,state,callerid,disabled";
3439             source: "elm";
3440          script {
3441             new st[31];
3442             new Float:vl;
3443             get_state(PART:"elm.text", st, 30, vl);
3444             if (!strcmp(st, "callerid_groupchat")) {
3445               set_state(PART:"elm.image.bg", "groupchat_on", 0.0);
3446               set_state(PART:"elm.text", "groupchat_on", 0.0);
3447                         }
3448             else {
3449               set_state(PART:"elm.image.bg", "default", 0.0);
3450               set_state(PART:"elm.text", "default", 0.0);
3451                         }
3452
3453             set_state(PART:"elm.swallow.callerid", "default", 0.0);
3454             set_state(PART:"elm.rect.groupchat.pad", "default", 0.0);
3455                  }
3456          }
3457 /* groupchat - since white-hd theme */
3458 #if ENTRY_BUBBLE_GROUPCHART_ENABLE_INC
3459          program { name: "go_groupchat_on";
3460             signal: "elm,state,groupchat,enabled";
3461             source: "elm";
3462          script {
3463             new st[31];
3464             new Float:vl;
3465             get_state(PART:"elm.text", st, 30, vl);
3466             if (!strcmp(st, "default")) {
3467               set_state(PART:"elm.image.bg", "groupchat_on", 0.0);
3468               set_state(PART:"elm.text", "groupchat_on", 0.0);
3469                         }
3470             else if (!strcmp(st, "callerid_on")) {
3471               set_state(PART:"elm.image.bg", "callerid_groupchat", 0.0);
3472               set_state(PART:"elm.text", "callerid_groupchat", 0.0);
3473                         }
3474          }
3475          }
3476 #endif
3477          program { name: "go_textstatus_on";
3478             signal: "elm,state,text,status,enabled";
3479             source: "elm";
3480             action: STATE_SET "default" 0.0;
3481             target: "elm.text.time";
3482             target: "elm.text.status";
3483             after: "go_contentstatus_off";
3484          }
3485          program { name: "go_textstatus_off";
3486             signal: "elm,state,text,status,disbled";
3487             source: "elm";
3488             action: STATE_SET "disabled" 0.0;
3489             target: "elm.text.time";
3490             target: "elm.text.status";
3491          }
3492          program { name: "go_contentstatus_on";
3493             signal: "elm,state,content,status,enabled";
3494             source: "elm";
3495             action: STATE_SET "enabled" 0.0;
3496             target: "elm.swallow.icon1";
3497             after: "go_textstatus_off";
3498          }
3499          program { name: "go_contentstatus_off";
3500             signal: "elm,state,content,status,disabled";
3501             source: "elm";
3502             action: STATE_SET "default" 0.0;
3503             target: "elm.swallow.icon1";
3504          }
3505          program { name: "show_middle_pad";
3506             signal: "elm,state,middle,pad,enabled";
3507             source: "elm";
3508             action: STATE_SET "show" 0.0;
3509             target: "elm.rect.middle.pad";
3510          }
3511          program { name: "hide_middle_pad";
3512             signal: "elm,state,middle,pad,disabled";
3513             source: "elm";
3514             action: STATE_SET "default" 0.0;
3515             target: "elm.rect.middle.pad";
3516          }
3517       }
3518    }
3519
3520    group { name: "elm/entry/base-noedit-charwrap/readmessage";
3521       data.item: "default_font_size" "24";
3522       data.item: "min_font_size" "8";
3523       data.item: "max_font_size" "60";
3524       data {
3525          item: context_menu_orientation "horizontal";
3526       }
3527       parts {
3528          part {
3529             name: "elm.rect.left.pad";
3530             type: RECT;
3531             scale: 1;
3532             description {
3533                state: "default" 0.0;
3534                min: ENTRY_BUBBLE_EX_PAD 0;
3535                fixed: 1 0;
3536                align: 0.0 0.0;
3537                color: 0 0 0 0;
3538                rel2.relative: 0.0 1.0;
3539             }
3540          }
3541          part {
3542             name: "elm.rect.right.pad";
3543             type: RECT;
3544             scale: 1;
3545             description {
3546                state: "default" 0.0;
3547                min: ENTRY_BUBBLE_IX_PAD 0;
3548                fixed: 1 0;
3549                align: 0.0 0.0;
3550                color: 0 0 0 0;
3551                rel1 { relative: 1.0 0.0; to_x: "elm.text"; }
3552                rel2.to_x: "elm.text";
3553             }
3554          }
3555          part {
3556            name: "elm.rect.top.pad";
3557            type: RECT;
3558            scale: 1;
3559            description {
3560               state: "default" 0.0;
3561               min: 0 ENTRY_BUBBLE_Y_PAD;
3562               fixed: 0 1;
3563               align: 0.0 0.0;
3564               color: 0 0 0 0;
3565               rel2.relative: 1.0 0.0;
3566            }
3567          }
3568          part {
3569            name: "elm.rect.bottom.pad";
3570            type: RECT;
3571            scale: 1;
3572            description {
3573               state: "default" 0.0;
3574               min: 0 ENTRY_BUBBLE_Y_PAD;
3575               fixed: 0 1;
3576               align: 0.0 1.0;
3577               color: 0 0 0 0;
3578               rel1.relative: 0.0 1.0;
3579            }
3580          }
3581          part {
3582             name: "elm.image.bg";
3583             type: IMAGE;
3584             scale: 1;
3585             description {
3586                state: "default" 0.0;
3587                rel2.to_x: "elm.rect.right.pad";
3588                image {
3589                   normal: "00_messagebubble_bg_receive.png";
3590                   border: 1 20 13 20;
3591                   border_scale: 1;
3592                }
3593             }
3594          }
3595          part { name: "elm.text";
3596             type: TEXTBLOCK;
3597             mouse_events: 1;
3598             scale: 1;
3599             entry_mode: PLAIN;
3600             select_mode: BLOCK_HANDLE;
3601             //cursor_mode: BEFORE;
3602             multiline: 1;
3603             source: "elm/entry/selection/default"; // selection under
3604             //source2: "X"; // selection over
3605             //source3: "X"; // cursor under
3606             source5: "elm/entry/anchor/default"; // anchor under
3607             source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
3608             source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
3609             source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
3610             source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
3611             source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
3612             description { state: "default" 0.0;
3613                fixed: 1 0;
3614                align: 0.0 0.0;
3615                rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
3616                rel2 { relative: 1.0 0.0; to_y: "elm.rect.bottom.pad"; }
3617                text {
3618                   style: "entry_textblock_char_wrap_style";
3619                   min: 0 1;
3620                   max: 1 0;
3621                }
3622             }
3623             description { state: "disabled" 0.0;
3624                inherit: "default" 0.0;
3625                text {
3626                   style: "entry_textblock_char_wrap_disabled_style";
3627                }
3628             }
3629          }
3630       }
3631       programs {
3632          program { name: "focus";
3633             signal: "load";
3634             source: "";
3635             action: FOCUS_SET;
3636             target: "elm.text";
3637          }
3638          program { name: "disable";
3639             signal: "elm,state,disabled";
3640             source: "elm";
3641             action: STATE_SET "disabled" 0.0;
3642             target: "elm.text";
3643          }
3644          program { name: "enable";
3645             signal: "elm,state,enabled";
3646             source: "elm";
3647             action: STATE_SET "default" 0.0;
3648             target: "elm.text";
3649          }
3650       }
3651    }
3652
3653    group { name: "elm/entry/base/sentmessage";
3654       data.item: "default_font_size" "24";
3655       data.item: "min_font_size" "8";
3656       data.item: "max_font_size" "60";
3657       data {
3658          item: context_menu_orientation "horizontal";
3659       }
3660       parts {
3661          part {
3662             name: "elm.rect.right.pad";
3663             type: RECT;
3664             scale: 1;
3665             description {
3666                state: "default" 0.0;
3667                min: ENTRY_BUBBLE_EX_PAD 0;
3668                fixed: 1 0;
3669                align: 1.0 0.0;
3670                color: 0 0 0 0;
3671                rel1.relative: 1.0 0.0;
3672             }
3673          }
3674          part {
3675             name: "elm.rect.left.pad";
3676             type: RECT;
3677             scale: 1;
3678             description {
3679                state: "default" 0.0;
3680                min: ENTRY_BUBBLE_IX_PAD 0;
3681                fixed: 1 0;
3682                align: 1.0 0.0;
3683                color: 0 0 0 0;
3684                rel1 { relative: 0.0 0.0; to: "elm.text"; }
3685                rel2 { relative: 0.0 1.0; to: "elm.text"; }
3686             }
3687          }
3688          part {
3689            name: "elm.rect.top.pad";
3690            type: RECT;
3691            scale: 1;
3692            description {
3693               state: "default" 0.0;
3694               min: 0 ENTRY_BUBBLE_Y_PAD;
3695               fixed: 0 1;
3696               align: 0.0 0.0;
3697               color: 0 0 0 0;
3698               rel2.relative: 1.0 0.0;
3699            }
3700          }
3701          part {
3702            name: "elm.rect.bottom.pad";
3703            type: RECT;
3704            scale: 1;
3705            description {
3706               state: "default" 0.0;
3707               min: 0 ENTRY_BUBBLE_Y_PAD;
3708               fixed: 0 1;
3709               align: 0.0 1.0;
3710               color: 0 0 0 0;
3711               rel1.relative: 0.0 1.0;
3712            }
3713          }
3714          part {
3715             name: "elm.image.bg";
3716             type: IMAGE;
3717             scale: 1;
3718             description {
3719                state: "default" 0.0;
3720                rel1.to_x: "elm.rect.left.pad";
3721                image {
3722                   normal: "00_messagebubble_bg_sent.png";
3723                   border: 20 1 13 20;
3724                   border_scale: 1;
3725                }
3726             }
3727          }
3728          part { name: "elm.text";
3729             type: TEXTBLOCK;
3730             mouse_events: 1;
3731             scale: 1;
3732             entry_mode: EDITABLE;
3733             select_mode: BLOCK_HANDLE;
3734             //cursor_mode: BEFORE;
3735             multiline: 1;
3736             source: "elm/entry/selection/default"; // selection under
3737             //source2: "X"; // selection over
3738             //source3: "X"; // cursor under
3739             source4: "elm/entry/cursor/default"; // cursorover
3740             source5: "elm/entry/anchor/default"; // anchor under
3741 //          source6: "X"; // anchor over
3742             source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
3743             source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
3744             source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
3745             source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
3746             source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
3747             description { state: "default" 0.0;
3748                fixed: 1 0;
3749                align: 1.0 0.0;
3750                rel1 { relative: 0.0 1.0; to_y: "elm.rect.top.pad";}
3751                rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
3752                text {
3753                   style: "entry_textblock_style";
3754                   min: 0 1;
3755                   max: 1 0;
3756                }
3757             }
3758             description { state: "disabled" 0.0;
3759                inherit: "default" 0.0;
3760                text {
3761                   style: "entry_textblock_disabled_style";
3762                }
3763             }
3764          }
3765       }
3766       programs {
3767          program { name: "focus";
3768             signal: "load";
3769             source: "";
3770             action: FOCUS_SET;
3771             target: "elm.text";
3772          }
3773          program { name: "disable";
3774             signal: "elm,state,disabled";
3775             source: "elm";
3776             action: STATE_SET "disabled" 0.0;
3777             target: "elm.text";
3778          }
3779          program { name: "enable";
3780             signal: "elm,state,enabled";
3781             source: "elm";
3782             action: STATE_SET "default" 0.0;
3783             target: "elm.text";
3784          }
3785       }
3786    }
3787
3788    group { name: "elm/entry/base-noedit/sentmessage";
3789       data.item: "default_font_size" "24";
3790       data.item: "min_font_size" "8";
3791       data.item: "max_font_size" "60";
3792       data {
3793          item: context_menu_orientation "horizontal";
3794       }
3795       parts {
3796          part {
3797            name: "elm.rect.right.pad";
3798                type: RECT;
3799                scale: 1;
3800                description {
3801                   state: "default" 0.0;
3802                   min: ENTRY_BUBBLE_EX_PAD 0;
3803               fixed: 1 0;
3804                   align: 1.0 0.0;
3805               color: 0 0 0 0;
3806               rel1.relative: 1.0 0.0;
3807                }
3808                description {
3809                state: "callerid_on" 0.0;
3810                inherit: "default" 0.0;
3811                    min: ENTRY_BUBBLE_EX_CALLERID_PAD 0;
3812                }
3813          }
3814          part {
3815             name: "elm.rect.left.pad";
3816             type: RECT;
3817             scale: 1;
3818             description {
3819                state: "default" 0.0;
3820                min: ENTRY_BUBBLE_IX_PAD 0;
3821                fixed: 1 0;
3822                align: 1.0 0.0;
3823                color: 0 0 0 0;
3824                rel1 { relative: 0.0 0.0; to: "elm.text"; }
3825                rel2 { relative: 0.0 1.0; to: "elm.text"; }
3826             }
3827          }
3828          part {
3829            name: "elm.rect.topright.pad";
3830            type: RECT;
3831            scale: 1;
3832            description {
3833               state: "default" 0.0;
3834               min: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
3835               max: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
3836               align: 1.0 0.0;
3837               visible: 0;
3838               rel1.relative: 1.0 0.0;
3839            }
3840          }
3841          part {
3842            name: "elm.rect.top.pad";
3843            type: RECT;
3844            scale: 1;
3845            description {
3846               state: "default" 0.0;
3847               min: 0 ENTRY_BUBBLE_Y_PAD;
3848               fixed: 0 1;
3849               align: 0.0 0.0;
3850               color: 0 0 0 0;
3851               rel2.relative: 1.0 0.0;
3852            }
3853          }
3854          part {
3855            name: "elm.rect.bottom.pad";
3856            type: RECT;
3857            scale: 1;
3858            description {
3859               state: "default" 0.0;
3860               min: 0 ENTRY_BUBBLE_BOTTOM_PAD;
3861               fixed: 0 1;
3862               align: 0.0 1.0;
3863               color: 0 0 0 0;
3864               rel1.relative: 0.0 1.0;
3865            }
3866          }
3867          part {
3868            name: "elm.rect.bottomright.pad";
3869            type: RECT;
3870            scale: 1;
3871            description {
3872               state: "default" 0.0;
3873               min: ENTRY_BUBBLE_BOTTOMRIGHT_PAD  2;
3874               max: ENTRY_BUBBLE_BOTTOMRIGHT_PAD 2;
3875               align: 1.0 1.0;
3876                           visible: 0;
3877            }
3878          }
3879          part {
3880            name: "elm.rect.groupchat.pad";
3881            type: RECT;
3882            scale: 1;
3883            description {
3884               state: "default" 0.0;
3885               min: ENTRY_BUBBLE_GROUPCHART_PAD;
3886               max: ENTRY_BUBBLE_GROUPCHART_PAD;
3887               align: 1.0 0.0;
3888                           visible: 0;
3889            }
3890            description {
3891               state: "callerid_on" 0.0;
3892               inherit: "default" 0.0;
3893               min: ENTRY_BUBBLE_GROUPCHART_WITH_CALLERID_PAD;
3894               max: ENTRY_BUBBLE_GROUPCHART_WITH_CALLERID_PAD;
3895            }
3896          }
3897          part {
3898            name: "elm.rect.groupchat.text.pad";
3899            type: RECT;
3900            scale: 1;
3901            description {
3902               state: "default" 0.0;
3903               min: 120 14;
3904               max: 120 14;
3905               align: 0.0 0.0;
3906                           visible: 0;
3907                           rel1 { relative: 0.0 1.0; to: "elm.rect.groupchat.pad"; }
3908            }
3909          }
3910          part { name: "elm.text.groupchat";
3911             type: TEXT;
3912             scale: 1;
3913             description { state: "default" 0.0;
3914                align: 1.0 1.0;
3915                fixed: 1 1;
3916                text {
3917                   font: "Tizen:style=Roman";
3918                   size: ENTRY_BUBBLE_GROUPCHAT_SIZE_INC;
3919                   min: 1 0;
3920                                   align: 1.0 0.5;
3921                   text_class: "tizen";
3922                }
3923                visible: 1;
3924                color: ENTRY_BUBBLE_GROUPCHAT_COLOR_INC;
3925                rel2 { relative: 0.0 1.0; to: "elm.rect.groupchat.pad"; }
3926             }
3927          }
3928          part {
3929             name: "elm.image.bg";
3930             type: IMAGE;
3931             scale: 1;
3932             description {
3933                state: "default" 0.0;
3934            rel1.to_x: "elm.rect.left.pad";
3935                image {
3936                       normal: "00_messagebubble_bg_sent.png";
3937                       border: ENTRY_BUBBLE_SENT_BG_BORDER_INC;
3938                       border_scale: 1;
3939                }
3940             }
3941             description {
3942                state: "callerid_on" 0.0;
3943            inherit: "default" 0.0;
3944            rel2 { relative: 0.0 1.0; to: "elm.rect.bottomright.pad"; }
3945             }
3946             description {
3947                state: "callerid_groupchat" 0.0;
3948            inherit: "default" 0.0;
3949                    rel1 { relative: 0.0 1.0; to_x:"elm.rect.left.pad"; to_y:"elm.rect.groupchat.pad"; }
3950            rel2 { relative: 0.0 1.0; to: "elm.rect.bottomright.pad"; }
3951             }
3952             description {
3953                state: "groupchat_on" 0.0;
3954            inherit: "default" 0.0;
3955                    rel1 { relative: 0.0 1.0; to_x:"elm.rect.left.pad"; to_y:"elm.rect.groupchat.pad"; }
3956             }
3957          }
3958          // it's temporary blocked for prepare entry's signal feature
3959          /*
3960          part {
3961            name: "elm.text.subject";
3962            type: TEXTBLOCK;
3963            scale: 1;
3964            description {
3965               state: "default" 0.0;
3966               align: 0.0 0.0;
3967               text {
3968                  style: "entry_textblock_style";
3969                  min: 0 1;
3970               }
3971               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
3972               rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
3973            }
3974          }
3975          */
3976
3977          part {
3978            name: "elm.rect.subject.line";
3979            type: RECT;
3980            scale: 1;
3981            description {
3982               state: "default" 0.0;
3983               visible: 0;
3984               min: 0 1;
3985               align: 0.0 0.0;
3986               color: 0 0 0 255;
3987               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
3988               rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
3989            }
3990          }
3991          part {
3992             name: "elm.swallow.callerid";
3993             type: SWALLOW;
3994             scale: 1;
3995             description {
3996                state: "default" 0.0;
3997                min: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT;
3998                max: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT;
3999                align: 1.0 0.0;
4000                visible: 0;
4001                rel1 { relative: ENTRY_BUBBLE_CALLERID_RELATIVE_INC; to_x: "elm.rect.topright.pad"; to_y: "elm.rect.topright.pad"; }
4002                rel2 { relative: ENTRY_BUBBLE_CALLERID_RELATIVE_INC; to_x: "elm.rect.topright.pad"; to_y: "elm.rect.bottom.pad"; }
4003             }
4004             description { state: "callerid_on" 0.0;
4005                inherit: "default" 0.0;
4006                visible: 1;
4007             }
4008          }
4009          part {
4010             name: "elm.rect.callerid.pad";
4011             type: RECT;
4012             scale: 1;
4013             description {
4014                state: "default" 0.0;
4015                min: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
4016                max: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
4017                align: 1.0 0.0;
4018                visible: 0;
4019                rel1 { relative: 0.0 1.0; to_x: "elm.swallow.callerid"; to_y: "elm.rect.topright.pad"; }
4020                rel2 { relative: 0.0 1.0; to_x: "elm.swallow.callerid"; to_y: "elm.rect.bottom.pad"; }
4021                 }
4022          }
4023          part { name: "elm.text";
4024             type: TEXTBLOCK;
4025             mouse_events: 1;
4026             scale: 1;
4027             entry_mode: PLAIN;
4028             select_mode: BLOCK_HANDLE;
4029             //cursor_mode: BEFORE;
4030             multiline: 1;
4031             source: "elm/entry/selection/default"; // selection under
4032             //source2: "X"; // selection over
4033             //source3: "X"; // cursor under
4034             source5: "elm/entry/anchor/default"; // anchor under
4035             source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
4036             source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
4037             source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
4038             source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
4039             source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
4040             description {
4041            state: "default" 0.0;
4042            fixed: 1 0;
4043                    min: 200 0;
4044            align: 1.0 0.0;
4045            rel1 { relative: 0.0 1.0; to_y: "elm.rect.subject.line"; }
4046            rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.subject.line"; }
4047                text {
4048                       style: "entry_bubble_sent_textblock_style";
4049                       min: 0 1;
4050               max: 1 0;
4051                }
4052             }
4053                 /* callerid only */
4054             description { state: "callerid_on" 0.0;
4055                inherit: "default" 0.0;
4056                rel1 { relative: 0.0 1.0; to_y: "elm.rect.subject.line";}
4057                rel2 { relative: 0.0 1.0; to_x: ENTRY_BUBBLE_TEXT_CALLID_REL2_X_INC; to_y: "elm.rect.subject.line"; }
4058             }
4059                 /* callerid and groupchat */
4060             description { state: "callerid_groupchat" 0.0;
4061                inherit: "default" 0.0;
4062                rel1 { relative: 0.0 1.0; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
4063                rel2 { relative: 0.0 1.0; to_x: ENTRY_BUBBLE_TEXT_CALLID_REL2_X_INC; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
4064             }
4065                 /* groupchat only */
4066             description { state: "groupchat_on" 0.0;
4067                inherit: "default" 0.0;
4068                rel1 { relative: 0.0 1.0; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
4069                rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
4070             }
4071             description { state: "disabled" 0.0;
4072                inherit: "default" 0.0;
4073                text {
4074                   style: "entry_textblock_disabled_style";
4075                }
4076             }
4077          }
4078          part {
4079             name: "elm.rect.status.pad";
4080             type: RECT;
4081             scale: 1;
4082             description {
4083                state: "default" 0.0;
4084                min: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC 64;
4085                fixed: 1 1;
4086                align: 1.0 1.0;
4087                visible: 0;
4088                            color: 255 0 0 255;
4089                rel1 { relative: ENTRY_BUBBLE_STATUS_TIME_PAD_REL_INC; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
4090                rel2 { relative: ENTRY_BUBBLE_STATUS_TIME_PAD_REL_INC; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
4091             }
4092          }
4093          part {
4094             name: "elm.rect.time.pad";
4095             type: RECT;
4096             scale: 1;
4097             description {
4098                state: "default" 0.0;
4099                min: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC GENLIST_PADDING_34_INC;
4100                max: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC GENLIST_PADDING_34_INC;
4101                fixed: 1 1;
4102                align: 0.0 0.0;
4103                visible: 0;
4104                            color: 0 255 0 255;
4105                rel1.to: "elm.rect.status.pad";
4106                rel2 { relative: 0.0 1.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.bottom.pad"; }
4107             }
4108          }
4109          part { name: "elm.text.status";
4110             type: TEXT;
4111             scale: 1;
4112             description { state: "default" 0.0;
4113                align: 1.0 1.0;
4114                fixed: 1 1;
4115                text {
4116                   font: "Tizen:style=Roman";
4117                   size: ENTRY_BUBBLE_STATUS_TIME_SIZE_INC;
4118                   min: 1 0;
4119                   text_class: "tizen";
4120                }
4121                visible: 1;
4122                color: ENTRY_BUBBLE_SENT_STATUS_TIME_COLOR_INC;
4123                rel1 { relative: 0.0 0.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
4124                rel2 { relative: 0.0 0.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
4125             }
4126             description { state: "disabled" 0.0;
4127                inherit: "default" 0.0;
4128                visible: 0;
4129             }
4130          }
4131          part { name: "elm.text.time";
4132             type: TEXT;
4133             scale: 1;
4134             description { state: "default" 0.0;
4135                align: 1.0 0.0;
4136                fixed: 1 1;
4137                text {
4138                   font: "Tizen:style=Roman";
4139                   size: ENTRY_BUBBLE_STATUS_TIME_SIZE_INC;
4140                   min: 1 0;
4141                   text_class: "tizen";
4142                }
4143                visible: 1;
4144                color: ENTRY_BUBBLE_SENT_STATUS_TIME_COLOR_INC;
4145                rel1 { relative: 0.0 1.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.time.pad"; }
4146                rel2 { relative: 0.0 1.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.time.pad"; }
4147             }
4148             description { state: "disabled" 0.0;
4149                inherit: "default" 0.0;
4150                visible: 0;
4151             }
4152          }
4153          part {
4154             name: "elm.swallow.icon1";
4155             type: SWALLOW;
4156             scale: 1;
4157             description {
4158                state: "default" 0.0;
4159                min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
4160                max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
4161                fixed: 1 1;
4162                align: 1.0 1.0;
4163                visible: 0;
4164                rel1 { relative: -0.8 0.3; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
4165                rel2 { relative: -0.8 0.3; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
4166             }
4167             description { state: "enabled" 0.0;
4168                inherit: "default" 0.0;
4169                visible: 1;
4170             }
4171          }
4172          part {
4173             name: "elm.rect.middle.pad";
4174             type: RECT;
4175             scale: 1;
4176             description {
4177                state: "default" 0.0;
4178                min: 0 0;
4179                max: 0 0;
4180                align: 0.0 0.0;
4181                color: 0 0 0 0;
4182                rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.text"; }
4183             }
4184             description {
4185                state: "show" 0.0;
4186                inherit: "default" 0.0;
4187                min: 0 ENTRY_BUBBLE_MIDDLE_PAD;
4188                max: 0 ENTRY_BUBBLE_MIDDLE_PAD;
4189             }
4190          }
4191          part {
4192            name: "elm.swallow.end";
4193            type: SWALLOW;
4194            scale: 1;
4195            description {
4196               state: "default" 0.0;
4197               align: 0.0 0.0;
4198               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.middle.pad"; }
4199               rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
4200            }
4201          }
4202       }
4203       programs {
4204          program { name: "focus";
4205             signal: "load";
4206             source: "";
4207             action: FOCUS_SET;
4208             target: "elm.text";
4209          }
4210          program { name: "disable";
4211             signal: "elm,state,disabled";
4212             source: "elm";
4213             action: STATE_SET "disabled" 0.0;
4214             target: "elm.text";
4215          }
4216          program { name: "enable";
4217             signal: "elm,state,enabled";
4218             source: "elm";
4219             action: STATE_SET "default" 0.0;
4220             target: "elm.text";
4221          }
4222          program { name: "go_callerid_on";
4223             signal: "elm,state,callerid,enabled";
4224             source: "elm";
4225          script {
4226             new st[31];
4227             new Float:vl;
4228             get_state(PART:"elm.text", st, 30, vl);
4229             if (!strcmp(st, "default")) {
4230               set_state(PART:"elm.image.bg", "callerid_on", 0.0);
4231               set_state(PART:"elm.text", "callerid_on", 0.0);
4232                         }
4233             else if (!strcmp(st, "groupchat_on")) {
4234               set_state(PART:"elm.image.bg", "callerid_groupchat", 0.0);
4235               set_state(PART:"elm.text", "callerid_groupchat", 0.0);
4236                         }
4237
4238             set_state(PART:"elm.swallow.callerid", "callerid_on", 0.0);
4239             set_state(PART:"elm.rect.right.pad", "callerid_on", 0.0);
4240             set_state(PART:"elm.rect.groupchat.pad", "callerid_on", 0.0);
4241          }
4242          }
4243          program { name: "go_callerid_off";
4244             signal: "elm,state,callerid,disabled";
4245             source: "elm";
4246          script {
4247             new st[31];
4248             new Float:vl;
4249             get_state(PART:"elm.text", st, 30, vl);
4250             if (!strcmp(st, "callerid_groupchat")) {
4251               set_state(PART:"elm.image.bg", "groupchat_on", 0.0);
4252               set_state(PART:"elm.text", "groupchat_on", 0.0);
4253                         }
4254             else {
4255               set_state(PART:"elm.image.bg", "default", 0.0);
4256               set_state(PART:"elm.text", "default", 0.0);
4257                         }
4258
4259             set_state(PART:"elm.swallow.callerid", "default", 0.0);
4260             set_state(PART:"elm.rect.groupchat.pad", "default", 0.0);
4261                  }
4262          }
4263 /* groupchat - since white-hd theme */
4264 #if ENTRY_BUBBLE_GROUPCHART_ENABLE_INC
4265          program { name: "go_groupchat_on";
4266             signal: "elm,state,groupchat,enabled";
4267             source: "elm";
4268          script {
4269             new st[31];
4270             new Float:vl;
4271             get_state(PART:"elm.text", st, 30, vl);
4272             if (!strcmp(st, "default")) {
4273               set_state(PART:"elm.image.bg", "groupchat_on", 0.0);
4274               set_state(PART:"elm.text", "groupchat_on", 0.0);
4275                         }
4276             else if (!strcmp(st, "callerid_on")) {
4277               set_state(PART:"elm.image.bg", "callerid_groupchat", 0.0);
4278               set_state(PART:"elm.text", "callerid_groupchat", 0.0);
4279                         }
4280          }
4281          }
4282 #endif
4283          program { name: "go_groupchat_off";
4284             signal: "elm,state,groupchat,disabled";
4285             source: "elm";
4286          script {
4287             new st[31];
4288             new Float:vl;
4289             get_state(PART:"elm.text", st, 30, vl);
4290             if (!strcmp(st, "callerid_groupchat")) {
4291               set_state(PART:"elm.image.bg", "callerid_on", 0.0);
4292               set_state(PART:"elm.text", "callerid_on", 0.0);
4293                         }
4294             else {
4295               set_state(PART:"elm.image.bg", "default", 0.0);
4296               set_state(PART:"elm.text", "default", 0.0);
4297                         }
4298                  }
4299          }
4300          program { name: "go_textstatus_on";
4301             signal: "elm,state,text,status,enabled";
4302             source: "elm";
4303             action: STATE_SET "default" 0.0;
4304             target: "elm.text.time";
4305             target: "elm.text.status";
4306             after: "go_contentstatus_off";
4307          }
4308          program { name: "go_textstatus_off";
4309             signal: "elm,state,text,status,disbled";
4310             source: "elm";
4311             action: STATE_SET "disabled" 0.0;
4312             target: "elm.text.time";
4313             target: "elm.text.status";
4314          }
4315          program { name: "go_contentstatus_on";
4316             signal: "elm,state,content,status,enabled";
4317             source: "elm";
4318             action: STATE_SET "enabled" 0.0;
4319             target: "elm.swallow.icon1";
4320             after: "go_textstatus_off";
4321          }
4322          program { name: "go_contentstatus_off";
4323             signal: "elm,state,content,status,disabled";
4324             source: "elm";
4325             action: STATE_SET "default" 0.0;
4326             target: "elm.swallow.icon1";
4327          }
4328          program { name: "show_middle_pad";
4329             signal: "elm,state,middle,pad,enabled";
4330             source: "elm";
4331             action: STATE_SET "show" 0.0;
4332             target: "elm.rect.middle.pad";
4333          }
4334          program { name: "hide_middle_pad";
4335             signal: "elm,state,middle,pad,disabled";
4336             source: "elm";
4337             action: STATE_SET "default" 0.0;
4338             target: "elm.rect.middle.pad";
4339          }
4340       }
4341    }
4342
4343    group { name: "elm/entry/base-noedit-charwrap/sentmessage";
4344       data.item: "default_font_size" "24";
4345       data.item: "min_font_size" "8";
4346       data.item: "max_font_size" "60";
4347       data {
4348          item: context_menu_orientation "horizontal";
4349       }
4350       parts {
4351          part {
4352             name: "elm.rect.right.pad";
4353             type: RECT;
4354             scale: 1;
4355             description {
4356                state: "default" 0.0;
4357                min: ENTRY_BUBBLE_EX_PAD 0;
4358                fixed: 1 0;
4359                align: 1.0 0.0;
4360                color: 0 0 0 0;
4361                rel1.relative: 1.0 0.0;
4362             }
4363          }
4364          part {
4365             name: "elm.rect.left.pad";
4366             type: RECT;
4367             scale: 1;
4368             description {
4369                state: "default" 0.0;
4370                min: ENTRY_BUBBLE_IX_PAD 0;
4371                fixed: 1 0;
4372                align: 1.0 0.0;
4373                color: 0 0 0 0;
4374                rel1 { relative: 0.0 0.0; to: "elm.text"; }
4375                rel2 { relative: 0.0 1.0; to: "elm.text"; }
4376             }
4377          }
4378          part {
4379            name: "elm.rect.top.pad";
4380            type: RECT;
4381            scale: 1;
4382            description {
4383               state: "default" 0.0;
4384               min: 0 ENTRY_BUBBLE_Y_PAD;
4385               fixed: 0 1;
4386               align: 0.0 0.0;
4387               color: 0 0 0 0;
4388               rel2.relative: 1.0 0.0;
4389            }
4390          }
4391          part {
4392            name: "elm.rect.bottom.pad";
4393            type: RECT;
4394            scale: 1;
4395            description {
4396               state: "default" 0.0;
4397               min: 0 ENTRY_BUBBLE_Y_PAD;
4398               fixed: 0 1;
4399               align: 0.0 1.0;
4400               color: 0 0 0 0;
4401               rel1.relative: 0.0 1.0;
4402            }
4403          }
4404          part {
4405             name: "elm.image.bg";
4406             type: IMAGE;
4407             scale: 1;
4408             description {
4409                state: "default" 0.0;
4410                rel1.to_x: "elm.rect.left.pad";
4411                image {
4412                   normal: "00_messagebubble_bg_sent.png";
4413                   border: 20 1 13 20;
4414                   border_scale: 1;
4415                }
4416             }
4417          }
4418          part { name: "elm.text";
4419             type: TEXTBLOCK;
4420             mouse_events: 1;
4421             scale: 1;
4422             entry_mode: PLAIN;
4423             select_mode: BLOCK_HANDLE;
4424             //cursor_mode: BEFORE;
4425             multiline: 1;
4426             source: "elm/entry/selection/default"; // selection under
4427             //source2: "X"; // selection over
4428             //source3: "X"; // cursor under
4429             source5: "elm/entry/anchor/default"; // anchor under
4430             source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
4431             source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
4432             source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
4433             source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
4434             source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
4435             description { state: "default" 0.0;
4436                fixed: 1 0;
4437                align: 1.0 0.0;
4438                rel1 { relative: 0.0 1.0; to_y: "elm.rect.top.pad";}
4439                rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
4440                text {
4441                   style: "entry_textblock_char_wrap_style";
4442                   min: 0 1;
4443                   max: 1 0;
4444                }
4445             }
4446             description { state: "disabled" 0.0;
4447                inherit: "default" 0.0;
4448                text {
4449                   style: "entry_textblock_char_wrap_disabled_style";
4450                }
4451             }
4452          }
4453       }
4454       programs {
4455          program { name: "focus";
4456             signal: "load";
4457             source: "";
4458             action: FOCUS_SET;
4459             target: "elm.text";
4460          }
4461          program { name: "disable";
4462             signal: "elm,state,disabled";
4463             source: "elm";
4464             action: STATE_SET "disabled" 0.0;
4465             target: "elm.text";
4466          }
4467          program { name: "enable";
4468             signal: "elm,state,enabled";
4469             source: "elm";
4470             action: STATE_SET "default" 0.0;
4471             target: "elm.text";
4472          }
4473       }
4474    }
4475
4476 group { name: "elm/entry/base-single/multibuttonentry";
4477
4478    data.item: "default_font_size" "24";
4479    data.item: "min_font_size" "8";
4480    data.item: "max_font_size" "60";
4481
4482    styles {
4483       style { name: "multibuttonentry_single_textblock_style";
4484          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";
4485          tag:  "br" "\n";
4486          tag:  "ps" "ps";
4487          tag:  "tab" "\t";
4488          tag:  "em" "+ font=Tizen:style=Oblique";
4489          tag:  "b" "+ font=Tizen:style=Bold";
4490          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
4491          tag:  "hilight" "+ font=Tizen:style=Bold";
4492          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
4493          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC;
4494          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
4495          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
4496          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
4497          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
4498       }
4499       style { name: "multibuttonentry_single_textblock_disabled_style";
4500          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";
4501          tag:  "br" "\n";
4502          tag:  "ps" "ps";
4503          tag:  "tab" "\t";
4504          tag:  "em" "+ font=Tizen:style=Oblique";
4505          tag:  "b" "+ font=Tizen:style=Bold";
4506          tag:  "link" "+ color=#00000080 underline=on underline_color=#8008";
4507          tag:  "hilight" "+ font=Tizen:style=Bold";
4508          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
4509          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC;
4510          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
4511          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
4512          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
4513          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
4514       }
4515       style { name: "multibuttonentry_single_textblock_guide_style";
4516          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";
4517          tag:  "br" "\n";
4518          tag:  "ps" "ps";
4519          tag:  "tab" "\t";
4520          tag:  "em" "+ font=Tizen:style=Oblique";
4521          tag:  "b" "+ font=Tizen:style=Bold";
4522          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
4523          tag:  "hilight" "+ font=Tizen:style=Bold";
4524       }
4525    }
4526    data {
4527       item: context_menu_orientation "horizontal";
4528    }
4529    parts {
4530       part { name: "elm.guide";
4531          type: TEXTBLOCK;
4532          mouse_events: 0;
4533          scale: 1;
4534          description { state: "default" 0.0;
4535             rel1.to: "elm.text";
4536             rel2.to: "elm.text";
4537             text {
4538                style: "multibuttonentry_single_textblock_guide_style";
4539                min: 0 1;
4540                max: 0 1;
4541             }
4542          }
4543          description { state: "hidden" 0.0;
4544             inherit: "default" 0.0;
4545             visible: 0;
4546          }
4547       }
4548       part { name: "elm.text";
4549          type: TEXTBLOCK;
4550          mouse_events: 1;
4551          scale: 1;
4552          entry_mode: EDITABLE;
4553          select_mode: BLOCK_HANDLE;
4554          //cursor_mode: BEFORE;
4555          multiline: 0;
4556          source: "elm/entry/selection/default"; // selection under
4557          //source2: "X"; // selection over
4558          //source3: "X"; // cursor under
4559          source4: "elm/entry/cursor/default"; // cursorover
4560          source5: "elm/entry/anchor/default"; // anchor under
4561          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
4562          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
4563          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
4564          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
4565          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
4566          description { state: "default" 0.0;
4567             text {
4568                style: "multibuttonentry_single_textblock_style";
4569                min: 1 1;
4570                max: 0 1;
4571             }
4572          }
4573          description { state: "disabled" 0.0;
4574             inherit: "default" 0.0;
4575             text {
4576                style: "multibuttonentry_single_textblock_disabled_style";
4577             }
4578          }
4579       }
4580    }
4581    programs {
4582       program { name: "focus";
4583          signal: "load";
4584          source: "";
4585          action: FOCUS_SET;
4586          target: "elm.text";
4587       }
4588       program { name: "disable";
4589          signal: "elm,state,disabled";
4590          source: "elm";
4591          action: STATE_SET "disabled" 0.0;
4592          target: "elm.text";
4593       }
4594       program { name: "enable";
4595          signal: "elm,state,enabled";
4596          source: "elm";
4597          action: STATE_SET "default" 0.0;
4598          target: "elm.text";
4599       }
4600       program { name: "gdisable";
4601          signal: "elm,guide,disabled";
4602          source: "elm";
4603          action: STATE_SET "hidden" 0.0;
4604          target: "elm.guide";
4605       }
4606       program { name: "genable";
4607          signal: "elm,guide,enabled";
4608          source: "elm";
4609          action: STATE_SET "default" 0.0;
4610          target: "elm.guide";
4611       }
4612       program { name: "touch_snd";
4613          signal: "mouse,clicked,1";
4614          source: "elm.text";
4615          action: PLAY_SAMPLE "touch_sound" 1.0;
4616       }
4617    }
4618 }
4619 group { name: "elm/entry/base/font_color_black";
4620    alias: "elm/entry/base-mixedwrap/font_color_black";
4621    alias: "elm/entry/base/font_color_black/default";
4622    alias: "elm/entry/base/font_color_black/lighting";
4623    alias: "elm/entry/base/font_color_black/multiline";
4624    alias: "elm/entry/base/font_color_black/multiline/default";
4625    alias: "elm/entry/base/font_color_black/multiline/lighting";
4626    alias: "elm/entry/base/editfield/font_color_black";
4627
4628    data.item: "default_font_size" "24";
4629    data.item: "min_font_size" "8";
4630    data.item: "max_font_size" "60";
4631
4632    styles {
4633       style { name: "font_color_black_textblock_style";
4634          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";
4635          tag:  "br" "\n";
4636          tag:  "ps" "ps";
4637          tag:  "tab" "\t";
4638          tag:  "em" "+ font=Tizen:style=Oblique";
4639          tag:  "b" "+ font=Tizen:style=Bold";
4640          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
4641          tag:  "hilight" "+ font=Tizen:style=Bold";
4642          tag:  "preedit" "+ underline=on underline_color=#000000FF";
4643          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
4644          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
4645          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
4646          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
4647          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
4648       }
4649       style { name: "font_color_black_textblock_disabled_style";
4650          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";
4651          tag:  "br" "\n";
4652          tag:  "ps" "ps";
4653          tag:  "tab" "\t";
4654          tag:  "em" "+ font=Tizen:style=Oblique";
4655          tag:  "b" "+ font=Tizen:style=Bold";
4656          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
4657          tag:  "hilight" "+ font=Tizen:style=Bold";
4658          tag:  "preedit" "+ underline=on underline_color=#000000FF";
4659          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
4660          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
4661          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
4662          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
4663          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
4664       }
4665       style { name: "font_color_black_textblock_guide_style";
4666          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";
4667          tag:  "br" "\n";
4668          tag:  "ps" "ps";
4669          tag:  "tab" "\t";
4670          tag:  "em" "+ font=Tizen:style=Oblique";
4671          tag:  "b" "+ font=Tizen:style=Bold";
4672          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
4673          tag:  "hilight" "+ font=Tizen:style=Bold";
4674       }
4675    }
4676    data {
4677       item: context_menu_orientation "horizontal";
4678    }
4679    parts {
4680       part { name: "elm.guide";
4681          type: TEXTBLOCK;
4682          mouse_events: 0;
4683          scale: 1;
4684          description { state: "default" 0.0;
4685             rel1.to: "elm.text";
4686             rel2.to: "elm.text";
4687             text {
4688                style: "font_color_black_textblock_guide_style";
4689                min: 0 1;
4690                align: 0.0 0.0;
4691             }
4692          }
4693          description { state: "hidden" 0.0;
4694             inherit: "default" 0.0;
4695             visible: 0;
4696          }
4697       }
4698       part { name: "elm.text";
4699          type: TEXTBLOCK;
4700          mouse_events: 1;
4701          scale: 1;
4702          entry_mode: EDITABLE;
4703          select_mode: BLOCK_HANDLE;
4704          //cursor_mode: BEFORE;
4705          multiline: 1;
4706          source: "elm/entry/selection/default"; // selection under
4707          //source2: "X"; // selection over
4708          //source3: "X"; // cursor under
4709          source4: "elm/entry/cursor/default"; // cursorover
4710          source5: "elm/entry/anchor/default"; // anchor under
4711          //source6: "X"; // anchor over
4712          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
4713          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
4714          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
4715          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
4716          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
4717          description { state: "default" 0.0;
4718             fixed: 1 0;
4719             text {
4720                style: "font_color_black_textblock_style";
4721                min: 0 1;
4722             }
4723          }
4724          description { state: "disabled" 0.0;
4725             inherit: "default" 0.0;
4726             text {
4727                style: "font_color_black_textblock_disabled_style";
4728                min: 0 1;
4729             }
4730          }
4731       }
4732    }
4733    programs {
4734       program { name: "focus";
4735          signal: "load";
4736          source: "";
4737          action: FOCUS_SET;
4738          target: "elm.text";
4739       }
4740       program { name: "disable";
4741          signal: "elm,state,disabled";
4742          source: "elm";
4743          action: STATE_SET "disabled" 0.0;
4744          target: "elm.text";
4745       }
4746       program { name: "enable";
4747          signal: "elm,state,enabled";
4748          source: "elm";
4749          action: STATE_SET "default" 0.0;
4750          target: "elm.text";
4751       }
4752       program { name: "gdisable";
4753          signal: "elm,guide,disabled";
4754          source: "elm";
4755          action: STATE_SET "hidden" 0.0;
4756          target: "elm.guide";
4757       }
4758       program { name: "genable";
4759          signal: "elm,guide,enabled";
4760          source: "elm";
4761          action: STATE_SET "default" 0.0;
4762          target: "elm.guide";
4763       }
4764       program { name: "touch_snd";
4765          signal: "mouse,clicked,1";
4766          source: "elm.text";
4767          action: PLAY_SAMPLE "touch_sound" 1.0;
4768       }
4769    }
4770 }
4771
4772 group { name: "elm/entry/base-noedit/font_color_black";
4773    data.item: "default_font_size" "24";
4774    data.item: "min_font_size" "8";
4775    data.item: "max_font_size" "60";
4776    data {
4777       item: context_menu_orientation "horizontal";
4778    }
4779    parts {
4780       part { name: "elm.guide";
4781          type: TEXTBLOCK;
4782          mouse_events: 0;
4783          scale: 1;
4784          description { state: "default" 0.0;
4785             rel1.to: "elm.text";
4786             rel2.to: "elm.text";
4787             text {
4788                style: "font_color_black_textblock_guide_style";
4789                min: 0 1;
4790                align: 0.0 0.0;
4791             }
4792          }
4793          description { state: "hidden" 0.0;
4794             inherit: "default" 0.0;
4795             visible: 0;
4796          }
4797       }
4798       part { name: "elm.text";
4799          type: TEXTBLOCK;
4800          mouse_events: 1;
4801          scale: 1;
4802          entry_mode: PLAIN;
4803          select_mode: BLOCK_HANDLE;
4804          //cursor_mode: BEFORE;
4805          multiline: 1;
4806          source: "elm/entry/selection/default"; // selection under
4807          //source2: "X"; // selection over
4808          //source3: "X"; // cursor under
4809          source4: "elm/entry/cursor/default"; // cursorover
4810          source5: "elm/entry/anchor/default"; // anchor under
4811          //source6: "X"; // anchor over
4812          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
4813          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
4814          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
4815          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
4816          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
4817          description { state: "default" 0.0;
4818             fixed: 1 0;
4819             text {
4820                style: "font_color_black_textblock_style";
4821                min: 0 1;
4822             }
4823          }
4824          description { state: "disabled" 0.0;
4825             inherit: "default" 0.0;
4826             text {
4827                style: "font_color_black_textblock_disabled_style";
4828                min: 0 1;
4829             }
4830          }
4831       }
4832    }
4833    programs {
4834       program { name: "focus";
4835          signal: "load";
4836          source: "";
4837          action: FOCUS_SET;
4838          target: "elm.text";
4839       }
4840       program { name: "disable";
4841          signal: "elm,state,disabled";
4842          source: "elm";
4843          action: STATE_SET "disabled" 0.0;
4844          target: "elm.text";
4845       }
4846       program { name: "enable";
4847          signal: "elm,state,enabled";
4848          source: "elm";
4849          action: STATE_SET "default" 0.0;
4850          target: "elm.text";
4851       }
4852       program { name: "gdisable";
4853          signal: "elm,guide,disabled";
4854          source: "elm";
4855          action: STATE_SET "hidden" 0.0;
4856          target: "elm.guide";
4857       }
4858       program { name: "genable";
4859          signal: "elm,guide,enabled";
4860          source: "elm";
4861          action: STATE_SET "default" 0.0;
4862          target: "elm.guide";
4863       }
4864       program { name: "touch_snd";
4865          signal: "mouse,clicked,1";
4866          source: "elm.text";
4867          action: PLAY_SAMPLE "touch_sound" 1.0;
4868       }
4869    }
4870 }
4871
4872 group { name: "elm/entry/base-charwrap/font_color_black";
4873    alias: "elm/entry/base/font_color_black/char_wrap";
4874    alias: "elm/entry/base/font_color_black/default/char_wrap";
4875    alias: "elm/entry/base/font_color_black/lighting/char_wrap";
4876    alias: "elm/entry/base/font_color_black/multiline/char_wrap";
4877    alias: "elm/entry/base/font_color_black/multiline/default/char_wrap";
4878    alias: "elm/entry/base/font_color_black/multiline/lighting/char_wrap";
4879    alias: "elm/entry/base-charwrap/editfield/font_color_black";
4880
4881    data.item: "default_font_size" "24";
4882    data.item: "min_font_size" "8";
4883    data.item: "max_font_size" "60";
4884
4885    styles {
4886       style { name: "font_color_black_textblock_char_wrap_style";
4887          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";
4888          tag:  "br" "\n";
4889          tag:  "ps" "ps";
4890          tag:  "tab" "\t";
4891          tag:  "em" "+ font=Tizen:style=Oblique";
4892          tag:  "b" "+ font=Tizen:style=Bold";
4893          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
4894          tag:  "hilight" "+ font=Tizen:style=Bold";
4895          tag:  "preedit" "+ underline=on underline_color=#000000FF";
4896          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
4897          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
4898          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
4899          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
4900          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
4901       }
4902       style { name: "font_color_black_textblock_char_wrap_disabled_style";
4903          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";
4904          tag:  "br" "\n";
4905          tag:  "ps" "ps";
4906          tag:  "tab" "\t";
4907          tag:  "em" "+ font=Tizen:style=Oblique";
4908          tag:  "b" "+ font=Tizen:style=Bold";
4909          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
4910          tag:  "hilight" "+ font=Tizen:style=Bold";
4911          tag:  "preedit" "+ underline=on underline_color=#000000FF";
4912          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
4913          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
4914          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
4915          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
4916          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
4917       }
4918       style { name: "font_color_black_textblock_char_wrap_guide_style";
4919          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";
4920          tag:  "br" "\n";
4921          tag:  "ps" "ps";
4922          tag:  "tab" "\t";
4923          tag:  "em" "+ font=Tizen:style=Oblique";
4924          tag:  "b" "+ font=Tizen:style=Bold";
4925          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
4926          tag:  "hilight" "+ font=Tizen:style=Bold";
4927       }
4928    }
4929    data {
4930       item: context_menu_orientation "horizontal";
4931    }
4932    parts {
4933       part { name: "elm.guide";
4934          type: TEXTBLOCK;
4935          mouse_events: 0;
4936          scale: 1;
4937          description { state: "default" 0.0;
4938             rel1.to: "elm.text";
4939             rel2.to: "elm.text";
4940             text {
4941                style: "font_color_black_textblock_char_wrap_guide_style";
4942                min: 0 1;
4943                align: 0.0 0.0;
4944             }
4945          }
4946          description { state: "hidden" 0.0;
4947             inherit: "default" 0.0;
4948             visible: 0;
4949          }
4950       }
4951       part { name: "elm.text";
4952          type: TEXTBLOCK;
4953          mouse_events: 1;
4954          scale: 1;
4955          entry_mode: EDITABLE;
4956          select_mode: BLOCK_HANDLE;
4957          //cursor_mode: BEFORE;
4958          multiline: 1;
4959          source: "elm/entry/selection/default"; // selection under
4960          //source2: "X"; // selection over
4961          //source3: "X"; // cursor under
4962          source4: "elm/entry/cursor/default"; // cursorover
4963          source5: "elm/entry/anchor/default"; // anchor under
4964          //source6: "X"; // anchor over
4965          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
4966          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
4967          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
4968          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
4969          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
4970          description { state: "default" 0.0;
4971             fixed: 1 0;
4972             text {
4973                style: "font_color_black_textblock_char_wrap_style";
4974                min: 0 1;
4975             }
4976          }
4977          description { state: "disabled" 0.0;
4978             inherit: "default" 0.0;
4979             text {
4980                style: "font_color_black_textblock_char_wrap_disabled_style";
4981                min: 0 1;
4982             }
4983          }
4984       }
4985    }
4986    programs {
4987       program { name: "focus";
4988          signal: "load";
4989          source: "";
4990          action: FOCUS_SET;
4991          target: "elm.text";
4992       }
4993       program { name: "disable";
4994          signal: "elm,state,disabled";
4995          source: "elm";
4996          action: STATE_SET "disabled" 0.0;
4997          target: "elm.text";
4998       }
4999       program { name: "enable";
5000          signal: "elm,state,enabled";
5001          source: "elm";
5002          action: STATE_SET "default" 0.0;
5003          target: "elm.text";
5004       }
5005       program { name: "gdisable";
5006          signal: "elm,guide,disabled";
5007          source: "elm";
5008          action: STATE_SET "hidden" 0.0;
5009          target: "elm.guide";
5010       }
5011       program { name: "genable";
5012          signal: "elm,guide,enabled";
5013          source: "elm";
5014          action: STATE_SET "default" 0.0;
5015          target: "elm.guide";
5016       }
5017       program { name: "touch_snd";
5018          signal: "mouse,clicked,1";
5019          source: "elm.text";
5020          action: PLAY_SAMPLE "touch_sound" 1.0;
5021       }
5022    }
5023 }
5024
5025 group { name: "elm/entry/base-single/font_color_black";
5026    alias: "elm/entry/base-single/font_color_black/default";
5027    alias: "elm/entry/base-single/font_color_black/lighting";
5028    alias: "elm/entry/base-single/font_color_black/singleline";
5029    alias: "elm/entry/base-single/font_color_black/singleline/default";
5030    alias: "elm/entry/base-single/font_color_black/singleline/lighting";
5031    alias: "elm/entry/base-single/editfield/font_color_black";
5032    alias: "elm/entry/base-single/editfield/searchbar/font_color_black";
5033
5034    data.item: "default_font_size" "24";
5035    data.item: "min_font_size" "8";
5036    data.item: "max_font_size" "60";
5037
5038    styles {
5039       style { name: "font_color_black_single_textblock_style";
5040          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";
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=#800 underline=on underline_color=#8008";
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_single_textblock_disabled_style";
5056          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";
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=#00000080 underline=on underline_color=#00000080";
5063          tag:  "hilight" "+ font=Tizen:style=Bold";
5064          tag:  "preedit" "+ underline=on underline_color=#000000FF";
5065          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
5066          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
5067          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
5068          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
5069          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
5070       }
5071       style { name: "font_color_black_single_textblock_guide_style";
5072          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";
5073          tag:  "br" "\n";
5074          tag:  "ps" "ps";
5075          tag:  "tab" "\t";
5076          tag:  "em" "+ font=Tizen:style=Oblique";
5077          tag:  "b" "+ font=Tizen:style=Bold";
5078          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
5079          tag:  "hilight" "+ font=Tizen:style=Bold";
5080       }
5081    }
5082    data {
5083       item: context_menu_orientation "horizontal";
5084    }
5085    parts {
5086       part { name: "elm.guide";
5087          type: TEXTBLOCK;
5088          mouse_events: 0;
5089          scale: 1;
5090          description { state: "default" 0.0;
5091             rel1.to: "elm.text";
5092             rel2.to: "elm.text";
5093             text {
5094                style: "font_color_black_single_textblock_guide_style";
5095                min: 0 1;
5096                max: 0 1;
5097             }
5098          }
5099          description { state: "hidden" 0.0;
5100             inherit: "default" 0.0;
5101             visible: 0;
5102          }
5103       }
5104       part { name: "elm.text";
5105          type: TEXTBLOCK;
5106          mouse_events: 1;
5107          scale: 1;
5108          entry_mode: EDITABLE;
5109          select_mode: BLOCK_HANDLE;
5110          //cursor_mode: BEFORE;
5111          multiline: 0;
5112          source: "elm/entry/selection/default"; // selection under
5113          //source2: "X"; // selection over
5114          //source3: "X"; // cursor under
5115          source4: "elm/entry/cursor/default"; // cursorover
5116          source5: "elm/entry/anchor/default"; // anchor under
5117          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
5118          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
5119          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
5120          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
5121          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
5122          description { state: "default" 0.0;
5123             text {
5124                style: "font_color_black_single_textblock_style";
5125                min: 1 1;
5126                max: 0 1;
5127             }
5128          }
5129          description { state: "disabled" 0.0;
5130             inherit: "default" 0.0;
5131             text {
5132                style: "font_color_black_single_textblock_disabled_style";
5133             }
5134          }
5135       }
5136    }
5137    programs {
5138       program { name: "focus";
5139          signal: "load";
5140          source: "";
5141          action: FOCUS_SET;
5142          target: "elm.text";
5143       }
5144       program { name: "disable";
5145          signal: "elm,state,disabled";
5146          source: "elm";
5147          action: STATE_SET "disabled" 0.0;
5148          target: "elm.text";
5149       }
5150       program { name: "enable";
5151          signal: "elm,state,enabled";
5152          source: "elm";
5153          action: STATE_SET "default" 0.0;
5154          target: "elm.text";
5155       }
5156       program { name: "gdisable";
5157          signal: "elm,guide,disabled";
5158          source: "elm";
5159          action: STATE_SET "hidden" 0.0;
5160          target: "elm.guide";
5161       }
5162       program { name: "genable";
5163          signal: "elm,guide,enabled";
5164          source: "elm";
5165          action: STATE_SET "default" 0.0;
5166          target: "elm.guide";
5167       }
5168       program { name: "touch_snd";
5169          signal: "mouse,clicked,1";
5170          source: "elm.text";
5171          action: PLAY_SAMPLE "touch_sound" 1.0;
5172       }
5173    }
5174 }
5175
5176 group { name: "elm/entry/base-single-noedit/font_color_black";
5177    data.item: "default_font_size" "24";
5178    data.item: "min_font_size" "8";
5179    data.item: "max_font_size" "60";
5180    data {
5181       item: context_menu_orientation "horizontal";
5182    }
5183    parts {
5184       part { name: "elm.guide";
5185          type: TEXTBLOCK;
5186          mouse_events: 0;
5187          scale: 1;
5188          description { state: "default" 0.0;
5189             rel1.to: "elm.text";
5190             rel2.to: "elm.text";
5191             text {
5192                style: "font_color_black_single_textblock_guide_style";
5193                min: 0 1;
5194                max: 0 1;
5195             }
5196          }
5197          description { state: "hidden" 0.0;
5198             inherit: "default" 0.0;
5199             visible: 0;
5200          }
5201       }
5202       part { name: "elm.text";
5203          type: TEXTBLOCK;
5204          mouse_events: 1;
5205          scale: 1;
5206          entry_mode: PLAIN;
5207          select_mode: BLOCK_HANDLE;
5208          //cursor_mode: BEFORE;
5209          multiline: 0;
5210          source: "elm/entry/selection/default"; // selection under
5211          //source2: "X"; // selection over
5212          //source3: "X"; // cursor under
5213          source4: "elm/entry/cursor/default"; // cursorover
5214          source5: "elm/entry/anchor/default"; // anchor under
5215          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
5216          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
5217          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
5218          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
5219          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
5220          description { state: "default" 0.0;
5221             text {
5222                style: "font_color_black_single_textblock_style";
5223                min: 1 1;
5224                max: 0 1;
5225             }
5226          }
5227          description { state: "disabled" 0.0;
5228             inherit: "default" 0.0;
5229             text {
5230                style: "font_color_black_single_textblock_disabled_style";
5231             }
5232          }
5233       }
5234    }
5235    programs {
5236       program { name: "focus";
5237          signal: "load";
5238          source: "";
5239          action: FOCUS_SET;
5240          target: "elm.text";
5241       }
5242       program { name: "disable";
5243          signal: "elm,state,disabled";
5244          source: "elm";
5245          action: STATE_SET "disabled" 0.0;
5246          target: "elm.text";
5247       }
5248       program { name: "enable";
5249          signal: "elm,state,enabled";
5250          source: "elm";
5251          action: STATE_SET "default" 0.0;
5252          target: "elm.text";
5253       }
5254       program { name: "gdisable";
5255          signal: "elm,guide,disabled";
5256          source: "elm";
5257          action: STATE_SET "hidden" 0.0;
5258          target: "elm.guide";
5259       }
5260       program { name: "genable";
5261          signal: "elm,guide,enabled";
5262          source: "elm";
5263          action: STATE_SET "default" 0.0;
5264          target: "elm.guide";
5265       }
5266       program { name: "touch_snd";
5267          signal: "mouse,clicked,1";
5268          source: "elm.text";
5269          action: PLAY_SAMPLE "touch_sound" 1.0;
5270       }
5271    }
5272 }
5273 group { name: "elm/entry/base-single/font_color_black/tizen_text_class";
5274    inherit: "elm/entry/base-single/font_color_black";
5275    styles {
5276       style { name: "tizen_text_class_single_textblock_style";
5277          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";
5278          tag:  "br" "\n";
5279          tag:  "ps" "ps";
5280          tag:  "tab" "\t";
5281          tag:  "em" "+ font=Tizen:style=Oblique";
5282          tag:  "b" "+ font=Tizen:style=Bold";
5283          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
5284          tag:  "hilight" "+ font=Tizen:style=Bold";
5285          tag:  "preedit" "+ underline=on underline_color=#000000FF";
5286          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
5287          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
5288          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
5289          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
5290          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
5291       }
5292       style { name: "tizen_text_class_single_textblock_disabled_style";
5293          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";
5294          tag:  "br" "\n";
5295          tag:  "ps" "ps";
5296          tag:  "tab" "\t";
5297          tag:  "em" "+ font=Tizen:style=Oblique";
5298          tag:  "b" "+ font=Tizen:style=Bold";
5299          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
5300          tag:  "hilight" "+ font=Tizen:style=Bold";
5301          tag:  "preedit" "+ underline=on underline_color=#000000FF";
5302          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
5303          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
5304          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
5305          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
5306          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
5307       }
5308       style { name: "tizen_text_class_single_textblock_guide_style";
5309          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";
5310          tag:  "br" "\n";
5311          tag:  "ps" "ps";
5312          tag:  "tab" "\t";
5313          tag:  "em" "+ font=Tizen:style=Oblique";
5314          tag:  "b" "+ font=Tizen:style=Bold";
5315          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
5316          tag:  "hilight" "+ font=Tizen:style=Bold";
5317       }
5318    }
5319    parts {
5320       part { name: "elm.guide";
5321          type: TEXTBLOCK;
5322          mouse_events: 0;
5323          scale: 1;
5324          description { state: "default" 0.0;
5325             rel1.to: "elm.text";
5326             rel2.to: "elm.text";
5327             text {
5328                style: "tizen_text_class_single_textblock_guide_style";
5329                min: 0 1;
5330                max: 0 1;
5331             }
5332          }
5333          description { state: "hidden" 0.0;
5334             inherit: "default" 0.0;
5335             visible: 0;
5336          }
5337       }
5338       part { name: "elm.text";
5339          description { state: "default" 0.0;
5340             text {
5341                style: "tizen_text_class_single_textblock_style";
5342             }
5343          }
5344          description { state: "disabled" 0.0;
5345             inherit: "default" 0.0;
5346             text {
5347                style: "tizen_text_class_single_textblock_disabled_style";
5348             }
5349          }
5350       }
5351    }
5352 }
5353 group { name: "elm/entry/base-password/font_color_black";
5354    alias: "elm/entry/base-password/editfield/font_color_black";
5355    data.item: "default_font_size" "24";
5356    data.item: "min_font_size" "8";
5357    data.item: "max_font_size" "60";
5358    data {
5359       item: context_menu_orientation "horizontal";
5360    }
5361    parts {
5362       part { name: "elm.guide";
5363          type: TEXTBLOCK;
5364          mouse_events: 0;
5365          scale: 1;
5366          description { state: "default" 0.0;
5367             rel1.to: "elm.text";
5368             rel2.to: "elm.text";
5369             text {
5370                style: "font_color_black_single_textblock_guide_style";
5371                min: 0 1;
5372                max: 0 1;
5373             }
5374          }
5375          description { state: "hidden" 0.0;
5376             inherit: "default" 0.0;
5377             visible: 0;
5378          }
5379       }
5380       part { name: "elm.text";
5381          type: TEXTBLOCK;
5382          mouse_events: 1;
5383          scale: 1;
5384          entry_mode: PASSWORD;
5385          select_mode: BLOCK_HANDLE;
5386          multiline: 0;
5387          source: "elm/entry/selection/default"; // selection under
5388          //source2: "X"; // selection over
5389          //source3: "X"; // cursor under
5390          source4: "elm/entry/cursor/default"; // cursorover
5391          source5: "elm/entry/anchor/default"; // anchor under
5392          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
5393          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
5394          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
5395          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
5396          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
5397          description { state: "default" 0.0;
5398             text {
5399                style: "font_color_black_single_textblock_style";
5400                repch: "•";
5401                min: 1 1;
5402                max: 0 1;
5403             }
5404          }
5405          description { state: "disabled" 0.0;
5406             inherit: "default" 0.0;
5407             text {
5408                style: "font_color_black_single_textblock_disabled_style";
5409             }
5410          }
5411       }
5412    }
5413    programs {
5414       program { name: "focus";
5415          signal: "load";
5416          source: "";
5417          action: FOCUS_SET;
5418          target: "elm.text";
5419       }
5420       program { name: "disable";
5421          signal: "elm,state,disabled";
5422          source: "elm";
5423          action: STATE_SET "disabled" 0.0;
5424          target: "elm.text";
5425       }
5426       program { name: "enable";
5427          signal: "elm,state,enabled";
5428          source: "elm";
5429          action: STATE_SET "default" 0.0;
5430          target: "elm.text";
5431       }
5432       program { name: "gdisable";
5433          signal: "elm,guide,disabled";
5434          source: "elm";
5435          action: STATE_SET "hidden" 0.0;
5436          target: "elm.guide";
5437       }
5438       program { name: "genable";
5439          signal: "elm,guide,enabled";
5440          source: "elm";
5441          action: STATE_SET "default" 0.0;
5442          target: "elm.guide";
5443       }
5444       program { name: "touch_snd";
5445          signal: "mouse,clicked,1";
5446          source: "elm.text";
5447          action: PLAY_SAMPLE "touch_sound" 1.0;
5448       }
5449    }
5450 }
5451
5452 group { name: "elm/scroller/entry/default";
5453       data {
5454          item: "focus_highlight" "off";
5455       }
5456       script {
5457          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
5458          public timer0(val) {
5459             new v;
5460             v = get_int(sbvis_v);
5461             if (v) {
5462                v = get_int(sbalways_v);
5463                if (!v) {
5464                   emit("do-hide-vbar", "");
5465                   set_int(sbvis_v, 0);
5466                }
5467             }
5468             v = get_int(sbvis_h);
5469             if (v) {
5470                v = get_int(sbalways_h);
5471                if (!v) {
5472                   emit("do-hide-hbar", "");
5473                   set_int(sbvis_h, 0);
5474                }
5475             }
5476             set_int(sbvis_timer, 0);
5477             return 0;
5478          }
5479       }
5480       parts {
5481          part { name: "focus_bg";
5482             type: RECT;
5483             scale: 1;
5484             mouse_events: 0;
5485             repeat_events: 1;
5486             description { state: "default" 0.0;
5487                visible: 0;
5488             }
5489          }
5490          part { name: "bg";
5491             type: RECT;
5492             scale: 1;
5493             description { state: "default" 0.0;
5494                visible: 0;
5495             }
5496          }
5497          part { name: "clipper";
5498             type: RECT;
5499             scale: 1;
5500             mouse_events: 0;
5501             description { state: "default" 0.0;
5502                rel1.to: "bg";
5503                rel2.to: "bg";
5504             }
5505          }
5506          part { name: "contentclipper";
5507             type: RECT;
5508             scale: 1;
5509             mouse_events: 0;
5510             clip_to: "clipper";
5511             description { state: "default" 0.0;
5512                rel1 {
5513                   to_x: "icon_padding";
5514                   to_y: "bg";
5515                   relative: 1.0 0.0;
5516                }
5517                rel2 {
5518                   to_x: "clear_padding";
5519                   to_y: "bg";
5520                   relative: 0.0 1.0;
5521                }
5522             }
5523          }
5524          part { name: "icon_padding";
5525             type: SPACER;
5526             scale: 1;
5527             clip_to: "clipper";
5528             description { state: "default" 0.0;
5529                align: 0.0 0.5;
5530                min: 0 0;
5531                max: 0 0;
5532                fixed: 1 1;
5533                rel1 {
5534                   to: "bg";
5535                   relative: 0.0 0.0;
5536                }
5537                rel2 {
5538                   to: "bg";
5539                   relative: 0.0 1.0;
5540                }
5541             }
5542             description { state: "visible" 0.0;
5543                inherit: "default" 0.0;
5544                min: 70 0;
5545                max: 70 0;
5546             }
5547          }
5548          part { name: "elm.swallow.icon";
5549             type: SWALLOW;
5550             scale: 1;
5551             clip_to: "clipper";
5552             description { state: "default" 0.0;
5553                align: 0.0 0.5;
5554                fixed: 1 1;
5555                rel1 {
5556                   to: "bg";
5557                   relative: 0.0 0.0;
5558                }
5559                rel2 {
5560                   to: "bg";
5561                   relative: 0.0 1.0;
5562                }
5563                visible: 0;
5564             }
5565             description { state: "visible" 0.0;
5566                inherit: "default" 0.0;
5567                visible: 1;
5568             }
5569          }
5570          part { name: "clear_padding";
5571             type: SPACER;
5572             scale: 1;
5573             description { state: "default" 0.0;
5574                align: 1.0 0.5;
5575                min: 0 0;
5576                max: 0 0;
5577                fixed: 1 1;
5578                rel1 {
5579                   to_x: "elm.swallow.end";
5580                   to_y: "bg";
5581                   relative: 0.0 0.0;
5582                }
5583                rel2 {
5584                   to_x: "elm.swallow.end";
5585                   to_y: "bg";
5586                   relative: 0.0 1.0;
5587                }
5588             }
5589             description { state: "visible" 0.0;
5590                inherit: "default" 0.0;
5591                min: 70 0;
5592                max: 70 0;
5593             }
5594          }
5595          part { name: "elm.swallow.clear";
5596             type: SWALLOW;
5597             scale: 1;
5598             clip_to: "clipper";
5599             description { state: "default" 0.0;
5600                align: 1.0 0.5;
5601                fixed: 1 1;
5602                rel1 {
5603                   to_x: "elm.swallow.end";
5604                   to_y: "bg";
5605                   relative: 0.0 0.0;
5606                }
5607                rel2 {
5608                   to_x: "elm.swallow.end";
5609                   to_y: "bg";
5610                   relative: 0.0 1.0;
5611                }
5612                visible: 0;
5613             }
5614             description { state: "visible" 0.0;
5615                inherit: "default" 0.0;
5616                visible: 1;
5617             }
5618          }
5619          part { name: "elm.swallow.end";
5620             type: SWALLOW;
5621             scale: 1;
5622             clip_to: "clipper";
5623             description { state: "default" 0.0;
5624                align: 1.0 0.5;
5625                fixed: 1 1;
5626                rel1 {
5627                   to: "bg";
5628                   relative: 1.0 0.0;
5629                }
5630                rel2 {
5631                   to: "bg";
5632                   relative: 1.0 1.0;
5633                }
5634                visible: 0;
5635             }
5636             description { state: "visible" 0.0;
5637                inherit: "default" 0.0;
5638                visible: 1;
5639             }
5640          }
5641          part { name: "elm.swallow.content";
5642             clip_to: "contentclipper";
5643             scale: 1;
5644             type: SWALLOW;
5645             description { state: "default" 0.0;
5646                rel1 {
5647                   to_x: "icon_padding";
5648                   to_y: "bg";
5649                   relative: 1.0 0.0;
5650                }
5651                rel2 {
5652                   to_x: "clear_padding";
5653                   to_y: "bg";
5654                   relative: 0.0 1.0;
5655                }
5656             }
5657          }
5658          part { name: "sb_vbar_clip_master";
5659             type: RECT;
5660             scale: 1;
5661             mouse_events: 0;
5662             description { state: "default" 0.0;
5663             }
5664             description { state: "hidden" 0.0;
5665                visible: 0;
5666                color: 255 255 255 0;
5667             }
5668          }
5669          part { name: "sb_vbar_clip";
5670             clip_to: "sb_vbar_clip_master";
5671             type: RECT;
5672             scale: 1;
5673             mouse_events: 0;
5674             description { state: "default" 0.0;
5675             }
5676             description { state: "hidden" 0.0;
5677                visible: 0;
5678                color: 255 255 255 0;
5679             }
5680          }
5681          part { name: "sb_vbar";
5682             type: RECT;
5683             scale: 1;
5684             mouse_events: 0;
5685             description { state: "default" 0.0;
5686                fixed: 1 1;
5687                visible: 0;
5688                min: 10 17;
5689                align: 1.0 0.0;
5690                rel1 {
5691                   relative: 0.0 0.0;
5692                   to_y:     "elm.swallow.content";
5693                   to_x:     "clear_padding";
5694                }
5695                rel2 {
5696                   relative: 0.0 0.0;
5697                   to_y:     "sb_hbar";
5698                   to_x:     "clear_padding";
5699                }
5700             }
5701          }
5702          part { name: "elm.dragable.vbar";
5703             type: RECT;
5704             scale: 1;
5705             clip_to: "sb_vbar_clip";
5706             mouse_events: 0;
5707             dragable {
5708                x: 0 0 0;
5709                y: 1 1 0;
5710                confine: "sb_vbar";
5711             }
5712             description { state: "default" 0.0;
5713                visible: 0;
5714                fixed: 1 1;
5715                min: 10 17;
5716                max: 10 99999;
5717                rel1 {
5718                   relative: 0.5  0.5;
5719                   to: "sb_vbar";
5720                }
5721                rel2 {
5722                   relative: 0.5  0.5;
5723                   to: "sb_vbar";
5724                }
5725             }
5726          }
5727          part { name: "sb_hbar_clip_master";
5728             type: RECT;
5729             scale: 1;
5730             mouse_events: 0;
5731             description { state: "default" 0.0;
5732             }
5733             description { state: "hidden" 0.0;
5734                visible: 0;
5735                color: 255 255 255 0;
5736             }
5737          }
5738          part { name: "sb_hbar_clip";
5739             clip_to: "sb_hbar_clip_master";
5740             type: RECT;
5741             scale: 1;
5742             mouse_events: 0;
5743             description { state: "default" 0.0;
5744             }
5745             description { state: "hidden" 0.0;
5746                visible: 0;
5747                color: 255 255 255 0;
5748             }
5749          }
5750          part { name: "sb_hbar";
5751             type: RECT;
5752             scale: 1;
5753             mouse_events: 0;
5754             description { state: "default" 0.0;
5755                fixed: 1 1;
5756                visible: 0;
5757                min: 17 10;
5758                align: 0.0 1.0;
5759                rel1 {
5760                   relative: 0.0 1.0;
5761                   to_x:     "elm.swallow.content";
5762                   to_y:     "elm.swallow.content";
5763                }
5764                rel2 {
5765                   relative: 0.0 1.0;
5766                   to_x:     "sb_vbar";
5767                   to_y:     "elm.swallow.content";
5768                }
5769             }
5770          }
5771          part { name: "elm.dragable.hbar";
5772             type: RECT;
5773             scale: 1;
5774             clip_to: "sb_hbar_clip";
5775             mouse_events: 0;
5776             dragable {
5777                x: 1 1 0;
5778                y: 0 0 0;
5779                confine: "sb_hbar";
5780             }
5781             description { state: "default" 0.0;
5782                fixed: 1 1;
5783                min: 17 10;
5784                max: 99999 10;
5785                rel1 {
5786                   relative: 0.5  0.5;
5787                   to: "sb_hbar";
5788                }
5789                rel2 {
5790                   relative: 0.5  0.5;
5791                   to: "sb_hbar";
5792                }
5793             }
5794          }
5795       }
5796       programs {
5797          program { name: "load";
5798             signal: "load";
5799             source: "";
5800             script {
5801                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
5802                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
5803                set_int(sbvis_h, 0);
5804                set_int(sbvis_v, 0);
5805                set_int(sbalways_v, 0);
5806                set_int(sbalways_h, 0);
5807                set_int(sbvis_timer, 0);
5808             }
5809          }
5810          program { name: "icon_show";
5811             signal: "elm,action,show,icon";
5812             source: "elm";
5813             action: STATE_SET "visible" 0.0;
5814             target: "elm.swallow.icon";
5815             target: "icon_padding";
5816          }
5817          program { name: "icon_hide";
5818             signal: "elm,action,hide,icon";
5819             source: "elm";
5820             action: STATE_SET "default" 0.0;
5821             target: "elm.swallow.icon";
5822             target: "icon_padding";
5823          }
5824          program { name: "clear_show";
5825             signal: "elm,state,clear,visible";
5826             source: "*";
5827             action: STATE_SET "visible" 0.0;
5828             target: "elm.swallow.clear";
5829             target: "clear_padding";
5830          }
5831          program { name: "clear_hide";
5832             signal: "elm,state,clear,hidden";
5833             source: "*";
5834             action: STATE_SET "default" 0.0;
5835             target: "elm.swallow.clear";
5836             target: "clear_padding";
5837          }
5838          program { name: "end_show";
5839             signal: "elm,action,show,end";
5840             source: "elm";
5841             action: STATE_SET "visible" 0.0;
5842             target: "elm.swallow.end";
5843          }
5844          program { name: "end_hide";
5845             signal: "elm,action,hide,end";
5846             source: "elm";
5847             action: STATE_SET "default" 0.0;
5848             target: "elm.swallow.end";
5849          }
5850          program { name: "vbar_show";
5851             signal: "elm,action,show,vbar";
5852             source: "elm";
5853             action:  STATE_SET "default" 0.0;
5854             target: "sb_vbar_clip_master";
5855          }
5856          program { name: "vbar_hide";
5857             signal: "elm,action,hide,vbar";
5858             source: "elm";
5859             action:  STATE_SET "hidden" 0.0;
5860             target: "sb_vbar_clip_master";
5861          }
5862          program { name: "vbar_show_always";
5863             signal: "elm,action,show_always,vbar";
5864             source: "elm";
5865             script {
5866                new v;
5867                v = get_int(sbvis_v);
5868                v |= get_int(sbalways_v);
5869                if (!v) {
5870                   set_int(sbalways_v, 1);
5871                   emit("do-show-vbar", "");
5872                   set_int(sbvis_v, 1);
5873                }
5874             }
5875          }
5876          program { name: "vbar_show_notalways";
5877             signal: "elm,action,show_notalways,vbar";
5878             source: "elm";
5879             script {
5880                new v;
5881                v = get_int(sbalways_v);
5882                if (v) {
5883                   set_int(sbalways_v, 0);
5884                   v = get_int(sbvis_v);
5885                   if (!v) {
5886                      emit("do-hide-vbar", "");
5887                      set_int(sbvis_v, 0);
5888                   }
5889                }
5890             }
5891          }
5892          program { name: "sb_vbar_show";
5893             signal: "do-show-vbar";
5894             source: "";
5895             action:  STATE_SET "default" 0.0;
5896             transition: LINEAR 0.5;
5897             target: "sb_vbar_clip";
5898          }
5899          program { name: "sb_vbar_hide";
5900             signal: "do-hide-vbar";
5901             source: "";
5902             action:  STATE_SET "hidden" 0.0;
5903             transition: LINEAR 0.5;
5904             target: "sb_vbar_clip";
5905          }
5906
5907          program { name: "hbar_show";
5908             signal: "elm,action,show,hbar";
5909             source: "elm";
5910             action:  STATE_SET "default" 0.0;
5911             target: "sb_hbar_clip_master";
5912          }
5913          program { name: "hbar_hide";
5914             signal: "elm,action,hide,hbar";
5915             source: "elm";
5916             action:  STATE_SET "hidden" 0.0;
5917             target: "sb_hbar_clip_master";
5918          }
5919          program { name: "hbar_show_always";
5920             signal: "elm,action,show_always,hbar";
5921             source: "elm";
5922             script {
5923                new v;
5924                v = get_int(sbvis_h);
5925                v |= get_int(sbalways_h);
5926                if (!v) {
5927                   set_int(sbalways_h, 1);
5928                   emit("do-show-hbar", "");
5929                   set_int(sbvis_h, 1);
5930                }
5931             }
5932          }
5933          program { name: "hbar_show_notalways";
5934             signal: "elm,action,show_notalways,hbar";
5935             source: "elm";
5936             script {
5937                new v;
5938                v = get_int(sbalways_h);
5939                if (v) {
5940                   set_int(sbalways_h, 0);
5941                   v = get_int(sbvis_h);
5942                   if (!v) {
5943                      emit("do-hide-hbar", "");
5944                      set_int(sbvis_h, 0);
5945                   }
5946                }
5947             }
5948          }
5949          program { name: "sb_hbar_show";
5950             signal: "do-show-hbar";
5951             source: "";
5952             action:  STATE_SET "default" 0.0;
5953             transition: LINEAR 0.5;
5954             target: "sb_hbar_clip";
5955          }
5956          program { name: "sb_hbar_hide";
5957             signal: "do-hide-hbar";
5958             source: "";
5959             action:  STATE_SET "hidden" 0.0;
5960             transition: LINEAR 0.5;
5961             target: "sb_hbar_clip";
5962          }
5963
5964          program { name: "scroll";
5965             signal: "elm,action,scroll";
5966             source: "elm";
5967             script {
5968                new v;
5969                v = get_int(sbvis_v);
5970                v |= get_int(sbalways_v);
5971                if (!v) {
5972                   emit("do-show-vbar", "");
5973                   set_int(sbvis_v, 1);
5974                }
5975                v = get_int(sbvis_h);
5976                v |= get_int(sbalways_h);
5977                if (!v) {
5978                   emit("do-show-hbar", "");
5979                   set_int(sbvis_h, 1);
5980                }
5981                v = get_int(sbvis_timer);
5982                if (v > 0) cancel_timer(v);
5983                v = timer(1.0, "timer0", 0);
5984                set_int(sbvis_timer, v);
5985             }
5986          }
5987       }
5988    }
5989 group { name: "elm/scroller/entry/editfield";
5990       inherit: "elm/scroller/entry/default";
5991       data {
5992          item: "focus_highlight" "on";
5993       }
5994       images {
5995          image: "00_edit_field_focus.png" COMP;
5996          image: "00_edit_field_bg.png" COMP;
5997       }
5998       parts {
5999          part { name: "focus_bg";
6000             type: IMAGE;
6001             scale: 1;
6002             mouse_events: 0;
6003             repeat_events: 1;
6004             description { state: "default" 0.0;
6005                visible: 1;
6006                image {
6007                   normal: "00_edit_field_bg.png";
6008                   border: 8 8 8 8;
6009                   border_scale: 1;
6010                }
6011                rel1.relative: 0.0 0.0;
6012                rel2.relative: 1.0 1.0;
6013             }
6014          }
6015          part { name: "focus_left_padding";
6016             type: SPACER;
6017             scale: 1;
6018             description { state: "default" 0.0;
6019                min: 10 0;
6020                max: 10 0;
6021                fixed: 1 0;
6022                align: 0.0 0.5;
6023                rel1 {
6024                   to: "focus_bg";
6025                   relative: 0.0 0.0;
6026                }
6027                rel2 {
6028                   to: "focus_bg";
6029                   relative: 0.0 1.0;
6030                }
6031             }
6032          }
6033          part { name: "focus_right_padding";
6034             type: SPACER;
6035             scale: 1;
6036             description { state: "default" 0.0;
6037                min: 10 0;
6038                max: 10 0;
6039                align: 1.0 0.5;
6040                fixed: 1 0;
6041                rel1 {
6042                   to: "focus_bg";
6043                   relative: 1.0 0.0;
6044                }
6045                rel2 {
6046                   to: "focus_bg";
6047                   relative: 1.0 1.0;
6048                }
6049             }
6050          }
6051          part { name: "focus_image";
6052             scale: 1;
6053             mouse_events: 0;
6054             repeat_events: 1;
6055             description { state: "default" 0.0;
6056                visible: 0;
6057                image {
6058                   normal: "00_edit_field_focus.png";
6059                   border: 8 8 8 8;
6060                   border_scale: 1;
6061                }
6062                rel1 {
6063                   to: "focus_bg";
6064                   relative: 0.0 0.0;
6065                }
6066                rel2 {
6067                   to: "focus_bg";
6068                   relative: 1.0 1.0;
6069                }
6070             }
6071             description { state: "focused" 0.0;
6072                inherit: "default" 0.0;
6073                visible: 1;
6074             }
6075          }
6076          part { name: "bg";
6077             type: RECT;
6078             scale: 1;
6079             description { state: "default" 0.0;
6080                visible: 0;
6081                rel1 {
6082                   to_x: "focus_left_padding";
6083                   relative: 1.0 0.0;
6084                }
6085                rel2 {
6086                   to_x: "focus_right_padding";
6087                   relative: 0.0 1.0;
6088                }
6089             }
6090          }
6091       }
6092       programs {
6093          program { name: "action_focus";
6094             signal: "elm,state,focus,on";
6095             source: "*";
6096             action: STATE_SET "focused" 0.0;
6097             target: "focus_image";
6098          }
6099          program { name: "action_unfocus";
6100             signal: "elm,state,focus,off";
6101             source: "*";
6102             action: STATE_SET "default" 0.0;
6103             target: "focus_image";
6104          }
6105       }
6106 }
6107 group { name: "elm/scroller/entry/editfield/searchbar/default";
6108       inherit: "elm/scroller/entry/default";
6109       data {
6110          item: "focus_highlight" "on";
6111       }
6112       images {
6113          image: "00_search_edit_field_bg_focus.png" COMP;
6114          image: "00_search_edit_field_bg.png" COMP;
6115       }
6116       parts {
6117          part { name: "focus_bg";
6118             type: IMAGE;
6119             scale: 1;
6120             mouse_events: 0;
6121             repeat_events: 1;
6122             description { state: "default" 0.0;
6123                visible: 1;
6124                image {
6125                   normal: "00_search_edit_field_bg.png";
6126                   border: 12 13 12 13;
6127                   border_scale: 1;
6128                }
6129                rel1.relative: 0.0 0.0;
6130                rel2.relative: 1.0 1.0;
6131             }
6132          }
6133          part { name: "focus_left_padding";
6134             type: SPACER;
6135             scale: 1;
6136             description { state: "default" 0.0;
6137                min: 10 0;
6138                max: 10 0;
6139                fixed: 1 0;
6140                align: 0.0 0.5;
6141                rel1 {
6142                   to: "focus_bg";
6143                   relative: 0.0 0.0;
6144                }
6145                rel2 {
6146                   to: "focus_bg";
6147                   relative: 0.0 1.0;
6148                }
6149             }
6150          }
6151          part { name: "focus_right_padding";
6152             type: SPACER;
6153             scale: 1;
6154             description { state: "default" 0.0;
6155                min: 10 0;
6156                max: 10 0;
6157                align: 1.0 0.5;
6158                fixed: 1 0;
6159                rel1 {
6160                   to: "focus_bg";
6161                   relative: 1.0 0.0;
6162                }
6163                rel2 {
6164                   to: "focus_bg";
6165                   relative: 1.0 1.0;
6166                }
6167             }
6168          }
6169          part { name: "focus_image";
6170             scale: 1;
6171             mouse_events: 0;
6172             description { state: "default" 0.0;
6173                visible: 0;
6174                image {
6175                   normal: "00_search_edit_field_bg_focus.png";
6176                   border: 12 13 12 13;
6177                   border_scale: 1;
6178                }
6179                rel1 {
6180                   to: "focus_bg";
6181                   relative: 0.0 0.0;
6182                }
6183                rel2 {
6184                   to: "focus_bg";
6185                   relative: 1.0 1.0;
6186                }
6187             }
6188             description { state: "focused" 0.0;
6189                inherit: "default" 0.0;
6190                visible: 1;
6191             }
6192          }
6193          part { name: "bg";
6194             type: RECT;
6195             scale: 1;
6196             description { state: "default" 0.0;
6197                visible: 0;
6198                rel1 {
6199                   to_x: "focus_left_padding";
6200                   relative: 1.0 0.0;
6201                }
6202                rel2 {
6203                   to_x: "focus_right_padding";
6204                   relative: 0.0 1.0;
6205                }
6206             }
6207          }
6208       }
6209       programs {
6210          program { name: "action_focus";
6211             signal: "elm,state,focus,on";
6212             source: "*";
6213             action: STATE_SET "focused" 0.0;
6214             target: "focus_image";
6215          }
6216          program { name: "action_unfocus";
6217             signal: "elm,state,focus,off";
6218             source: "*";
6219             action: STATE_SET "default" 0.0;
6220             target: "focus_image";
6221          }
6222       }
6223 }
6224 group { name: "elm/entry/base-single/datetime_popup";
6225    inherit: "elm/entry/base-single/default";
6226    alias: "elm/entry/base-single/datetime_popup/year";
6227    alias: "elm/entry/base-single/datetime_popup/month";
6228    alias: "elm/entry/base-single/datetime_popup/date";
6229    alias: "elm/entry/base-single/datetime_popup/hour";
6230    alias: "elm/entry/base-single/datetime_popup/minute";
6231    data.item: "default_font_size" "64";
6232    styles {
6233       style { name: "entry_datetime_popup_textblock_style";
6234          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";
6235          tag:  "br" "\n";
6236          tag:  "ps" "ps";
6237          tag:  "tab" "\t";
6238          tag:  "em" "+ font=Tizen:style=Oblique";
6239          tag:  "b" "+ font=Tizen:style=Bold";
6240          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
6241          tag:  "hilight" "+ font=Tizen:style=Bold";
6242          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
6243          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;
6244          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
6245          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
6246          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
6247          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
6248       }
6249    }
6250    parts {
6251       part { name: "elm.text";
6252          type: TEXTBLOCK;
6253          mouse_events: 1;
6254          scale: 1;
6255          entry_mode: EDITABLE;
6256          select_mode: BLOCK_HANDLE;
6257          multiline: 0;
6258          source: "elm/entry/selection/default"; // selection under
6259          source4: "elm/entry/cursor/default"; // cursorover
6260          source5: "elm/entry/anchor/default"; // anchor under
6261          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
6262          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
6263          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
6264          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
6265          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
6266          description { state: "default" 0.0;
6267             text {
6268                style: "entry_datetime_popup_textblock_style";
6269                min: 1 1;
6270                max: 0 0;
6271                align: 0.0 0.5;
6272             }
6273          }
6274          description { state: "disabled" 0.0;
6275             inherit: "default" 0.0;
6276             text {
6277                style: "entry_single_textblock_disabled_style";
6278             }
6279          }
6280       }
6281    }
6282 }
6283
6284