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