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