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