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