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