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