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