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