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