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