entry: Entry theme include rename, clear swallow parts and programs now, except no...
[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: 1 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                                         min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE;
2057                                         max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE;
2058                                         image {
2059                                                 normal: "copy&paste_Handler_left_01.png";
2060                                                 border: 0 0 0 0;
2061                                         }
2062                                         image.middle: SOLID;
2063                                         fill.smooth: 0;
2064                                 }
2065                                 description { state: "show" 0.0;
2066                                         inherit: "default" 0.0;
2067                                         visible: 1;
2068                                 }
2069                                 description { state: "top" 0.0;
2070                                         inherit: "default" 0.0;
2071                                         visible: 1;
2072                                         align: 1 1;
2073                                         image {
2074                                                 normal: "copy&paste_Handler_left.png";
2075                                         }
2076                                 }
2077                                 description { state: "bottom_reversed" 0.0;
2078                                         inherit: "default" 0.0;
2079                                         visible: 1;
2080                                         align: 0 0;
2081                                         rel1 { relative: 0 0; to_x: "edge"; }
2082                                         image {
2083                                                 normal: "copy&paste_Handler_left_01_reverse.png";
2084                                         }
2085                                 }
2086                                 description { state: "top_reversed" 0.0;
2087                                         inherit: "default" 0.0;
2088                                         visible: 1;
2089                                         align: 0 1;
2090                                         rel1 { relative: 0 0; to_x: "edge"; }
2091                                         image {
2092                                                 normal: "copy&paste_Handler_left_reverse.png";
2093                                         }
2094                                 }
2095                         }
2096                 }
2097                 script {
2098                         public handler_ontop;
2099                         public handler_focused;
2100                 }
2101                 programs {
2102                         program { name: "focused";
2103                                 signal: "edje,focus,in";
2104                                 source: "edje";
2105                                 script {
2106                                         set_int(handler_focused, 1);
2107                                 }
2108                         }
2109                         program { name: "unfocused";
2110                                 signal: "edje,focus,out";
2111                                 source: "edje";
2112                                 script {
2113                                         set_int(handler_focused, 0);
2114                                         set_state(PART:"handle", "default", 0.0);
2115                                 }
2116                         }
2117                         program { name: "bottom_reversed";
2118                                 signal: "elm,state,bottom,reversed";
2119                                 source: "elm";
2120                                 script {
2121                                         set_state(PART:"handle", "bottom_reversed", 0.0);
2122                                 }
2123                         }
2124                         program { name: "top_reversed";
2125                                 signal: "elm,state,top,reversed";
2126                                 source: "elm";
2127                                 script {
2128                                         set_state(PART:"handle", "top_reversed", 0.0);
2129                                 }
2130                         }
2131                         program { name: "top";
2132                                 signal: "elm,state,top";
2133                                 source: "elm";
2134                                 script {
2135                                         new focused;
2136                                         focused = get_int(handler_focused);
2137                                         set_int(handler_ontop, 1);
2138                                         if (focused)
2139                                         {
2140                                                 set_state(PART:"handle", "top", 0.0);
2141                                         }
2142                                         else
2143                                         {
2144                                                 set_state(PART:"handle", "default", 0.0);
2145                                         }
2146                                 }
2147                         }
2148                         program { name: "bottom";
2149                                 signal: "elm,state,bottom";
2150                                 source: "elm";
2151                                 script {
2152                                         new focused;
2153                                         focused = get_int(handler_focused);
2154                                         set_int(handler_ontop, 0);
2155                                         if (focused)
2156                                         {
2157                                                 set_state(PART:"handle", "show", 0.0);
2158                                         }
2159                                         else
2160                                         {
2161                                                 set_state(PART:"handle", "default", 0.0);
2162                                         }
2163                                 }
2164                         }
2165                 }
2166         }
2167
2168         group { name: "elm/entry/selection/block_handle_right";
2169                 data.item: "height" "79";
2170                 data.item: "gap" "32";
2171                 images {
2172                   image: "copy&paste_Handler_right.png" COMP;
2173                   image: "copy&paste_Handler_right_01.png" COMP;
2174                   image: "copy&paste_Handler_right_reverse.png" COMP;
2175                   image: "copy&paste_Handler_right_01_reverse.png" COMP;
2176                 }
2177                 parts {
2178                         part { name: "edge";
2179                                 type: RECT;
2180                                 scale: 1;
2181                                 mouse_events: 0;
2182                                 description { state: "default" 0.0;
2183                                         min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0;
2184                                         max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0;
2185                                         color: 0 0 0 0;
2186                                         visible: 0;
2187                                         align: 0 0;
2188                                 }
2189                         }
2190                         part { name: "handle";
2191                                 mouse_events: 1;
2192                                 scale: 1;
2193                                 description { state: "default" 0.0;
2194                                         visible: 0;
2195                                         fixed: 1 1;
2196                                         align: 0 0;
2197                                         min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE;
2198                                         max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE;
2199                                         image {
2200                                                 normal: "copy&paste_Handler_right.png";
2201                                                 border: 0 0 0 0;
2202                                         }
2203                                         image.middle: SOLID;
2204                                         fill.smooth: 0;
2205                                 }
2206                                 description { state: "show" 0.0;
2207                                         inherit: "default" 0.0;
2208                                         visible: 1;
2209                                 }
2210                                 description { state: "top" 0.0;
2211                                         inherit: "default" 0.0;
2212                                         visible: 1;
2213                                         align: 0 1;
2214                                         image {
2215                                                 normal: "copy&paste_Handler_right_01.png";
2216                                         }
2217                                 }
2218                                 description { state: "bottom_reversed" 0.0;
2219                                         inherit: "default" 0.0;
2220                                         visible: 1;
2221                                         align: 1 0;
2222                                         rel2 { relative: 1.0 0.0; to_x: "edge"; }
2223                                         image {
2224                                                 normal: "copy&paste_Handler_right_reverse.png";
2225                                         }
2226                                 }
2227                                 description { state: "top_reversed" 0.0;
2228                                         inherit: "default" 0.0;
2229                                         visible: 1;
2230                                         align: 1 1;
2231                                         rel2 { relative: 1.0 0.0; to_x: "edge"; }
2232                                         image {
2233                                                 normal: "copy&paste_Handler_right_01_reverse.png";
2234                                         }
2235                                 }
2236                         }
2237                 }
2238                 script {
2239                         public handler_ontop;
2240                         public handler_focused;
2241                 }
2242                 programs {
2243                         program { name: "focused";
2244                                 signal: "edje,focus,in";
2245                                 source: "edje";
2246                                 script {
2247                                         set_int(handler_focused, 1);
2248                                 }
2249                         }
2250                         program { name: "unfocused";
2251                                 signal: "edje,focus,out";
2252                                 source: "edje";
2253                                 script {
2254                                         set_int(handler_focused, 0);
2255                                         set_state(PART:"handle", "default", 0.0);
2256                                 }
2257                         }
2258                         program { name: "top";
2259                                 signal: "elm,state,top";
2260                                 source: "elm";
2261                                 script {
2262                                         new focused;
2263                                         focused = get_int(handler_focused);
2264                                         set_int(handler_ontop, 1);
2265                                         if (focused)
2266                                                 {
2267                                                         set_state(PART:"handle", "top", 0.0);
2268                                                 }
2269                                         else
2270                                                 {
2271                                                         set_state(PART:"handle", "default", 0.0);
2272                                         }
2273                                 }
2274                         }
2275                         program { name: "bottom";
2276                                 signal: "elm,state,bottom";
2277                                 source: "elm";
2278                                 script {
2279                                         new focused;
2280                                         focused = get_int(handler_focused);
2281                                         set_int(handler_ontop, 0);
2282                                         if (focused)
2283                                                 {
2284                                                         set_state(PART:"handle", "show", 0.0);
2285                                                 }
2286                                         else
2287                                                 {
2288                                                         set_state(PART:"handle", "default", 0.0);
2289                                         }
2290                                 }
2291                         }
2292                         program { name: "bottom_reversed";
2293                                 signal: "elm,state,bottom,reversed";
2294                                 source: "elm";
2295                                 script {
2296                                         set_state(PART:"handle", "bottom_reversed", 0.0);
2297                                 }
2298                         }
2299                         program { name: "top_reversed";
2300                                 signal: "elm,state,top,reversed";
2301                                 source: "elm";
2302                                 script {
2303                                         set_state(PART:"handle", "top_reversed", 0.0);
2304                                 }
2305                         }
2306                 }
2307         }
2308
2309         group { name: "elm/entry/cursor_handle/default";
2310                 images {
2311                   image: "copy&paste_Handler_center.png" COMP;
2312                   image: "copy&paste_Handler_center_reverse.png" COMP;
2313                 }
2314                 parts {
2315                         part { name: "handle";
2316                                 scale: 1;
2317                                 mouse_events: 1;
2318                                 description { state: "default" 0.0;
2319                                         max: 59 86;
2320                                         min: 59 86;
2321                                         align: 0 0;
2322                                         visible: 0;
2323                                         align: 0.5 0;
2324                                         image {
2325                                                 normal: "copy&paste_Handler_center.png";
2326                                                 border: 0 0 0 0;
2327                                         }
2328                                         image.middle: SOLID;
2329                                         fill.smooth: 0;
2330                                 }
2331                                 description { state: "show" 0.0;
2332                                         inherit: "default" 0.0;
2333                                         visible: 1;
2334                                 }
2335                                 description { state: "top" 0.0;
2336                                         inherit: "default" 0.0;
2337                                         visible: 1;
2338                                         align: 0.5 1.0;
2339                                         image {
2340                                                 normal: "copy&paste_Handler_center_reverse.png";
2341                                                 border: 0 0 0 0;
2342                                         }
2343                                 }
2344                         }
2345                 }
2346                 script {
2347                         public on_top;
2348                 }
2349                 programs {
2350                         program { name: "focused";
2351                                 signal: "edje,focus,in";
2352                                 source: "edje";
2353                                 script {
2354                                         new on_top_val = get_int(on_top);
2355                                         if (on_top_val)
2356                                         {
2357                                                 set_state(PART:"handle", "top", 0.0);
2358                                         }
2359                                         else
2360                                         {
2361                                                 set_state(PART:"handle", "show", 0.0);
2362                                         }
2363                                 }
2364                         }
2365                         program { name: "unfocused";
2366                                 signal: "edje,focus,out";
2367                                 source: "edje";
2368                                 script {
2369                                         set_state(PART:"handle", "default", 0.0);
2370                                 }
2371                         }
2372                         program { name: "show";
2373                                 signal: "edje,cursor,handle,show";
2374                                 source: "edje";
2375                                 script {
2376                                         set_int(on_top, 0);
2377                                         set_state(PART:"handle", "show", 0.0);
2378                                 }
2379                         }
2380                         program { name: "hide";
2381                                 signal: "edje,cursor,handle,hide";
2382                                 source: "edje";
2383                                 script {
2384                                         set_state(PART:"handle", "default", 0.0);
2385                                 }
2386                         }
2387                         program { name: "top";
2388                                 signal: "edje,cursor,handle,top";
2389                                 source: "edje";
2390                                 script {
2391                                         set_int(on_top, 1);
2392                                         set_state(PART:"handle", "top", 0.0);
2393                                 }
2394                         }
2395                 }
2396         }
2397
2398         group { name: "elm/entry/selection/block_handle_edge_left";
2399                 parts {
2400                         part { name: "align";
2401                                 type: RECT;
2402                                 scale: 1;
2403                                 mouse_events: 0;
2404                                 description { state: "default" 0.0;
2405                                         min: 0 0;
2406                                         max: 0 0;
2407                                         color: 0 0 0 0;
2408                                         visible: 0;
2409                                         align: 0 0;
2410                                 }
2411                         }
2412                         part { name: "bg";
2413                                 type: RECT;
2414                                 scale: 1;
2415                                 mouse_events: 0;
2416                                 description { state: "default" 0.0;
2417                                         color: ENTRY_SELECTION_EDGE_COLOR;
2418                                         min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0;
2419                                         max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH -1;
2420                                         rel2 { relative: 0 1; to_x: "align"; }
2421                                         align: 1 0;
2422                                         visible: 0;
2423                                 }
2424                                 description { state: "show" 0.0;
2425                                         inherit: "default" 0.0;
2426                                         visible: 1;
2427                                 }
2428                         }
2429                 }
2430                 programs {
2431                         program { name: "show";
2432                                 signal: "edje,focus,in";
2433                                 source: "edje";
2434                                 script {
2435                                         set_state(PART:"bg", "show", 0.0);
2436                                 }
2437                         }
2438                         program { name: "hide";
2439                                 signal: "edje,focus,out";
2440                                 source: "edje";
2441                                 script {
2442                                         set_state(PART:"bg", "default", 0.0);
2443                                 }
2444                         }
2445                 }
2446         }
2447
2448         group { name: "elm/entry/selection/block_handle_edge_right";
2449                 parts {
2450                         part { name: "bg";
2451                                 type: RECT;
2452                                 scale: 1;
2453                                 mouse_events: 0;
2454                                 description { state: "default" 0.0;
2455                                         color: ENTRY_SELECTION_EDGE_COLOR;
2456                                         min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0;
2457                                         max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH -1;
2458                                         visible: 0;
2459                                 }
2460                                 description { state: "show" 0.0;
2461                                         inherit: "default" 0.0;
2462                                         visible: 1;
2463                                 }
2464                         }
2465                 }
2466                 programs {
2467                         program { name: "show";
2468                                 signal: "edje,focus,in";
2469                                 source: "edje";
2470                                 script {
2471                                         set_state(PART:"bg", "show", 0.0);
2472                                 }
2473                         }
2474                         program { name: "hide";
2475                                 signal: "edje,focus,out";
2476                                 source: "edje";
2477                                 script {
2478                                         set_state(PART:"bg", "default", 0.0);
2479                                 }
2480                         }
2481                 }
2482         }
2483
2484         group { name: "elm/entry/anchor/default";
2485                 parts {
2486                         part { name: "bg";
2487                                 type: RECT;
2488                                 mouse_events: 0;
2489                                 description { state: "default" 0.0;
2490                                         color: 0 0 0 0;
2491                                 }
2492                         }
2493                 }
2494         }
2495
2496     group { name: "elm/entry/preedit/default";
2497         parts {
2498             part { name: "bg";
2499                 type: RECT;
2500                 mouse_events: 0;
2501                 description { state: "default" 0.0;
2502                     color: 128 128 128 255;
2503                 }
2504             }
2505         }
2506    }
2507
2508
2509 #define MAGNIFIER_SCALE 1.5
2510
2511         group { name: "elm/entry/magnifier/fixed-size";
2512                 data.item: "height" MAGNIFIER_HEIGHT_FIXED;
2513                 data.item: "scale" MAGNIFIER_SCALE;
2514                 data.item: "arrow" 24;
2515                 images {
2516                   image: "copy&paste_Magnifier_left.png" COMP;
2517                   image: "copy&paste_Magnifier_middle.png" COMP;
2518                   image: "copy&paste_Magnifier_right.png" COMP;
2519                 }
2520                 parts {
2521                         part { name: "bg";
2522                                 mouse_events: 0;
2523                                 scale: 1;
2524                                 type: RECT;
2525                                 description { state: "default" 0.0;
2526                                         fixed: 1 1;
2527                                         min: MAGNIFIER_WIDTH_FIXED MAGNIFIER_HEIGHT_FIXED;
2528                                         align: 0.5 0.0;
2529                                         visible: 1;
2530                                         color: 0 0 0 0;
2531                                 }
2532                         }
2533                         part { name: "bg_middle_left";
2534                                 mouse_events: 0;
2535                                 scale: 1;
2536                                 type: RECT;
2537                                 description { state: "default" 0.0;
2538                                         min: 20 134;
2539                                         max: 20 -1;
2540                                         align: 1.0 0.0;
2541                                         rel2 { relative: 0.5 1.0; to: "bg"; }
2542                                         visible: 1;
2543                                         color: 0 0 0 0;
2544                                 }
2545                         }
2546                         part { name: "bg_middle_right";
2547                                 mouse_events: 0;
2548                                 scale: 1;
2549                                 type: RECT;
2550                                 description { state: "default" 0.0;
2551                                         min: 20 134;
2552                                         max: 20 -1;
2553                                         align: 0.0 0.0;
2554                                         rel1 { relative: 0.5 0.0; to: "bg"; }
2555                                         visible: 1;
2556                                         color: 0 0 0 0;
2557                                 }
2558                         }
2559                         part { name: "bg_left";
2560                                 mouse_events: 0;
2561                                 scale: 1;
2562                                 description { state: "default" 0.0;
2563                                         fixed: 1 1;
2564                                         min: 136 134;
2565                                         align: 0.0 0.0;
2566                                         rel1 { relative: 0.0 0.0; to: "bg"; }
2567                                         rel2 { relative: 0.0 1.0; to: "bg_middle_left"; }
2568                                         image {
2569                                                 normal: "copy&paste_Magnifier_left.png";
2570                                                 border: 21 1 20 44;
2571                                         }
2572                                         image.middle: 1;
2573                                         fill.smooth: 0;
2574                                 }
2575                         }
2576                         part { name: "bg_middle";
2577                                 mouse_events: 0;
2578                                 scale: 1;
2579                                 description { state: "default" 0.0;
2580                                         align: 0.0 0.0;
2581                                         rel1 { relative: 0.0 0.0; to: "bg_middle_left"; }
2582                                         rel2 { relative: 1.0 1.0; to: "bg_middle_right"; }
2583                                         image {
2584                                                 normal: "copy&paste_Magnifier_middle.png";
2585                                                 border: 1 38 20 44;
2586                                         }
2587                                         image.middle: 1;
2588                                         fill.smooth: 0;
2589                                 }
2590                         }
2591                         part { name: "bg_right";
2592                                 mouse_events: 0;
2593                                 scale: 1;
2594                                 description { state: "default" 0.0;
2595                                         fixed: 1 1;
2596                                         min: 136 134;
2597                                         rel1 { relative: 1.0 0.0; to: "bg_middle_right"; }
2598                                         rel2.to: "bg";
2599                                         image {
2600                                                 normal: "copy&paste_Magnifier_right.png";
2601                                                 border: 1 21 20 44;
2602                                         }
2603                                         image.middle: 1;
2604                                         fill.smooth: 0;
2605                                 }
2606                         }
2607                         part { name: "swallow";
2608                                 type: SWALLOW;
2609                                 mouse_events: 0;
2610                                 scale: 1;
2611                                 description { state: "default" 0.0;
2612                                         fixed: 1 1;
2613                                         align: 0.0 0.0;
2614                                         rel1 {
2615                                                 to: "bg";
2616                                                 offset: 21-5 22-8; //need to update when image with rounded corners releases
2617                                         }
2618                                         rel2 {
2619                                                 to: "bg";
2620                                                 offset: -21+5 -44+10;
2621                                         }
2622                                 }
2623                         }
2624                 }
2625         }
2626
2627         group { name: "elm/entry/matchlist/default";
2628                 data.item: "max_height" "230";
2629                 parts {
2630                         part { name: "base";
2631                                 type: RECT;
2632                                 scale : 1;
2633                                 mouse_events: 1;
2634                                 repeat_events: 1;
2635                                 description { state: "default" 0.0;
2636                                         color: 0 0 0 0;
2637                                         rel1 {
2638                                                 relative: 0.0 0.0;
2639                                                 offset: 0 20;
2640                                         }
2641                                         rel2 {
2642                                                 relative: 1.0 1.0;
2643                                                 offset: 0 20;
2644                                         }
2645                                 }
2646                         }
2647                         part { name: "elm.swallow.content";
2648                                 type: SWALLOW;
2649                                 description { state: "default" 0.0;
2650                                         align: 0.0 0.0;
2651                                         rel1 {
2652                                                 to: "base";
2653                                         }
2654                                         rel2 {
2655                                                 to: "base";
2656                                         }
2657                                 }
2658                         }
2659                 }
2660         }
2661
2662 /* Entry's bubble style */
2663
2664 styles {
2665    style { 
2666       name: "entry_bubble_date_area_textblock_style";
2667       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";
2668       tag:  "br" "\n";
2669       tag:  "ps" "ps";
2670       tag:  "tab" "\t";
2671       tag:  "em" "+ font=Tizen:style=Oblique";
2672       tag:  "b" "+ font=Tizen:style=Bold";
2673       tag:  "link" "+ color=#800 underline=on underline_color=#8008";
2674       tag:  "hilight" "+ font=Tizen:style=Bold";
2675       tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
2676       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;
2677       tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
2678       tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
2679       tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
2680       tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
2681    }
2682    style {
2683       name: "entry_bubble_sent_textblock_style";
2684       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";
2685       tag:  "br" "\n";
2686       tag:  "ps" "ps";
2687       tag:  "tab" "\t";
2688       tag:  "em" "+ font=Tizen:style=Oblique";
2689       tag:  "b" "+ font=Tizen:style=Bold";
2690       tag:  "link" "+ color=#800 underline=on underline_color=#8008";
2691       tag:  "hilight" "+ font=Tizen:style=Bold";
2692    }
2693    style {
2694       name: "entry_bubble_receive_textblock_style";
2695       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";
2696       tag:  "br" "\n";
2697       tag:  "ps" "ps";
2698       tag:  "tab" "\t";
2699       tag:  "em" "+ font=Tizen:style=Oblique";
2700       tag:  "b" "+ font=Tizen:style=Bold";
2701       tag:  "link" "+ color=#800 underline=on underline_color=#8008";
2702       tag:  "hilight" "+ font=Tizen:style=Bold";
2703    }
2704 }
2705
2706    group { name: "elm/entry/base/readmessage";
2707       data.item: "default_font_size" "24";
2708       data.item: "min_font_size" "8";
2709       data.item: "max_font_size" "60";
2710       data {
2711          item: context_menu_orientation "horizontal";
2712       }
2713       parts {
2714          part {
2715             name: "elm.rect.left.pad";
2716             type: RECT;
2717             scale: 1;
2718             description {
2719                state: "default" 0.0;
2720                min: ENTRY_BUBBLE_EX_PAD 0;
2721                fixed: 1 0;
2722                align: 0.0 0.0;
2723                color: 0 0 0 0;
2724                rel2.relative: 0.0 1.0;
2725             }
2726          }
2727          part {
2728             name: "elm.rect.right.pad";
2729             type: RECT;
2730             scale: 1;
2731             description {
2732                state: "default" 0.0;
2733                min: ENTRY_BUBBLE_IX_PAD 0;
2734                fixed: 1 0;
2735                align: 0.0 0.0;
2736                color: 0 0 0 0;
2737                rel1 { relative: 1.0 0.0; to: "elm.text"; }
2738                rel2.to: "elm.text";
2739             }
2740          }
2741          part {
2742            name: "elm.rect.top.pad";
2743            type: RECT;
2744            scale: 1;
2745            description {
2746               state: "default" 0.0;
2747               min: 0 ENTRY_BUBBLE_Y_PAD;
2748               fixed: 0 1;
2749               align: 0.0 0.0;
2750               color: 0 0 0 0;
2751               rel2.relative: 1.0 0.0;
2752             }
2753          }
2754          part {
2755            name: "elm.rect.bottom.pad";
2756            type: RECT;
2757            scale: 1;
2758            description {
2759               state: "default" 0.0;
2760               min: 0 ENTRY_BUBBLE_Y_PAD;
2761               fixed: 0 1;
2762               align: 0.0 1.0;
2763               color: 0 0 0 0;
2764               rel1.relative: 0.0 1.0;
2765             }
2766          }
2767          part {
2768             name: "elm.image.bg";
2769             type: IMAGE;
2770             scale: 1;
2771             description {
2772                state: "default" 0.0;
2773                rel2.to_x: "elm.rect.right.pad";
2774                image {
2775                   normal: "00_messagebubble_bg_receive.png";
2776                   border: 1 20 13 20;
2777                   border_scale: 1;
2778                }
2779             }
2780          }
2781          part { name: "elm.text";
2782             type: TEXTBLOCK;
2783             mouse_events: 1;
2784             scale: 1;
2785             entry_mode: EDITABLE;
2786             select_mode: BLOCK_HANDLE;
2787             //cursor_mode: BEFORE;
2788             multiline: 1;
2789             source: "elm/entry/selection/default"; // selection under
2790             //source2: "X"; // selection over
2791             //source3: "X"; // cursor under
2792             source4: "elm/entry/cursor/default"; // cursorover
2793             source5: "elm/entry/anchor/default"; // anchor under
2794             source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
2795             source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
2796             source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
2797             source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
2798             source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
2799 //          source6: "X"; // anchor over
2800             description { state: "default" 0.0;
2801                fixed: 1 0;
2802                align: 0.0 0.0;
2803                rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
2804                rel2 { relative: 1.0 0.0; to_y: "elm.rect.bottom.pad"; }
2805                text {
2806                   style: "entry_textblock_style";
2807                   min: 0 1;
2808                   max: 1 0;
2809                }
2810             }
2811             description { state: "disabled" 0.0;
2812                inherit: "default" 0.0;
2813                text {
2814                   style: "entry_textblock_disabled_style";
2815                }
2816             }
2817          }
2818       }
2819       programs {
2820          program { name: "focus";
2821             signal: "load";
2822             source: "";
2823             action: FOCUS_SET;
2824             target: "elm.text";
2825          }
2826          program { name: "disable";
2827             signal: "elm,state,disabled";
2828             source: "elm";
2829             action: STATE_SET "disabled" 0.0;
2830             target: "elm.text";
2831          }
2832          program { name: "enable";
2833             signal: "elm,state,enabled";
2834             source: "elm";
2835             action: STATE_SET "default" 0.0;
2836             target: "elm.text";
2837          }
2838       }
2839    }
2840
2841    group { name: "elm/entry/base-noedit/readmessage";
2842       data.item: "default_font_size" "24";
2843       data.item: "min_font_size" "8";
2844       data.item: "max_font_size" "60";
2845       data {
2846          item: context_menu_orientation "horizontal";
2847       }
2848       parts {
2849          part {
2850             name: "elm.rect.left.pad";
2851                 type: RECT;
2852                 scale: 1;
2853                 description {
2854                    state: "default" 0.0;
2855                min: ENTRY_BUBBLE_EX_PAD 0;
2856                fixed: 1 0;
2857                    align: 0.0 0.0;
2858                color: 0 0 0 0;
2859                    rel2.relative: 0.0 1.0;
2860                }
2861                description {
2862                state: "callerid_on" 0.0;
2863                inherit: "default" 0.0;
2864                    min: ENTRY_BUBBLE_EX_CALLERID_PAD 0;
2865                }
2866          }
2867          part {
2868             name: "elm.rect.right.pad";
2869             type: RECT;
2870             scale: 1;
2871             description {
2872                state: "default" 0.0;
2873                min: ENTRY_BUBBLE_IX_PAD 0;
2874                fixed: 1 0;
2875                align: 0.0 0.0;
2876                color: 0 0 0 0;
2877                rel1 { relative: 1.0 0.0; to: "elm.text"; }
2878                rel2.to: "elm.text";
2879             }
2880          }
2881          part {
2882            name: "elm.rect.top.pad";
2883            type: RECT;
2884            scale: 1;
2885            description {
2886               state: "default" 0.0;
2887               min: 0 ENTRY_BUBBLE_Y_PAD;
2888               fixed: 0 1;
2889               align: 0.0 0.0;
2890               color: 0 0 0 0;
2891               rel2.relative: 1.0 0.0;
2892            }
2893          }
2894          part {
2895            name: "elm.rect.topleft.pad";
2896            type: RECT;
2897            scale: 1;
2898            description {
2899               state: "default" 0.0;
2900               min: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
2901               max: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
2902               fixed: 1 1;
2903               align: 0.0 0.0;
2904               visible: 0;
2905            }
2906          }
2907          part {
2908            name: "elm.rect.bottom.pad";
2909            type: RECT;
2910            scale: 1;
2911            description {
2912               state: "default" 0.0;
2913               min: 0 ENTRY_BUBBLE_BOTTOM_PAD;
2914               fixed: 0 1;
2915               align: 0.0 1.0;
2916               color: 0 0 0 0;
2917               rel1.relative: 0.0 1.0;
2918            }
2919          }
2920          part {
2921            name: "elm.rect.bottomleft.pad";
2922            type: RECT;
2923            scale: 1;
2924            description {
2925               state: "default" 0.0;
2926               min: ENTRY_BUBBLE_BOTTOMRIGHT_PAD  2;
2927               max: ENTRY_BUBBLE_BOTTOMRIGHT_PAD 2;
2928               align: 0.0 1.0;
2929                           visible: 0;
2930            }
2931          }
2932          part {
2933            name: "elm.rect.groupchat.pad";
2934            type: RECT;
2935            scale: 1;
2936            description {
2937               state: "default" 0.0;
2938               min: ENTRY_BUBBLE_GROUPCHART_PAD;
2939               max: ENTRY_BUBBLE_GROUPCHART_PAD;
2940               align: 0.0 0.0;
2941                           visible: 0;
2942            }
2943            description {
2944               state: "callerid_on" 0.0;
2945               inherit: "default" 0.0;
2946               min: ENTRY_BUBBLE_GROUPCHART_WITH_CALLERID_PAD;
2947               max: ENTRY_BUBBLE_GROUPCHART_WITH_CALLERID_PAD;
2948            }
2949          }
2950          part {
2951            name: "elm.rect.groupchat.text.pad";
2952            type: RECT;
2953            scale: 1;
2954            description {
2955               state: "default" 0.0;
2956               min: 120 14;
2957               max: 120 14;
2958               align: 0.0 0.0;
2959                           visible: 0;
2960                           rel1 { relative: 0.0 1.0; to: "elm.rect.groupchat.pad"; }
2961            }
2962          }
2963          part { name: "elm.text.groupchat";
2964             type: TEXT;
2965             scale: 1;
2966             description { state: "default" 0.0;
2967                align: 0.0 0.0;
2968                fixed: 1 1;
2969                text {
2970                   font: "Tizen:style=Roman";
2971                   size: ENTRY_BUBBLE_GROUPCHAT_SIZE_INC;
2972                   min: 1 0;
2973                                   align: 0.0 0.5;
2974                   text_class: "tizen";
2975                }
2976                visible: 1;
2977                color: ENTRY_BUBBLE_GROUPCHAT_COLOR_INC;
2978                rel1 { relative: 1.0 0.0; to: "elm.rect.groupchat.pad"; }
2979                rel2.to_y: "elm.rect.groupchat.pad";
2980             }
2981          }
2982          part {
2983             name: "elm.image.bg";
2984             type: IMAGE;
2985             scale: 1;
2986             description {
2987                state: "default" 0.0;
2988                rel2.to_x: "elm.rect.right.pad";
2989                image {
2990                   normal: "00_messagebubble_bg_receive.png";
2991                   border: ENTRY_BUBBLE_RECEV_BG_BORDER_INC;
2992                   border_scale: 1;
2993                }
2994             }
2995             description {
2996                state: "callerid_on" 0.0;
2997            inherit: "default" 0.0;
2998            rel1 { relative: 1.0 0.0; to_x: "elm.rect.bottomleft.pad"; }
2999             }
3000             description {
3001                state: "callerid_groupchat" 0.0;
3002            inherit: "default" 0.0;
3003            rel1 { relative: 1.0 1.0; to_x: "elm.rect.bottomleft.pad"; to_y:"elm.rect.groupchat.pad"; }
3004             }
3005             description {
3006                state: "groupchat_on" 0.0;
3007            inherit: "default" 0.0;
3008            rel1 { relative: 0.0 1.0; to_y:"elm.rect.groupchat.pad"; }
3009             }
3010          }
3011          // it's temporary blocked for prepare entry's signal feature
3012          /*
3013          part {
3014            name: "elm.text.subject";
3015            type: TEXTBLOCK;
3016            scale: 1;
3017            description {
3018               state: "default" 0.0;
3019               align: 0.0 0.0;
3020               text {
3021                  style: "entry_textblock_style";
3022                  min: 0 1;
3023               }
3024               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
3025               rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
3026            }
3027          }
3028          */
3029
3030          part {
3031            name: "elm.rect.subject.line";
3032            type: RECT;
3033            scale: 1;
3034            description {
3035               state: "default" 0.0;
3036               visible: 0;
3037               min: 0 1;
3038               align: 0.0 0.0;
3039               color: 0 0 0 255;
3040               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
3041               rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
3042            }
3043          }
3044          part {
3045             name: "elm.swallow.callerid";
3046             type: SWALLOW;
3047             scale: 1;
3048             description {
3049                state: "default" 0.0;
3050                min: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT;
3051                max: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT;
3052                fixed: 1 1;
3053                align: 0.0 0.0;
3054                visible: 0;
3055                rel1 { relative: ENTRY_BUBBLE_RECEV_CALLERID_REL_INC; to_x: "elm.rect.topleft.pad"; to_y: "elm.rect.topleft.pad"; }
3056                rel2 { relative: ENTRY_BUBBLE_RECEV_CALLERID_REL_INC; to_x: "elm.rect.topleft.pad"; to_y: "elm.rect.bottom.pad"; }
3057             }
3058             description { state: "callerid_on" 0.0;
3059                inherit: "default" 0.0;
3060                visible: 1;
3061             }
3062          }
3063          part {
3064             name: "elm.rect.callerid.pad";
3065             type: RECT;
3066             scale: 1;
3067             description {
3068                state: "default" 0.0;
3069                min: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
3070                max: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
3071                fixed: 1 1;
3072                align: 0.0 0.0;
3073                visible: 0;
3074                rel1 { relative: 1.0 1.0; to: "elm.swallow.callerid"; to_y: "elm.rect.top.pad"; }
3075                rel2 { relative: 1.0 0.0; to_y: "elm.rect.bottom.pad"; }
3076             }
3077          }
3078          part { name: "elm.text";
3079             type: TEXTBLOCK;
3080             mouse_events: 1;
3081             scale: 1;
3082             entry_mode: PLAIN;
3083             select_mode: BLOCK_HANDLE;
3084             //cursor_mode: BEFORE;
3085             multiline: 1;
3086             source: "elm/entry/selection/default"; // selection under
3087             //source2: "X"; // selection over
3088             //source3: "X"; // cursor under
3089             source5: "elm/entry/anchor/default"; // anchor under
3090             source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
3091             source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
3092             source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
3093             source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
3094             source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
3095             description {
3096                state: "default" 0.0;
3097                fixed: 1 0;
3098                min: 200 0;
3099                align: 0.0 0.0;
3100                rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.subject.line"; }
3101                rel2 { relative: 1.0 1.0; to_y: "elm.rect.subject.line"; }
3102                text {
3103                   style: "entry_bubble_receive_textblock_style";
3104                   min: 0 1;
3105               max: 1 0;
3106                }
3107             }
3108                 /* callerid only */
3109             description { state: "callerid_on" 0.0;
3110                inherit: "default" 0.0;
3111                rel1 { relative: 1.0 1.0; to_x: ENTRY_BUBBLE_READ_TEXT_CALLID_REL1_X_INC; to_y: "elm.rect.subject.line"; }
3112                rel2 { relative: 1.0 1.0; to_y: "elm.rect.subject.line"; }
3113             }
3114                 /* callerid and groupchat */
3115             description { state: "callerid_groupchat" 0.0;
3116                inherit: "default" 0.0;
3117                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; }
3118                rel2 { relative: 1.0 1.0; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
3119             }
3120                 /* groupchat only */
3121             description { state: "groupchat_on" 0.0;
3122                inherit: "default" 0.0;
3123                rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
3124                rel2 { relative: 1.0 1.0; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
3125             }
3126             description { state: "disabled" 0.0;
3127                inherit: "default" 0.0;
3128                text {
3129                   style: "entry_textblock_disabled_style";
3130                }
3131             }
3132          }
3133          part {
3134             name: "elm.rect.status.pad";
3135             type: RECT;
3136             scale: 1;
3137             description {
3138                state: "default" 0.0;
3139                min: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC 64;
3140                max: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC 64;
3141                fixed: 1 1;
3142                align: 0.0 1.0;
3143                visible: 0;
3144                            color: 255 0 0 255;
3145                rel1 { relative: ENTRY_BUBBLE_READ_STATUS_TIME_PAD_REL_INC; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
3146                rel2 { relative: 1.0 1.0; to_y: "elm.rect.bottom.pad"; }
3147             }
3148          }
3149          part {
3150             name: "elm.rect.time.pad";
3151             type: RECT;
3152             scale: 1;
3153             description {
3154                state: "default" 0.0;
3155                min: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC GENLIST_PADDING_34_INC;
3156                max: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC GENLIST_PADDING_34_INC;
3157                fixed: 1 1;
3158                align: 0.0 0.0;
3159                visible: 0;
3160                            color: 0 255 0 255;
3161                rel1.to: "elm.rect.status.pad";
3162                rel2 { relative: 1.0 1.0; to_y: "elm.rect.bottom.pad"; }
3163             }
3164          }
3165          part { name: "elm.text.status";
3166             type: TEXT;
3167             scale: 1;
3168             description { state: "default" 0.0;
3169                align: 0.0 1.0;
3170                fixed: 1 1;
3171                text {
3172                   font: "Tizen:style=Roman";
3173                   size: ENTRY_BUBBLE_STATUS_TIME_SIZE_INC;
3174                   min: 1 0;
3175                   text_class: "tizen";
3176                }
3177                visible: 1;
3178                color: ENTRY_BUBBLE_READ_STATUS_TIME_COLOR_INC;
3179                rel1 { relative: ENTRY_BUBBLE_READ_STATUS_REL_INC; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
3180                rel2 { relative: ENTRY_BUBBLE_READ_STATUS_REL_INC; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
3181             }
3182             description { state: "disabled" 0.0;
3183                inherit: "default" 0.0;
3184                visible: 0;
3185             }
3186          }
3187          part { name: "elm.text.time";
3188             type: TEXT;
3189             scale: 1;
3190             description { state: "default" 0.0;
3191                align: 0.0 0.0;
3192                fixed: 1 1;
3193                text {
3194                   font: "Tizen:style=Roman";
3195                   size: ENTRY_BUBBLE_STATUS_TIME_SIZE_INC;
3196                   min: 1 0;
3197                   text_class: "tizen";
3198                }
3199                visible: 1;
3200                color: ENTRY_BUBBLE_READ_STATUS_TIME_COLOR_INC;
3201                rel1 { relative: ENTRY_BUBBLE_READ_TIME_REL_INC; to_x: "elm.rect.time.pad"; to_y: "elm.rect.time.pad"; }
3202                rel2 { relative: ENTRY_BUBBLE_READ_TIME_REL_INC; to_x: "elm.rect.time.pad"; to_y: "elm.rect.time.pad"; }
3203             }
3204             description { state: "disabled" 0.0;
3205                inherit: "default" 0.0;
3206                visible: 0;
3207             }
3208          }
3209          part {
3210             name: "elm.swallow.icon1";
3211             type: SWALLOW;
3212             scale: 1;
3213             description {
3214                state: "default" 0.0;
3215                min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
3216                max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
3217                fixed: 1 1;
3218                align: 0.0 1.0;
3219                visible: 0;
3220                rel1 { relative: 1.5 0.3; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
3221                rel2 { relative: 1.0 0.3; to_y: "elm.rect.bottom.pad"; }
3222             }
3223             description { state: "enabled" 0.0;
3224                inherit: "default" 0.0;
3225                visible: 1;
3226             }
3227          }
3228          part {
3229             name: "elm.rect.middle.pad";
3230             type: RECT;
3231             scale: 1;
3232             description {
3233                state: "default" 0.0;
3234                min: 0 0;
3235                max: 0 0;
3236                align: 0.0 0.0;
3237                color: 0 0 0 0;
3238                rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.text"; }
3239             }
3240             description {
3241                state: "show" 0.0;
3242                inherit: "default" 0.0;
3243                min: 0 ENTRY_BUBBLE_MIDDLE_PAD;
3244                max: 0 ENTRY_BUBBLE_MIDDLE_PAD;
3245             }
3246          }
3247          part {
3248            name: "elm.swallow.end";
3249            type: SWALLOW;
3250            scale: 1;
3251            description { state: "default" 0.0;
3252               align: 0.0 0.0;
3253               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.middle.pad"; }
3254               rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
3255            }
3256          }
3257       }
3258       programs {
3259          program { name: "focus";
3260             signal: "load";
3261             source: "";
3262             action: FOCUS_SET;
3263             target: "elm.text";
3264          }
3265          program { name: "disable";
3266             signal: "elm,state,disabled";
3267             source: "elm";
3268             action: STATE_SET "disabled" 0.0;
3269             target: "elm.text";
3270          }
3271          program { name: "enable";
3272             signal: "elm,state,enabled";
3273             source: "elm";
3274             action: STATE_SET "default" 0.0;
3275             target: "elm.text";
3276          }
3277          program { name: "go_callerid_on";
3278             signal: "elm,state,callerid,enabled";
3279             source: "elm";
3280          script {
3281             new st[31];
3282             new Float:vl;
3283             get_state(PART:"elm.text", st, 30, vl);
3284             if (!strcmp(st, "default")) {
3285               set_state(PART:"elm.image.bg", "callerid_on", 0.0);
3286               set_state(PART:"elm.text", "callerid_on", 0.0);
3287                         }
3288             else if (!strcmp(st, "groupchat_on")) {
3289               set_state(PART:"elm.image.bg", "callerid_groupchat", 0.0);
3290               set_state(PART:"elm.text", "callerid_groupchat", 0.0);
3291                         }
3292
3293             set_state(PART:"elm.swallow.callerid", "callerid_on", 0.0);
3294             set_state(PART:"elm.rect.left.pad", "callerid_on", 0.0);
3295             set_state(PART:"elm.rect.groupchat.pad", "callerid_on", 0.0);
3296          }
3297          }
3298          program { name: "go_callerid_off";
3299             signal: "elm,state,callerid,disabled";
3300             source: "elm";
3301          script {
3302             new st[31];
3303             new Float:vl;
3304             get_state(PART:"elm.text", st, 30, vl);
3305             if (!strcmp(st, "callerid_groupchat")) {
3306               set_state(PART:"elm.image.bg", "groupchat_on", 0.0);
3307               set_state(PART:"elm.text", "groupchat_on", 0.0);
3308                         }
3309             else {
3310               set_state(PART:"elm.image.bg", "default", 0.0);
3311               set_state(PART:"elm.text", "default", 0.0);
3312                         }
3313
3314             set_state(PART:"elm.swallow.callerid", "default", 0.0);
3315             set_state(PART:"elm.rect.groupchat.pad", "default", 0.0);
3316                  }
3317          }
3318 /* groupchat - since white-hd theme */
3319 #if ENTRY_BUBBLE_GROUPCHART_ENABLE_INC
3320          program { name: "go_groupchat_on";
3321             signal: "elm,state,groupchat,enabled";
3322             source: "elm";
3323          script {
3324             new st[31];
3325             new Float:vl;
3326             get_state(PART:"elm.text", st, 30, vl);
3327             if (!strcmp(st, "default")) {
3328               set_state(PART:"elm.image.bg", "groupchat_on", 0.0);
3329               set_state(PART:"elm.text", "groupchat_on", 0.0);
3330                         }
3331             else if (!strcmp(st, "callerid_on")) {
3332               set_state(PART:"elm.image.bg", "callerid_groupchat", 0.0);
3333               set_state(PART:"elm.text", "callerid_groupchat", 0.0);
3334                         }
3335          }
3336          }
3337 #endif
3338          program { name: "go_textstatus_on";
3339             signal: "elm,state,text,status,enabled";
3340             source: "elm";
3341             action: STATE_SET "default" 0.0;
3342             target: "elm.text.time";
3343             target: "elm.text.status";
3344             after: "go_contentstatus_off";
3345          }
3346          program { name: "go_textstatus_off";
3347             signal: "elm,state,text,status,disbled";
3348             source: "elm";
3349             action: STATE_SET "disabled" 0.0;
3350             target: "elm.text.time";
3351             target: "elm.text.status";
3352          }
3353          program { name: "go_contentstatus_on";
3354             signal: "elm,state,content,status,enabled";
3355             source: "elm";
3356             action: STATE_SET "enabled" 0.0;
3357             target: "elm.swallow.icon1";
3358             after: "go_textstatus_off";
3359          }
3360          program { name: "go_contentstatus_off";
3361             signal: "elm,state,content,status,disabled";
3362             source: "elm";
3363             action: STATE_SET "default" 0.0;
3364             target: "elm.swallow.icon1";
3365          }
3366          program { name: "show_middle_pad";
3367             signal: "elm,state,middle,pad,enabled";
3368             source: "elm";
3369             action: STATE_SET "show" 0.0;
3370             target: "elm.rect.middle.pad";
3371          }
3372          program { name: "hide_middle_pad";
3373             signal: "elm,state,middle,pad,disabled";
3374             source: "elm";
3375             action: STATE_SET "default" 0.0;
3376             target: "elm.rect.middle.pad";
3377          }
3378       }
3379    }
3380
3381    group { name: "elm/entry/base-noedit-charwrap/readmessage";
3382       data.item: "default_font_size" "24";
3383       data.item: "min_font_size" "8";
3384       data.item: "max_font_size" "60";
3385       data {
3386          item: context_menu_orientation "horizontal";
3387       }
3388       parts {
3389          part {
3390             name: "elm.rect.left.pad";
3391             type: RECT;
3392             scale: 1;
3393             description {
3394                state: "default" 0.0;
3395                min: ENTRY_BUBBLE_EX_PAD 0;
3396                fixed: 1 0;
3397                align: 0.0 0.0;
3398                color: 0 0 0 0;
3399                rel2.relative: 0.0 1.0;
3400             }
3401          }
3402          part {
3403             name: "elm.rect.right.pad";
3404             type: RECT;
3405             scale: 1;
3406             description {
3407                state: "default" 0.0;
3408                min: ENTRY_BUBBLE_IX_PAD 0;
3409                fixed: 1 0;
3410                align: 0.0 0.0;
3411                color: 0 0 0 0;
3412                rel1 { relative: 1.0 0.0; to_x: "elm.text"; }
3413                rel2.to_x: "elm.text";
3414             }
3415          }
3416          part {
3417            name: "elm.rect.top.pad";
3418            type: RECT;
3419            scale: 1;
3420            description {
3421               state: "default" 0.0;
3422               min: 0 ENTRY_BUBBLE_Y_PAD;
3423               fixed: 0 1;
3424               align: 0.0 0.0;
3425               color: 0 0 0 0;
3426               rel2.relative: 1.0 0.0;
3427            }
3428          }
3429          part {
3430            name: "elm.rect.bottom.pad";
3431            type: RECT;
3432            scale: 1;
3433            description {
3434               state: "default" 0.0;
3435               min: 0 ENTRY_BUBBLE_Y_PAD;
3436               fixed: 0 1;
3437               align: 0.0 1.0;
3438               color: 0 0 0 0;
3439               rel1.relative: 0.0 1.0;
3440            }
3441          }
3442          part {
3443             name: "elm.image.bg";
3444             type: IMAGE;
3445             scale: 1;
3446             description {
3447                state: "default" 0.0;
3448                rel2.to_x: "elm.rect.right.pad";
3449                image {
3450                   normal: "00_messagebubble_bg_receive.png";
3451                   border: 1 20 13 20;
3452                   border_scale: 1;
3453                }
3454             }
3455          }
3456          part { name: "elm.text";
3457             type: TEXTBLOCK;
3458             mouse_events: 1;
3459             scale: 1;
3460             entry_mode: PLAIN;
3461             select_mode: BLOCK_HANDLE;
3462             //cursor_mode: BEFORE;
3463             multiline: 1;
3464             source: "elm/entry/selection/default"; // selection under
3465             //source2: "X"; // selection over
3466             //source3: "X"; // cursor under
3467             source5: "elm/entry/anchor/default"; // anchor under
3468             source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
3469             source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
3470             source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
3471             source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
3472             source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
3473             description { state: "default" 0.0;
3474                fixed: 1 0;
3475                align: 0.0 0.0;
3476                rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
3477                rel2 { relative: 1.0 0.0; to_y: "elm.rect.bottom.pad"; }
3478                text {
3479                   style: "entry_textblock_char_wrap_style";
3480                   min: 0 1;
3481                   max: 1 0;
3482                }
3483             }
3484             description { state: "disabled" 0.0;
3485                inherit: "default" 0.0;
3486                text {
3487                   style: "entry_textblock_char_wrap_disabled_style";
3488                }
3489             }
3490          }
3491       }
3492       programs {
3493          program { name: "focus";
3494             signal: "load";
3495             source: "";
3496             action: FOCUS_SET;
3497             target: "elm.text";
3498          }
3499          program { name: "disable";
3500             signal: "elm,state,disabled";
3501             source: "elm";
3502             action: STATE_SET "disabled" 0.0;
3503             target: "elm.text";
3504          }
3505          program { name: "enable";
3506             signal: "elm,state,enabled";
3507             source: "elm";
3508             action: STATE_SET "default" 0.0;
3509             target: "elm.text";
3510          }
3511       }
3512    }
3513
3514    group { name: "elm/entry/base/sentmessage";
3515       data.item: "default_font_size" "24";
3516       data.item: "min_font_size" "8";
3517       data.item: "max_font_size" "60";
3518       data {
3519          item: context_menu_orientation "horizontal";
3520       }
3521       parts {
3522          part {
3523             name: "elm.rect.right.pad";
3524             type: RECT;
3525             scale: 1;
3526             description {
3527                state: "default" 0.0;
3528                min: ENTRY_BUBBLE_EX_PAD 0;
3529                fixed: 1 0;
3530                align: 1.0 0.0;
3531                color: 0 0 0 0;
3532                rel1.relative: 1.0 0.0;
3533             }
3534          }
3535          part {
3536             name: "elm.rect.left.pad";
3537             type: RECT;
3538             scale: 1;
3539             description {
3540                state: "default" 0.0;
3541                min: ENTRY_BUBBLE_IX_PAD 0;
3542                fixed: 1 0;
3543                align: 1.0 0.0;
3544                color: 0 0 0 0;
3545                rel1 { relative: 0.0 0.0; to: "elm.text"; }
3546                rel2 { relative: 0.0 1.0; to: "elm.text"; }
3547             }
3548          }
3549          part {
3550            name: "elm.rect.top.pad";
3551            type: RECT;
3552            scale: 1;
3553            description {
3554               state: "default" 0.0;
3555               min: 0 ENTRY_BUBBLE_Y_PAD;
3556               fixed: 0 1;
3557               align: 0.0 0.0;
3558               color: 0 0 0 0;
3559               rel2.relative: 1.0 0.0;
3560            }
3561          }
3562          part {
3563            name: "elm.rect.bottom.pad";
3564            type: RECT;
3565            scale: 1;
3566            description {
3567               state: "default" 0.0;
3568               min: 0 ENTRY_BUBBLE_Y_PAD;
3569               fixed: 0 1;
3570               align: 0.0 1.0;
3571               color: 0 0 0 0;
3572               rel1.relative: 0.0 1.0;
3573            }
3574          }
3575          part {
3576             name: "elm.image.bg";
3577             type: IMAGE;
3578             scale: 1;
3579             description {
3580                state: "default" 0.0;
3581                rel1.to_x: "elm.rect.left.pad";
3582                image {
3583                   normal: "00_messagebubble_bg_sent.png";
3584                   border: 20 1 13 20;
3585                   border_scale: 1;
3586                }
3587             }
3588          }
3589          part { name: "elm.text";
3590             type: TEXTBLOCK;
3591             mouse_events: 1;
3592             scale: 1;
3593             entry_mode: EDITABLE;
3594             select_mode: BLOCK_HANDLE;
3595             //cursor_mode: BEFORE;
3596             multiline: 1;
3597             source: "elm/entry/selection/default"; // selection under
3598             //source2: "X"; // selection over
3599             //source3: "X"; // cursor under
3600             source4: "elm/entry/cursor/default"; // cursorover
3601             source5: "elm/entry/anchor/default"; // anchor under
3602 //          source6: "X"; // anchor over
3603             source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
3604             source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
3605             source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
3606             source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
3607             source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
3608             description { state: "default" 0.0;
3609                fixed: 1 0;
3610                align: 1.0 0.0;
3611                rel1 { relative: 0.0 1.0; to_y: "elm.rect.top.pad";}
3612                rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
3613                text {
3614                   style: "entry_textblock_style";
3615                   min: 0 1;
3616                   max: 1 0;
3617                }
3618             }
3619             description { state: "disabled" 0.0;
3620                inherit: "default" 0.0;
3621                text {
3622                   style: "entry_textblock_disabled_style";
3623                }
3624             }
3625          }
3626       }
3627       programs {
3628          program { name: "focus";
3629             signal: "load";
3630             source: "";
3631             action: FOCUS_SET;
3632             target: "elm.text";
3633          }
3634          program { name: "disable";
3635             signal: "elm,state,disabled";
3636             source: "elm";
3637             action: STATE_SET "disabled" 0.0;
3638             target: "elm.text";
3639          }
3640          program { name: "enable";
3641             signal: "elm,state,enabled";
3642             source: "elm";
3643             action: STATE_SET "default" 0.0;
3644             target: "elm.text";
3645          }
3646       }
3647    }
3648
3649    group { name: "elm/entry/base-noedit/sentmessage";
3650       data.item: "default_font_size" "24";
3651       data.item: "min_font_size" "8";
3652       data.item: "max_font_size" "60";
3653       data {
3654          item: context_menu_orientation "horizontal";
3655       }
3656       parts {
3657          part {
3658            name: "elm.rect.right.pad";
3659                type: RECT;
3660                scale: 1;
3661                description {
3662                   state: "default" 0.0;
3663                   min: ENTRY_BUBBLE_EX_PAD 0;
3664               fixed: 1 0;
3665                   align: 1.0 0.0;
3666               color: 0 0 0 0;
3667               rel1.relative: 1.0 0.0;
3668                }
3669                description {
3670                state: "callerid_on" 0.0;
3671                inherit: "default" 0.0;
3672                    min: ENTRY_BUBBLE_EX_CALLERID_PAD 0;
3673                }
3674          }
3675          part {
3676             name: "elm.rect.left.pad";
3677             type: RECT;
3678             scale: 1;
3679             description {
3680                state: "default" 0.0;
3681                min: ENTRY_BUBBLE_IX_PAD 0;
3682                fixed: 1 0;
3683                align: 1.0 0.0;
3684                color: 0 0 0 0;
3685                rel1 { relative: 0.0 0.0; to: "elm.text"; }
3686                rel2 { relative: 0.0 1.0; to: "elm.text"; }
3687             }
3688          }
3689          part {
3690            name: "elm.rect.topright.pad";
3691            type: RECT;
3692            scale: 1;
3693            description {
3694               state: "default" 0.0;
3695               min: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
3696               max: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
3697               align: 1.0 0.0;
3698               visible: 0;
3699               rel1.relative: 1.0 0.0;
3700            }
3701          }
3702          part {
3703            name: "elm.rect.top.pad";
3704            type: RECT;
3705            scale: 1;
3706            description {
3707               state: "default" 0.0;
3708               min: 0 ENTRY_BUBBLE_Y_PAD;
3709               fixed: 0 1;
3710               align: 0.0 0.0;
3711               color: 0 0 0 0;
3712               rel2.relative: 1.0 0.0;
3713            }
3714          }
3715          part {
3716            name: "elm.rect.bottom.pad";
3717            type: RECT;
3718            scale: 1;
3719            description {
3720               state: "default" 0.0;
3721               min: 0 ENTRY_BUBBLE_BOTTOM_PAD;
3722               fixed: 0 1;
3723               align: 0.0 1.0;
3724               color: 0 0 0 0;
3725               rel1.relative: 0.0 1.0;
3726            }
3727          }
3728          part {
3729            name: "elm.rect.bottomright.pad";
3730            type: RECT;
3731            scale: 1;
3732            description {
3733               state: "default" 0.0;
3734               min: ENTRY_BUBBLE_BOTTOMRIGHT_PAD  2;
3735               max: ENTRY_BUBBLE_BOTTOMRIGHT_PAD 2;
3736               align: 1.0 1.0;
3737                           visible: 0;
3738            }
3739          }
3740          part {
3741            name: "elm.rect.groupchat.pad";
3742            type: RECT;
3743            scale: 1;
3744            description {
3745               state: "default" 0.0;
3746               min: ENTRY_BUBBLE_GROUPCHART_PAD;
3747               max: ENTRY_BUBBLE_GROUPCHART_PAD;
3748               align: 1.0 0.0;
3749                           visible: 0;
3750            }
3751            description {
3752               state: "callerid_on" 0.0;
3753               inherit: "default" 0.0;
3754               min: ENTRY_BUBBLE_GROUPCHART_WITH_CALLERID_PAD;
3755               max: ENTRY_BUBBLE_GROUPCHART_WITH_CALLERID_PAD;
3756            }
3757          }
3758          part {
3759            name: "elm.rect.groupchat.text.pad";
3760            type: RECT;
3761            scale: 1;
3762            description {
3763               state: "default" 0.0;
3764               min: 120 14;
3765               max: 120 14;
3766               align: 0.0 0.0;
3767                           visible: 0;
3768                           rel1 { relative: 0.0 1.0; to: "elm.rect.groupchat.pad"; }
3769            }
3770          }
3771          part { name: "elm.text.groupchat";
3772             type: TEXT;
3773             scale: 1;
3774             description { state: "default" 0.0;
3775                align: 1.0 1.0;
3776                fixed: 1 1;
3777                text {
3778                   font: "Tizen:style=Roman";
3779                   size: ENTRY_BUBBLE_GROUPCHAT_SIZE_INC;
3780                   min: 1 0;
3781                                   align: 1.0 0.5;
3782                   text_class: "tizen";
3783                }
3784                visible: 1;
3785                color: ENTRY_BUBBLE_GROUPCHAT_COLOR_INC;
3786                rel2 { relative: 0.0 1.0; to: "elm.rect.groupchat.pad"; }
3787             }
3788          }
3789          part {
3790             name: "elm.image.bg";
3791             type: IMAGE;
3792             scale: 1;
3793             description {
3794                state: "default" 0.0;
3795            rel1.to_x: "elm.rect.left.pad";
3796                image {
3797                       normal: "00_messagebubble_bg_sent.png";
3798                       border: ENTRY_BUBBLE_SENT_BG_BORDER_INC;
3799                       border_scale: 1;
3800                }
3801             }
3802             description {
3803                state: "callerid_on" 0.0;
3804            inherit: "default" 0.0;
3805            rel2 { relative: 0.0 1.0; to: "elm.rect.bottomright.pad"; }
3806             }
3807             description {
3808                state: "callerid_groupchat" 0.0;
3809            inherit: "default" 0.0;
3810                    rel1 { relative: 0.0 1.0; to_x:"elm.rect.left.pad"; to_y:"elm.rect.groupchat.pad"; }
3811            rel2 { relative: 0.0 1.0; to: "elm.rect.bottomright.pad"; }
3812             }
3813             description {
3814                state: "groupchat_on" 0.0;
3815            inherit: "default" 0.0;
3816                    rel1 { relative: 0.0 1.0; to_x:"elm.rect.left.pad"; to_y:"elm.rect.groupchat.pad"; }
3817             }
3818          }
3819          // it's temporary blocked for prepare entry's signal feature
3820          /*
3821          part {
3822            name: "elm.text.subject";
3823            type: TEXTBLOCK;
3824            scale: 1;
3825            description {
3826               state: "default" 0.0;
3827               align: 0.0 0.0;
3828               text {
3829                  style: "entry_textblock_style";
3830                  min: 0 1;
3831               }
3832               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
3833               rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
3834            }
3835          }
3836          */
3837
3838          part {
3839            name: "elm.rect.subject.line";
3840            type: RECT;
3841            scale: 1;
3842            description {
3843               state: "default" 0.0;
3844               visible: 0;
3845               min: 0 1;
3846               align: 0.0 0.0;
3847               color: 0 0 0 255;
3848               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
3849               rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
3850            }
3851          }
3852          part {
3853             name: "elm.swallow.callerid";
3854             type: SWALLOW;
3855             scale: 1;
3856             description {
3857                state: "default" 0.0;
3858                min: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT;
3859                max: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT;
3860                align: 1.0 0.0;
3861                visible: 0;
3862                rel1 { relative: ENTRY_BUBBLE_CALLERID_RELATIVE_INC; to_x: "elm.rect.topright.pad"; to_y: "elm.rect.topright.pad"; }
3863                rel2 { relative: ENTRY_BUBBLE_CALLERID_RELATIVE_INC; to_x: "elm.rect.topright.pad"; to_y: "elm.rect.bottom.pad"; }
3864             }
3865             description { state: "callerid_on" 0.0;
3866                inherit: "default" 0.0;
3867                visible: 1;
3868             }
3869          }
3870          part {
3871             name: "elm.rect.callerid.pad";
3872             type: RECT;
3873             scale: 1;
3874             description {
3875                state: "default" 0.0;
3876                min: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
3877                max: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
3878                align: 1.0 0.0;
3879                visible: 0;
3880                rel1 { relative: 0.0 1.0; to_x: "elm.swallow.callerid"; to_y: "elm.rect.topright.pad"; }
3881                rel2 { relative: 0.0 1.0; to_x: "elm.swallow.callerid"; to_y: "elm.rect.bottom.pad"; }
3882                 }
3883          }
3884          part { name: "elm.text";
3885             type: TEXTBLOCK;
3886             mouse_events: 1;
3887             scale: 1;
3888             entry_mode: PLAIN;
3889             select_mode: BLOCK_HANDLE;
3890             //cursor_mode: BEFORE;
3891             multiline: 1;
3892             source: "elm/entry/selection/default"; // selection under
3893             //source2: "X"; // selection over
3894             //source3: "X"; // cursor under
3895             source5: "elm/entry/anchor/default"; // anchor under
3896             source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
3897             source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
3898             source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
3899             source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
3900             source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
3901             description {
3902            state: "default" 0.0;
3903            fixed: 1 0;
3904                    min: 200 0;
3905            align: 1.0 0.0;
3906            rel1 { relative: 0.0 1.0; to_y: "elm.rect.subject.line"; }
3907            rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.subject.line"; }
3908                text {
3909                       style: "entry_bubble_sent_textblock_style";
3910                       min: 0 1;
3911               max: 1 0;
3912                }
3913             }
3914                 /* callerid only */
3915             description { state: "callerid_on" 0.0;
3916                inherit: "default" 0.0;
3917                rel1 { relative: 0.0 1.0; to_y: "elm.rect.subject.line";}
3918                rel2 { relative: 0.0 1.0; to_x: ENTRY_BUBBLE_TEXT_CALLID_REL2_X_INC; to_y: "elm.rect.subject.line"; }
3919             }
3920                 /* callerid and groupchat */
3921             description { state: "callerid_groupchat" 0.0;
3922                inherit: "default" 0.0;
3923                rel1 { relative: 0.0 1.0; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
3924                rel2 { relative: 0.0 1.0; to_x: ENTRY_BUBBLE_TEXT_CALLID_REL2_X_INC; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
3925             }
3926                 /* groupchat only */
3927             description { state: "groupchat_on" 0.0;
3928                inherit: "default" 0.0;
3929                rel1 { relative: 0.0 1.0; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
3930                rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
3931             }
3932             description { state: "disabled" 0.0;
3933                inherit: "default" 0.0;
3934                text {
3935                   style: "entry_textblock_disabled_style";
3936                }
3937             }
3938          }
3939          part {
3940             name: "elm.rect.status.pad";
3941             type: RECT;
3942             scale: 1;
3943             description {
3944                state: "default" 0.0;
3945                min: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC 64;
3946                fixed: 1 1;
3947                align: 1.0 1.0;
3948                visible: 0;
3949                            color: 255 0 0 255;
3950                rel1 { relative: ENTRY_BUBBLE_STATUS_TIME_PAD_REL_INC; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
3951                rel2 { relative: ENTRY_BUBBLE_STATUS_TIME_PAD_REL_INC; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
3952             }
3953          }
3954          part {
3955             name: "elm.rect.time.pad";
3956             type: RECT;
3957             scale: 1;
3958             description {
3959                state: "default" 0.0;
3960                min: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC GENLIST_PADDING_34_INC;
3961                max: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC GENLIST_PADDING_34_INC;
3962                fixed: 1 1;
3963                align: 0.0 0.0;
3964                visible: 0;
3965                            color: 0 255 0 255;
3966                rel1.to: "elm.rect.status.pad";
3967                rel2 { relative: 0.0 1.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.bottom.pad"; }
3968             }
3969          }
3970          part { name: "elm.text.status";
3971             type: TEXT;
3972             scale: 1;
3973             description { state: "default" 0.0;
3974                align: 1.0 1.0;
3975                fixed: 1 1;
3976                text {
3977                   font: "Tizen:style=Roman";
3978                   size: ENTRY_BUBBLE_STATUS_TIME_SIZE_INC;
3979                   min: 1 0;
3980                   text_class: "tizen";
3981                }
3982                visible: 1;
3983                color: ENTRY_BUBBLE_SENT_STATUS_TIME_COLOR_INC;
3984                rel1 { relative: 0.0 0.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
3985                rel2 { relative: 0.0 0.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
3986             }
3987             description { state: "disabled" 0.0;
3988                inherit: "default" 0.0;
3989                visible: 0;
3990             }
3991          }
3992          part { name: "elm.text.time";
3993             type: TEXT;
3994             scale: 1;
3995             description { state: "default" 0.0;
3996                align: 1.0 0.0;
3997                fixed: 1 1;
3998                text {
3999                   font: "Tizen:style=Roman";
4000                   size: ENTRY_BUBBLE_STATUS_TIME_SIZE_INC;
4001                   min: 1 0;
4002                   text_class: "tizen";
4003                }
4004                visible: 1;
4005                color: ENTRY_BUBBLE_SENT_STATUS_TIME_COLOR_INC;
4006                rel1 { relative: 0.0 1.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.time.pad"; }
4007                rel2 { relative: 0.0 1.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.time.pad"; }
4008             }
4009             description { state: "disabled" 0.0;
4010                inherit: "default" 0.0;
4011                visible: 0;
4012             }
4013          }
4014          part {
4015             name: "elm.swallow.icon1";
4016             type: SWALLOW;
4017             scale: 1;
4018             description {
4019                state: "default" 0.0;
4020                min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
4021                max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
4022                fixed: 1 1;
4023                align: 1.0 1.0;
4024                visible: 0;
4025                rel1 { relative: -0.8 0.3; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
4026                rel2 { relative: -0.8 0.3; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
4027             }
4028             description { state: "enabled" 0.0;
4029                inherit: "default" 0.0;
4030                visible: 1;
4031             }
4032          }
4033          part {
4034             name: "elm.rect.middle.pad";
4035             type: RECT;
4036             scale: 1;
4037             description {
4038                state: "default" 0.0;
4039                min: 0 0;
4040                max: 0 0;
4041                align: 0.0 0.0;
4042                color: 0 0 0 0;
4043                rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.text"; }
4044             }
4045             description {
4046                state: "show" 0.0;
4047                inherit: "default" 0.0;
4048                min: 0 ENTRY_BUBBLE_MIDDLE_PAD;
4049                max: 0 ENTRY_BUBBLE_MIDDLE_PAD;
4050             }
4051          }
4052          part {
4053            name: "elm.swallow.end";
4054            type: SWALLOW;
4055            scale: 1;
4056            description {
4057               state: "default" 0.0;
4058               align: 0.0 0.0;
4059               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.middle.pad"; }
4060               rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
4061            }
4062          }
4063       }
4064       programs {
4065          program { name: "focus";
4066             signal: "load";
4067             source: "";
4068             action: FOCUS_SET;
4069             target: "elm.text";
4070          }
4071          program { name: "disable";
4072             signal: "elm,state,disabled";
4073             source: "elm";
4074             action: STATE_SET "disabled" 0.0;
4075             target: "elm.text";
4076          }
4077          program { name: "enable";
4078             signal: "elm,state,enabled";
4079             source: "elm";
4080             action: STATE_SET "default" 0.0;
4081             target: "elm.text";
4082          }
4083          program { name: "go_callerid_on";
4084             signal: "elm,state,callerid,enabled";
4085             source: "elm";
4086          script {
4087             new st[31];
4088             new Float:vl;
4089             get_state(PART:"elm.text", st, 30, vl);
4090             if (!strcmp(st, "default")) {
4091               set_state(PART:"elm.image.bg", "callerid_on", 0.0);
4092               set_state(PART:"elm.text", "callerid_on", 0.0);
4093                         }
4094             else if (!strcmp(st, "groupchat_on")) {
4095               set_state(PART:"elm.image.bg", "callerid_groupchat", 0.0);
4096               set_state(PART:"elm.text", "callerid_groupchat", 0.0);
4097                         }
4098
4099             set_state(PART:"elm.swallow.callerid", "callerid_on", 0.0);
4100             set_state(PART:"elm.rect.right.pad", "callerid_on", 0.0);
4101             set_state(PART:"elm.rect.groupchat.pad", "callerid_on", 0.0);
4102          }
4103          }
4104          program { name: "go_callerid_off";
4105             signal: "elm,state,callerid,disabled";
4106             source: "elm";
4107          script {
4108             new st[31];
4109             new Float:vl;
4110             get_state(PART:"elm.text", st, 30, vl);
4111             if (!strcmp(st, "callerid_groupchat")) {
4112               set_state(PART:"elm.image.bg", "groupchat_on", 0.0);
4113               set_state(PART:"elm.text", "groupchat_on", 0.0);
4114                         }
4115             else {
4116               set_state(PART:"elm.image.bg", "default", 0.0);
4117               set_state(PART:"elm.text", "default", 0.0);
4118                         }
4119
4120             set_state(PART:"elm.swallow.callerid", "default", 0.0);
4121             set_state(PART:"elm.rect.groupchat.pad", "default", 0.0);
4122                  }
4123          }
4124 /* groupchat - since white-hd theme */
4125 #if ENTRY_BUBBLE_GROUPCHART_ENABLE_INC
4126          program { name: "go_groupchat_on";
4127             signal: "elm,state,groupchat,enabled";
4128             source: "elm";
4129          script {
4130             new st[31];
4131             new Float:vl;
4132             get_state(PART:"elm.text", st, 30, vl);
4133             if (!strcmp(st, "default")) {
4134               set_state(PART:"elm.image.bg", "groupchat_on", 0.0);
4135               set_state(PART:"elm.text", "groupchat_on", 0.0);
4136                         }
4137             else if (!strcmp(st, "callerid_on")) {
4138               set_state(PART:"elm.image.bg", "callerid_groupchat", 0.0);
4139               set_state(PART:"elm.text", "callerid_groupchat", 0.0);
4140                         }
4141          }
4142          }
4143 #endif
4144          program { name: "go_groupchat_off";
4145             signal: "elm,state,groupchat,disabled";
4146             source: "elm";
4147          script {
4148             new st[31];
4149             new Float:vl;
4150             get_state(PART:"elm.text", st, 30, vl);
4151             if (!strcmp(st, "callerid_groupchat")) {
4152               set_state(PART:"elm.image.bg", "callerid_on", 0.0);
4153               set_state(PART:"elm.text", "callerid_on", 0.0);
4154                         }
4155             else {
4156               set_state(PART:"elm.image.bg", "default", 0.0);
4157               set_state(PART:"elm.text", "default", 0.0);
4158                         }
4159                  }
4160          }
4161          program { name: "go_textstatus_on";
4162             signal: "elm,state,text,status,enabled";
4163             source: "elm";
4164             action: STATE_SET "default" 0.0;
4165             target: "elm.text.time";
4166             target: "elm.text.status";
4167             after: "go_contentstatus_off";
4168          }
4169          program { name: "go_textstatus_off";
4170             signal: "elm,state,text,status,disbled";
4171             source: "elm";
4172             action: STATE_SET "disabled" 0.0;
4173             target: "elm.text.time";
4174             target: "elm.text.status";
4175          }
4176          program { name: "go_contentstatus_on";
4177             signal: "elm,state,content,status,enabled";
4178             source: "elm";
4179             action: STATE_SET "enabled" 0.0;
4180             target: "elm.swallow.icon1";
4181             after: "go_textstatus_off";
4182          }
4183          program { name: "go_contentstatus_off";
4184             signal: "elm,state,content,status,disabled";
4185             source: "elm";
4186             action: STATE_SET "default" 0.0;
4187             target: "elm.swallow.icon1";
4188          }
4189          program { name: "show_middle_pad";
4190             signal: "elm,state,middle,pad,enabled";
4191             source: "elm";
4192             action: STATE_SET "show" 0.0;
4193             target: "elm.rect.middle.pad";
4194          }
4195          program { name: "hide_middle_pad";
4196             signal: "elm,state,middle,pad,disabled";
4197             source: "elm";
4198             action: STATE_SET "default" 0.0;
4199             target: "elm.rect.middle.pad";
4200          }
4201       }
4202    }
4203
4204    group { name: "elm/entry/base-noedit-charwrap/sentmessage";
4205       data.item: "default_font_size" "24";
4206       data.item: "min_font_size" "8";
4207       data.item: "max_font_size" "60";
4208       data {
4209          item: context_menu_orientation "horizontal";
4210       }
4211       parts {
4212          part {
4213             name: "elm.rect.right.pad";
4214             type: RECT;
4215             scale: 1;
4216             description {
4217                state: "default" 0.0;
4218                min: ENTRY_BUBBLE_EX_PAD 0;
4219                fixed: 1 0;
4220                align: 1.0 0.0;
4221                color: 0 0 0 0;
4222                rel1.relative: 1.0 0.0;
4223             }
4224          }
4225          part {
4226             name: "elm.rect.left.pad";
4227             type: RECT;
4228             scale: 1;
4229             description {
4230                state: "default" 0.0;
4231                min: ENTRY_BUBBLE_IX_PAD 0;
4232                fixed: 1 0;
4233                align: 1.0 0.0;
4234                color: 0 0 0 0;
4235                rel1 { relative: 0.0 0.0; to: "elm.text"; }
4236                rel2 { relative: 0.0 1.0; to: "elm.text"; }
4237             }
4238          }
4239          part {
4240            name: "elm.rect.top.pad";
4241            type: RECT;
4242            scale: 1;
4243            description {
4244               state: "default" 0.0;
4245               min: 0 ENTRY_BUBBLE_Y_PAD;
4246               fixed: 0 1;
4247               align: 0.0 0.0;
4248               color: 0 0 0 0;
4249               rel2.relative: 1.0 0.0;
4250            }
4251          }
4252          part {
4253            name: "elm.rect.bottom.pad";
4254            type: RECT;
4255            scale: 1;
4256            description {
4257               state: "default" 0.0;
4258               min: 0 ENTRY_BUBBLE_Y_PAD;
4259               fixed: 0 1;
4260               align: 0.0 1.0;
4261               color: 0 0 0 0;
4262               rel1.relative: 0.0 1.0;
4263            }
4264          }
4265          part {
4266             name: "elm.image.bg";
4267             type: IMAGE;
4268             scale: 1;
4269             description {
4270                state: "default" 0.0;
4271                rel1.to_x: "elm.rect.left.pad";
4272                image {
4273                   normal: "00_messagebubble_bg_sent.png";
4274                   border: 20 1 13 20;
4275                   border_scale: 1;
4276                }
4277             }
4278          }
4279          part { name: "elm.text";
4280             type: TEXTBLOCK;
4281             mouse_events: 1;
4282             scale: 1;
4283             entry_mode: PLAIN;
4284             select_mode: BLOCK_HANDLE;
4285             //cursor_mode: BEFORE;
4286             multiline: 1;
4287             source: "elm/entry/selection/default"; // selection under
4288             //source2: "X"; // selection over
4289             //source3: "X"; // cursor under
4290             source5: "elm/entry/anchor/default"; // anchor under
4291             source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
4292             source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
4293             source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
4294             source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
4295             source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
4296             description { state: "default" 0.0;
4297                fixed: 1 0;
4298                align: 1.0 0.0;
4299                rel1 { relative: 0.0 1.0; to_y: "elm.rect.top.pad";}
4300                rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
4301                text {
4302                   style: "entry_textblock_char_wrap_style";
4303                   min: 0 1;
4304                   max: 1 0;
4305                }
4306             }
4307             description { state: "disabled" 0.0;
4308                inherit: "default" 0.0;
4309                text {
4310                   style: "entry_textblock_char_wrap_disabled_style";
4311                }
4312             }
4313          }
4314       }
4315       programs {
4316          program { name: "focus";
4317             signal: "load";
4318             source: "";
4319             action: FOCUS_SET;
4320             target: "elm.text";
4321          }
4322          program { name: "disable";
4323             signal: "elm,state,disabled";
4324             source: "elm";
4325             action: STATE_SET "disabled" 0.0;
4326             target: "elm.text";
4327          }
4328          program { name: "enable";
4329             signal: "elm,state,enabled";
4330             source: "elm";
4331             action: STATE_SET "default" 0.0;
4332             target: "elm.text";
4333          }
4334       }
4335    }
4336
4337 group { name: "elm/entry/base/font_color_black";
4338    alias: "elm/entry/base-mixedwrap/font_color_black";
4339    alias: "elm/entry/base/font_color_black/default";
4340    alias: "elm/entry/base/font_color_black/lighting";
4341    alias: "elm/entry/base/font_color_black/multiline";
4342    alias: "elm/entry/base/font_color_black/multiline/default";
4343    alias: "elm/entry/base/font_color_black/multiline/lighting";
4344    alias: "elm/entry/base/editfield/font_color_black";
4345
4346    data.item: "default_font_size" "24";
4347    data.item: "min_font_size" "8";
4348    data.item: "max_font_size" "60";
4349
4350    styles {
4351       style { name: "font_color_black_textblock_style";
4352          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=mixed left_margin=1 right_margin=2 text_class=entry";
4353          tag:  "br" "\n";
4354          tag:  "ps" "ps";
4355          tag:  "tab" "\t";
4356          tag:  "em" "+ font=Tizen:style=Oblique";
4357          tag:  "b" "+ font=Tizen:style=Bold";
4358          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
4359          tag:  "hilight" "+ font=Tizen:style=Bold";
4360          tag:  "preedit" "+ underline=on underline_color=#000000FF";
4361          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
4362          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
4363          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
4364          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
4365          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
4366       }
4367       style { name: "font_color_black_textblock_disabled_style";
4368          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=mixed left_margin=1 right_margin=2 text_class=entry";
4369          tag:  "br" "\n";
4370          tag:  "ps" "ps";
4371          tag:  "tab" "\t";
4372          tag:  "em" "+ font=Tizen:style=Oblique";
4373          tag:  "b" "+ font=Tizen:style=Bold";
4374          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
4375          tag:  "hilight" "+ font=Tizen:style=Bold";
4376          tag:  "preedit" "+ underline=on underline_color=#000000FF";
4377          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
4378          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
4379          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
4380          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
4381          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
4382       }
4383       style { name: "font_color_black_textblock_guide_style";
4384          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#90A9C7 wrap=mixed left_margin=1 right_margin=2 text_class=entry";
4385          tag:  "br" "\n";
4386          tag:  "ps" "ps";
4387          tag:  "tab" "\t";
4388          tag:  "em" "+ font=Tizen:style=Oblique";
4389          tag:  "b" "+ font=Tizen:style=Bold";
4390          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
4391          tag:  "hilight" "+ font=Tizen:style=Bold";
4392       }
4393    }
4394    data {
4395       item: context_menu_orientation "horizontal";
4396    }
4397    parts {
4398       part { name: "elm.guide";
4399          type: TEXTBLOCK;
4400          mouse_events: 0;
4401          scale: 1;
4402          description { state: "default" 0.0;
4403             rel1.to: "elm.text";
4404             rel2.to: "elm.text";
4405             text {
4406                style: "font_color_black_textblock_guide_style";
4407                min: 0 1;
4408                align: 0.0 0.0;
4409             }
4410          }
4411          description { state: "hidden" 0.0;
4412             inherit: "default" 0.0;
4413             visible: 0;
4414          }
4415       }
4416       part { name: "elm.text";
4417          type: TEXTBLOCK;
4418          mouse_events: 1;
4419          scale: 1;
4420          entry_mode: EDITABLE;
4421          select_mode: BLOCK_HANDLE;
4422          //cursor_mode: BEFORE;
4423          multiline: 1;
4424          source: "elm/entry/selection/default"; // selection under
4425          //source2: "X"; // selection over
4426          //source3: "X"; // cursor under
4427          source4: "elm/entry/cursor/default"; // cursorover
4428          source5: "elm/entry/anchor/default"; // anchor under
4429          //source6: "X"; // anchor over
4430          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
4431          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
4432          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
4433          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
4434          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
4435          description { state: "default" 0.0;
4436             fixed: 1 0;
4437             text {
4438                style: "font_color_black_textblock_style";
4439                min: 0 1;
4440             }
4441             ENTRY_TEXTBLOCK_DEFAULT_REL
4442          }
4443          description { state: "disabled" 0.0;
4444             inherit: "default" 0.0;
4445             text {
4446                style: "font_color_black_textblock_disabled_style";
4447                min: 0 1;
4448             }
4449          }
4450       }
4451       ENTRY_SWALLOW_PARTS
4452    }
4453    ENTRY_SWALLOW_SCRIPT_PUBLIC
4454    programs {
4455       program { name: "focus";
4456          signal: "load";
4457          source: "";
4458          action: FOCUS_SET;
4459          target: "elm.text";
4460       }
4461       program { name: "disable";
4462          signal: "elm,state,disabled";
4463          source: "elm";
4464          action: STATE_SET "disabled" 0.0;
4465          target: "elm.text";
4466       }
4467       program { name: "enable";
4468          signal: "elm,state,enabled";
4469          source: "elm";
4470          action: STATE_SET "default" 0.0;
4471          target: "elm.text";
4472       }
4473       program { name: "gdisable";
4474          signal: "elm,guide,disabled";
4475          source: "elm";
4476          action: STATE_SET "hidden" 0.0;
4477          target: "elm.guide";
4478       }
4479       program { name: "genable";
4480          signal: "elm,guide,enabled";
4481          source: "elm";
4482          action: STATE_SET "default" 0.0;
4483          target: "elm.guide";
4484       }
4485       program { name: "touch_snd";
4486          signal: "mouse,clicked,1";
4487          source: "elm.text";
4488          action: PLAY_SAMPLE "touch_sound" 1.0;
4489       }
4490       ENTRY_SWALLOW_PROGRAMS
4491    }
4492 }
4493
4494 group { name: "elm/entry/base-noedit/font_color_black";
4495    data.item: "default_font_size" "24";
4496    data.item: "min_font_size" "8";
4497    data.item: "max_font_size" "60";
4498    data {
4499       item: context_menu_orientation "horizontal";
4500    }
4501    parts {
4502       part { name: "elm.guide";
4503          type: TEXTBLOCK;
4504          mouse_events: 0;
4505          scale: 1;
4506          description { state: "default" 0.0;
4507             rel1.to: "elm.text";
4508             rel2.to: "elm.text";
4509             text {
4510                style: "font_color_black_textblock_guide_style";
4511                min: 0 1;
4512                align: 0.0 0.0;
4513             }
4514          }
4515          description { state: "hidden" 0.0;
4516             inherit: "default" 0.0;
4517             visible: 0;
4518          }
4519       }
4520       part { name: "elm.text";
4521          type: TEXTBLOCK;
4522          mouse_events: 1;
4523          scale: 1;
4524          entry_mode: PLAIN;
4525          select_mode: BLOCK_HANDLE;
4526          //cursor_mode: BEFORE;
4527          multiline: 1;
4528          source: "elm/entry/selection/default"; // selection under
4529          //source2: "X"; // selection over
4530          //source3: "X"; // cursor under
4531          source4: "elm/entry/cursor/default"; // cursorover
4532          source5: "elm/entry/anchor/default"; // anchor under
4533          //source6: "X"; // anchor over
4534          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
4535          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
4536          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
4537          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
4538          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
4539          description { state: "default" 0.0;
4540             fixed: 1 0;
4541             text {
4542                style: "font_color_black_textblock_style";
4543                min: 0 1;
4544             }
4545          }
4546          description { state: "disabled" 0.0;
4547             inherit: "default" 0.0;
4548             text {
4549                style: "font_color_black_textblock_disabled_style";
4550                min: 0 1;
4551             }
4552          }
4553       }
4554    }
4555    programs {
4556       program { name: "focus";
4557          signal: "load";
4558          source: "";
4559          action: FOCUS_SET;
4560          target: "elm.text";
4561       }
4562       program { name: "disable";
4563          signal: "elm,state,disabled";
4564          source: "elm";
4565          action: STATE_SET "disabled" 0.0;
4566          target: "elm.text";
4567       }
4568       program { name: "enable";
4569          signal: "elm,state,enabled";
4570          source: "elm";
4571          action: STATE_SET "default" 0.0;
4572          target: "elm.text";
4573       }
4574       program { name: "gdisable";
4575          signal: "elm,guide,disabled";
4576          source: "elm";
4577          action: STATE_SET "hidden" 0.0;
4578          target: "elm.guide";
4579       }
4580       program { name: "genable";
4581          signal: "elm,guide,enabled";
4582          source: "elm";
4583          action: STATE_SET "default" 0.0;
4584          target: "elm.guide";
4585       }
4586       program { name: "touch_snd";
4587          signal: "mouse,clicked,1";
4588          source: "elm.text";
4589          action: PLAY_SAMPLE "touch_sound" 1.0;
4590       }
4591    }
4592 }
4593
4594 group { name: "elm/entry/base-charwrap/font_color_black";
4595    alias: "elm/entry/base/font_color_black/char_wrap";
4596    alias: "elm/entry/base/font_color_black/default/char_wrap";
4597    alias: "elm/entry/base/font_color_black/lighting/char_wrap";
4598    alias: "elm/entry/base/font_color_black/multiline/char_wrap";
4599    alias: "elm/entry/base/font_color_black/multiline/default/char_wrap";
4600    alias: "elm/entry/base/font_color_black/multiline/lighting/char_wrap";
4601    alias: "elm/entry/base-charwrap/editfield/font_color_black";
4602
4603    data.item: "default_font_size" "24";
4604    data.item: "min_font_size" "8";
4605    data.item: "max_font_size" "60";
4606
4607    styles {
4608       style { name: "font_color_black_textblock_char_wrap_style";
4609          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=char left_margin=1 right_margin=2 text_class=entry";
4610          tag:  "br" "\n";
4611          tag:  "ps" "ps";
4612          tag:  "tab" "\t";
4613          tag:  "em" "+ font=Tizen:style=Oblique";
4614          tag:  "b" "+ font=Tizen:style=Bold";
4615          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
4616          tag:  "hilight" "+ font=Tizen:style=Bold";
4617          tag:  "preedit" "+ underline=on underline_color=#000000FF";
4618          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
4619          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
4620          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
4621          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
4622          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
4623       }
4624       style { name: "font_color_black_textblock_char_wrap_disabled_style";
4625          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=char left_margin=1 right_margin=2 text_class=entry";
4626          tag:  "br" "\n";
4627          tag:  "ps" "ps";
4628          tag:  "tab" "\t";
4629          tag:  "em" "+ font=Tizen:style=Oblique";
4630          tag:  "b" "+ font=Tizen:style=Bold";
4631          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
4632          tag:  "hilight" "+ font=Tizen:style=Bold";
4633          tag:  "preedit" "+ underline=on underline_color=#000000FF";
4634          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
4635          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
4636          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
4637          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
4638          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
4639       }
4640       style { name: "font_color_black_textblock_char_wrap_guide_style";
4641          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#90A9C7 wrap=char left_margin=1 right_margin=2 text_class=entry";
4642          tag:  "br" "\n";
4643          tag:  "ps" "ps";
4644          tag:  "tab" "\t";
4645          tag:  "em" "+ font=Tizen:style=Oblique";
4646          tag:  "b" "+ font=Tizen:style=Bold";
4647          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
4648          tag:  "hilight" "+ font=Tizen:style=Bold";
4649       }
4650    }
4651    data {
4652       item: context_menu_orientation "horizontal";
4653    }
4654    parts {
4655       part { name: "elm.guide";
4656          type: TEXTBLOCK;
4657          mouse_events: 0;
4658          scale: 1;
4659          description { state: "default" 0.0;
4660             rel1.to: "elm.text";
4661             rel2.to: "elm.text";
4662             text {
4663                style: "font_color_black_textblock_char_wrap_guide_style";
4664                min: 0 1;
4665                align: 0.0 0.0;
4666             }
4667          }
4668          description { state: "hidden" 0.0;
4669             inherit: "default" 0.0;
4670             visible: 0;
4671          }
4672       }
4673       part { name: "elm.text";
4674          type: TEXTBLOCK;
4675          mouse_events: 1;
4676          scale: 1;
4677          entry_mode: EDITABLE;
4678          select_mode: BLOCK_HANDLE;
4679          //cursor_mode: BEFORE;
4680          multiline: 1;
4681          source: "elm/entry/selection/default"; // selection under
4682          //source2: "X"; // selection over
4683          //source3: "X"; // cursor under
4684          source4: "elm/entry/cursor/default"; // cursorover
4685          source5: "elm/entry/anchor/default"; // anchor under
4686          //source6: "X"; // anchor over
4687          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
4688          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
4689          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
4690          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
4691          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
4692          description { state: "default" 0.0;
4693             fixed: 1 0;
4694             text {
4695                style: "font_color_black_textblock_char_wrap_style";
4696                min: 0 1;
4697             }
4698             ENTRY_TEXTBLOCK_DEFAULT_REL
4699          }
4700          description { state: "disabled" 0.0;
4701             inherit: "default" 0.0;
4702             text {
4703                style: "font_color_black_textblock_char_wrap_disabled_style";
4704                min: 0 1;
4705             }
4706          }
4707       }
4708       ENTRY_SWALLOW_PARTS
4709    }
4710    ENTRY_SWALLOW_SCRIPT_PUBLIC
4711    programs {
4712       program { name: "focus";
4713          signal: "load";
4714          source: "";
4715          action: FOCUS_SET;
4716          target: "elm.text";
4717       }
4718       program { name: "disable";
4719          signal: "elm,state,disabled";
4720          source: "elm";
4721          action: STATE_SET "disabled" 0.0;
4722          target: "elm.text";
4723       }
4724       program { name: "enable";
4725          signal: "elm,state,enabled";
4726          source: "elm";
4727          action: STATE_SET "default" 0.0;
4728          target: "elm.text";
4729       }
4730       program { name: "gdisable";
4731          signal: "elm,guide,disabled";
4732          source: "elm";
4733          action: STATE_SET "hidden" 0.0;
4734          target: "elm.guide";
4735       }
4736       program { name: "genable";
4737          signal: "elm,guide,enabled";
4738          source: "elm";
4739          action: STATE_SET "default" 0.0;
4740          target: "elm.guide";
4741       }
4742       program { name: "touch_snd";
4743          signal: "mouse,clicked,1";
4744          source: "elm.text";
4745          action: PLAY_SAMPLE "touch_sound" 1.0;
4746       }
4747       ENTRY_SWALLOW_PROGRAMS
4748    }
4749 }
4750
4751 group { name: "elm/entry/base-single/font_color_black";
4752    alias: "elm/entry/base-single/font_color_black/default";
4753    alias: "elm/entry/base-single/font_color_black/lighting";
4754    alias: "elm/entry/base-single/font_color_black/singleline";
4755    alias: "elm/entry/base-single/font_color_black/singleline/default";
4756    alias: "elm/entry/base-single/font_color_black/singleline/lighting";
4757    alias: "elm/entry/base-single/editfield/font_color_black";
4758    alias: "elm/entry/base-single/editfield/searchbar/font_color_black";
4759
4760    data.item: "default_font_size" "24";
4761    data.item: "min_font_size" "8";
4762    data.item: "max_font_size" "60";
4763
4764    styles {
4765       style { name: "font_color_black_single_textblock_style";
4766          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=none left_margin=1 right_margin=3 text_class=entry";
4767          tag:  "br" "\n";
4768          tag:  "ps" "ps";
4769          tag:  "tab" "\t";
4770          tag:  "em" "+ font=Tizen:style=Oblique";
4771          tag:  "b" "+ font=Tizen:style=Bold";
4772          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
4773          tag:  "hilight" "+ font=Tizen:style=Bold";
4774          tag:  "preedit" "+ underline=on underline_color=#000000FF";
4775          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
4776          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
4777          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
4778          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
4779          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
4780       }
4781       style { name: "font_color_black_single_textblock_disabled_style";
4782          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=none left_margin=1 right_margin=3 text_class=entry";
4783          tag:  "br" "\n";
4784          tag:  "ps" "ps";
4785          tag:  "tab" "\t";
4786          tag:  "em" "+ font=Tizen:style=Oblique";
4787          tag:  "b" "+ font=Tizen:style=Bold";
4788          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
4789          tag:  "hilight" "+ font=Tizen:style=Bold";
4790          tag:  "preedit" "+ underline=on underline_color=#000000FF";
4791          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
4792          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
4793          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
4794          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
4795          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
4796       }
4797       style { name: "font_color_black_single_textblock_guide_style";
4798          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#90A9C7 wrap=none left_margin=1 right_margin=3 text_class=entry";
4799          tag:  "br" "\n";
4800          tag:  "ps" "ps";
4801          tag:  "tab" "\t";
4802          tag:  "em" "+ font=Tizen:style=Oblique";
4803          tag:  "b" "+ font=Tizen:style=Bold";
4804          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
4805          tag:  "hilight" "+ font=Tizen:style=Bold";
4806       }
4807    }
4808    data {
4809       item: context_menu_orientation "horizontal";
4810    }
4811    parts {
4812       part { name: "elm.guide";
4813          type: TEXTBLOCK;
4814          mouse_events: 0;
4815          scale: 1;
4816          description { state: "default" 0.0;
4817             rel1.to: "elm.text";
4818             rel2.to: "elm.text";
4819             text {
4820                style: "font_color_black_single_textblock_guide_style";
4821                min: 0 1;
4822                max: 0 1;
4823             }
4824          }
4825          description { state: "hidden" 0.0;
4826             inherit: "default" 0.0;
4827             visible: 0;
4828          }
4829       }
4830       part { name: "elm.text";
4831          type: TEXTBLOCK;
4832          mouse_events: 1;
4833          scale: 1;
4834          entry_mode: EDITABLE;
4835          select_mode: BLOCK_HANDLE;
4836          //cursor_mode: BEFORE;
4837          multiline: 0;
4838          source: "elm/entry/selection/default"; // selection under
4839          //source2: "X"; // selection over
4840          //source3: "X"; // cursor under
4841          source4: "elm/entry/cursor/default"; // cursorover
4842          source5: "elm/entry/anchor/default"; // anchor under
4843          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
4844          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
4845          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
4846          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
4847          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
4848          description { state: "default" 0.0;
4849             text {
4850                style: "font_color_black_single_textblock_style";
4851                min: 1 1;
4852                max: 0 1;
4853             }
4854             ENTRY_TEXTBLOCK_DEFAULT_REL
4855          }
4856          description { state: "disabled" 0.0;
4857             inherit: "default" 0.0;
4858             text {
4859                style: "font_color_black_single_textblock_disabled_style";
4860             }
4861          }
4862       }
4863       ENTRY_SWALLOW_PARTS
4864    }
4865    ENTRY_SWALLOW_SCRIPT_PUBLIC
4866    programs {
4867       program { name: "focus";
4868          signal: "load";
4869          source: "";
4870          action: FOCUS_SET;
4871          target: "elm.text";
4872       }
4873       program { name: "disable";
4874          signal: "elm,state,disabled";
4875          source: "elm";
4876          action: STATE_SET "disabled" 0.0;
4877          target: "elm.text";
4878       }
4879       program { name: "enable";
4880          signal: "elm,state,enabled";
4881          source: "elm";
4882          action: STATE_SET "default" 0.0;
4883          target: "elm.text";
4884       }
4885       program { name: "gdisable";
4886          signal: "elm,guide,disabled";
4887          source: "elm";
4888          action: STATE_SET "hidden" 0.0;
4889          target: "elm.guide";
4890       }
4891       program { name: "genable";
4892          signal: "elm,guide,enabled";
4893          source: "elm";
4894          action: STATE_SET "default" 0.0;
4895          target: "elm.guide";
4896       }
4897       program { name: "touch_snd";
4898          signal: "mouse,clicked,1";
4899          source: "elm.text";
4900          action: PLAY_SAMPLE "touch_sound" 1.0;
4901       }
4902       ENTRY_SWALLOW_PROGRAMS
4903    }
4904 }
4905
4906 group { name: "elm/entry/base-single-noedit/font_color_black";
4907    data.item: "default_font_size" "24";
4908    data.item: "min_font_size" "8";
4909    data.item: "max_font_size" "60";
4910    data {
4911       item: context_menu_orientation "horizontal";
4912    }
4913    parts {
4914       part { name: "elm.guide";
4915          type: TEXTBLOCK;
4916          mouse_events: 0;
4917          scale: 1;
4918          description { state: "default" 0.0;
4919             rel1.to: "elm.text";
4920             rel2.to: "elm.text";
4921             text {
4922                style: "font_color_black_single_textblock_guide_style";
4923                min: 0 1;
4924                max: 0 1;
4925             }
4926          }
4927          description { state: "hidden" 0.0;
4928             inherit: "default" 0.0;
4929             visible: 0;
4930          }
4931       }
4932       part { name: "elm.text";
4933          type: TEXTBLOCK;
4934          mouse_events: 1;
4935          scale: 1;
4936          entry_mode: PLAIN;
4937          select_mode: BLOCK_HANDLE;
4938          //cursor_mode: BEFORE;
4939          multiline: 0;
4940          source: "elm/entry/selection/default"; // selection under
4941          //source2: "X"; // selection over
4942          //source3: "X"; // cursor under
4943          source4: "elm/entry/cursor/default"; // cursorover
4944          source5: "elm/entry/anchor/default"; // anchor under
4945          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
4946          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
4947          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
4948          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
4949          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
4950          description { state: "default" 0.0;
4951             text {
4952                style: "font_color_black_single_textblock_style";
4953                min: 1 1;
4954                max: 0 1;
4955             }
4956          }
4957          description { state: "disabled" 0.0;
4958             inherit: "default" 0.0;
4959             text {
4960                style: "font_color_black_single_textblock_disabled_style";
4961             }
4962          }
4963       }
4964    }
4965    programs {
4966       program { name: "focus";
4967          signal: "load";
4968          source: "";
4969          action: FOCUS_SET;
4970          target: "elm.text";
4971       }
4972       program { name: "disable";
4973          signal: "elm,state,disabled";
4974          source: "elm";
4975          action: STATE_SET "disabled" 0.0;
4976          target: "elm.text";
4977       }
4978       program { name: "enable";
4979          signal: "elm,state,enabled";
4980          source: "elm";
4981          action: STATE_SET "default" 0.0;
4982          target: "elm.text";
4983       }
4984       program { name: "gdisable";
4985          signal: "elm,guide,disabled";
4986          source: "elm";
4987          action: STATE_SET "hidden" 0.0;
4988          target: "elm.guide";
4989       }
4990       program { name: "genable";
4991          signal: "elm,guide,enabled";
4992          source: "elm";
4993          action: STATE_SET "default" 0.0;
4994          target: "elm.guide";
4995       }
4996       program { name: "touch_snd";
4997          signal: "mouse,clicked,1";
4998          source: "elm.text";
4999          action: PLAY_SAMPLE "touch_sound" 1.0;
5000       }
5001    }
5002 }
5003 group { name: "elm/entry/base-single/font_color_black/tizen_text_class";
5004    inherit: "elm/entry/base-single/font_color_black";
5005    styles {
5006       style { name: "tizen_text_class_single_textblock_style";
5007          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=none left_margin=1 right_margin=3 text_class=tizen";
5008          tag:  "br" "\n";
5009          tag:  "ps" "ps";
5010          tag:  "tab" "\t";
5011          tag:  "em" "+ font=Tizen:style=Oblique";
5012          tag:  "b" "+ font=Tizen:style=Bold";
5013          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
5014          tag:  "hilight" "+ font=Tizen:style=Bold";
5015          tag:  "preedit" "+ underline=on underline_color=#000000FF";
5016          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
5017          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
5018          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
5019          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
5020          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
5021       }
5022       style { name: "tizen_text_class_single_textblock_disabled_style";
5023          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=none left_margin=1 right_margin=3 text_class=tizen";
5024          tag:  "br" "\n";
5025          tag:  "ps" "ps";
5026          tag:  "tab" "\t";
5027          tag:  "em" "+ font=Tizen:style=Oblique";
5028          tag:  "b" "+ font=Tizen:style=Bold";
5029          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
5030          tag:  "hilight" "+ font=Tizen:style=Bold";
5031          tag:  "preedit" "+ underline=on underline_color=#000000FF";
5032          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
5033          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
5034          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
5035          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
5036          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
5037       }
5038       style { name: "tizen_text_class_single_textblock_guide_style";
5039          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";
5040          tag:  "br" "\n";
5041          tag:  "ps" "ps";
5042          tag:  "tab" "\t";
5043          tag:  "em" "+ font=Tizen:style=Oblique";
5044          tag:  "b" "+ font=Tizen:style=Bold";
5045          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
5046          tag:  "hilight" "+ font=Tizen:style=Bold";
5047       }
5048    }
5049    parts {
5050       part { name: "elm.guide";
5051          type: TEXTBLOCK;
5052          mouse_events: 0;
5053          scale: 1;
5054          description { state: "default" 0.0;
5055             rel1.to: "elm.text";
5056             rel2.to: "elm.text";
5057             text {
5058                style: "tizen_text_class_single_textblock_guide_style";
5059                min: 0 1;
5060                max: 0 1;
5061             }
5062          }
5063          description { state: "hidden" 0.0;
5064             inherit: "default" 0.0;
5065             visible: 0;
5066          }
5067       }
5068       part { name: "elm.text";
5069          description { state: "default" 0.0;
5070             text {
5071                style: "tizen_text_class_single_textblock_style";
5072             }
5073             ENTRY_TEXTBLOCK_DEFAULT_REL
5074          }
5075          description { state: "disabled" 0.0;
5076             inherit: "default" 0.0;
5077             text {
5078                style: "tizen_text_class_single_textblock_disabled_style";
5079             }
5080          }
5081       }
5082    }
5083 }
5084 group { name: "elm/entry/base-password/font_color_black";
5085    alias: "elm/entry/base-password/editfield/font_color_black";
5086    data.item: "default_font_size" "24";
5087    data.item: "min_font_size" "8";
5088    data.item: "max_font_size" "60";
5089    data {
5090       item: context_menu_orientation "horizontal";
5091    }
5092    parts {
5093       part { name: "elm.guide";
5094          type: TEXTBLOCK;
5095          mouse_events: 0;
5096          scale: 1;
5097          description { state: "default" 0.0;
5098             rel1.to: "elm.text";
5099             rel2.to: "elm.text";
5100             text {
5101                style: "font_color_black_single_textblock_guide_style";
5102                min: 0 1;
5103                max: 0 1;
5104             }
5105          }
5106          description { state: "hidden" 0.0;
5107             inherit: "default" 0.0;
5108             visible: 0;
5109          }
5110       }
5111       part { name: "elm.text";
5112          type: TEXTBLOCK;
5113          mouse_events: 1;
5114          scale: 1;
5115          entry_mode: PASSWORD;
5116          select_mode: BLOCK_HANDLE;
5117          multiline: 0;
5118          source: "elm/entry/selection/default"; // selection under
5119          //source2: "X"; // selection over
5120          //source3: "X"; // cursor under
5121          source4: "elm/entry/cursor/default"; // cursorover
5122          source5: "elm/entry/anchor/default"; // anchor under
5123          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
5124          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
5125          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
5126          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
5127          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
5128          description { state: "default" 0.0;
5129             text {
5130                style: "font_color_black_single_textblock_style";
5131                repch: "*";
5132                min: 1 1;
5133                max: 0 1;
5134             }
5135             ENTRY_TEXTBLOCK_DEFAULT_REL
5136          }
5137          description { state: "disabled" 0.0;
5138             inherit: "default" 0.0;
5139             text {
5140                style: "font_color_black_single_textblock_disabled_style";
5141             }
5142          }
5143       }
5144       ENTRY_SWALLOW_PARTS
5145    }
5146    ENTRY_SWALLOW_SCRIPT_PUBLIC
5147    programs {
5148       program { name: "focus";
5149          signal: "load";
5150          source: "";
5151          action: FOCUS_SET;
5152          target: "elm.text";
5153       }
5154       program { name: "disable";
5155          signal: "elm,state,disabled";
5156          source: "elm";
5157          action: STATE_SET "disabled" 0.0;
5158          target: "elm.text";
5159       }
5160       program { name: "enable";
5161          signal: "elm,state,enabled";
5162          source: "elm";
5163          action: STATE_SET "default" 0.0;
5164          target: "elm.text";
5165       }
5166       program { name: "gdisable";
5167          signal: "elm,guide,disabled";
5168          source: "elm";
5169          action: STATE_SET "hidden" 0.0;
5170          target: "elm.guide";
5171       }
5172       program { name: "genable";
5173          signal: "elm,guide,enabled";
5174          source: "elm";
5175          action: STATE_SET "default" 0.0;
5176          target: "elm.guide";
5177       }
5178       program { name: "touch_snd";
5179          signal: "mouse,clicked,1";
5180          source: "elm.text";
5181          action: PLAY_SAMPLE "touch_sound" 1.0;
5182       }
5183       ENTRY_SWALLOW_PROGRAMS
5184    }
5185 }
5186
5187 group { name: "elm/scroller/entry/default";
5188       alias : "elm/scroller/entry/editfield";
5189       alias : "elm/scroller/entry/editfield/searchbar/default";
5190       data {
5191          item: "focus_highlight" "off";
5192       }
5193       script {
5194          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
5195          public timer0(val) {
5196             new v;
5197             v = get_int(sbvis_v);
5198             if (v) {
5199                v = get_int(sbalways_v);
5200                if (!v) {
5201                   emit("do-hide-vbar", "");
5202                   set_int(sbvis_v, 0);
5203                }
5204             }
5205             v = get_int(sbvis_h);
5206             if (v) {
5207                v = get_int(sbalways_h);
5208                if (!v) {
5209                   emit("do-hide-hbar", "");
5210                   set_int(sbvis_h, 0);
5211                }
5212             }
5213             set_int(sbvis_timer, 0);
5214             return 0;
5215          }
5216       }
5217       parts {
5218          part { name: "bg";
5219             type: RECT;
5220             description { state: "default" 0.0;
5221                visible: 0;
5222             }
5223          }
5224          part { name: "clipper";
5225             type: RECT;
5226             mouse_events: 0;
5227             description { state: "default" 0.0;
5228                rel1.to: "bg";
5229                rel2.to: "bg";
5230             }
5231          }
5232          part { name: "editfield_space";
5233             type: SPACER;
5234             description { state: "default" 0.0;
5235                rel1.to: "elm.swallow.end";
5236                rel1.relative: 0.0 0.0;
5237                rel2.to: "elm.swallow.end";
5238                rel2.relative: 1.0 1.0;
5239             }
5240             description { state: "editfield" 0.0;
5241                align: 1.0 1.0;
5242                fixed: 1 1;
5243                min: 70 60;
5244                max: 70 60;
5245                rel1 {
5246                   to_x: "elm.swallow.end";
5247                   relative: 0.0 0.0;
5248                }
5249                rel2 {
5250                   to_x: "elm.swallow.end";
5251                   relative: 0.0 1.0;
5252                }
5253             }
5254          }
5255          part { name: "contentclipper";
5256             type: RECT;
5257             mouse_events: 0;
5258             clip_to: "clipper";
5259             description { state: "default" 0.0;
5260                rel1.to: "elm.swallow.icon";
5261                rel1.relative: 1.0 0.0;
5262                rel2.to: "editfield_space";
5263                rel2.relative: 0.0 1.0;
5264             }
5265          }
5266          part { name: "elm.swallow.icon";
5267             type: SWALLOW;
5268             clip_to: "clipper";
5269             description { state: "default" 0.0;
5270                fixed: 1 1;
5271                rel1 {
5272                   to: "bg";
5273                   relative: 0.0 0.0;
5274                }
5275                rel2 {
5276                   to: "bg";
5277                   relative: 0.0 1.0;
5278                }
5279                visible: 0;
5280             }
5281             description { state: "visible" 0.0;
5282                fixed: 1 1;
5283                align: 0.0 1.0;
5284                rel1 {
5285                          to: "bg";
5286                          relative: 0.0 0.0;
5287                }
5288                rel2 {
5289                   to: "bg";
5290                   relative: 0.0 1.0;
5291                }
5292                visible: 1;
5293             }
5294          }
5295          part { name: "elm.swallow.clear";
5296             type: SWALLOW;
5297             clip_to: "clipper";
5298             description { state: "default" 0.0;
5299                fixed: 1 1;
5300                rel1 {
5301                   to_x: "elm.swallow.end";
5302                   to_y: "bg";
5303                   relative: 0.0 0.0;
5304                }
5305                rel2 {
5306                   to_x: "elm.swallow.end";
5307                   to_y: "bg";
5308                   relative: 0.0 1.0;
5309                }
5310                visible: 0;
5311             }
5312             description { state: "visible" 0.0;
5313                inherit: "default" 0.0;
5314                align: 1.0 1.0;
5315                visible: 1;
5316             }
5317          }
5318          part { name: "elm.swallow.rename";
5319             type: SWALLOW;
5320             clip_to: "clipper";
5321             description { state: "default" 0.0;
5322                align: 1.0 1.0;
5323                fixed: 1 1;
5324                rel1 {
5325                   to_x: "elm.swallow.end";
5326                   to_y: "bg";
5327                   relative: 0.0 0.0;
5328                }
5329                rel2 {
5330                   to_x: "elm.swallow.end";
5331                   to_y: "bg";
5332                   relative: 0.0 1.0;
5333                }
5334                visible: 0;
5335             }
5336             description { state: "visible" 0.0;
5337                inherit: "default" 0.0;
5338                visible: 1;
5339             }
5340          }
5341          part { name: "elm.swallow.end";
5342             type: SWALLOW;
5343             clip_to: "clipper";
5344             description { state: "default" 0.0;
5345                fixed: 1 1;
5346                rel1 {
5347                   to: "bg";
5348                   relative: 1.0 0.0;
5349                }
5350                rel2 {
5351                   to: "bg";
5352                   relative: 1.0 1.0;
5353                }
5354                visible: 0;
5355             }
5356             description { state: "visible" 0.0;
5357                inherit: "default" 0.0;
5358                align: 1.0 1.0;
5359                visible: 1;
5360             }
5361          }
5362          part { name: "elm.swallow.content";
5363             clip_to: "contentclipper";
5364             type: SWALLOW;
5365             description { state: "default" 0.0;
5366                rel1 {
5367                        to: "elm.swallow.icon";
5368                        relative: 1.0 0.0;
5369                }
5370                rel2 {
5371                 to: "editfield_space";
5372                 relative: 0.0 1.0;
5373                }
5374             }
5375          }
5376          part { name: "sb_vbar_clip_master";
5377             type: RECT;
5378             mouse_events: 0;
5379             description { state: "default" 0.0;
5380             }
5381             description { state: "hidden" 0.0;
5382                visible: 0;
5383                color: 255 255 255 0;
5384             }
5385          }
5386          part { name: "sb_vbar_clip";
5387             clip_to: "sb_vbar_clip_master";
5388             type: RECT;
5389             mouse_events: 0;
5390             description { state: "default" 0.0;
5391             }
5392             description { state: "hidden" 0.0;
5393                visible: 0;
5394                color: 255 255 255 0;
5395             }
5396          }
5397          part { name: "sb_vbar";
5398             type: RECT;
5399             mouse_events: 0;
5400             description { state: "default" 0.0;
5401                fixed: 1 1;
5402                visible: 0;
5403                min: 10 17;
5404                align: 1.0 0.0;
5405                rel1 {
5406                   relative: 0.0 0.0;
5407                   to_y:     "elm.swallow.content";
5408                   to_x:     "editfield_space";
5409                }
5410                rel2 {
5411                   relative: 0.0 0.0;
5412                   to_y:     "sb_hbar";
5413                   to_x:     "editfield_space";
5414                }
5415             }
5416          }
5417          part { name: "elm.dragable.vbar";
5418             type: RECT;
5419             clip_to: "sb_vbar_clip";
5420             mouse_events: 0;
5421             dragable {
5422                x: 0 0 0;
5423                y: 1 1 0;
5424                confine: "sb_vbar";
5425             }
5426             description { state: "default" 0.0;
5427                visible: 0;
5428                fixed: 1 1;
5429                min: 10 17;
5430                max: 10 99999;
5431                rel1 {
5432                   relative: 0.5  0.5;
5433                   to: "sb_vbar";
5434                }
5435                rel2 {
5436                   relative: 0.5  0.5;
5437                   to: "sb_vbar";
5438                }
5439             }
5440          }
5441          part { name: "sb_hbar_clip_master";
5442             type: RECT;
5443             mouse_events: 0;
5444             description { state: "default" 0.0;
5445             }
5446             description { state: "hidden" 0.0;
5447                visible: 0;
5448                color: 255 255 255 0;
5449             }
5450          }
5451          part { name: "sb_hbar_clip";
5452             clip_to: "sb_hbar_clip_master";
5453             type: RECT;
5454             mouse_events: 0;
5455             description { state: "default" 0.0;
5456             }
5457             description { state: "hidden" 0.0;
5458                visible: 0;
5459                color: 255 255 255 0;
5460             }
5461          }
5462          part { name: "sb_hbar";
5463             type: RECT;
5464             mouse_events: 0;
5465             description { state: "default" 0.0;
5466                fixed: 1 1;
5467                visible: 0;
5468                min: 17 10;
5469                align: 0.0 1.0;
5470                rel1 {
5471                   relative: 0.0 1.0;
5472                   to_x:     "elm.swallow.content";
5473                   to_y:     "elm.swallow.content";
5474                }
5475                rel2 {
5476                   relative: 0.0 1.0;
5477                   to_x:     "sb_vbar";
5478                   to_y:     "elm.swallow.content";
5479                }
5480             }
5481          }
5482          part { name: "elm.dragable.hbar";
5483             type: RECT;
5484             clip_to: "sb_hbar_clip";
5485             mouse_events: 0;
5486             dragable {
5487                x: 1 1 0;
5488                y: 0 0 0;
5489                confine: "sb_hbar";
5490             }
5491             description { state: "default" 0.0;
5492                fixed: 1 1;
5493                min: 17 10;
5494                max: 99999 10;
5495                rel1 {
5496                   relative: 0.5  0.5;
5497                   to: "sb_hbar";
5498                }
5499                rel2 {
5500                   relative: 0.5  0.5;
5501                   to: "sb_hbar";
5502                }
5503             }
5504          }
5505       }
5506       programs {
5507          program { name: "load";
5508             signal: "load";
5509             source: "";
5510             script {
5511                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
5512                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
5513                set_int(sbvis_h, 0);
5514                set_int(sbvis_v, 0);
5515                set_int(sbalways_v, 0);
5516                set_int(sbalways_h, 0);
5517                set_int(sbvis_timer, 0);
5518             }
5519          }
5520          program { name: "icon_show";
5521             signal: "elm,action,show,icon";
5522             source: "elm";
5523             action: STATE_SET "visible" 0.0;
5524             target: "elm.swallow.icon";
5525          }
5526          program { name: "icon_hide";
5527             signal: "elm,action,hide,icon";
5528             source: "elm";
5529             action: STATE_SET "default" 0.0;
5530             target: "elm.swallow.icon";
5531          }
5532          program { name: "clear_show";
5533             signal: "elm,state,clear,visible";
5534             source: "*";
5535             action: STATE_SET "visible" 0.0;
5536             target: "elm.swallow.clear";
5537             after: "editfield_set";
5538          }
5539          program { name: "clear_hide";
5540             signal: "elm,state,clear,hidden";
5541             source: "*";
5542             action: STATE_SET "default" 0.0;
5543             target: "elm.swallow.clear";
5544             after: "editfield_unset";
5545          }
5546          program { name: "rename_show";
5547             signal: "elm,state,rename,visible";
5548             source: "*";
5549             action: STATE_SET "visible" 0.0;
5550             target: "elm.swallow.rename";
5551             after: "editfield_set";
5552          }
5553          program { name: "rename_hide";
5554             signal: "elm,state,rename,hidden";
5555             source: "*";
5556             action: STATE_SET "default" 0.0;
5557             target: "elm.swallow.rename";
5558             after: "editfield_unset";
5559          }
5560          program { name: "editfield_set";
5561             action: STATE_SET "editfield" 0.0;
5562             target: "editfield_space";
5563          }
5564          program { name: "editfield_unset";
5565             action: STATE_SET "default" 0.0;
5566             target: "editfield_space";
5567          }
5568          program { name: "end_show";
5569             signal: "elm,action,show,end";
5570             source: "elm";
5571             action: STATE_SET "visible" 0.0;
5572             target: "elm.swallow.end";
5573          }
5574          program { name: "end_hide";
5575             signal: "elm,action,hide,end";
5576             source: "elm";
5577             action: STATE_SET "default" 0.0;
5578             target: "elm.swallow.end";
5579          }
5580          program { name: "vbar_show";
5581             signal: "elm,action,show,vbar";
5582             source: "elm";
5583             action:  STATE_SET "default" 0.0;
5584             target: "sb_vbar_clip_master";
5585          }
5586          program { name: "vbar_hide";
5587             signal: "elm,action,hide,vbar";
5588             source: "elm";
5589             action:  STATE_SET "hidden" 0.0;
5590             target: "sb_vbar_clip_master";
5591          }
5592          program { name: "vbar_show_always";
5593             signal: "elm,action,show_always,vbar";
5594             source: "elm";
5595             script {
5596                new v;
5597                v = get_int(sbvis_v);
5598                v |= get_int(sbalways_v);
5599                if (!v) {
5600                   set_int(sbalways_v, 1);
5601                   emit("do-show-vbar", "");
5602                   set_int(sbvis_v, 1);
5603                }
5604             }
5605          }
5606          program { name: "vbar_show_notalways";
5607             signal: "elm,action,show_notalways,vbar";
5608             source: "elm";
5609             script {
5610                new v;
5611                v = get_int(sbalways_v);
5612                if (v) {
5613                   set_int(sbalways_v, 0);
5614                   v = get_int(sbvis_v);
5615                   if (!v) {
5616                      emit("do-hide-vbar", "");
5617                      set_int(sbvis_v, 0);
5618                   }
5619                }
5620             }
5621          }
5622          program { name: "sb_vbar_show";
5623             signal: "do-show-vbar";
5624             source: "";
5625             action:  STATE_SET "default" 0.0;
5626             transition: LINEAR 0.5;
5627             target: "sb_vbar_clip";
5628          }
5629          program { name: "sb_vbar_hide";
5630             signal: "do-hide-vbar";
5631             source: "";
5632             action:  STATE_SET "hidden" 0.0;
5633             transition: LINEAR 0.5;
5634             target: "sb_vbar_clip";
5635          }
5636
5637          program { name: "hbar_show";
5638             signal: "elm,action,show,hbar";
5639             source: "elm";
5640             action:  STATE_SET "default" 0.0;
5641             target: "sb_hbar_clip_master";
5642          }
5643          program { name: "hbar_hide";
5644             signal: "elm,action,hide,hbar";
5645             source: "elm";
5646             action:  STATE_SET "hidden" 0.0;
5647             target: "sb_hbar_clip_master";
5648          }
5649          program { name: "hbar_show_always";
5650             signal: "elm,action,show_always,hbar";
5651             source: "elm";
5652             script {
5653                new v;
5654                v = get_int(sbvis_h);
5655                v |= get_int(sbalways_h);
5656                if (!v) {
5657                   set_int(sbalways_h, 1);
5658                   emit("do-show-hbar", "");
5659                   set_int(sbvis_h, 1);
5660                }
5661             }
5662          }
5663          program { name: "hbar_show_notalways";
5664             signal: "elm,action,show_notalways,hbar";
5665             source: "elm";
5666             script {
5667                new v;
5668                v = get_int(sbalways_h);
5669                if (v) {
5670                   set_int(sbalways_h, 0);
5671                   v = get_int(sbvis_h);
5672                   if (!v) {
5673                      emit("do-hide-hbar", "");
5674                      set_int(sbvis_h, 0);
5675                   }
5676                }
5677             }
5678          }
5679          program { name: "sb_hbar_show";
5680             signal: "do-show-hbar";
5681             source: "";
5682             action:  STATE_SET "default" 0.0;
5683             transition: LINEAR 0.5;
5684             target: "sb_hbar_clip";
5685          }
5686          program { name: "sb_hbar_hide";
5687             signal: "do-hide-hbar";
5688             source: "";
5689             action:  STATE_SET "hidden" 0.0;
5690             transition: LINEAR 0.5;
5691             target: "sb_hbar_clip";
5692          }
5693
5694          program { name: "scroll";
5695             signal: "elm,action,scroll";
5696             source: "elm";
5697             script {
5698                new v;
5699                v = get_int(sbvis_v);
5700                v |= get_int(sbalways_v);
5701                if (!v) {
5702                   emit("do-show-vbar", "");
5703                   set_int(sbvis_v, 1);
5704                }
5705                v = get_int(sbvis_h);
5706                v |= get_int(sbalways_h);
5707                if (!v) {
5708                   emit("do-show-hbar", "");
5709                   set_int(sbvis_h, 1);
5710                }
5711                v = get_int(sbvis_timer);
5712                if (v > 0) cancel_timer(v);
5713                v = timer(1.0, "timer0", 0);
5714                set_int(sbvis_timer, v);
5715             }
5716          }
5717       }
5718    }