3 * Copyright 2012 Samsung Electronics Co., Ltd
5 * Licensed under the Flora License, Version 1.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
9 * http://www.tizenopensource.org/license
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.
19 #define ENTRY_BLOCK_HANDLE_SOURCE2 "elm/entry/selection/block_handle_right"
20 #define ENTRY_BLOCK_HANDLE_SOURCE3 "elm/entry/selection/block_handle_left"
21 #define ENTRY_BLOCK_HANDLE_SOURCE2_B "elm/entry/Bselection/block_handle_right"
22 #define ENTRY_BLOCK_HANDLE_SOURCE3_B "elm/entry/Bselection/block_handle_left"
23 #define ENTRY_TEXT_COLOR_INC "#000000"
24 #define ENTRY_TEXT_COLOR_INC_B "#000000"
25 #define ENTRY_PREEDIT_BACKGROUND_COLOR_INC "#000000"
26 #define ENTRY_PREEDIT_BACKGROUND_COLOR_INC_B "#FFFFFF"
27 #define ENTRY_PREEDIT_TEXT_COLOR_INC "#FFFFFF"
28 #define ENTRY_PREEDIT_TEXT_COLOR_INC_B "#000000"
29 #define ENTRY_CURSOR_COLOR_INC 217 147 26 255
30 #define ENTRY_CURSOR_COLOR_INC_B 42 109 140 255
31 #define ENTRY_SELECTION_BG_COLOR 204 230 224 127
32 #define ENTRY_SELECTION_BG_COLOR_B 90 123 138 127
36 image: "black/copy&paste_Icon_left.png" COMP;
37 image: "black/copy&paste_Icon_left_press.png" COMP;
38 image: "black/copy&paste_Icon_right.png" COMP;
39 image: "black/copy&paste_Icon_right_press.png" COMP;
42 name: "elm/entry/base/black";
43 alias: "elm/entry/base/char_wrap";
44 data.item: "default_font_size" "24";
45 data.item: "min_font_size" "8";
46 data.item: "max_font_size" "60";
49 style { name: "entry_textblock_char_wrap_style_B";
50 base: "font=SLP:style=Roman text_class=slp_roman font_size=70 align=right color="ENTRY_TEXT_COLOR_INC_B" wrap=char left_margin=2 right_margin=2";
54 tag: "em" "+ font=SLP:style=Oblique";
55 tag: "b" "+ font=SLP:style=Bold text_class=slp_bold";
56 tag: "link" "+ color=#800 underline=on underline_color=#8008";
57 tag: "hilight" "+ font=SLP:style=Bold text_class=slp_bold";
58 tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC"";
59 tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC"";
61 style { name: "entry_textblock_char_wrap_disabled_style_B";
62 base: "font=SLP:style=Roman text_class=slp_roman font_size="ENTRY_TEXT_SIZE_INC" color=#00000080 wrap=char";
66 tag: "em" "+ font=SLP:style=Oblique";
67 tag: "b" "+ font=SLP:style=Bold text_class=slp_bold";
68 tag: "link" "+ color=#00000080 underline=on underline_color=#00000080";
69 tag: "hilight" "+ font=SLP:style=Bold text_class=slp_bold";
70 tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC"";
71 tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC"";
75 item: context_menu_orientation "horizontal";
78 part { name: "entry.swallow.background";
80 description { state: "default" 0.0;
82 rel1 { relative: 0 0; to: "elm.text"; }
83 rel2 { relative: 1 1; to: "elm.text"; }
88 part { name: "elm.text";
93 select_mode: BLOCK_HANDLE;
94 //cursor_mode: BEFORE;
96 source: "elm/entry/Bselection/default"; // selection under
97 source2: ENTRY_BLOCK_HANDLE_SOURCE2_B; // block handle
98 source3: ENTRY_BLOCK_HANDLE_SOURCE3_B; // block handle
99 source4: "elm/entry/Bcursor/default"; // cursorover
100 source5: "elm/entry/Banchor/default"; // anchor under
101 // source6: "X"; // anchor over
102 description { state: "default" 0.0;
105 style: "entry_textblock_char_wrap_style_B";
109 description { state: "disabled" 0.0;
110 inherit: "default" 0.0;
112 style: "entry_textblock_char_wrap_disabled_style_B";
119 program { name: "focus";
125 program { name: "disable";
126 signal: "elm,state,disabled";
128 action: STATE_SET "disabled" 0.0;
131 program { name: "enable";
132 signal: "elm,state,enabled";
134 action: STATE_SET "default" 0.0;
140 group { name: "elm/entry/Bcursor/default";
142 part { name: "clip2";
146 description { state: "default" 0.0;
149 //color: 229 134 22 255;
152 description { state: "focused" 0.0;
153 inherit: "default" 0.0;
162 description { state: "default" 0.0;
166 description { state: "hidden" 0.0;
167 inherit: "default" 0.0;
175 description { state: "default" 0.0;
187 description { state: "default" 0.0;
199 color: ENTRY_CURSOR_COLOR_INC_B;
201 description { state: "hidden" 0.0;
202 inherit: "default" 0.0;
208 program { name: "show";
209 action: STATE_SET "hidden" 0.0;
214 program { name: "show4";
215 action: STATE_SET "default" 0.0;
220 program { name: "focused";
221 signal: "elm,action,focus";
223 action: STATE_SET "focused" 0.0;
227 program { name: "unfocused";
228 signal: "elm,action,unfocus";
230 action: STATE_SET "default" 0.0;
234 program { name: "stop_glow";
243 group { name: "elm/entry/Bselection/default";
249 description { state: "default" 0.0;
250 color: ENTRY_SELECTION_BG_COLOR_B;
255 /////////////////////////////////////////////////////////////////////////
256 group { name: "elm/entry/Bselection/block_handle_left";
257 data.item: "position" "BOTTOM";
259 image: "black/copy&paste_Icon_left.png" COMP;
260 image: "black/copy&paste_Icon_left_press.png" COMP;
267 description { state: "default" 0.0;
274 description { state: "show" 0.0;
275 inherit: "default" 0.0;
279 part { name: "handle";
282 description { state: "default" 0.0;
298 normal: "black/copy&paste_Icon_left.png";
304 description { state: "show" 0.0;
305 inherit: "default" 0.0;
308 description { state: "press" 0.0;
309 inherit: "default" 0.0;
312 normal: "black/copy&paste_Icon_left_press.png";
319 program { name: "focused";
320 signal: "elm,action,focus";
322 action: STATE_SET "show" 0.0;
326 program { name: "unfocused";
327 signal: "elm,action,unfocus";
329 action: STATE_SET "default" 0.0;
333 program { name: "pressed";
334 signal: "mouse,down,1";
336 action: STATE_SET "press" 0.0;
339 program { name: "unpressed";
340 signal: "mouse,up,1";
342 action: STATE_SET "show" 0.0;
348 group { name: "elm/entry/Bselection/block_handle_right";
349 data.item: "position" "BOTH";
351 image: "black/copy&paste_Icon_right.png" COMP;
352 image: "black/copy&paste_Icon_right_press.png" COMP;
355 /* part { name: "bg";
359 description { state: "default" 0.0;
366 description { state: "show" 0.0;
367 inherit: "default" 0.0;
371 part { name: "handle";
374 description { state: "default" 0.0;
388 normal: "black/copy&paste_Icon_right.png";
394 description { state: "show" 0.0;
395 inherit: "default" 0.0;
398 description { state: "press" 0.0;
399 inherit: "default" 0.0;
402 normal: "black/copy&paste_Icon_right_press.png";
409 program { name: "focused";
410 signal: "elm,action,focus";
412 action: STATE_SET "show" 0.0;
416 program { name: "unfocused";
417 signal: "elm,action,unfocus";
419 action: STATE_SET "default" 0.0;
423 program { name: "pressed";
424 signal: "mouse,down,1";
426 action: STATE_SET "press" 0.0;
429 program { name: "unpressed";
430 signal: "mouse,up,1";
432 action: STATE_SET "show" 0.0;
439 /////////////////////////////////////////////////////////////////////////
441 group { name: "elm/entry/Banchor/default";
446 description { state: "default" 0.0;
453 group { name: "elm/entry/Bpreedit/default";
458 description { state: "default" 0.0;
459 color: 128 128 128 255;