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