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