[Genlist] Fix decoreate/reordmode for edit/reorder/flip mode with
[platform/core/uifw/efl-theme-tizen.git] / themes / widgets / entry.edc
1 /*
2  * efl-theme-tizen
3  * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
4  *
5  * Licensed under the Apache License, Version 2.0 (the License);
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *     http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an AS IS BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17
18 #define ENTRY_BLOCK_HANDLE_SOURCE7 "elm/entry/selection/block_handle_left"
19 #define ENTRY_BLOCK_HANDLE_SOURCE8 "elm/entry/selection/block_handle_right"
20 #define ENTRY_CURSOR_HANDLE_SOURCE9 "elm/entry/cursor_handle/default"
21 #define ENTRY_BLOCK_HANDLE_SOURCE10 "elm/entry/selection/block_handle_edge_left"
22 #define ENTRY_BLOCK_HANDLE_SOURCE11 "elm/entry/selection/block_handle_edge_right"
23
24 group { name: "elm/entry/base/default";
25    alias: "elm/entry/base-mixedwrap/default";
26    data.item: "default_font_size" "24";
27    data.item: "min_font_size" "8";
28    data.item: "max_font_size" "60";
29    styles {
30       style { name: "entry_textblock_style";
31          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" left_margin=1 right_margin=2 wrap=mixed text_class=entry";
32          tag:  "br" "\n";
33          tag:  "ps" "ps";
34          tag:  "tab" "\t";
35          tag:  "em" "+ font=Tizen:style=Oblique";
36          tag:  "b" "+ font=Tizen:style=Bold";
37          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
38          tag:  "hilight" "+ font=Tizen:style=Bold";
39          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
40          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
41          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
42          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
43          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
44          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
45       }
46       style { name: "entry_textblock_disabled_style";
47          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 left_margin=1 right_margin=2 wrap=mixed text_class=entry";
48          tag:  "br" "\n";
49          tag:  "ps" "ps";
50          tag:  "tab" "\t";
51          tag:  "em" "+ font=Tizen:style=Oblique";
52          tag:  "b" "+ font=Tizen:style=Bold";
53          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
54          tag:  "hilight" "+ font=Tizen:style=Bold";
55          tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
56          tag:  "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
57          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
58          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
59          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
60          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
61       }
62       style { name: "entry_textblock_guide_style";
63          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_GUIDE_TEXT_COLOR_INC" left_margin=1 right_margin=2 wrap=mixed text_class=entry";
64          tag:  "br" "\n";
65          tag:  "ps" "ps";
66          tag:  "tab" "\t";
67          tag:  "em" "+ font=Tizen:style=Oblique";
68          tag:  "b" "+ font=Tizen:style=Bold";
69          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
70          tag:  "hilight" "+ font=Tizen:style=Bold";
71       }
72    }
73    data {
74       item: context_menu_orientation "horizontal";
75    }
76    parts {
77       part { name: "elm.guide";
78          type: TEXTBLOCK;
79          mouse_events: 0;
80          scale: 1;
81          description { state: "default" 0.0;
82             rel1.to: "elm.text";
83             rel2.to: "elm.text";
84             text {
85                style: "entry_textblock_guide_style";
86                min: 0 1;
87                align: 0.0 0.0;
88             }
89          }
90          description { state: "hidden" 0.0;
91             inherit: "default" 0.0;
92             visible: 0;
93          }
94       }
95       part { name: "elm.text";
96          type: TEXTBLOCK;
97          mouse_events: 1;
98          scale: 1;
99          entry_mode: EDITABLE;
100          select_mode: BLOCK_HANDLE;
101          //cursor_mode: BEFORE;
102          multiline: 1;
103          source: "elm/entry/selection/default"; // selection under
104          //source2: "X"; // selection over
105          //source3: "X"; // cursor under
106          source4: "elm/entry/cursor/default"; // cursorover
107          source5: "elm/entry/anchor/default"; // anchor under
108          //source6: "X"; // anchor over
109                  /*
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: "content_bg";
2551                                 type: RECT;
2552                                 mouse_events: 0;
2553                                 scale: 1;
2554                                 description { state: "default" 0.0;
2555                                         color: 255 255 255 255;
2556                                         rel1.to: "swallow";
2557                                         rel2.to: "swallow";
2558                                         visible: 1;
2559                                 }
2560                         }
2561                         part { name: "content_bg_right";
2562                                 type: RECT;
2563                                 mouse_events: 0;
2564                                 scale: 1;
2565                                 description { state: "default" 0.0;
2566                                         color: 255 0 0 100;
2567                                         rel1.to: "bg_right";
2568                                         rel2.to: "bg_right";
2569                                         visible: 0;
2570                                 }
2571                         }
2572                         part { name: "fining_left"; //temporary to reduce rounded corner effect
2573                                 type: RECT;
2574                                 mouse_events: 0;
2575                                 scale: 1;
2576                                 description { state: "default" 0.0;
2577                                         color: 255 255 255 255;
2578                                         rel1 { relative: 0.0 0.0; to: "swallow"; offset: -4 5;}
2579                                         rel2 { relative: 0.0 1.0; to: "swallow"; offset: -1 -5;}
2580                                         visible: 1;
2581                                 }
2582                         }
2583                         part { name: "fining_right";
2584                                 type: RECT;
2585                                 mouse_events: 0;
2586                                 scale: 1;
2587                                 description { state: "default" 0.0;
2588                                         color: 255 255 255 255;
2589                                         rel1 { relative: 1.0 0.0; to: "swallow"; offset: 0 5;}
2590                                         rel2 { relative: 1.0 1.0; to: "swallow"; offset: 2 -5;}
2591                                         visible: 1;
2592                                 }
2593                         }
2594                         part { name: "fining_top";
2595                                 type: RECT;
2596                                 mouse_events: 0;
2597                                 scale: 1;
2598                                 description { state: "default" 0.0;
2599                                         color: 255 255 255 255;
2600                                         rel1 { relative: 0.0 0.0; to: "swallow"; offset: 5 -1;}
2601                                         rel2 { relative: 1.0 0.0; to: "swallow"; offset: -5 -1;}
2602                                         visible: 1;
2603                                 }
2604                         }
2605                         part { name: "fining_bottom";
2606                                 type: RECT;
2607                                 mouse_events: 0;
2608                                 scale: 1;
2609                                 description { state: "default" 0.0;
2610                                         color: 255 255 255 255;
2611                                         rel1 { relative: 0.0 1.0; to: "swallow"; offset: 5 0;}
2612                                         rel2 { relative: 1.0 1.0; to: "swallow"; offset: -5 1;}
2613                                         visible: 1;
2614                                 }
2615                         }
2616                         part { name: "swallow";
2617                                 type: SWALLOW;
2618                                 mouse_events: 0;
2619                                 scale: 1;
2620                                 description { state: "default" 0.0;
2621                                         fixed: 1 1;
2622                                         align: 0.0 0.0;
2623                                         rel1 {
2624                                                 to: "bg";
2625                                                 offset: 21-5 22-8; //need to update when image with rounded corners releases
2626                                         }
2627                                         rel2 {
2628                                                 to: "bg";
2629                                                 offset: -21+5 -44+10;
2630                                         }
2631                                 }
2632                         }
2633                 }
2634         }
2635
2636         group { name: "elm/copypaste/notify/default";
2637                 parts {
2638                         part { name: "base";
2639                                 type: RECT;
2640                                 mouse_events: 0;
2641                                 scale: 1;
2642                                 description { state: "default" 0.0;
2643                                         min: 0 110;
2644                                         color: 50 50 50 255;
2645                                         rel1 {
2646                                                 relative: 0.0 0.0;
2647                                                 offset: 0 50;
2648                                         }
2649                                         rel2 {
2650                                                 relative: 1.0 1.0;
2651                                         }
2652                                 }
2653                         }
2654                         part { name: "elm.text";
2655                                 type: TEXT;
2656                                 mouse_events: 0;
2657                                 scale: 1;
2658                                 description {
2659                                         state: "default" 0.0;
2660                                         align: 0 0;
2661                                         rel1 {relative: 0.0 0.0; to: "base";}
2662                                         rel2 {relative: 1.0 1.0; to: "base";}
2663                                         color: 255 255 255 255;
2664                                         text {
2665                                                 font: "Tizen:style=Roman";
2666                                                 size: 40;
2667                                                 text_class: "tizen";
2668                                         }
2669                                 }
2670                         }
2671                 }
2672         }
2673
2674         group { name: "elm/entry/matchlist/default";
2675                 data.item: "max_height" "230";
2676                 parts {
2677                         part { name: "base";
2678                                 type: RECT;
2679                                 scale : 1;
2680                                 mouse_events: 1;
2681                                 repeat_events: 1;
2682                                 description { state: "default" 0.0;
2683                                         color: 0 0 0 0;
2684                                         rel1 {
2685                                                 relative: 0.0 0.0;
2686                                                 offset: 0 20;
2687                                         }
2688                                         rel2 {
2689                                                 relative: 1.0 1.0;
2690                                                 offset: 0 20;
2691                                         }
2692                                 }
2693                         }
2694                         part { name: "elm.swallow.content";
2695                                 type: SWALLOW;
2696                                 description { state: "default" 0.0;
2697                                         align: 0.0 0.0;
2698                                         rel1 {
2699                                                 to: "base";
2700                                         }
2701                                         rel2 {
2702                                                 to: "base";
2703                                         }
2704                                 }
2705                         }
2706                 }
2707         }
2708
2709 /* Entry's bubble style */
2710
2711 styles {
2712    style {
2713       name: "entry_bubble_date_area_textblock_style";
2714       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";
2715       tag:  "br" "\n";
2716       tag:  "ps" "ps";
2717       tag:  "tab" "\t";
2718       tag:  "em" "+ font=Tizen:style=Oblique";
2719       tag:  "b" "+ font=Tizen:style=Bold";
2720       tag:  "link" "+ color=#800 underline=on underline_color=#8008";
2721       tag:  "hilight" "+ font=Tizen:style=Bold";
2722       tag:  "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
2723       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;
2724       tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
2725       tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
2726       tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
2727       tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
2728    }
2729    style {
2730       name: "entry_bubble_sent_textblock_style";
2731       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";
2732       tag:  "br" "\n";
2733       tag:  "ps" "ps";
2734       tag:  "tab" "\t";
2735       tag:  "em" "+ font=Tizen:style=Oblique";
2736       tag:  "b" "+ font=Tizen:style=Bold";
2737       tag:  "link" "+ color=#800 underline=on underline_color=#8008";
2738       tag:  "hilight" "+ font=Tizen:style=Bold";
2739    }
2740    style {
2741       name: "entry_bubble_receive_textblock_style";
2742       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";
2743       tag:  "br" "\n";
2744       tag:  "ps" "ps";
2745       tag:  "tab" "\t";
2746       tag:  "em" "+ font=Tizen:style=Oblique";
2747       tag:  "b" "+ font=Tizen:style=Bold";
2748       tag:  "link" "+ color=#800 underline=on underline_color=#8008";
2749       tag:  "hilight" "+ font=Tizen:style=Bold";
2750    }
2751 }
2752
2753    group { name: "elm/entry/base/readmessage";
2754       data.item: "default_font_size" "24";
2755       data.item: "min_font_size" "8";
2756       data.item: "max_font_size" "60";
2757       data {
2758          item: context_menu_orientation "horizontal";
2759       }
2760       parts {
2761          part {
2762             name: "elm.rect.left.pad";
2763             type: RECT;
2764             scale: 1;
2765             description {
2766                state: "default" 0.0;
2767                min: ENTRY_BUBBLE_EX_PAD 0;
2768                fixed: 1 0;
2769                align: 0.0 0.0;
2770                color: 0 0 0 0;
2771                rel2.relative: 0.0 1.0;
2772             }
2773          }
2774          part {
2775             name: "elm.rect.right.pad";
2776             type: RECT;
2777             scale: 1;
2778             description {
2779                state: "default" 0.0;
2780                min: ENTRY_BUBBLE_IX_PAD 0;
2781                fixed: 1 0;
2782                align: 0.0 0.0;
2783                color: 0 0 0 0;
2784                rel1 { relative: 1.0 0.0; to: "elm.text"; }
2785                rel2.to: "elm.text";
2786             }
2787          }
2788          part {
2789            name: "elm.rect.top.pad";
2790            type: RECT;
2791            scale: 1;
2792            description {
2793               state: "default" 0.0;
2794               min: 0 ENTRY_BUBBLE_Y_PAD;
2795               fixed: 0 1;
2796               align: 0.0 0.0;
2797               color: 0 0 0 0;
2798               rel2.relative: 1.0 0.0;
2799             }
2800          }
2801          part {
2802            name: "elm.rect.bottom.pad";
2803            type: RECT;
2804            scale: 1;
2805            description {
2806               state: "default" 0.0;
2807               min: 0 ENTRY_BUBBLE_Y_PAD;
2808               fixed: 0 1;
2809               align: 0.0 1.0;
2810               color: 0 0 0 0;
2811               rel1.relative: 0.0 1.0;
2812             }
2813          }
2814          part {
2815             name: "elm.image.bg";
2816             type: IMAGE;
2817             scale: 1;
2818             description {
2819                state: "default" 0.0;
2820                rel2.to_x: "elm.rect.right.pad";
2821                image {
2822                   normal: "00_MessageBubble_BG_receive.png";
2823                   border: 1 20 13 20;
2824                   border_scale: 1;
2825                }
2826             }
2827          }
2828          part { name: "elm.text";
2829             type: TEXTBLOCK;
2830             mouse_events: 1;
2831             scale: 1;
2832             entry_mode: EDITABLE;
2833             select_mode: BLOCK_HANDLE;
2834             //cursor_mode: BEFORE;
2835             multiline: 1;
2836             source: "elm/entry/selection/default"; // selection under
2837             //source2: "X"; // selection over
2838             //source3: "X"; // cursor under
2839             source4: "elm/entry/cursor/default"; // cursorover
2840             source5: "elm/entry/anchor/default"; // anchor under
2841                 /*
2842             source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
2843             source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
2844             source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
2845             source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
2846             source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
2847                 */
2848 //          source6: "X"; // anchor over
2849             description { state: "default" 0.0;
2850                fixed: 1 0;
2851                align: 0.0 0.0;
2852                rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
2853                rel2 { relative: 1.0 0.0; to_y: "elm.rect.bottom.pad"; }
2854                text {
2855                   style: "entry_textblock_style";
2856                   min: 0 1;
2857                   max: 1 0;
2858                }
2859             }
2860             description { state: "disabled" 0.0;
2861                inherit: "default" 0.0;
2862                text {
2863                   style: "entry_textblock_disabled_style";
2864                }
2865             }
2866          }
2867       }
2868       programs {
2869          program { name: "focus";
2870             signal: "load";
2871             source: "";
2872             action: FOCUS_SET;
2873             target: "elm.text";
2874          }
2875          program { name: "disable";
2876             signal: "elm,state,disabled";
2877             source: "elm";
2878             action: STATE_SET "disabled" 0.0;
2879             target: "elm.text";
2880          }
2881          program { name: "enable";
2882             signal: "elm,state,enabled";
2883             source: "elm";
2884             action: STATE_SET "default" 0.0;
2885             target: "elm.text";
2886          }
2887       }
2888    }
2889
2890    group { name: "elm/entry/base-noedit/readmessage";
2891       data.item: "default_font_size" "24";
2892       data.item: "min_font_size" "8";
2893       data.item: "max_font_size" "60";
2894       data {
2895          item: context_menu_orientation "horizontal";
2896       }
2897       parts {
2898          part {
2899             name: "elm.rect.left.pad";
2900                 type: RECT;
2901                 scale: 1;
2902                 description {
2903                    state: "default" 0.0;
2904                min: ENTRY_BUBBLE_EX_PAD 0;
2905                fixed: 1 0;
2906                    align: 0.0 0.0;
2907                color: 0 0 0 0;
2908                    rel2.relative: 0.0 1.0;
2909                }
2910                description {
2911                state: "callerid_on" 0.0;
2912                inherit: "default" 0.0;
2913                    min: ENTRY_BUBBLE_EX_CALLERID_PAD 0;
2914                }
2915          }
2916          part {
2917             name: "elm.rect.right.pad";
2918             type: RECT;
2919             scale: 1;
2920             description {
2921                state: "default" 0.0;
2922                min: ENTRY_BUBBLE_IX_PAD 0;
2923                fixed: 1 0;
2924                align: 0.0 0.0;
2925                color: 0 0 0 0;
2926                rel1 { relative: 1.0 0.0; to: "elm.text"; }
2927                rel2.to: "elm.text";
2928             }
2929          }
2930          part {
2931            name: "elm.rect.top.pad";
2932            type: RECT;
2933            scale: 1;
2934            description {
2935               state: "default" 0.0;
2936               min: 0 ENTRY_BUBBLE_Y_PAD;
2937               fixed: 0 1;
2938               align: 0.0 0.0;
2939               color: 0 0 0 0;
2940               rel2.relative: 1.0 0.0;
2941            }
2942          }
2943          part {
2944            name: "elm.rect.topleft.pad";
2945            type: RECT;
2946            scale: 1;
2947            description {
2948               state: "default" 0.0;
2949               min: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
2950               max: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
2951               fixed: 1 1;
2952               align: 0.0 0.0;
2953               visible: 0;
2954            }
2955          }
2956          part {
2957            name: "elm.rect.bottom.pad";
2958            type: RECT;
2959            scale: 1;
2960            description {
2961               state: "default" 0.0;
2962               min: 0 ENTRY_BUBBLE_BOTTOM_PAD;
2963               fixed: 0 1;
2964               align: 0.0 1.0;
2965               color: 0 0 0 0;
2966               rel1.relative: 0.0 1.0;
2967            }
2968          }
2969          part {
2970            name: "elm.rect.bottomleft.pad";
2971            type: RECT;
2972            scale: 1;
2973            description {
2974               state: "default" 0.0;
2975               min: ENTRY_BUBBLE_BOTTOMRIGHT_PAD  2;
2976               max: ENTRY_BUBBLE_BOTTOMRIGHT_PAD 2;
2977               align: 0.0 1.0;
2978                           visible: 0;
2979            }
2980          }
2981          part {
2982            name: "elm.rect.groupchat.pad";
2983            type: RECT;
2984            scale: 1;
2985            description {
2986               state: "default" 0.0;
2987               min: ENTRY_BUBBLE_GROUPCHART_PAD;
2988               max: ENTRY_BUBBLE_GROUPCHART_PAD;
2989               align: 0.0 0.0;
2990                           visible: 0;
2991            }
2992            description {
2993               state: "callerid_on" 0.0;
2994               inherit: "default" 0.0;
2995               min: ENTRY_BUBBLE_GROUPCHART_WITH_CALLERID_PAD;
2996               max: ENTRY_BUBBLE_GROUPCHART_WITH_CALLERID_PAD;
2997            }
2998          }
2999          part {
3000            name: "elm.rect.groupchat.text.pad";
3001            type: RECT;
3002            scale: 1;
3003            description {
3004               state: "default" 0.0;
3005               min: 120 14;
3006               max: 120 14;
3007               align: 0.0 0.0;
3008                           visible: 0;
3009                           rel1 { relative: 0.0 1.0; to: "elm.rect.groupchat.pad"; }
3010            }
3011          }
3012          part { name: "elm.text.groupchat";
3013             type: TEXT;
3014             scale: 1;
3015             description { state: "default" 0.0;
3016                align: 0.0 0.0;
3017                fixed: 1 1;
3018                text {
3019                   font: "Tizen:style=Roman";
3020                   size: ENTRY_BUBBLE_GROUPCHAT_SIZE_INC;
3021                   min: 1 0;
3022                                   align: 0.0 0.5;
3023                   text_class: "tizen";
3024                }
3025                visible: 1;
3026                color: ENTRY_BUBBLE_GROUPCHAT_COLOR_INC;
3027                rel1 { relative: 1.0 0.0; to: "elm.rect.groupchat.pad"; }
3028                rel2.to_y: "elm.rect.groupchat.pad";
3029             }
3030          }
3031          part {
3032             name: "elm.image.bg";
3033             type: IMAGE;
3034             scale: 1;
3035             description {
3036                state: "default" 0.0;
3037                rel2.to_x: "elm.rect.right.pad";
3038                image {
3039                   normal: "00_MessageBubble_BG_receive.png";
3040                   border: ENTRY_BUBBLE_RECEV_BG_BORDER_INC;
3041                   border_scale: 1;
3042                }
3043             }
3044             description {
3045                state: "callerid_on" 0.0;
3046            inherit: "default" 0.0;
3047            rel1 { relative: 1.0 0.0; to_x: "elm.rect.bottomleft.pad"; }
3048             }
3049             description {
3050                state: "callerid_groupchat" 0.0;
3051            inherit: "default" 0.0;
3052            rel1 { relative: 1.0 1.0; to_x: "elm.rect.bottomleft.pad"; to_y:"elm.rect.groupchat.pad"; }
3053             }
3054             description {
3055                state: "groupchat_on" 0.0;
3056            inherit: "default" 0.0;
3057            rel1 { relative: 0.0 1.0; to_y:"elm.rect.groupchat.pad"; }
3058             }
3059          }
3060          // it's temporary blocked for prepare entry's signal feature
3061          /*
3062          part {
3063            name: "elm.text.subject";
3064            type: TEXTBLOCK;
3065            scale: 1;
3066            description {
3067               state: "default" 0.0;
3068               align: 0.0 0.0;
3069               text {
3070                  style: "entry_textblock_style";
3071                  min: 0 1;
3072               }
3073               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
3074               rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
3075            }
3076          }
3077          */
3078
3079          part {
3080            name: "elm.rect.subject.line";
3081            type: RECT;
3082            scale: 1;
3083            description {
3084               state: "default" 0.0;
3085               visible: 0;
3086               min: 0 1;
3087               align: 0.0 0.0;
3088               color: 0 0 0 255;
3089               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
3090               rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
3091            }
3092          }
3093          part {
3094             name: "elm.swallow.callerid";
3095             type: SWALLOW;
3096             scale: 1;
3097             description {
3098                state: "default" 0.0;
3099                min: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT;
3100                max: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT;
3101                fixed: 1 1;
3102                align: 0.0 0.0;
3103                visible: 0;
3104                rel1 { relative: ENTRY_BUBBLE_RECEV_CALLERID_REL_INC; to_x: "elm.rect.topleft.pad"; to_y: "elm.rect.topleft.pad"; }
3105                rel2 { relative: ENTRY_BUBBLE_RECEV_CALLERID_REL_INC; to_x: "elm.rect.topleft.pad"; to_y: "elm.rect.bottom.pad"; }
3106             }
3107             description { state: "callerid_on" 0.0;
3108                inherit: "default" 0.0;
3109                visible: 1;
3110             }
3111          }
3112          part {
3113             name: "elm.rect.callerid.pad";
3114             type: RECT;
3115             scale: 1;
3116             description {
3117                state: "default" 0.0;
3118                min: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
3119                max: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
3120                fixed: 1 1;
3121                align: 0.0 0.0;
3122                visible: 0;
3123                rel1 { relative: 1.0 1.0; to: "elm.swallow.callerid"; to_y: "elm.rect.top.pad"; }
3124                rel2 { relative: 1.0 0.0; to_y: "elm.rect.bottom.pad"; }
3125             }
3126          }
3127          part { name: "elm.text";
3128             type: TEXTBLOCK;
3129             mouse_events: 1;
3130             scale: 1;
3131             entry_mode: PLAIN;
3132             select_mode: BLOCK_HANDLE;
3133             //cursor_mode: BEFORE;
3134             multiline: 1;
3135             source: "elm/entry/selection/default"; // selection under
3136             //source2: "X"; // selection over
3137             //source3: "X"; // cursor under
3138             source5: "elm/entry/anchor/default"; // anchor under
3139                 /*
3140             source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
3141             source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
3142             source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
3143             source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
3144             source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
3145                 */
3146             description {
3147                state: "default" 0.0;
3148                fixed: 1 0;
3149                min: 200 0;
3150                align: 0.0 0.0;
3151                rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.subject.line"; }
3152                rel2 { relative: 1.0 1.0; to_y: "elm.rect.subject.line"; }
3153                text {
3154                   style: "entry_bubble_receive_textblock_style";
3155                   min: 0 1;
3156               max: 1 0;
3157                }
3158             }
3159                 /* callerid only */
3160             description { state: "callerid_on" 0.0;
3161                inherit: "default" 0.0;
3162                rel1 { relative: 1.0 1.0; to_x: ENTRY_BUBBLE_READ_TEXT_CALLID_REL1_X_INC; to_y: "elm.rect.subject.line"; }
3163                rel2 { relative: 1.0 1.0; to_y: "elm.rect.subject.line"; }
3164             }
3165                 /* callerid and groupchat */
3166             description { state: "callerid_groupchat" 0.0;
3167                inherit: "default" 0.0;
3168                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; }
3169                rel2 { relative: 1.0 1.0; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
3170             }
3171                 /* groupchat only */
3172             description { state: "groupchat_on" 0.0;
3173                inherit: "default" 0.0;
3174                rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
3175                rel2 { relative: 1.0 1.0; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
3176             }
3177             description { state: "disabled" 0.0;
3178                inherit: "default" 0.0;
3179                text {
3180                   style: "entry_textblock_disabled_style";
3181                }
3182             }
3183          }
3184          part {
3185             name: "elm.rect.status.pad";
3186             type: RECT;
3187             scale: 1;
3188             description {
3189                state: "default" 0.0;
3190                min: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC 64;
3191                max: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC 64;
3192                fixed: 1 1;
3193                align: 0.0 1.0;
3194                visible: 0;
3195                            color: 255 0 0 255;
3196                rel1 { relative: ENTRY_BUBBLE_READ_STATUS_TIME_PAD_REL_INC; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
3197                rel2 { relative: 1.0 1.0; to_y: "elm.rect.bottom.pad"; }
3198             }
3199          }
3200          part {
3201             name: "elm.rect.time.pad";
3202             type: RECT;
3203             scale: 1;
3204             description {
3205                state: "default" 0.0;
3206                min: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC GENLIST_PADDING_34_INC;
3207                max: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC GENLIST_PADDING_34_INC;
3208                fixed: 1 1;
3209                align: 0.0 0.0;
3210                visible: 0;
3211                            color: 0 255 0 255;
3212                rel1.to: "elm.rect.status.pad";
3213                rel2 { relative: 1.0 1.0; to_y: "elm.rect.bottom.pad"; }
3214             }
3215          }
3216          part { name: "elm.text.status";
3217             type: TEXT;
3218             scale: 1;
3219             description { state: "default" 0.0;
3220                align: 0.0 1.0;
3221                fixed: 1 1;
3222                text {
3223                   font: "Tizen:style=Roman";
3224                   size: ENTRY_BUBBLE_STATUS_TIME_SIZE_INC;
3225                   min: 1 0;
3226                   text_class: "tizen";
3227                }
3228                visible: 1;
3229                color: ENTRY_BUBBLE_READ_STATUS_TIME_COLOR_INC;
3230                rel1 { relative: ENTRY_BUBBLE_READ_STATUS_REL_INC; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
3231                rel2 { relative: ENTRY_BUBBLE_READ_STATUS_REL_INC; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
3232             }
3233             description { state: "disabled" 0.0;
3234                inherit: "default" 0.0;
3235                visible: 0;
3236             }
3237          }
3238          part { name: "elm.text.time";
3239             type: TEXT;
3240             scale: 1;
3241             description { state: "default" 0.0;
3242                align: 0.0 0.0;
3243                fixed: 1 1;
3244                text {
3245                   font: "Tizen:style=Roman";
3246                   size: ENTRY_BUBBLE_STATUS_TIME_SIZE_INC;
3247                   min: 1 0;
3248                   text_class: "tizen";
3249                }
3250                visible: 1;
3251                color: ENTRY_BUBBLE_READ_STATUS_TIME_COLOR_INC;
3252                rel1 { relative: ENTRY_BUBBLE_READ_TIME_REL_INC; to_x: "elm.rect.time.pad"; to_y: "elm.rect.time.pad"; }
3253                rel2 { relative: ENTRY_BUBBLE_READ_TIME_REL_INC; to_x: "elm.rect.time.pad"; to_y: "elm.rect.time.pad"; }
3254             }
3255             description { state: "disabled" 0.0;
3256                inherit: "default" 0.0;
3257                visible: 0;
3258             }
3259          }
3260          part {
3261             name: "elm.swallow.icon1";
3262             type: SWALLOW;
3263             scale: 1;
3264             description {
3265                state: "default" 0.0;
3266                min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
3267                max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
3268                fixed: 1 1;
3269                align: 0.0 1.0;
3270                visible: 0;
3271                rel1 { relative: 1.5 0.3; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
3272                rel2 { relative: 1.0 0.3; to_y: "elm.rect.bottom.pad"; }
3273             }
3274             description { state: "enabled" 0.0;
3275                inherit: "default" 0.0;
3276                visible: 1;
3277             }
3278          }
3279          part {
3280             name: "elm.rect.middle.pad";
3281             type: RECT;
3282             scale: 1;
3283             description {
3284                state: "default" 0.0;
3285                min: 0 0;
3286                max: 0 0;
3287                align: 0.0 0.0;
3288                color: 0 0 0 0;
3289                rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.text"; }
3290             }
3291             description {
3292                state: "show" 0.0;
3293                inherit: "default" 0.0;
3294                min: 0 ENTRY_BUBBLE_MIDDLE_PAD;
3295                max: 0 ENTRY_BUBBLE_MIDDLE_PAD;
3296             }
3297          }
3298          part {
3299            name: "elm.swallow.end";
3300            type: SWALLOW;
3301            scale: 1;
3302            description { state: "default" 0.0;
3303               align: 0.0 0.0;
3304               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.middle.pad"; }
3305               rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
3306            }
3307          }
3308       }
3309       programs {
3310          program { name: "focus";
3311             signal: "load";
3312             source: "";
3313             action: FOCUS_SET;
3314             target: "elm.text";
3315          }
3316          program { name: "disable";
3317             signal: "elm,state,disabled";
3318             source: "elm";
3319             action: STATE_SET "disabled" 0.0;
3320             target: "elm.text";
3321          }
3322          program { name: "enable";
3323             signal: "elm,state,enabled";
3324             source: "elm";
3325             action: STATE_SET "default" 0.0;
3326             target: "elm.text";
3327          }
3328          program { name: "go_callerid_on";
3329             signal: "elm,state,callerid,enabled";
3330             source: "elm";
3331          script {
3332             new st[31];
3333             new Float:vl;
3334             get_state(PART:"elm.text", st, 30, vl);
3335             if (!strcmp(st, "default")) {
3336               set_state(PART:"elm.image.bg", "callerid_on", 0.0);
3337               set_state(PART:"elm.text", "callerid_on", 0.0);
3338                         }
3339             else if (!strcmp(st, "groupchat_on")) {
3340               set_state(PART:"elm.image.bg", "callerid_groupchat", 0.0);
3341               set_state(PART:"elm.text", "callerid_groupchat", 0.0);
3342                         }
3343
3344             set_state(PART:"elm.swallow.callerid", "callerid_on", 0.0);
3345             set_state(PART:"elm.rect.left.pad", "callerid_on", 0.0);
3346             set_state(PART:"elm.rect.groupchat.pad", "callerid_on", 0.0);
3347          }
3348          }
3349          program { name: "go_callerid_off";
3350             signal: "elm,state,callerid,disabled";
3351             source: "elm";
3352          script {
3353             new st[31];
3354             new Float:vl;
3355             get_state(PART:"elm.text", st, 30, vl);
3356             if (!strcmp(st, "callerid_groupchat")) {
3357               set_state(PART:"elm.image.bg", "groupchat_on", 0.0);
3358               set_state(PART:"elm.text", "groupchat_on", 0.0);
3359                         }
3360             else {
3361               set_state(PART:"elm.image.bg", "default", 0.0);
3362               set_state(PART:"elm.text", "default", 0.0);
3363                         }
3364
3365             set_state(PART:"elm.swallow.callerid", "default", 0.0);
3366             set_state(PART:"elm.rect.groupchat.pad", "default", 0.0);
3367                  }
3368          }
3369 /* groupchat - since white-hd theme */
3370 #if ENTRY_BUBBLE_GROUPCHART_ENABLE_INC
3371          program { name: "go_groupchat_on";
3372             signal: "elm,state,groupchat,enabled";
3373             source: "elm";
3374          script {
3375             new st[31];
3376             new Float:vl;
3377             get_state(PART:"elm.text", st, 30, vl);
3378             if (!strcmp(st, "default")) {
3379               set_state(PART:"elm.image.bg", "groupchat_on", 0.0);
3380               set_state(PART:"elm.text", "groupchat_on", 0.0);
3381                         }
3382             else if (!strcmp(st, "callerid_on")) {
3383               set_state(PART:"elm.image.bg", "callerid_groupchat", 0.0);
3384               set_state(PART:"elm.text", "callerid_groupchat", 0.0);
3385                         }
3386          }
3387          }
3388 #endif
3389          program { name: "go_textstatus_on";
3390             signal: "elm,state,text,status,enabled";
3391             source: "elm";
3392             action: STATE_SET "default" 0.0;
3393             target: "elm.text.time";
3394             target: "elm.text.status";
3395             after: "go_contentstatus_off";
3396          }
3397          program { name: "go_textstatus_off";
3398             signal: "elm,state,text,status,disbled";
3399             source: "elm";
3400             action: STATE_SET "disabled" 0.0;
3401             target: "elm.text.time";
3402             target: "elm.text.status";
3403          }
3404          program { name: "go_contentstatus_on";
3405             signal: "elm,state,content,status,enabled";
3406             source: "elm";
3407             action: STATE_SET "enabled" 0.0;
3408             target: "elm.swallow.icon1";
3409             after: "go_textstatus_off";
3410          }
3411          program { name: "go_contentstatus_off";
3412             signal: "elm,state,content,status,disabled";
3413             source: "elm";
3414             action: STATE_SET "default" 0.0;
3415             target: "elm.swallow.icon1";
3416          }
3417          program { name: "show_middle_pad";
3418             signal: "elm,state,middle,pad,enabled";
3419             source: "elm";
3420             action: STATE_SET "show" 0.0;
3421             target: "elm.rect.middle.pad";
3422          }
3423          program { name: "hide_middle_pad";
3424             signal: "elm,state,middle,pad,disabled";
3425             source: "elm";
3426             action: STATE_SET "default" 0.0;
3427             target: "elm.rect.middle.pad";
3428          }
3429       }
3430    }
3431
3432    group { name: "elm/entry/base-noedit-charwrap/readmessage";
3433       data.item: "default_font_size" "24";
3434       data.item: "min_font_size" "8";
3435       data.item: "max_font_size" "60";
3436       data {
3437          item: context_menu_orientation "horizontal";
3438       }
3439       parts {
3440          part {
3441             name: "elm.rect.left.pad";
3442             type: RECT;
3443             scale: 1;
3444             description {
3445                state: "default" 0.0;
3446                min: ENTRY_BUBBLE_EX_PAD 0;
3447                fixed: 1 0;
3448                align: 0.0 0.0;
3449                color: 0 0 0 0;
3450                rel2.relative: 0.0 1.0;
3451             }
3452          }
3453          part {
3454             name: "elm.rect.right.pad";
3455             type: RECT;
3456             scale: 1;
3457             description {
3458                state: "default" 0.0;
3459                min: ENTRY_BUBBLE_IX_PAD 0;
3460                fixed: 1 0;
3461                align: 0.0 0.0;
3462                color: 0 0 0 0;
3463                rel1 { relative: 1.0 0.0; to_x: "elm.text"; }
3464                rel2.to_x: "elm.text";
3465             }
3466          }
3467          part {
3468            name: "elm.rect.top.pad";
3469            type: RECT;
3470            scale: 1;
3471            description {
3472               state: "default" 0.0;
3473               min: 0 ENTRY_BUBBLE_Y_PAD;
3474               fixed: 0 1;
3475               align: 0.0 0.0;
3476               color: 0 0 0 0;
3477               rel2.relative: 1.0 0.0;
3478            }
3479          }
3480          part {
3481            name: "elm.rect.bottom.pad";
3482            type: RECT;
3483            scale: 1;
3484            description {
3485               state: "default" 0.0;
3486               min: 0 ENTRY_BUBBLE_Y_PAD;
3487               fixed: 0 1;
3488               align: 0.0 1.0;
3489               color: 0 0 0 0;
3490               rel1.relative: 0.0 1.0;
3491            }
3492          }
3493          part {
3494             name: "elm.image.bg";
3495             type: IMAGE;
3496             scale: 1;
3497             description {
3498                state: "default" 0.0;
3499                rel2.to_x: "elm.rect.right.pad";
3500                image {
3501                   normal: "00_MessageBubble_BG_receive.png";
3502                   border: 1 20 13 20;
3503                   border_scale: 1;
3504                }
3505             }
3506          }
3507          part { name: "elm.text";
3508             type: TEXTBLOCK;
3509             mouse_events: 1;
3510             scale: 1;
3511             entry_mode: PLAIN;
3512             select_mode: BLOCK_HANDLE;
3513             //cursor_mode: BEFORE;
3514             multiline: 1;
3515             source: "elm/entry/selection/default"; // selection under
3516             //source2: "X"; // selection over
3517             //source3: "X"; // cursor under
3518             source5: "elm/entry/anchor/default"; // anchor under
3519                 /*
3520             source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
3521             source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
3522             source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
3523             source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
3524             source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
3525                 */
3526             description { state: "default" 0.0;
3527                fixed: 1 0;
3528                align: 0.0 0.0;
3529                rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
3530                rel2 { relative: 1.0 0.0; to_y: "elm.rect.bottom.pad"; }
3531                text {
3532                   style: "entry_textblock_char_wrap_style";
3533                   min: 0 1;
3534                   max: 1 0;
3535                }
3536             }
3537             description { state: "disabled" 0.0;
3538                inherit: "default" 0.0;
3539                text {
3540                   style: "entry_textblock_char_wrap_disabled_style";
3541                }
3542             }
3543          }
3544       }
3545       programs {
3546          program { name: "focus";
3547             signal: "load";
3548             source: "";
3549             action: FOCUS_SET;
3550             target: "elm.text";
3551          }
3552          program { name: "disable";
3553             signal: "elm,state,disabled";
3554             source: "elm";
3555             action: STATE_SET "disabled" 0.0;
3556             target: "elm.text";
3557          }
3558          program { name: "enable";
3559             signal: "elm,state,enabled";
3560             source: "elm";
3561             action: STATE_SET "default" 0.0;
3562             target: "elm.text";
3563          }
3564       }
3565    }
3566
3567    group { name: "elm/entry/base/sentmessage";
3568       data.item: "default_font_size" "24";
3569       data.item: "min_font_size" "8";
3570       data.item: "max_font_size" "60";
3571       data {
3572          item: context_menu_orientation "horizontal";
3573       }
3574       parts {
3575          part {
3576             name: "elm.rect.right.pad";
3577             type: RECT;
3578             scale: 1;
3579             description {
3580                state: "default" 0.0;
3581                min: ENTRY_BUBBLE_EX_PAD 0;
3582                fixed: 1 0;
3583                align: 1.0 0.0;
3584                color: 0 0 0 0;
3585                rel1.relative: 1.0 0.0;
3586             }
3587          }
3588          part {
3589             name: "elm.rect.left.pad";
3590             type: RECT;
3591             scale: 1;
3592             description {
3593                state: "default" 0.0;
3594                min: ENTRY_BUBBLE_IX_PAD 0;
3595                fixed: 1 0;
3596                align: 1.0 0.0;
3597                color: 0 0 0 0;
3598                rel1 { relative: 0.0 0.0; to: "elm.text"; }
3599                rel2 { relative: 0.0 1.0; to: "elm.text"; }
3600             }
3601          }
3602          part {
3603            name: "elm.rect.top.pad";
3604            type: RECT;
3605            scale: 1;
3606            description {
3607               state: "default" 0.0;
3608               min: 0 ENTRY_BUBBLE_Y_PAD;
3609               fixed: 0 1;
3610               align: 0.0 0.0;
3611               color: 0 0 0 0;
3612               rel2.relative: 1.0 0.0;
3613            }
3614          }
3615          part {
3616            name: "elm.rect.bottom.pad";
3617            type: RECT;
3618            scale: 1;
3619            description {
3620               state: "default" 0.0;
3621               min: 0 ENTRY_BUBBLE_Y_PAD;
3622               fixed: 0 1;
3623               align: 0.0 1.0;
3624               color: 0 0 0 0;
3625               rel1.relative: 0.0 1.0;
3626            }
3627          }
3628          part {
3629             name: "elm.image.bg";
3630             type: IMAGE;
3631             scale: 1;
3632             description {
3633                state: "default" 0.0;
3634                rel1.to_x: "elm.rect.left.pad";
3635                image {
3636                   normal: "00_MessageBubble_BG_send.png";
3637                   border: 20 1 13 20;
3638                   border_scale: 1;
3639                }
3640             }
3641          }
3642          part { name: "elm.text";
3643             type: TEXTBLOCK;
3644             mouse_events: 1;
3645             scale: 1;
3646             entry_mode: EDITABLE;
3647             select_mode: BLOCK_HANDLE;
3648             //cursor_mode: BEFORE;
3649             multiline: 1;
3650             source: "elm/entry/selection/default"; // selection under
3651             //source2: "X"; // selection over
3652             //source3: "X"; // cursor under
3653             source4: "elm/entry/cursor/default"; // cursorover
3654             source5: "elm/entry/anchor/default"; // anchor under
3655 //          source6: "X"; // anchor over
3656             /*
3657             source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
3658             source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
3659             source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
3660             source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
3661             source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
3662                 */
3663             description { state: "default" 0.0;
3664                fixed: 1 0;
3665                align: 1.0 0.0;
3666                rel1 { relative: 0.0 1.0; to_y: "elm.rect.top.pad";}
3667                rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
3668                text {
3669                   style: "entry_textblock_style";
3670                   min: 0 1;
3671                   max: 1 0;
3672                }
3673             }
3674             description { state: "disabled" 0.0;
3675                inherit: "default" 0.0;
3676                text {
3677                   style: "entry_textblock_disabled_style";
3678                }
3679             }
3680          }
3681       }
3682       programs {
3683          program { name: "focus";
3684             signal: "load";
3685             source: "";
3686             action: FOCUS_SET;
3687             target: "elm.text";
3688          }
3689          program { name: "disable";
3690             signal: "elm,state,disabled";
3691             source: "elm";
3692             action: STATE_SET "disabled" 0.0;
3693             target: "elm.text";
3694          }
3695          program { name: "enable";
3696             signal: "elm,state,enabled";
3697             source: "elm";
3698             action: STATE_SET "default" 0.0;
3699             target: "elm.text";
3700          }
3701       }
3702    }
3703
3704    group { name: "elm/entry/base-noedit/sentmessage";
3705       data.item: "default_font_size" "24";
3706       data.item: "min_font_size" "8";
3707       data.item: "max_font_size" "60";
3708       data {
3709          item: context_menu_orientation "horizontal";
3710       }
3711       parts {
3712          part {
3713            name: "elm.rect.right.pad";
3714                type: RECT;
3715                scale: 1;
3716                description {
3717                   state: "default" 0.0;
3718                   min: ENTRY_BUBBLE_EX_PAD 0;
3719               fixed: 1 0;
3720                   align: 1.0 0.0;
3721               color: 0 0 0 0;
3722               rel1.relative: 1.0 0.0;
3723                }
3724                description {
3725                state: "callerid_on" 0.0;
3726                inherit: "default" 0.0;
3727                    min: ENTRY_BUBBLE_EX_CALLERID_PAD 0;
3728                }
3729          }
3730          part {
3731             name: "elm.rect.left.pad";
3732             type: RECT;
3733             scale: 1;
3734             description {
3735                state: "default" 0.0;
3736                min: ENTRY_BUBBLE_IX_PAD 0;
3737                fixed: 1 0;
3738                align: 1.0 0.0;
3739                color: 0 0 0 0;
3740                rel1 { relative: 0.0 0.0; to: "elm.text"; }
3741                rel2 { relative: 0.0 1.0; to: "elm.text"; }
3742             }
3743          }
3744          part {
3745            name: "elm.rect.topright.pad";
3746            type: RECT;
3747            scale: 1;
3748            description {
3749               state: "default" 0.0;
3750               min: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
3751               max: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
3752               align: 1.0 0.0;
3753               visible: 0;
3754               rel1.relative: 1.0 0.0;
3755            }
3756          }
3757          part {
3758            name: "elm.rect.top.pad";
3759            type: RECT;
3760            scale: 1;
3761            description {
3762               state: "default" 0.0;
3763               min: 0 ENTRY_BUBBLE_Y_PAD;
3764               fixed: 0 1;
3765               align: 0.0 0.0;
3766               color: 0 0 0 0;
3767               rel2.relative: 1.0 0.0;
3768            }
3769          }
3770          part {
3771            name: "elm.rect.bottom.pad";
3772            type: RECT;
3773            scale: 1;
3774            description {
3775               state: "default" 0.0;
3776               min: 0 ENTRY_BUBBLE_BOTTOM_PAD;
3777               fixed: 0 1;
3778               align: 0.0 1.0;
3779               color: 0 0 0 0;
3780               rel1.relative: 0.0 1.0;
3781            }
3782          }
3783          part {
3784            name: "elm.rect.bottomright.pad";
3785            type: RECT;
3786            scale: 1;
3787            description {
3788               state: "default" 0.0;
3789               min: ENTRY_BUBBLE_BOTTOMRIGHT_PAD  2;
3790               max: ENTRY_BUBBLE_BOTTOMRIGHT_PAD 2;
3791               align: 1.0 1.0;
3792                           visible: 0;
3793            }
3794          }
3795          part {
3796            name: "elm.rect.groupchat.pad";
3797            type: RECT;
3798            scale: 1;
3799            description {
3800               state: "default" 0.0;
3801               min: ENTRY_BUBBLE_GROUPCHART_PAD;
3802               max: ENTRY_BUBBLE_GROUPCHART_PAD;
3803               align: 1.0 0.0;
3804                           visible: 0;
3805            }
3806            description {
3807               state: "callerid_on" 0.0;
3808               inherit: "default" 0.0;
3809               min: ENTRY_BUBBLE_GROUPCHART_WITH_CALLERID_PAD;
3810               max: ENTRY_BUBBLE_GROUPCHART_WITH_CALLERID_PAD;
3811            }
3812          }
3813          part {
3814            name: "elm.rect.groupchat.text.pad";
3815            type: RECT;
3816            scale: 1;
3817            description {
3818               state: "default" 0.0;
3819               min: 120 14;
3820               max: 120 14;
3821               align: 0.0 0.0;
3822                           visible: 0;
3823                           rel1 { relative: 0.0 1.0; to: "elm.rect.groupchat.pad"; }
3824            }
3825          }
3826          part { name: "elm.text.groupchat";
3827             type: TEXT;
3828             scale: 1;
3829             description { state: "default" 0.0;
3830                align: 1.0 1.0;
3831                fixed: 1 1;
3832                text {
3833                   font: "Tizen:style=Roman";
3834                   size: ENTRY_BUBBLE_GROUPCHAT_SIZE_INC;
3835                   min: 1 0;
3836                                   align: 1.0 0.5;
3837                   text_class: "tizen";
3838                }
3839                visible: 1;
3840                color: ENTRY_BUBBLE_GROUPCHAT_COLOR_INC;
3841                rel2 { relative: 0.0 1.0; to: "elm.rect.groupchat.pad"; }
3842             }
3843          }
3844          part {
3845             name: "elm.image.bg";
3846             type: IMAGE;
3847             scale: 1;
3848             description {
3849                state: "default" 0.0;
3850            rel1.to_x: "elm.rect.left.pad";
3851                image {
3852                       normal: "00_MessageBubble_BG_send.png";
3853                       border: ENTRY_BUBBLE_SENT_BG_BORDER_INC;
3854                       border_scale: 1;
3855                }
3856             }
3857             description {
3858                state: "callerid_on" 0.0;
3859            inherit: "default" 0.0;
3860            rel2 { relative: 0.0 1.0; to: "elm.rect.bottomright.pad"; }
3861             }
3862             description {
3863                state: "callerid_groupchat" 0.0;
3864            inherit: "default" 0.0;
3865                    rel1 { relative: 0.0 1.0; to_x:"elm.rect.left.pad"; to_y:"elm.rect.groupchat.pad"; }
3866            rel2 { relative: 0.0 1.0; to: "elm.rect.bottomright.pad"; }
3867             }
3868             description {
3869                state: "groupchat_on" 0.0;
3870            inherit: "default" 0.0;
3871                    rel1 { relative: 0.0 1.0; to_x:"elm.rect.left.pad"; to_y:"elm.rect.groupchat.pad"; }
3872             }
3873          }
3874          // it's temporary blocked for prepare entry's signal feature
3875          /*
3876          part {
3877            name: "elm.text.subject";
3878            type: TEXTBLOCK;
3879            scale: 1;
3880            description {
3881               state: "default" 0.0;
3882               align: 0.0 0.0;
3883               text {
3884                  style: "entry_textblock_style";
3885                  min: 0 1;
3886               }
3887               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
3888               rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
3889            }
3890          }
3891          */
3892
3893          part {
3894            name: "elm.rect.subject.line";
3895            type: RECT;
3896            scale: 1;
3897            description {
3898               state: "default" 0.0;
3899               visible: 0;
3900               min: 0 1;
3901               align: 0.0 0.0;
3902               color: 0 0 0 255;
3903               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
3904               rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
3905            }
3906          }
3907          part {
3908             name: "elm.swallow.callerid";
3909             type: SWALLOW;
3910             scale: 1;
3911             description {
3912                state: "default" 0.0;
3913                min: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT;
3914                max: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT;
3915                align: 1.0 0.0;
3916                visible: 0;
3917                rel1 { relative: ENTRY_BUBBLE_CALLERID_RELATIVE_INC; to_x: "elm.rect.topright.pad"; to_y: "elm.rect.topright.pad"; }
3918                rel2 { relative: ENTRY_BUBBLE_CALLERID_RELATIVE_INC; to_x: "elm.rect.topright.pad"; to_y: "elm.rect.bottom.pad"; }
3919             }
3920             description { state: "callerid_on" 0.0;
3921                inherit: "default" 0.0;
3922                visible: 1;
3923             }
3924          }
3925          part {
3926             name: "elm.rect.callerid.pad";
3927             type: RECT;
3928             scale: 1;
3929             description {
3930                state: "default" 0.0;
3931                min: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
3932                max: ENTRY_BUBBLE_CALLERID_PAD ENTRY_BUBBLE_CALLERID_PAD;
3933                align: 1.0 0.0;
3934                visible: 0;
3935                rel1 { relative: 0.0 1.0; to_x: "elm.swallow.callerid"; to_y: "elm.rect.topright.pad"; }
3936                rel2 { relative: 0.0 1.0; to_x: "elm.swallow.callerid"; to_y: "elm.rect.bottom.pad"; }
3937                 }
3938          }
3939          part { name: "elm.text";
3940             type: TEXTBLOCK;
3941             mouse_events: 1;
3942             scale: 1;
3943             entry_mode: PLAIN;
3944             select_mode: BLOCK_HANDLE;
3945             //cursor_mode: BEFORE;
3946             multiline: 1;
3947             source: "elm/entry/selection/default"; // selection under
3948             //source2: "X"; // selection over
3949             //source3: "X"; // cursor under
3950             source5: "elm/entry/anchor/default"; // anchor under
3951                 /*
3952             source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
3953             source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
3954             source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
3955             source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
3956             source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
3957                 */
3958             description {
3959            state: "default" 0.0;
3960            fixed: 1 0;
3961                    min: 200 0;
3962            align: 1.0 0.0;
3963            rel1 { relative: 0.0 1.0; to_y: "elm.rect.subject.line"; }
3964            rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.subject.line"; }
3965                text {
3966                       style: "entry_bubble_sent_textblock_style";
3967                       min: 0 1;
3968               max: 1 0;
3969                }
3970             }
3971                 /* callerid only */
3972             description { state: "callerid_on" 0.0;
3973                inherit: "default" 0.0;
3974                rel1 { relative: 0.0 1.0; to_y: "elm.rect.subject.line";}
3975                rel2 { relative: 0.0 1.0; to_x: ENTRY_BUBBLE_TEXT_CALLID_REL2_X_INC; to_y: "elm.rect.subject.line"; }
3976             }
3977                 /* callerid and groupchat */
3978             description { state: "callerid_groupchat" 0.0;
3979                inherit: "default" 0.0;
3980                rel1 { relative: 0.0 1.0; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
3981                rel2 { relative: 0.0 1.0; to_x: ENTRY_BUBBLE_TEXT_CALLID_REL2_X_INC; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
3982             }
3983                 /* groupchat only */
3984             description { state: "groupchat_on" 0.0;
3985                inherit: "default" 0.0;
3986                rel1 { relative: 0.0 1.0; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
3987                rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: ENTRY_BUBBLE_TEXT_CALLID_REL2_Y_INC; }
3988             }
3989             description { state: "disabled" 0.0;
3990                inherit: "default" 0.0;
3991                text {
3992                   style: "entry_textblock_disabled_style";
3993                }
3994             }
3995          }
3996          part {
3997             name: "elm.rect.status.pad";
3998             type: RECT;
3999             scale: 1;
4000             description {
4001                state: "default" 0.0;
4002                min: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC 64;
4003                fixed: 1 1;
4004                align: 1.0 1.0;
4005                visible: 0;
4006                            color: 255 0 0 255;
4007                rel1 { relative: ENTRY_BUBBLE_STATUS_TIME_PAD_REL_INC; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
4008                rel2 { relative: ENTRY_BUBBLE_STATUS_TIME_PAD_REL_INC; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
4009             }
4010          }
4011          part {
4012             name: "elm.rect.time.pad";
4013             type: RECT;
4014             scale: 1;
4015             description {
4016                state: "default" 0.0;
4017                min: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC GENLIST_PADDING_34_INC;
4018                max: ENTRY_BUBBLE_STATUS_TIME_PAD_MIN_H_INC GENLIST_PADDING_34_INC;
4019                fixed: 1 1;
4020                align: 0.0 0.0;
4021                visible: 0;
4022                            color: 0 255 0 255;
4023                rel1.to: "elm.rect.status.pad";
4024                rel2 { relative: 0.0 1.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.bottom.pad"; }
4025             }
4026          }
4027          part { name: "elm.text.status";
4028             type: TEXT;
4029             scale: 1;
4030             description { state: "default" 0.0;
4031                align: 1.0 1.0;
4032                fixed: 1 1;
4033                text {
4034                   font: "Tizen:style=Roman";
4035                   size: ENTRY_BUBBLE_STATUS_TIME_SIZE_INC;
4036                   min: 1 0;
4037                   text_class: "tizen";
4038                }
4039                visible: 1;
4040                color: ENTRY_BUBBLE_SENT_STATUS_TIME_COLOR_INC;
4041                rel1 { relative: 0.0 0.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
4042                rel2 { relative: 0.0 0.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.status.pad"; }
4043             }
4044             description { state: "disabled" 0.0;
4045                inherit: "default" 0.0;
4046                visible: 0;
4047             }
4048          }
4049          part { name: "elm.text.time";
4050             type: TEXT;
4051             scale: 1;
4052             description { state: "default" 0.0;
4053                align: 1.0 0.0;
4054                fixed: 1 1;
4055                text {
4056                   font: "Tizen:style=Roman";
4057                   size: ENTRY_BUBBLE_STATUS_TIME_SIZE_INC;
4058                   min: 1 0;
4059                   text_class: "tizen";
4060                }
4061                visible: 1;
4062                color: ENTRY_BUBBLE_SENT_STATUS_TIME_COLOR_INC;
4063                rel1 { relative: 0.0 1.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.time.pad"; }
4064                rel2 { relative: 0.0 1.0; to_x: "elm.rect.status.pad"; to_y: "elm.rect.time.pad"; }
4065             }
4066             description { state: "disabled" 0.0;
4067                inherit: "default" 0.0;
4068                visible: 0;
4069             }
4070          }
4071          part {
4072             name: "elm.swallow.icon1";
4073             type: SWALLOW;
4074             scale: 1;
4075             description {
4076                state: "default" 0.0;
4077                min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
4078                max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
4079                fixed: 1 1;
4080                align: 1.0 1.0;
4081                visible: 0;
4082                rel1 { relative: -0.8 0.3; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
4083                rel2 { relative: -0.8 0.3; to_x: "elm.rect.left.pad"; to_y: "elm.rect.bottom.pad"; }
4084             }
4085             description { state: "enabled" 0.0;
4086                inherit: "default" 0.0;
4087                visible: 1;
4088             }
4089          }
4090          part {
4091             name: "elm.rect.middle.pad";
4092             type: RECT;
4093             scale: 1;
4094             description {
4095                state: "default" 0.0;
4096                min: 0 0;
4097                max: 0 0;
4098                align: 0.0 0.0;
4099                color: 0 0 0 0;
4100                rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.text"; }
4101             }
4102             description {
4103                state: "show" 0.0;
4104                inherit: "default" 0.0;
4105                min: 0 ENTRY_BUBBLE_MIDDLE_PAD;
4106                max: 0 ENTRY_BUBBLE_MIDDLE_PAD;
4107             }
4108          }
4109          part {
4110            name: "elm.swallow.end";
4111            type: SWALLOW;
4112            scale: 1;
4113            description {
4114               state: "default" 0.0;
4115               align: 0.0 0.0;
4116               rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.middle.pad"; }
4117               rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
4118            }
4119          }
4120       }
4121       programs {
4122          program { name: "focus";
4123             signal: "load";
4124             source: "";
4125             action: FOCUS_SET;
4126             target: "elm.text";
4127          }
4128          program { name: "disable";
4129             signal: "elm,state,disabled";
4130             source: "elm";
4131             action: STATE_SET "disabled" 0.0;
4132             target: "elm.text";
4133          }
4134          program { name: "enable";
4135             signal: "elm,state,enabled";
4136             source: "elm";
4137             action: STATE_SET "default" 0.0;
4138             target: "elm.text";
4139          }
4140          program { name: "go_callerid_on";
4141             signal: "elm,state,callerid,enabled";
4142             source: "elm";
4143          script {
4144             new st[31];
4145             new Float:vl;
4146             get_state(PART:"elm.text", st, 30, vl);
4147             if (!strcmp(st, "default")) {
4148               set_state(PART:"elm.image.bg", "callerid_on", 0.0);
4149               set_state(PART:"elm.text", "callerid_on", 0.0);
4150                         }
4151             else if (!strcmp(st, "groupchat_on")) {
4152               set_state(PART:"elm.image.bg", "callerid_groupchat", 0.0);
4153               set_state(PART:"elm.text", "callerid_groupchat", 0.0);
4154                         }
4155
4156             set_state(PART:"elm.swallow.callerid", "callerid_on", 0.0);
4157             set_state(PART:"elm.rect.right.pad", "callerid_on", 0.0);
4158             set_state(PART:"elm.rect.groupchat.pad", "callerid_on", 0.0);
4159          }
4160          }
4161          program { name: "go_callerid_off";
4162             signal: "elm,state,callerid,disabled";
4163             source: "elm";
4164          script {
4165             new st[31];
4166             new Float:vl;
4167             get_state(PART:"elm.text", st, 30, vl);
4168             if (!strcmp(st, "callerid_groupchat")) {
4169               set_state(PART:"elm.image.bg", "groupchat_on", 0.0);
4170               set_state(PART:"elm.text", "groupchat_on", 0.0);
4171                         }
4172             else {
4173               set_state(PART:"elm.image.bg", "default", 0.0);
4174               set_state(PART:"elm.text", "default", 0.0);
4175                         }
4176
4177             set_state(PART:"elm.swallow.callerid", "default", 0.0);
4178             set_state(PART:"elm.rect.groupchat.pad", "default", 0.0);
4179                  }
4180          }
4181 /* groupchat - since white-hd theme */
4182 #if ENTRY_BUBBLE_GROUPCHART_ENABLE_INC
4183          program { name: "go_groupchat_on";
4184             signal: "elm,state,groupchat,enabled";
4185             source: "elm";
4186          script {
4187             new st[31];
4188             new Float:vl;
4189             get_state(PART:"elm.text", st, 30, vl);
4190             if (!strcmp(st, "default")) {
4191               set_state(PART:"elm.image.bg", "groupchat_on", 0.0);
4192               set_state(PART:"elm.text", "groupchat_on", 0.0);
4193                         }
4194             else if (!strcmp(st, "callerid_on")) {
4195               set_state(PART:"elm.image.bg", "callerid_groupchat", 0.0);
4196               set_state(PART:"elm.text", "callerid_groupchat", 0.0);
4197                         }
4198          }
4199          }
4200 #endif
4201          program { name: "go_groupchat_off";
4202             signal: "elm,state,groupchat,disabled";
4203             source: "elm";
4204          script {
4205             new st[31];
4206             new Float:vl;
4207             get_state(PART:"elm.text", st, 30, vl);
4208             if (!strcmp(st, "callerid_groupchat")) {
4209               set_state(PART:"elm.image.bg", "callerid_on", 0.0);
4210               set_state(PART:"elm.text", "callerid_on", 0.0);
4211                         }
4212             else {
4213               set_state(PART:"elm.image.bg", "default", 0.0);
4214               set_state(PART:"elm.text", "default", 0.0);
4215                         }
4216                  }
4217          }
4218          program { name: "go_textstatus_on";
4219             signal: "elm,state,text,status,enabled";
4220             source: "elm";
4221             action: STATE_SET "default" 0.0;
4222             target: "elm.text.time";
4223             target: "elm.text.status";
4224             after: "go_contentstatus_off";
4225          }
4226          program { name: "go_textstatus_off";
4227             signal: "elm,state,text,status,disbled";
4228             source: "elm";
4229             action: STATE_SET "disabled" 0.0;
4230             target: "elm.text.time";
4231             target: "elm.text.status";
4232          }
4233          program { name: "go_contentstatus_on";
4234             signal: "elm,state,content,status,enabled";
4235             source: "elm";
4236             action: STATE_SET "enabled" 0.0;
4237             target: "elm.swallow.icon1";
4238             after: "go_textstatus_off";
4239          }
4240          program { name: "go_contentstatus_off";
4241             signal: "elm,state,content,status,disabled";
4242             source: "elm";
4243             action: STATE_SET "default" 0.0;
4244             target: "elm.swallow.icon1";
4245          }
4246          program { name: "show_middle_pad";
4247             signal: "elm,state,middle,pad,enabled";
4248             source: "elm";
4249             action: STATE_SET "show" 0.0;
4250             target: "elm.rect.middle.pad";
4251          }
4252          program { name: "hide_middle_pad";
4253             signal: "elm,state,middle,pad,disabled";
4254             source: "elm";
4255             action: STATE_SET "default" 0.0;
4256             target: "elm.rect.middle.pad";
4257          }
4258       }
4259    }
4260
4261    group { name: "elm/entry/base-noedit-charwrap/sentmessage";
4262       data.item: "default_font_size" "24";
4263       data.item: "min_font_size" "8";
4264       data.item: "max_font_size" "60";
4265       data {
4266          item: context_menu_orientation "horizontal";
4267       }
4268       parts {
4269          part {
4270             name: "elm.rect.right.pad";
4271             type: RECT;
4272             scale: 1;
4273             description {
4274                state: "default" 0.0;
4275                min: ENTRY_BUBBLE_EX_PAD 0;
4276                fixed: 1 0;
4277                align: 1.0 0.0;
4278                color: 0 0 0 0;
4279                rel1.relative: 1.0 0.0;
4280             }
4281          }
4282          part {
4283             name: "elm.rect.left.pad";
4284             type: RECT;
4285             scale: 1;
4286             description {
4287                state: "default" 0.0;
4288                min: ENTRY_BUBBLE_IX_PAD 0;
4289                fixed: 1 0;
4290                align: 1.0 0.0;
4291                color: 0 0 0 0;
4292                rel1 { relative: 0.0 0.0; to: "elm.text"; }
4293                rel2 { relative: 0.0 1.0; to: "elm.text"; }
4294             }
4295          }
4296          part {
4297            name: "elm.rect.top.pad";
4298            type: RECT;
4299            scale: 1;
4300            description {
4301               state: "default" 0.0;
4302               min: 0 ENTRY_BUBBLE_Y_PAD;
4303               fixed: 0 1;
4304               align: 0.0 0.0;
4305               color: 0 0 0 0;
4306               rel2.relative: 1.0 0.0;
4307            }
4308          }
4309          part {
4310            name: "elm.rect.bottom.pad";
4311            type: RECT;
4312            scale: 1;
4313            description {
4314               state: "default" 0.0;
4315               min: 0 ENTRY_BUBBLE_Y_PAD;
4316               fixed: 0 1;
4317               align: 0.0 1.0;
4318               color: 0 0 0 0;
4319               rel1.relative: 0.0 1.0;
4320            }
4321          }
4322          part {
4323             name: "elm.image.bg";
4324             type: IMAGE;
4325             scale: 1;
4326             description {
4327                state: "default" 0.0;
4328                rel1.to_x: "elm.rect.left.pad";
4329                image {
4330                   normal: "00_MessageBubble_BG_send.png";
4331                   border: 20 1 13 20;
4332                   border_scale: 1;
4333                }
4334             }
4335          }
4336          part { name: "elm.text";
4337             type: TEXTBLOCK;
4338             mouse_events: 1;
4339             scale: 1;
4340             entry_mode: PLAIN;
4341             select_mode: BLOCK_HANDLE;
4342             //cursor_mode: BEFORE;
4343             multiline: 1;
4344             source: "elm/entry/selection/default"; // selection under
4345             //source2: "X"; // selection over
4346             //source3: "X"; // cursor under
4347             source5: "elm/entry/anchor/default"; // anchor under
4348                 /*
4349             source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
4350             source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
4351             source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
4352             source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
4353             source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
4354                 */
4355             description { state: "default" 0.0;
4356                fixed: 1 0;
4357                align: 1.0 0.0;
4358                rel1 { relative: 0.0 1.0; to_y: "elm.rect.top.pad";}
4359                rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
4360                text {
4361                   style: "entry_textblock_char_wrap_style";
4362                   min: 0 1;
4363                   max: 1 0;
4364                }
4365             }
4366             description { state: "disabled" 0.0;
4367                inherit: "default" 0.0;
4368                text {
4369                   style: "entry_textblock_char_wrap_disabled_style";
4370                }
4371             }
4372          }
4373       }
4374       programs {
4375          program { name: "focus";
4376             signal: "load";
4377             source: "";
4378             action: FOCUS_SET;
4379             target: "elm.text";
4380          }
4381          program { name: "disable";
4382             signal: "elm,state,disabled";
4383             source: "elm";
4384             action: STATE_SET "disabled" 0.0;
4385             target: "elm.text";
4386          }
4387          program { name: "enable";
4388             signal: "elm,state,enabled";
4389             source: "elm";
4390             action: STATE_SET "default" 0.0;
4391             target: "elm.text";
4392          }
4393       }
4394    }
4395
4396 group { name: "elm/entry/base/font_color_black";
4397    alias: "elm/entry/base-mixedwrap/font_color_black";
4398    alias: "elm/entry/base/font_color_black/default";
4399    alias: "elm/entry/base/font_color_black/lighting";
4400    alias: "elm/entry/base/font_color_black/multiline";
4401    alias: "elm/entry/base/font_color_black/multiline/default";
4402    alias: "elm/entry/base/font_color_black/multiline/lighting";
4403    alias: "elm/entry/base/editfield/font_color_black";
4404
4405    data.item: "default_font_size" "24";
4406    data.item: "min_font_size" "8";
4407    data.item: "max_font_size" "60";
4408
4409    styles {
4410       style { name: "font_color_black_textblock_style";
4411          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=mixed left_margin=1 right_margin=2 text_class=entry";
4412          tag:  "br" "\n";
4413          tag:  "ps" "ps";
4414          tag:  "tab" "\t";
4415          tag:  "em" "+ font=Tizen:style=Oblique";
4416          tag:  "b" "+ font=Tizen:style=Bold";
4417          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
4418          tag:  "hilight" "+ font=Tizen:style=Bold";
4419          tag:  "preedit" "+ underline=on underline_color=#000000FF";
4420          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
4421          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
4422          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
4423          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
4424          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
4425       }
4426       style { name: "font_color_black_textblock_disabled_style";
4427          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=mixed left_margin=1 right_margin=2 text_class=entry";
4428          tag:  "br" "\n";
4429          tag:  "ps" "ps";
4430          tag:  "tab" "\t";
4431          tag:  "em" "+ font=Tizen:style=Oblique";
4432          tag:  "b" "+ font=Tizen:style=Bold";
4433          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
4434          tag:  "hilight" "+ font=Tizen:style=Bold";
4435          tag:  "preedit" "+ underline=on underline_color=#000000FF";
4436          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
4437          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
4438          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
4439          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
4440          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
4441       }
4442       style { name: "font_color_black_textblock_guide_style";
4443          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#90A9C7 wrap=mixed left_margin=1 right_margin=2 text_class=entry";
4444          tag:  "br" "\n";
4445          tag:  "ps" "ps";
4446          tag:  "tab" "\t";
4447          tag:  "em" "+ font=Tizen:style=Oblique";
4448          tag:  "b" "+ font=Tizen:style=Bold";
4449          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
4450          tag:  "hilight" "+ font=Tizen:style=Bold";
4451       }
4452    }
4453    data {
4454       item: context_menu_orientation "horizontal";
4455    }
4456    parts {
4457       part { name: "elm.guide";
4458          type: TEXTBLOCK;
4459          mouse_events: 0;
4460          scale: 1;
4461          description { state: "default" 0.0;
4462             rel1.to: "elm.text";
4463             rel2.to: "elm.text";
4464             text {
4465                style: "font_color_black_textblock_guide_style";
4466                min: 0 1;
4467                align: 0.0 0.0;
4468             }
4469          }
4470          description { state: "hidden" 0.0;
4471             inherit: "default" 0.0;
4472             visible: 0;
4473          }
4474       }
4475       part { name: "elm.text";
4476          type: TEXTBLOCK;
4477          mouse_events: 1;
4478          scale: 1;
4479          entry_mode: EDITABLE;
4480          select_mode: BLOCK_HANDLE;
4481          //cursor_mode: BEFORE;
4482          multiline: 1;
4483          source: "elm/entry/selection/default"; // selection under
4484          //source2: "X"; // selection over
4485          //source3: "X"; // cursor under
4486          source4: "elm/entry/cursor/default"; // cursorover
4487          source5: "elm/entry/anchor/default"; // anchor under
4488          //source6: "X"; // anchor over
4489                  /*
4490          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
4491          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
4492          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
4493          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
4494          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
4495                  */
4496          description { state: "default" 0.0;
4497             fixed: 1 0;
4498             text {
4499                style: "font_color_black_textblock_style";
4500                min: 0 1;
4501             }
4502          }
4503          description { state: "disabled" 0.0;
4504             inherit: "default" 0.0;
4505             text {
4506                style: "font_color_black_textblock_disabled_style";
4507                min: 0 1;
4508             }
4509          }
4510       }
4511    }
4512    programs {
4513       program { name: "focus";
4514          signal: "load";
4515          source: "";
4516          action: FOCUS_SET;
4517          target: "elm.text";
4518       }
4519       program { name: "disable";
4520          signal: "elm,state,disabled";
4521          source: "elm";
4522          action: STATE_SET "disabled" 0.0;
4523          target: "elm.text";
4524       }
4525       program { name: "enable";
4526          signal: "elm,state,enabled";
4527          source: "elm";
4528          action: STATE_SET "default" 0.0;
4529          target: "elm.text";
4530       }
4531       program { name: "gdisable";
4532          signal: "elm,guide,disabled";
4533          source: "elm";
4534          action: STATE_SET "hidden" 0.0;
4535          target: "elm.guide";
4536       }
4537       program { name: "genable";
4538          signal: "elm,guide,enabled";
4539          source: "elm";
4540          action: STATE_SET "default" 0.0;
4541          target: "elm.guide";
4542       }
4543    }
4544 }
4545
4546 group { name: "elm/entry/base-noedit/font_color_black";
4547    data.item: "default_font_size" "24";
4548    data.item: "min_font_size" "8";
4549    data.item: "max_font_size" "60";
4550    data {
4551       item: context_menu_orientation "horizontal";
4552    }
4553    parts {
4554       part { name: "elm.guide";
4555          type: TEXTBLOCK;
4556          mouse_events: 0;
4557          scale: 1;
4558          description { state: "default" 0.0;
4559             rel1.to: "elm.text";
4560             rel2.to: "elm.text";
4561             text {
4562                style: "font_color_black_textblock_guide_style";
4563                min: 0 1;
4564                align: 0.0 0.0;
4565             }
4566          }
4567          description { state: "hidden" 0.0;
4568             inherit: "default" 0.0;
4569             visible: 0;
4570          }
4571       }
4572       part { name: "elm.text";
4573          type: TEXTBLOCK;
4574          mouse_events: 1;
4575          scale: 1;
4576          entry_mode: PLAIN;
4577          select_mode: BLOCK_HANDLE;
4578          //cursor_mode: BEFORE;
4579          multiline: 1;
4580          source: "elm/entry/selection/default"; // selection under
4581          //source2: "X"; // selection over
4582          //source3: "X"; // cursor under
4583          source4: "elm/entry/cursor/default"; // cursorover
4584          source5: "elm/entry/anchor/default"; // anchor under
4585          //source6: "X"; // anchor over
4586                  /*
4587          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
4588          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
4589          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
4590          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
4591          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
4592                  */
4593          description { state: "default" 0.0;
4594             fixed: 1 0;
4595             text {
4596                style: "font_color_black_textblock_style";
4597                min: 0 1;
4598             }
4599          }
4600          description { state: "disabled" 0.0;
4601             inherit: "default" 0.0;
4602             text {
4603                style: "font_color_black_textblock_disabled_style";
4604                min: 0 1;
4605             }
4606          }
4607       }
4608    }
4609    programs {
4610       program { name: "focus";
4611          signal: "load";
4612          source: "";
4613          action: FOCUS_SET;
4614          target: "elm.text";
4615       }
4616       program { name: "disable";
4617          signal: "elm,state,disabled";
4618          source: "elm";
4619          action: STATE_SET "disabled" 0.0;
4620          target: "elm.text";
4621       }
4622       program { name: "enable";
4623          signal: "elm,state,enabled";
4624          source: "elm";
4625          action: STATE_SET "default" 0.0;
4626          target: "elm.text";
4627       }
4628       program { name: "gdisable";
4629          signal: "elm,guide,disabled";
4630          source: "elm";
4631          action: STATE_SET "hidden" 0.0;
4632          target: "elm.guide";
4633       }
4634       program { name: "genable";
4635          signal: "elm,guide,enabled";
4636          source: "elm";
4637          action: STATE_SET "default" 0.0;
4638          target: "elm.guide";
4639       }
4640    }
4641 }
4642
4643 group { name: "elm/entry/base-charwrap/font_color_black";
4644    alias: "elm/entry/base/font_color_black/char_wrap";
4645    alias: "elm/entry/base/font_color_black/default/char_wrap";
4646    alias: "elm/entry/base/font_color_black/lighting/char_wrap";
4647    alias: "elm/entry/base/font_color_black/multiline/char_wrap";
4648    alias: "elm/entry/base/font_color_black/multiline/default/char_wrap";
4649    alias: "elm/entry/base/font_color_black/multiline/lighting/char_wrap";
4650    alias: "elm/entry/base-charwrap/editfield/font_color_black";
4651
4652    data.item: "default_font_size" "24";
4653    data.item: "min_font_size" "8";
4654    data.item: "max_font_size" "60";
4655
4656    styles {
4657       style { name: "font_color_black_textblock_char_wrap_style";
4658          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=char left_margin=1 right_margin=2 text_class=entry";
4659          tag:  "br" "\n";
4660          tag:  "ps" "ps";
4661          tag:  "tab" "\t";
4662          tag:  "em" "+ font=Tizen:style=Oblique";
4663          tag:  "b" "+ font=Tizen:style=Bold";
4664          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
4665          tag:  "hilight" "+ font=Tizen:style=Bold";
4666          tag:  "preedit" "+ underline=on underline_color=#000000FF";
4667          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
4668          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
4669          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
4670          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
4671          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
4672       }
4673       style { name: "font_color_black_textblock_char_wrap_disabled_style";
4674          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=char left_margin=1 right_margin=2 text_class=entry";
4675          tag:  "br" "\n";
4676          tag:  "ps" "ps";
4677          tag:  "tab" "\t";
4678          tag:  "em" "+ font=Tizen:style=Oblique";
4679          tag:  "b" "+ font=Tizen:style=Bold";
4680          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
4681          tag:  "hilight" "+ font=Tizen:style=Bold";
4682          tag:  "preedit" "+ underline=on underline_color=#000000FF";
4683          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
4684          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
4685          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
4686          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
4687          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
4688       }
4689       style { name: "font_color_black_textblock_char_wrap_guide_style";
4690          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#90A9C7 wrap=char left_margin=1 right_margin=2 text_class=entry";
4691          tag:  "br" "\n";
4692          tag:  "ps" "ps";
4693          tag:  "tab" "\t";
4694          tag:  "em" "+ font=Tizen:style=Oblique";
4695          tag:  "b" "+ font=Tizen:style=Bold";
4696          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
4697          tag:  "hilight" "+ font=Tizen:style=Bold";
4698       }
4699    }
4700    data {
4701       item: context_menu_orientation "horizontal";
4702    }
4703    parts {
4704       part { name: "elm.guide";
4705          type: TEXTBLOCK;
4706          mouse_events: 0;
4707          scale: 1;
4708          description { state: "default" 0.0;
4709             rel1.to: "elm.text";
4710             rel2.to: "elm.text";
4711             text {
4712                style: "font_color_black_textblock_char_wrap_guide_style";
4713                min: 0 1;
4714                align: 0.0 0.0;
4715             }
4716          }
4717          description { state: "hidden" 0.0;
4718             inherit: "default" 0.0;
4719             visible: 0;
4720          }
4721       }
4722       part { name: "elm.text";
4723          type: TEXTBLOCK;
4724          mouse_events: 1;
4725          scale: 1;
4726          entry_mode: EDITABLE;
4727          select_mode: BLOCK_HANDLE;
4728          //cursor_mode: BEFORE;
4729          multiline: 1;
4730          source: "elm/entry/selection/default"; // selection under
4731          //source2: "X"; // selection over
4732          //source3: "X"; // cursor under
4733          source4: "elm/entry/cursor/default"; // cursorover
4734          source5: "elm/entry/anchor/default"; // anchor under
4735          //source6: "X"; // anchor over
4736                  /*
4737          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
4738          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
4739          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
4740          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
4741          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
4742                  */
4743          description { state: "default" 0.0;
4744             fixed: 1 0;
4745             text {
4746                style: "font_color_black_textblock_char_wrap_style";
4747                min: 0 1;
4748             }
4749          }
4750          description { state: "disabled" 0.0;
4751             inherit: "default" 0.0;
4752             text {
4753                style: "font_color_black_textblock_char_wrap_disabled_style";
4754                min: 0 1;
4755             }
4756          }
4757       }
4758    }
4759    programs {
4760       program { name: "focus";
4761          signal: "load";
4762          source: "";
4763          action: FOCUS_SET;
4764          target: "elm.text";
4765       }
4766       program { name: "disable";
4767          signal: "elm,state,disabled";
4768          source: "elm";
4769          action: STATE_SET "disabled" 0.0;
4770          target: "elm.text";
4771       }
4772       program { name: "enable";
4773          signal: "elm,state,enabled";
4774          source: "elm";
4775          action: STATE_SET "default" 0.0;
4776          target: "elm.text";
4777       }
4778       program { name: "gdisable";
4779          signal: "elm,guide,disabled";
4780          source: "elm";
4781          action: STATE_SET "hidden" 0.0;
4782          target: "elm.guide";
4783       }
4784       program { name: "genable";
4785          signal: "elm,guide,enabled";
4786          source: "elm";
4787          action: STATE_SET "default" 0.0;
4788          target: "elm.guide";
4789       }
4790    }
4791 }
4792
4793 group { name: "elm/entry/base-single/font_color_black";
4794    alias: "elm/entry/base-single/font_color_black/default";
4795    alias: "elm/entry/base-single/font_color_black/lighting";
4796    alias: "elm/entry/base-single/font_color_black/singleline";
4797    alias: "elm/entry/base-single/font_color_black/singleline/default";
4798    alias: "elm/entry/base-single/font_color_black/singleline/lighting";
4799    alias: "elm/entry/base-single/editfield/font_color_black";
4800    alias: "elm/entry/base-single/editfield/searchbar/font_color_black";
4801
4802    data.item: "default_font_size" "24";
4803    data.item: "min_font_size" "8";
4804    data.item: "max_font_size" "60";
4805
4806    styles {
4807       style { name: "font_color_black_single_textblock_style";
4808          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=none left_margin=1 right_margin=3 text_class=entry";
4809          tag:  "br" "\n";
4810          tag:  "ps" "ps";
4811          tag:  "tab" "\t";
4812          tag:  "em" "+ font=Tizen:style=Oblique";
4813          tag:  "b" "+ font=Tizen:style=Bold";
4814          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
4815          tag:  "hilight" "+ font=Tizen:style=Bold";
4816          tag:  "preedit" "+ underline=on underline_color=#000000FF";
4817          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
4818          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
4819          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
4820          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
4821          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
4822       }
4823       style { name: "font_color_black_single_textblock_disabled_style";
4824          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=none left_margin=1 right_margin=3 text_class=entry";
4825          tag:  "br" "\n";
4826          tag:  "ps" "ps";
4827          tag:  "tab" "\t";
4828          tag:  "em" "+ font=Tizen:style=Oblique";
4829          tag:  "b" "+ font=Tizen:style=Bold";
4830          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
4831          tag:  "hilight" "+ font=Tizen:style=Bold";
4832          tag:  "preedit" "+ underline=on underline_color=#000000FF";
4833          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
4834          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
4835          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
4836          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
4837          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
4838       }
4839       style { name: "font_color_black_single_textblock_guide_style";
4840          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#90A9C7 wrap=none left_margin=1 right_margin=3 text_class=entry";
4841          tag:  "br" "\n";
4842          tag:  "ps" "ps";
4843          tag:  "tab" "\t";
4844          tag:  "em" "+ font=Tizen:style=Oblique";
4845          tag:  "b" "+ font=Tizen:style=Bold";
4846          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
4847          tag:  "hilight" "+ font=Tizen:style=Bold";
4848       }
4849    }
4850    data {
4851       item: context_menu_orientation "horizontal";
4852    }
4853    parts {
4854       part { name: "elm.guide";
4855          type: TEXTBLOCK;
4856          mouse_events: 0;
4857          scale: 1;
4858          description { state: "default" 0.0;
4859             rel1.to: "elm.text";
4860             rel2.to: "elm.text";
4861             text {
4862                style: "font_color_black_single_textblock_guide_style";
4863                min: 1 1;
4864                max: 0 1;
4865             }
4866          }
4867          description { state: "hidden" 0.0;
4868             inherit: "default" 0.0;
4869             visible: 0;
4870          }
4871       }
4872       part { name: "elm.text";
4873          type: TEXTBLOCK;
4874          mouse_events: 1;
4875          scale: 1;
4876          entry_mode: EDITABLE;
4877          select_mode: BLOCK_HANDLE;
4878          //cursor_mode: BEFORE;
4879          multiline: 0;
4880          source: "elm/entry/selection/default"; // selection under
4881          //source2: "X"; // selection over
4882          //source3: "X"; // cursor under
4883          source4: "elm/entry/cursor/default"; // cursorover
4884          source5: "elm/entry/anchor/default"; // anchor under
4885                  /*
4886          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
4887          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
4888          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
4889          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
4890          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
4891                  */
4892          description { state: "default" 0.0;
4893             text {
4894                style: "font_color_black_single_textblock_style";
4895                min: 1 1;
4896                max: 0 1;
4897             }
4898          }
4899          description { state: "disabled" 0.0;
4900             inherit: "default" 0.0;
4901             text {
4902                style: "font_color_black_single_textblock_disabled_style";
4903             }
4904          }
4905       }
4906    }
4907    programs {
4908       program { name: "focus";
4909          signal: "load";
4910          source: "";
4911          action: FOCUS_SET;
4912          target: "elm.text";
4913       }
4914       program { name: "disable";
4915          signal: "elm,state,disabled";
4916          source: "elm";
4917          action: STATE_SET "disabled" 0.0;
4918          target: "elm.text";
4919       }
4920       program { name: "enable";
4921          signal: "elm,state,enabled";
4922          source: "elm";
4923          action: STATE_SET "default" 0.0;
4924          target: "elm.text";
4925       }
4926       program { name: "gdisable";
4927          signal: "elm,guide,disabled";
4928          source: "elm";
4929          action: STATE_SET "hidden" 0.0;
4930          target: "elm.guide";
4931       }
4932       program { name: "genable";
4933          signal: "elm,guide,enabled";
4934          source: "elm";
4935          action: STATE_SET "default" 0.0;
4936          target: "elm.guide";
4937       }
4938    }
4939 }
4940
4941 group { name: "elm/entry/base-single-noedit/font_color_black";
4942    data.item: "default_font_size" "24";
4943    data.item: "min_font_size" "8";
4944    data.item: "max_font_size" "60";
4945    data {
4946       item: context_menu_orientation "horizontal";
4947    }
4948    parts {
4949       part { name: "elm.guide";
4950          type: TEXTBLOCK;
4951          mouse_events: 0;
4952          scale: 1;
4953          description { state: "default" 0.0;
4954             rel1.to: "elm.text";
4955             rel2.to: "elm.text";
4956             text {
4957                style: "font_color_black_single_textblock_guide_style";
4958                min: 1 1;
4959                max: 0 1;
4960             }
4961          }
4962          description { state: "hidden" 0.0;
4963             inherit: "default" 0.0;
4964             visible: 0;
4965          }
4966       }
4967       part { name: "elm.text";
4968          type: TEXTBLOCK;
4969          mouse_events: 1;
4970          scale: 1;
4971          entry_mode: PLAIN;
4972          select_mode: BLOCK_HANDLE;
4973          //cursor_mode: BEFORE;
4974          multiline: 0;
4975          source: "elm/entry/selection/default"; // selection under
4976          //source2: "X"; // selection over
4977          //source3: "X"; // cursor under
4978          source4: "elm/entry/cursor/default"; // cursorover
4979          source5: "elm/entry/anchor/default"; // anchor under
4980                  /*
4981          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
4982          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
4983          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
4984          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
4985          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
4986                  */
4987          description { state: "default" 0.0;
4988             text {
4989                style: "font_color_black_single_textblock_style";
4990                min: 1 1;
4991                max: 0 1;
4992             }
4993          }
4994          description { state: "disabled" 0.0;
4995             inherit: "default" 0.0;
4996             text {
4997                style: "font_color_black_single_textblock_disabled_style";
4998             }
4999          }
5000       }
5001    }
5002    programs {
5003       program { name: "focus";
5004          signal: "load";
5005          source: "";
5006          action: FOCUS_SET;
5007          target: "elm.text";
5008       }
5009       program { name: "disable";
5010          signal: "elm,state,disabled";
5011          source: "elm";
5012          action: STATE_SET "disabled" 0.0;
5013          target: "elm.text";
5014       }
5015       program { name: "enable";
5016          signal: "elm,state,enabled";
5017          source: "elm";
5018          action: STATE_SET "default" 0.0;
5019          target: "elm.text";
5020       }
5021       program { name: "gdisable";
5022          signal: "elm,guide,disabled";
5023          source: "elm";
5024          action: STATE_SET "hidden" 0.0;
5025          target: "elm.guide";
5026       }
5027       program { name: "genable";
5028          signal: "elm,guide,enabled";
5029          source: "elm";
5030          action: STATE_SET "default" 0.0;
5031          target: "elm.guide";
5032       }
5033    }
5034 }
5035 group { name: "elm/entry/base-single/font_color_black/tizen_text_class";
5036    inherit: "elm/entry/base-single/font_color_black";
5037    styles {
5038       style { name: "tizen_text_class_single_textblock_style";
5039          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=none left_margin=1 right_margin=3 text_class=tizen";
5040          tag:  "br" "\n";
5041          tag:  "ps" "ps";
5042          tag:  "tab" "\t";
5043          tag:  "em" "+ font=Tizen:style=Oblique";
5044          tag:  "b" "+ font=Tizen:style=Bold";
5045          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
5046          tag:  "hilight" "+ font=Tizen:style=Bold";
5047          tag:  "preedit" "+ underline=on underline_color=#000000FF";
5048          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
5049          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
5050          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
5051          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
5052          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
5053       }
5054       style { name: "tizen_text_class_single_textblock_disabled_style";
5055          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=none left_margin=1 right_margin=3 text_class=tizen";
5056          tag:  "br" "\n";
5057          tag:  "ps" "ps";
5058          tag:  "tab" "\t";
5059          tag:  "em" "+ font=Tizen:style=Oblique";
5060          tag:  "b" "+ font=Tizen:style=Bold";
5061          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
5062          tag:  "hilight" "+ font=Tizen:style=Bold";
5063          tag:  "preedit" "+ underline=on underline_color=#000000FF";
5064          tag:  "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
5065          tag:  "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF";
5066          tag:  "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF";
5067          tag:  "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF";
5068          tag:  "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF";
5069       }
5070       style { name: "tizen_text_class_single_textblock_guide_style";
5071          base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#90A9C7 wrap=none left_margin=1 right_margin=3 text_class=tizen";
5072          tag:  "br" "\n";
5073          tag:  "ps" "ps";
5074          tag:  "tab" "\t";
5075          tag:  "em" "+ font=Tizen:style=Oblique";
5076          tag:  "b" "+ font=Tizen:style=Bold";
5077          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
5078          tag:  "hilight" "+ font=Tizen:style=Bold";
5079       }
5080    }
5081    parts {
5082       part { name: "elm.guide";
5083          type: TEXTBLOCK;
5084          mouse_events: 0;
5085          scale: 1;
5086          description { state: "default" 0.0;
5087             rel1.to: "elm.text";
5088             rel2.to: "elm.text";
5089             text {
5090                style: "tizen_text_class_single_textblock_guide_style";
5091                min: 1 1;
5092                max: 0 1;
5093             }
5094          }
5095          description { state: "hidden" 0.0;
5096             inherit: "default" 0.0;
5097             visible: 0;
5098          }
5099       }
5100       part { name: "elm.text";
5101          description { state: "default" 0.0;
5102             text {
5103                style: "tizen_text_class_single_textblock_style";
5104             }
5105          }
5106          description { state: "disabled" 0.0;
5107             inherit: "default" 0.0;
5108             text {
5109                style: "tizen_text_class_single_textblock_disabled_style";
5110             }
5111          }
5112       }
5113    }
5114 }
5115 group { name: "elm/entry/base-password/font_color_black";
5116    alias: "elm/entry/base-password/editfield/font_color_black";
5117    data.item: "default_font_size" "24";
5118    data.item: "min_font_size" "8";
5119    data.item: "max_font_size" "60";
5120    data {
5121       item: context_menu_orientation "horizontal";
5122    }
5123    parts {
5124       part { name: "elm.guide";
5125          type: TEXTBLOCK;
5126          mouse_events: 0;
5127          scale: 1;
5128          description { state: "default" 0.0;
5129             rel1.to: "elm.text";
5130             rel2.to: "elm.text";
5131             text {
5132                style: "font_color_black_single_textblock_guide_style";
5133                min: 1 1;
5134                max: 0 1;
5135             }
5136          }
5137          description { state: "hidden" 0.0;
5138             inherit: "default" 0.0;
5139             visible: 0;
5140          }
5141       }
5142       part { name: "elm.text";
5143          type: TEXTBLOCK;
5144          mouse_events: 1;
5145          scale: 1;
5146          entry_mode: PASSWORD;
5147          select_mode: BLOCK_HANDLE;
5148          multiline: 0;
5149          source: "elm/entry/selection/default"; // selection under
5150          //source2: "X"; // selection over
5151          //source3: "X"; // cursor under
5152          source4: "elm/entry/cursor/default"; // cursorover
5153          source5: "elm/entry/anchor/default"; // anchor under
5154                  /*
5155          source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
5156          source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
5157          source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
5158          source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
5159          source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
5160                  */
5161          description { state: "default" 0.0;
5162             text {
5163                style: "font_color_black_single_textblock_style";
5164                repch: "*";
5165                min: 1 1;
5166                max: 0 1;
5167             }
5168          }
5169          description { state: "disabled" 0.0;
5170             inherit: "default" 0.0;
5171             text {
5172                style: "font_color_black_single_textblock_disabled_style";
5173             }
5174          }
5175       }
5176    }
5177    programs {
5178       program { name: "focus";
5179          signal: "load";
5180          source: "";
5181          action: FOCUS_SET;
5182          target: "elm.text";
5183       }
5184       program { name: "disable";
5185          signal: "elm,state,disabled";
5186          source: "elm";
5187          action: STATE_SET "disabled" 0.0;
5188          target: "elm.text";
5189       }
5190       program { name: "enable";
5191          signal: "elm,state,enabled";
5192          source: "elm";
5193          action: STATE_SET "default" 0.0;
5194          target: "elm.text";
5195       }
5196       program { name: "gdisable";
5197          signal: "elm,guide,disabled";
5198          source: "elm";
5199          action: STATE_SET "hidden" 0.0;
5200          target: "elm.guide";
5201       }
5202       program { name: "genable";
5203          signal: "elm,guide,enabled";
5204          source: "elm";
5205          action: STATE_SET "default" 0.0;
5206          target: "elm.guide";
5207       }
5208    }
5209 }
5210
5211 group { name: "elm/scroller/entry/default";
5212       alias : "elm/scroller/entry/editfield";
5213       alias : "elm/scroller/entry/editfield/searchbar/default";
5214       data {
5215          item: "focus_highlight" "on";
5216       }
5217       script {
5218          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
5219          public timer0(val) {
5220             new v;
5221             v = get_int(sbvis_v);
5222             if (v) {
5223                v = get_int(sbalways_v);
5224                if (!v) {
5225                   emit("do-hide-vbar", "");
5226                   set_int(sbvis_v, 0);
5227                }
5228             }
5229             v = get_int(sbvis_h);
5230             if (v) {
5231                v = get_int(sbalways_h);
5232                if (!v) {
5233                   emit("do-hide-hbar", "");
5234                   set_int(sbvis_h, 0);
5235                }
5236             }
5237             set_int(sbvis_timer, 0);
5238             return 0;
5239          }
5240       }
5241       images {
5242          image: "bt_sm_base2.png" COMP;
5243       }
5244       parts {
5245          part { name: "bg";
5246             type: RECT;
5247             description { state: "default" 0.0;
5248                visible: 0;
5249             }
5250          }
5251          part { name: "clipper";
5252             type: RECT;
5253             mouse_events: 0;
5254             description { state: "default" 0.0;
5255                rel1.to: "bg";
5256                rel2.to: "bg";
5257             }
5258          }
5259          part { name: "contentclipper";
5260             type: RECT;
5261             mouse_events: 0;
5262             clip_to: "clipper";
5263             description { state: "default" 0.0;
5264                rel1.to: "elm.swallow.icon";
5265                rel1.relative: 1.0 0.0;
5266                rel2.to: "elm.swallow.end";
5267                rel2.relative: 0.0 1.0;
5268             }
5269          }
5270          part { name: "elm.swallow.icon";
5271             type: SWALLOW;
5272             clip_to: "clipper";
5273             description { state: "default" 0.0;
5274                fixed: 1 1;
5275                rel1 {
5276                   to: "bg";
5277                   relative: 0.0 0.0;
5278                }
5279                rel2 {
5280                   to: "bg";
5281                   relative: 0.0 1.0;
5282                }
5283                visible: 0;
5284             }
5285             description { state: "visible" 0.0;
5286                fixed: 1 1;
5287                align: 0.0 1.0;
5288                rel1 {
5289                          to: "bg";
5290                          relative: 0.0 0.0;
5291                }
5292                rel2 {
5293                   to: "bg";
5294                   relative: 0.0 1.0;
5295                }
5296                visible: 1;
5297             }
5298          }
5299          part { name: "elm.swallow.end";
5300             type: SWALLOW;
5301             clip_to: "clipper";
5302             description { state: "default" 0.0;
5303                fixed: 1 1;
5304                rel1 {
5305                   to: "bg";
5306                   relative: 1.0 0.0;
5307                }
5308                rel2 {
5309                   to: "bg";
5310                   relative: 1.0 1.0;
5311                }
5312                visible: 0;
5313             }
5314             description { state: "visible" 0.0;
5315                fixed: 1 1;
5316                align: 1.0 1.0;
5317                rel1 {
5318                   to: "bg";
5319                   relative: 1.0 0.0;
5320                }
5321                rel2 {
5322                   to: "bg";
5323                   relative: 1.0 1.0;
5324                }
5325                visible: 1;
5326             }
5327          }
5328          part { name: "elm.swallow.content";
5329             clip_to: "contentclipper";
5330             type: SWALLOW;
5331             description { state: "default" 0.0;
5332                rel1 {
5333                        to: "elm.swallow.icon";
5334                        relative: 1.0 0.0;
5335                }
5336                rel2 {
5337                 to: "elm.swallow.end";
5338                 relative: 0.0 1.0;
5339                }
5340             }
5341          }
5342          part { name: "sb_vbar_clip_master";
5343             type: RECT;
5344             mouse_events: 0;
5345             description { state: "default" 0.0;
5346             }
5347             description { state: "hidden" 0.0;
5348                visible: 0;
5349                color: 255 255 255 0;
5350             }
5351          }
5352          part { name: "sb_vbar_clip";
5353             clip_to: "sb_vbar_clip_master";
5354             type: RECT;
5355             mouse_events: 0;
5356             description { state: "default" 0.0;
5357             }
5358             description { state: "hidden" 0.0;
5359                visible: 0;
5360                color: 255 255 255 0;
5361             }
5362          }
5363          part { name: "sb_vbar";
5364             type: RECT;
5365             mouse_events: 0;
5366             description { state: "default" 0.0;
5367                fixed: 1 1;
5368                visible: 0;
5369                min: 10 17;
5370                align: 1.0 0.0;
5371                rel1 {
5372                   relative: 0.0 0.0;
5373                   to_y:     "elm.swallow.content";
5374                   to_x:     "elm.swallow.end";
5375                }
5376                rel2 {
5377                   relative: 0.0 0.0;
5378                   to_y:     "sb_hbar";
5379                   to_x:     "elm.swallow.end";
5380                }
5381             }
5382          }
5383          part { name: "elm.dragable.vbar";
5384             clip_to: "sb_vbar_clip";
5385             mouse_events: 0;
5386             dragable {
5387                x: 0 0 0;
5388                y: 1 1 0;
5389                confine: "sb_vbar";
5390             }
5391             description { state: "default" 0.0;
5392                visible: 0;
5393                fixed: 1 1;
5394                min: 10 17;
5395                max: 10 99999;
5396                rel1 {
5397                   relative: 0.5  0.5;
5398                   to: "sb_vbar";
5399                }
5400                rel2 {
5401                   relative: 0.5  0.5;
5402                   to: "sb_vbar";
5403                }
5404                image {
5405                   normal: "bt_sm_base2.png";
5406                   border: 6 6 6 6;
5407                   middle: SOLID;
5408                }
5409             }
5410          }
5411          part { name: "sb_hbar_clip_master";
5412             type: RECT;
5413             mouse_events: 0;
5414             description { state: "default" 0.0;
5415             }
5416             description { state: "hidden" 0.0;
5417                visible: 0;
5418                color: 255 255 255 0;
5419             }
5420          }
5421          part { name: "sb_hbar_clip";
5422             clip_to: "sb_hbar_clip_master";
5423             type: RECT;
5424             mouse_events: 0;
5425             description { state: "default" 0.0;
5426             }
5427             description { state: "hidden" 0.0;
5428                visible: 0;
5429                color: 255 255 255 0;
5430             }
5431          }
5432          part { name: "sb_hbar";
5433             type: RECT;
5434             mouse_events: 0;
5435             description { state: "default" 0.0;
5436                fixed: 1 1;
5437                visible: 0;
5438                min: 17 10;
5439                align: 0.0 1.0;
5440                rel1 {
5441                   relative: 0.0 1.0;
5442                   to_x:     "elm.swallow.content";
5443                   to_y:     "elm.swallow.content";
5444                }
5445                rel2 {
5446                   relative: 0.0 1.0;
5447                   to_x:     "sb_vbar";
5448                   to_y:     "elm.swallow.content";
5449                }
5450             }
5451          }
5452          part { name: "elm.dragable.hbar";
5453             clip_to: "sb_hbar_clip";
5454             mouse_events: 0;
5455             dragable {
5456                x: 1 1 0;
5457                y: 0 0 0;
5458                confine: "sb_hbar";
5459             }
5460             description { state: "default" 0.0;
5461                fixed: 1 1;
5462                min: 17 10;
5463                max: 99999 10;
5464                rel1 {
5465                   relative: 0.5  0.5;
5466                   to: "sb_hbar";
5467                }
5468                rel2 {
5469                   relative: 0.5  0.5;
5470                   to: "sb_hbar";
5471                }
5472                image {
5473                   normal: "bt_sm_base2.png";
5474                   border: 4 4 4 4;
5475                   middle: SOLID;
5476                }
5477             }
5478          }
5479       }
5480       programs {
5481          program { name: "load";
5482             signal: "load";
5483             source: "";
5484             script {
5485                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
5486                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
5487                set_int(sbvis_h, 0);
5488                set_int(sbvis_v, 0);
5489                set_int(sbalways_v, 0);
5490                set_int(sbalways_h, 0);
5491                set_int(sbvis_timer, 0);
5492             }
5493          }
5494          program { name: "icon_show";
5495             signal: "elm,action,show,icon";
5496             source: "elm";
5497             action: STATE_SET "visible" 0.0;
5498             target: "elm.swallow.icon";
5499          }
5500          program { name: "icon_hide";
5501             signal: "elm,action,hide,icon";
5502             source: "elm";
5503             action: STATE_SET "default" 0.0;
5504             target: "elm.swallow.icon";
5505          }
5506          program { name: "end_show";
5507             signal: "elm,action,show,end";
5508             source: "elm";
5509             action: STATE_SET "visible" 0.0;
5510             target: "elm.swallow.end";
5511          }
5512          program { name: "end_hide";
5513             signal: "elm,action,hide,end";
5514             source: "elm";
5515             action: STATE_SET "default" 0.0;
5516             target: "elm.swallow.end";
5517          }
5518          program { name: "vbar_show";
5519             signal: "elm,action,show,vbar";
5520             source: "elm";
5521             action:  STATE_SET "default" 0.0;
5522             target: "sb_vbar_clip_master";
5523          }
5524          program { name: "vbar_hide";
5525             signal: "elm,action,hide,vbar";
5526             source: "elm";
5527             action:  STATE_SET "hidden" 0.0;
5528             target: "sb_vbar_clip_master";
5529          }
5530          program { name: "vbar_show_always";
5531             signal: "elm,action,show_always,vbar";
5532             source: "elm";
5533             script {
5534                new v;
5535                v = get_int(sbvis_v);
5536                v |= get_int(sbalways_v);
5537                if (!v) {
5538                   set_int(sbalways_v, 1);
5539                   emit("do-show-vbar", "");
5540                   set_int(sbvis_v, 1);
5541                }
5542             }
5543          }
5544          program { name: "vbar_show_notalways";
5545             signal: "elm,action,show_notalways,vbar";
5546             source: "elm";
5547             script {
5548                new v;
5549                v = get_int(sbalways_v);
5550                if (v) {
5551                   set_int(sbalways_v, 0);
5552                   v = get_int(sbvis_v);
5553                   if (!v) {
5554                      emit("do-hide-vbar", "");
5555                      set_int(sbvis_v, 0);
5556                   }
5557                }
5558             }
5559          }
5560          program { name: "sb_vbar_show";
5561             signal: "do-show-vbar";
5562             source: "";
5563             action:  STATE_SET "default" 0.0;
5564             transition: LINEAR 0.5;
5565             target: "sb_vbar_clip";
5566          }
5567          program { name: "sb_vbar_hide";
5568             signal: "do-hide-vbar";
5569             source: "";
5570             action:  STATE_SET "hidden" 0.0;
5571             transition: LINEAR 0.5;
5572             target: "sb_vbar_clip";
5573          }
5574
5575          program { name: "hbar_show";
5576             signal: "elm,action,show,hbar";
5577             source: "elm";
5578             action:  STATE_SET "default" 0.0;
5579             target: "sb_hbar_clip_master";
5580          }
5581          program { name: "hbar_hide";
5582             signal: "elm,action,hide,hbar";
5583             source: "elm";
5584             action:  STATE_SET "hidden" 0.0;
5585             target: "sb_hbar_clip_master";
5586          }
5587          program { name: "hbar_show_always";
5588             signal: "elm,action,show_always,hbar";
5589             source: "elm";
5590             script {
5591                new v;
5592                v = get_int(sbvis_h);
5593                v |= get_int(sbalways_h);
5594                if (!v) {
5595                   set_int(sbalways_h, 1);
5596                   emit("do-show-hbar", "");
5597                   set_int(sbvis_h, 1);
5598                }
5599             }
5600          }
5601          program { name: "hbar_show_notalways";
5602             signal: "elm,action,show_notalways,hbar";
5603             source: "elm";
5604             script {
5605                new v;
5606                v = get_int(sbalways_h);
5607                if (v) {
5608                   set_int(sbalways_h, 0);
5609                   v = get_int(sbvis_h);
5610                   if (!v) {
5611                      emit("do-hide-hbar", "");
5612                      set_int(sbvis_h, 0);
5613                   }
5614                }
5615             }
5616          }
5617          program { name: "sb_hbar_show";
5618             signal: "do-show-hbar";
5619             source: "";
5620             action:  STATE_SET "default" 0.0;
5621             transition: LINEAR 0.5;
5622             target: "sb_hbar_clip";
5623          }
5624          program { name: "sb_hbar_hide";
5625             signal: "do-hide-hbar";
5626             source: "";
5627             action:  STATE_SET "hidden" 0.0;
5628             transition: LINEAR 0.5;
5629             target: "sb_hbar_clip";
5630          }
5631
5632          program { name: "scroll";
5633             signal: "elm,action,scroll";
5634             source: "elm";
5635             script {
5636                new v;
5637                v = get_int(sbvis_v);
5638                v |= get_int(sbalways_v);
5639                if (!v) {
5640                   emit("do-show-vbar", "");
5641                   set_int(sbvis_v, 1);
5642                }
5643                v = get_int(sbvis_h);
5644                v |= get_int(sbalways_h);
5645                if (!v) {
5646                   emit("do-show-hbar", "");
5647                   set_int(sbvis_h, 1);
5648                }
5649                v = get_int(sbvis_timer);
5650                if (v > 0) cancel_timer(v);
5651                v = timer(1.0, "timer0", 0);
5652                set_int(sbvis_timer, v);
5653             }
5654          }
5655       }
5656    }