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