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