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