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