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