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