diff options
Diffstat (limited to 'mobile/themes/widgets/entry.edc')
-rw-r--r-- | mobile/themes/widgets/entry.edc | 7013 |
1 files changed, 0 insertions, 7013 deletions
diff --git a/mobile/themes/widgets/entry.edc b/mobile/themes/widgets/entry.edc deleted file mode 100644 index d426e6e6..00000000 --- a/mobile/themes/widgets/entry.edc +++ /dev/null @@ -1,7013 +0,0 @@ -/* - * efl-theme-tizen - * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. - * - * BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * 1. Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR - * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -#define ENTRY_BLOCK_HANDLE_SOURCE7 "elm/entry/selection/block_handle_left" -#define ENTRY_BLOCK_HANDLE_SOURCE8 "elm/entry/selection/block_handle_right" -#define ENTRY_CURSOR_HANDLE_SOURCE9 "elm/entry/cursor_handle/default" -#define ENTRY_BLOCK_HANDLE_SOURCE10 "elm/entry/selection/block_handle_edge_left" -#define ENTRY_BLOCK_HANDLE_SOURCE11 "elm/entry/selection/block_handle_edge_right" - -#define ENTRY_EDITFIELD_FOCUS_DATA \ - data.item: "focus_highlight" "on"; - -#define ENTRY_EDITFIELD_FOCUS_IMAGE \ - images { \ - image: "00_edit_field_focus.png" COMP; \ - image: "00_eidt_field_bg.png" COMP; \ - } - -#define ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL \ - rel1 { \ - to_x: "focus_left_padding"; \ - relative: 1.0 0.0; \ - } \ - rel2 { \ - to_x: "clear_padding"; \ - relative: 0.0 1.0; \ - } - -#define ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC \ - script { \ - public scroll_enabled; \ - } - -#define ENTRY_EDITFIELD_SWALLOW_PARTS \ - part { name: "clear_padding"; \ - type: SPACER; \ - scale: 1; \ - description { state: "default" 0.0; \ - align: 1.0 0.5; \ - fixed: 1 0; \ - rel1 { \ - to_x: "focus_right_padding"; \ - relative: 0.0 0.0; \ - } \ - rel2 { \ - to_x: "focus_right_padding"; \ - relative: 0.0 1.0; \ - } \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - rel1 { \ - to_x: "elm.swallow.clear"; \ - relative: 0.0 0.0; \ - } \ - } \ - } \ - part { name: "elm.swallow.clear"; \ - type: SWALLOW; \ - scale: 1; \ - description { state: "default" 0.0; \ - align: 1.0 0.5; \ - fixed: 1 1; \ - rel1 { \ - to_x: "focus_right_padding"; \ - relative: 0.0 0.0; \ - } \ - rel2 { \ - to_x: "focus_right_padding"; \ - relative: 0.0 1.0; \ - } \ - visible: 0; \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - } \ - } - -#define ENTRY_EDITFIELD_FOCUS_PARTS \ - part { name: "focus_bg"; \ - type: IMAGE; \ - scale: 1; \ - mouse_events: 0; \ - repeat_events: 1; \ - description { state: "default" 0.0; \ - visible: 1; \ - image { \ - normal: "00_edit_field_bg.png"; \ - border: 8 8 8 8; \ - border_scale: 1; \ - } \ - rel1.relative: 0.0 0.0; \ - rel2.relative: 1.0 1.0; \ - } \ - description { state: "hidden" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - } \ - } \ - part { name: "focus_left_padding"; \ - type: SPACER; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: 10 0; \ - max: 10 0; \ - fixed: 1 0; \ - align: 0.0 0.5; \ - rel1 { \ - to_x: "focus_bg"; \ - relative: 0.0 0.0; \ - } \ - rel2 { \ - to_x: "focus_bg"; \ - relative: 0.0 1.0; \ - } \ - } \ - description { state: "hidden" 0.0; \ - inherit: "default" 0.0; \ - min: 0 0; \ - max: 0 0; \ - } \ - } \ - part { name: "focus_right_padding"; \ - type: SPACER; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: 10 0; \ - max: 10 0; \ - align: 1.0 0.5; \ - fixed: 1 0; \ - rel1 { \ - to_x: "focus_bg"; \ - relative: 1.0 0.0; \ - } \ - rel2 { \ - to_x: "focus_bg"; \ - relative: 1.0 1.0; \ - } \ - } \ - description { state: "hidden" 0.0; \ - inherit: "default" 0.0; \ - min: 0 0; \ - max: 0 0; \ - } \ - } \ - part { name: "focus_image"; \ - scale: 1; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - visible: 0; \ - image { \ - normal: "00_edit_field_focus.png"; \ - border: 8 8 8 8; \ - border_scale: 1; \ - } \ - rel1 { \ - to: "focus_bg"; \ - relative: 0.0 0.0; \ - } \ - rel2 { \ - to: "focus_bg"; \ - relative: 1.0 1.0; \ - } \ - } \ - description { state: "focused" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - } \ - } - -#define ENTRY_EDITFIELD_SWALLOW_PROGRAMS \ - program { name: "scroll_enabled"; \ - signal: "elm,state,scroll,enabled"; \ - source: "*"; \ - script { \ - set_int(scroll_enabled, 1); \ - set_state(PART:"focus_bg", "hidden", 0.0); \ - set_state(PART:"focus_left_padding", "hidden", 0.0); \ - set_state(PART:"focus_right_padding", "hidden", 0.0); \ - } \ - } \ - program { name: "scroll_disabled"; \ - signal: "elm,state,scroll,disabled"; \ - source: "*"; \ - script { \ - set_int(scroll_enabled, 0); \ - set_state(PART:"focus_bg", "default", 0.0); \ - set_state(PART:"focus_left_padding", "default", 0.0); \ - set_state(PART:"focus_right_padding", "default", 0.0); \ - } \ - } \ - program { name: "clear_show"; \ - signal: "elm,state,clear,visible"; \ - source: "*"; \ - script { \ - new v; \ - v = get_int(scroll_enabled); \ - if (!v) { \ - set_state(PART:"elm.swallow.clear", "visible", 0.0); \ - set_state(PART:"clear_padding", "visible", 0.0); \ - } \ - } \ - } \ - program { name: "clear_hide"; \ - signal: "elm,state,clear,hidden"; \ - source: "*"; \ - script { \ - new v; \ - v = get_int(scroll_enabled); \ - if (!v) { \ - set_state(PART:"elm.swallow.clear", "default", 0.0); \ - set_state(PART:"clear_padding", "default", 0.0); \ - } \ - } \ - } - -#define ENTRY_EDITFIELD_FOCUS_PROGRAMS \ - program { name: "action_focus"; \ - signal: "elm,state,focus,on"; \ - source: "*"; \ - script { \ - new v; \ - v = get_int(scroll_enabled); \ - if (!v) { \ - set_state(PART:"focus_image", "focused", 0.0); \ - } \ - } \ - } \ - program { name: "action_unfocus"; \ - signal: "elm,state,focus,off"; \ - source: "*"; \ - script { \ - new v; \ - v = get_int(scroll_enabled); \ - if (!v) { \ - set_state(PART:"focus_image", "default", 0.0); \ - } \ - } \ - } - -group { name: "elm/entry/base/default"; - alias: "elm/entry/base-mixedwrap/default"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - styles { - style { name: "entry_textblock_style"; - 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"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - 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; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "entry_textblock_disabled_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_DISABLED_TEXT_COLOR_INC" left_margin=1 right_margin=2 wrap=mixed text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - 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; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "entry_textblock_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_GUIDE_TEXT_COLOR_INC" left_margin=1 right_margin=2 wrap=mixed text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } - } - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_textblock_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - //source6: "X"; // anchor over - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "entry_textblock_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style"; - min: 0 1; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/entry/base-charwrap/default"; - alias: "elm/entry/base/char_wrap"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - styles { - style { name: "entry_textblock_char_wrap_style"; - 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"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - 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; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "entry_textblock_char_wrap_disabled_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_DISABLED_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - 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; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "entry_textblock_char_wrap_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_GUIDE_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } - } - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_textblock_char_wrap_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - //source6: "X"; // anchor over - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "entry_textblock_char_wrap_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_char_wrap_disabled_style"; - min: 0 1; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/entry/base-nowrap/default"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_textblock_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - text { - style: "entry_textblock_style"; - min: 1 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style"; - min: 0 1; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/entry/base/editfield"; - alias: "elm/entry/base-mixedwrap/editfield"; - alias: "elm/entry/base/editfield/default"; - alias: "elm/entry/base/editfield/lighting"; - alias: "elm/entry/base/editfield/multiline"; - alias: "elm/entry/base/editfield/multiline/default"; - alias: "elm/entry/base/editfield/multiline/lighting"; - alias: "elm/entry/base/editfield/searchbar/default"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - styles { - style { name: "editfield_textblock_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - 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; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "editfield_textblock_disabled_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_DISABLED_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - 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; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "editfield_textblock_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_GUIDE_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } - } - data { - item: context_menu_orientation "horizontal"; - } - ENTRY_EDITFIELD_FOCUS_DATA - ENTRY_EDITFIELD_FOCUS_IMAGE - parts { - ENTRY_EDITFIELD_FOCUS_PARTS - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "editfield_textblock_guide_style"; - min: 0 1; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - //source6: "X"; // anchor over - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "editfield_textblock_style"; - min: 0 1; - } - ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "editfield_textblock_disabled_style"; - min: 0 1; - } - } - } - ENTRY_EDITFIELD_SWALLOW_PARTS - } - ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - ENTRY_EDITFIELD_SWALLOW_PROGRAMS - ENTRY_EDITFIELD_FOCUS_PROGRAMS - } -} - -group { name: "elm/entry/base-charwrap/editfield"; - alias: "elm/entry/base/editfield/char_wrap"; - alias: "elm/entry/base/editfield/default/char_wrap"; - alias: "elm/entry/base/editfield/lighting/char_wrap"; - alias: "elm/entry/base/editfield/multiline/char_wrap"; - alias: "elm/entry/base/editfield/multiline/default/char_wrap"; - alias: "elm/entry/base/editfield/multiline/lighting/char_wrap"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - styles { - style { name: "editfield_textblock_char_wrap_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - 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; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "editfield_textblock_char_wrap_disabled_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_EDTIFIELD_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_DISABLED_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - 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; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "editfield_textblock_char_wrap_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_GUIDE_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } - } - data { - item: context_menu_orientation "horizontal"; - } - ENTRY_EDITFIELD_FOCUS_DATA - ENTRY_EDITFIELD_FOCUS_IMAGE - parts { - ENTRY_EDITFIELD_FOCUS_PARTS - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "editfield_textblock_char_wrap_guide_style"; - min: 0 1; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - //source6: "X"; // anchor over - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "editfield_textblock_char_wrap_style"; - min: 0 1; - } - ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "editfield_textblock_char_wrap_disabled_style"; - min: 0 1; - } - } - } - ENTRY_EDITFIELD_SWALLOW_PARTS - } - ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - ENTRY_EDITFIELD_SWALLOW_PROGRAMS - ENTRY_EDITFIELD_FOCUS_PROGRAMS - } -} - -group { name: "elm/entry/base-single/editfield"; - alias: "elm/entry/base-single/editfield/default"; - alias: "elm/entry/base-single/editfield/lighting"; - alias: "elm/entry/base-single/editfield/singleline"; - alias: "elm/entry/base-single/editfield/singleline/default"; - alias: "elm/entry/base-single/editfield/singleline/lighting"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - styles { - style { name: "editfield_single_textblock_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - 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; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "editfield_single_textblock_disabled_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_DISABLED_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - 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; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "editfield_single_textblock_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_GUIDE_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry ellipsis=1.0"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } - } - data { - item: context_menu_orientation "horizontal"; - } - ENTRY_EDITFIELD_FOCUS_DATA - ENTRY_EDITFIELD_FOCUS_IMAGE - parts { - ENTRY_EDITFIELD_FOCUS_PARTS - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "editfield_single_textblock_guide_style"; - min: 0 1; - max: 0 1; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - //source2: ; // selection over - //source3: ; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - text { - style: "editfield_single_textblock_style"; - min: 1 1; - max: 0 1; - } - ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "editfield_single_textblock_disabled_style"; - } - } - } - ENTRY_EDITFIELD_SWALLOW_PARTS - } - ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - ENTRY_EDITFIELD_SWALLOW_PROGRAMS - ENTRY_EDITFIELD_FOCUS_PROGRAMS - } -} - -group { name: "elm/entry/base-single/editfield/searchbar/default"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - styles { - style { name: "editfield_searchbar_single_textblock_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_SEARCHBAR_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - 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; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "editfield_searchbar_single_textblock_disabled_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_SEARCHBAR_DISABLED_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - 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; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "editfield_searchbar_single_textblock_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_SEARCHBAR_GUIDE_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry ellipsis=1.0"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } - style { name: "editfield_searchbar_single_textblock_disabled_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_SEARCHBAR_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_SEARCHBAR_DISABLED_GUIDE_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry ellipsis=1.0"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "editfield_searchbar_single_textblock_guide_style"; - min: 0 1; - max: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "editfield_searchbar_single_textblock_disabled_guide_style"; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - text { - style: "editfield_searchbar_single_textblock_style"; - min: 1 1; - max: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "editfield_searchbar_single_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - target: "elm.guide"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - target: "elm.guide"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/entry/base-single/default"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - styles { - style { name: "entry_single_textblock_style"; - 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"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - 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; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "entry_single_textblock_disabled_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_DISABLED_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link " "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - 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; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "entry_single_textblock_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_GUIDE_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry ellipsis=1.0"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } - } - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_single_textblock_guide_style"; - min: 0 1; - max: 0 0; - align: 0.0 0.5; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - text { - style: "entry_single_textblock_style"; - min: 1 1; - max: 0 0; - align: 0.0 0.5; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_single_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/entry/base-single-noedit/default"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_single_textblock_guide_style"; - min: 0 1; - max: 0 1; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - text { - style: "entry_single_textblock_style"; - min: 1 1; - max: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_single_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/entry/base-noedit/default"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_textblock_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "entry_textblock_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - - group { name: "elm/entry/base-noedit-charwrap/default"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_textblock_char_wrap_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "entry_textblock_char_wrap_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_char_wrap_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } - } - - group { name: "elm/entry/base-nowrap-noedit/default"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_textblock_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - text { - style: "entry_textblock_style"; - min: 1 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } - } - - group { name: "elm/entry/base-password/default"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "editfield_single_textblock_guide_style"; - min: 0 1; - max: 0 1; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PASSWORD; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - text { - style: "entry_single_textblock_style"; - repch: "•"; - min: 1 1; - max: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_single_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } - } - -group { name: "elm/entry/base-password/popup"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - styles - { - style { name: "entry_single_textblock_popup_style"; - 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"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - 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; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "entry_single_textblock_disabled_popup_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_DISABLED_TEXT_COLOR_INC" align=center wrap=mixed ellipsis=1.0 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - 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; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "entry_single_textblock_popup_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_GUIDE_TEXT_COLOR_INC" align=center wrap=mixed ellipsis=1.0 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_single_textblock_popup_guide_style"; - min: 0 1; - max: 0 1; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PASSWORD; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - text { - style: "entry_single_textblock_popup_style"; - repch: "•"; - min: 1 1; - max: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_single_textblock_disabled_popup_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - - group { name: "elm/entry/cursor/default"; - parts { - part { name: "clip2"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "clip"; - rel2.to: "clip"; - visible: 0; - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "clip"; - type: RECT; - mouse_events: 0; - scale: 1; - clip_to: "clip2"; - description { state: "default" 0.0; - rel1.offset: -10 0; - rel2.offset: 9 9; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "base"; - type: RECT; - mouse_events: 0; - scale: 1; - clip_to: "clip"; - description { state: "default" 0.0; - min: 2 2; - align: 0.5 1.0; - color: 0 0 0 0; - } - } - - part { name: "glow"; - type: RECT; - mouse_events: 0; - scale: 1; - clip_to: "clip2"; - description { state: "default" 0.0; - min: 3 0; - fixed: 1 0; - align: 0.5 0.5; - rel1 { - relative: 0.0 0.0; - offset: 0 -2; - } - rel2 { - relative: 0.0 1.0; - offset: 0 -2; - } - color: ENTRY_CURSOR_COLOR_INC; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - color: 0 0 0 0; - } - } - } - programs { - program { name: "show"; - action: STATE_SET "hidden" 0.0; - in: 0.6 0.0; - target: "glow"; - after: "show4"; - } - program { name: "show4"; - action: STATE_SET "default" 0.0; - in: 0.6 0.0; - target: "glow"; - after: "show"; - } - program { name: "focused"; - signal: "elm,action,focus"; - source: "elm"; - action: STATE_SET "focused" 0.0; - target: "clip2"; - after: "show4"; - } - program { name: "unfocused"; - signal: "elm,action,unfocus"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "clip2"; - after: "stop_glow"; - } - program { name: "stop_glow"; - action: ACTION_STOP; - target: "show"; - target: "show4"; - } - } - } - - - group { name: "elm/entry/selection/default"; - parts { - part { name: "bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - color: ENTRY_SELECTION_BG_COLOR; - } - } - } - } - - group { name: "elm/entry/selection/block_handle_left"; - data.item: "height" "79"; - data.item: "gap" "32"; - images { - image: "copy&paste_Handler_left.png" COMP; - image: "copy&paste_Handler_left_01.png" COMP; - image: "copy&paste_Handler_left_reverse.png" COMP; - image: "copy&paste_Handler_left_01_reverse.png" COMP; - } - parts { - part { name: "edge"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0; - max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0; - color: 0 0 0 0; - visible: 0; - align: 0 0; - } - } - part { name: "handle"; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - align: 1 0; - rel2 { relative: 1 1; to_x: "edge"; } - min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; - max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; - image { - normal: "copy&paste_Handler_left_01.png"; - border: 0 0 0 0; - } - image.middle: SOLID; - fill.smooth: 0; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "top" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 1 1; - rel2 { relative: 1 1; to_x: "edge"; } - image { - normal: "copy&paste_Handler_left.png"; - } - } - description { state: "bottom_reversed" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 0 0; - rel1 { relative: 0 0; to_x: "edge"; } - image { - normal: "copy&paste_Handler_left_01_reverse.png"; - } - } - description { state: "top_reversed" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 0 1; - rel1 { relative: 0 0; to_x: "edge"; } - image { - normal: "copy&paste_Handler_left_reverse.png"; - } - } - } - } - script { - public handler_ontop; - public handler_focused; - } - programs { - program { name: "focused"; - signal: "edje,focus,in"; - source: "edje"; - script { - set_int(handler_focused, 1); - } - } - program { name: "unfocused"; - signal: "edje,focus,out"; - source: "edje"; - script { - set_int(handler_focused, 0); - set_state(PART:"handle", "default", 0.0); - } - } - program { name: "bottom_reversed"; - signal: "elm,state,bottom,reversed"; - source: "elm"; - script { - set_state(PART:"handle", "bottom_reversed", 0.0); - } - } - program { name: "top_reversed"; - signal: "elm,state,top,reversed"; - source: "elm"; - script { - set_state(PART:"handle", "top_reversed", 0.0); - } - } - program { name: "top"; - signal: "elm,state,top"; - source: "elm"; - script { - new focused; - focused = get_int(handler_focused); - set_int(handler_ontop, 1); - if (focused) - { - set_state(PART:"handle", "top", 0.0); - } - else - { - set_state(PART:"handle", "default", 0.0); - } - } - } - program { name: "bottom"; - signal: "elm,state,bottom"; - source: "elm"; - script { - new focused; - focused = get_int(handler_focused); - set_int(handler_ontop, 0); - if (focused) - { - set_state(PART:"handle", "show", 0.0); - } - else - { - set_state(PART:"handle", "default", 0.0); - } - } - } - } - } - - group { name: "elm/entry/selection/block_handle_right"; - data.item: "height" "79"; - data.item: "gap" "32"; - images { - image: "copy&paste_Handler_right.png" COMP; - image: "copy&paste_Handler_right_01.png" COMP; - image: "copy&paste_Handler_right_reverse.png" COMP; - image: "copy&paste_Handler_right_01_reverse.png" COMP; - } - parts { - part { name: "edge"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0; - max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0; - color: 0 0 0 0; - visible: 0; - align: 0 0; - } - } - part { name: "handle"; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - align: 0 0; - min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; - max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; - image { - normal: "copy&paste_Handler_right.png"; - border: 0 0 0 0; - } - image.middle: SOLID; - fill.smooth: 0; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "top" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 0 1; - image { - normal: "copy&paste_Handler_right_01.png"; - } - } - description { state: "bottom_reversed" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 1 0; - rel2 { relative: 1.0 0.0; to_x: "edge"; } - image { - normal: "copy&paste_Handler_right_reverse.png"; - } - } - description { state: "top_reversed" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 1 1; - rel2 { relative: 1.0 0.0; to_x: "edge"; } - image { - normal: "copy&paste_Handler_right_01_reverse.png"; - } - } - } - } - script { - public handler_ontop; - public handler_focused; - } - programs { - program { name: "focused"; - signal: "edje,focus,in"; - source: "edje"; - script { - set_int(handler_focused, 1); - } - } - program { name: "unfocused"; - signal: "edje,focus,out"; - source: "edje"; - script { - set_int(handler_focused, 0); - set_state(PART:"handle", "default", 0.0); - } - } - program { name: "top"; - signal: "elm,state,top"; - source: "elm"; - script { - new focused; - focused = get_int(handler_focused); - set_int(handler_ontop, 1); - if (focused) - { - set_state(PART:"handle", "top", 0.0); - } - else - { - set_state(PART:"handle", "default", 0.0); - } - } - } - program { name: "bottom"; - signal: "elm,state,bottom"; - source: "elm"; - script { - new focused; - focused = get_int(handler_focused); - set_int(handler_ontop, 0); - if (focused) - { - set_state(PART:"handle", "show", 0.0); - } - else - { - set_state(PART:"handle", "default", 0.0); - } - } - } - program { name: "bottom_reversed"; - signal: "elm,state,bottom,reversed"; - source: "elm"; - script { - set_state(PART:"handle", "bottom_reversed", 0.0); - } - } - program { name: "top_reversed"; - signal: "elm,state,top,reversed"; - source: "elm"; - script { - set_state(PART:"handle", "top_reversed", 0.0); - } - } - } - } - - group { name: "elm/entry/cursor_handle/default"; - images { - image: "copy&paste_Handler_center.png" COMP; - image: "copy&paste_Handler_center_reverse.png" COMP; - } - parts { - part { name: "handle"; - scale: 1; - mouse_events: 1; - description { state: "default" 0.0; - max: 59 86; - min: 59 86; - align: 0 0; - visible: 0; - align: 0.5 0; - image { - normal: "copy&paste_Handler_center.png"; - border: 0 0 0 0; - } - image.middle: SOLID; - fill.smooth: 0; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "top" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 0.5 1.0; - image { - normal: "copy&paste_Handler_center_reverse.png"; - border: 0 0 0 0; - } - } - } - } - script { - public on_top; - } - programs { - program { name: "focused"; - signal: "edje,focus,in"; - source: "edje"; - script { - new on_top_val = get_int(on_top); - if (on_top_val) - { - set_state(PART:"handle", "top", 0.0); - } - else - { - set_state(PART:"handle", "show", 0.0); - } - } - } - program { name: "unfocused"; - signal: "edje,focus,out"; - source: "edje"; - script { - set_state(PART:"handle", "default", 0.0); - } - } - program { name: "show"; - signal: "edje,cursor,handle,show"; - source: "edje"; - script { - set_int(on_top, 0); - set_state(PART:"handle", "show", 0.0); - } - } - program { name: "hide"; - signal: "edje,cursor,handle,hide"; - source: "edje"; - script { - set_state(PART:"handle", "default", 0.0); - } - } - program { name: "top"; - signal: "edje,cursor,handle,top"; - source: "edje"; - script { - set_int(on_top, 1); - set_state(PART:"handle", "top", 0.0); - } - } - } - } - - group { name: "elm/entry/selection/block_handle_edge_left"; - parts { - part { name: "align"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: 0 0; - max: 0 0; - color: 0 0 0 0; - visible: 0; - align: 0 0; - } - } - part { name: "bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 0; - color: ENTRY_SELECTION_EDGE_COLOR; - min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0; - max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH -1; - rel2 { relative: 0 1; to_x: "align"; } - align: 0 0; - visible: 0; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "show"; - signal: "edje,focus,in"; - source: "edje"; - script { - set_state(PART:"bg", "show", 0.0); - } - } - program { name: "hide"; - signal: "edje,focus,out"; - source: "edje"; - script { - set_state(PART:"bg", "default", 0.0); - } - } - } - } - - group { name: "elm/entry/selection/block_handle_edge_right"; - parts { - part { name: "bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - color: ENTRY_SELECTION_EDGE_COLOR; - min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0; - max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH -1; - visible: 0; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "show"; - signal: "edje,focus,in"; - source: "edje"; - script { - set_state(PART:"bg", "show", 0.0); - } - } - program { name: "hide"; - signal: "edje,focus,out"; - source: "edje"; - script { - set_state(PART:"bg", "default", 0.0); - } - } - } - } - - group { name: "elm/entry/anchor/default"; - parts { - part { name: "bg"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - } - } - - group { name: "elm/entry/preedit/default"; - parts { - part { name: "bg"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 128 128 128 255; - } - } - } - } - - -#define MAGNIFIER_SCALE 1.5 - - group { name: "elm/entry/magnifier/fixed-size"; - data.item: "height" MAGNIFIER_HEIGHT_FIXED; - data.item: "scale" MAGNIFIER_SCALE; - data.item: "arrow" 30; - images { - image: "copy&paste_Magnifier_left.png" COMP; - image: "copy&paste_Magnifier_middle.png" COMP; - image: "copy&paste_Magnifier_right.png" COMP; - } - parts { - part { name: "bg"; - mouse_events: 0; - scale: 1; - type: RECT; - description { state: "default" 0.0; - fixed: 1 1; - min: MAGNIFIER_WIDTH_FIXED MAGNIFIER_HEIGHT_FIXED; - align: 0.5 0.0; - visible: 1; - color: 0 0 0 0; - } - } - part { name: "bg_middle_left"; - mouse_events: 0; - scale: 1; - type: RECT; - description { state: "default" 0.0; - min: 20 MAGNIFIER_HEIGHT_FIXED; - max: 20 -1; - align: 1.0 0.0; - rel2 { relative: 0.5 1.0; to: "bg"; } - visible: 1; - color: 0 0 0 0; - } - } - part { name: "bg_middle_right"; - mouse_events: 0; - scale: 1; - type: RECT; - description { state: "default" 0.0; - min: 20 MAGNIFIER_HEIGHT_FIXED; - max: 20 -1; - align: 0.0 0.0; - rel1 { relative: 0.5 0.0; to: "bg"; } - visible: 1; - color: 0 0 0 0; - } - } - part { name: "bg_left"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - min: 142 MAGNIFIER_HEIGHT_FIXED; - align: 0.0 0.0; - rel1 { relative: 0.0 0.0; to: "bg"; } - rel2 { relative: 0.0 1.0; to: "bg_middle_left"; } - image { - normal: "copy&paste_Magnifier_left.png"; - border: 21 1 20 44; - } - image.middle: 1; - fill.smooth: 0; - } - } - part { name: "bg_middle"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1 { relative: 0.0 0.0; to: "bg_middle_left"; } - rel2 { relative: 1.0 1.0; to: "bg_middle_right"; } - image { - normal: "copy&paste_Magnifier_middle.png"; - border: 1 38 20 44; - } - image.middle: 1; - fill.smooth: 0; - } - } - part { name: "bg_right"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - min: 142 MAGNIFIER_HEIGHT_FIXED; - rel1 { relative: 1.0 0.0; to: "bg_middle_right"; } - rel2.to: "bg"; - image { - normal: "copy&paste_Magnifier_right.png"; - border: 1 21 20 44; - } - image.middle: 1; - fill.smooth: 0; - } - } - part { name: "swallow"; - type: SWALLOW; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - align: 0.0 0.0; - rel1 { - to: "bg"; - offset: 21-5 22-8; //need to update when image with rounded corners releases - } - rel2 { - to: "bg"; - offset: -21+5 -44+10; - } - } - } - } - } - - group { name: "elm/entry/matchlist/default"; - data.item: "max_height" "230"; - parts { - part { name: "base"; - type: RECT; - scale : 1; - mouse_events: 1; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1 { - relative: 0.0 0.0; - offset: 0 20; - } - rel2 { - relative: 1.0 1.0; - offset: 0 20; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1 { - to: "base"; - } - rel2 { - to: "base"; - } - } - } - } - } - -/* Entry's bubble style */ - -styles { - style { - name: "entry_bubble_date_area_textblock_style"; - 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"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - 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; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { - name: "entry_bubble_sent_textblock_style"; - 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"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } - style { - name: "entry_bubble_receive_textblock_style"; - 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"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } -} - - group { name: "elm/entry/base/readmessage"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { - name: "elm.rect.left.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: ENTRY_BUBBLE_EX_PAD 0; - fixed: 1 0; - align: 0.0 0.0; - color: 0 0 0 0; - rel2.relative: 0.0 1.0; - } - } - part { - name: "elm.rect.right.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: ENTRY_BUBBLE_IX_PAD 0; - fixed: 1 0; - align: 0.0 0.0; - color: 0 0 0 0; - rel1 { relative: 1.0 0.0; to: "elm.text"; } - rel2.to: "elm.text"; - } - } - part { - name: "elm.rect.top.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 ENTRY_BUBBLE_Y_PAD; - fixed: 0 1; - align: 0.0 0.0; - color: 0 0 0 0; - rel2.relative: 1.0 0.0; - } - } - part { - name: "elm.rect.bottom.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 ENTRY_BUBBLE_Y_PAD; - fixed: 0 1; - align: 0.0 1.0; - color: 0 0 0 0; - rel1.relative: 0.0 1.0; - } - } - part { - name: "elm.image.bg"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - rel2.to_x: "elm.rect.right.pad"; - image { - normal: "00_messagebubble_bg_receive.png"; - border: 1 20 13 20; - border_scale: 1; - } - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection -// source6: "X"; // anchor over - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.0; - rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; } - rel2 { relative: 1.0 0.0; to_y: "elm.rect.bottom.pad"; } - text { - style: "entry_textblock_style"; - min: 0 1; - max: 1 0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - } - } - - group { name: "elm/entry/base-noedit/readmessage"; - parts { - part { - name: "elm.bubble.callerid.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel2.relative: 0.0 0.0; - align: 0.0 0.0; - min: 0 0; - fixed: 1 1; - visible: 0; - } - description { - state: "callerid_on" 0.0; - inherit: "default" 0.0; - min: ENTRY_BUBBLE_CALLERID_PAD 0; - } - } - part { - name: "elm.callerid.icon.pad"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel2.relative: 0.0 0.0; - align: 0.0 0.0; - min: ENTRY_BUBBLE_CALLERID_ICON_PAD 0; - fixed: 1 1; - visible: 0; - } - } - part { - name: "elm.swallow.callerid"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT; - max: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT; - fixed: 1 1; - align: 0.0 0.0; - rel1 { - to: "elm.callerid.icon.pad"; - relative: 1.0 0.0; - } - rel2 { - to: "elm.callerid.icon.pad"; - relative: 1.0 0.0; - } - visible: 0; - } - description { state: "callerid_on" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "elm.callerid.bottom.pad"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - } - description { state: "callerid_on" 0.0; - rel1 { - to: "elm.swallow.callerid"; - relative: 0.0 1.0; - } - rel2 { - to_x: "elm.swallow.callerid"; - relative: 0.0 1.0; - } - align: 0.0 0.0; - min: 0 0; - visible: 0; - } - } - part { - name: "elm.bubble.groupchat.pad"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1 { - to: "elm.bubble.callerid.pad"; - relative: 1.0 0.0; - } - rel2 { - to: "elm.bubble.callerid.pad"; - relative: 1.0 0.0; - } - align: 0.0 0.0; - min: 0 0; - fixed: 1 1; - visible: 0; - } - description { - state: "groupchat_on"; - inherit: "default" 0.0; - min: 0 ENTRY_BUBBLE_GROUPCHAT_PAD; - } - } - part { - name: "elm.groupchat.text.pad"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.bubble.groupchat.pad"; - rel2 { - to: "elm.bubble.groupchat.pad"; - relative: 0.0 1.0; - } - align: 0.0 0.5; - min: ENTRY_BUBBLE_GROUPCHAT_TEXT_PAD 0; - fixed: 1 0; - visible: 0; - } - } - part { - name: "elm.text.groupchat"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.0; - text { - font: "Tizen:style=Roman"; - size: ENTRY_BUBBLE_GROUPCHAT_SIZE_INC; - align: 0.0 0.0; - text_class: "tizen"; - min: 1 1; - } - rel1 { - to: "elm.groupchat.text.pad"; - relative: 1.0 0.0; - } - rel2 { - to: "elm.groupchat.text.pad"; - relative: 1.0 0.0; - } - color: ENTRY_BUBBLE_GROUPCHAT_COLOR_INC; - visible: 0; - } - description { state: "groupchat_on" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "elm.bubble.status.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1.relative: 1.0 0.0; - align: 1.0 0.5; - min: ENTRY_BUBBLE_STATUS_PAD 0; - fixed: 1 0; - visible: 0; - } - } - part { - name: "elm.bubble.lefttop.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to_x: "elm.bubble.callerid.pad"; - to_y: "elm.bubble.groupchat.pad"; - relative: 1.0 1.0; - } - rel2 { - to_x: "elm.bubble.callerid.pad"; - to_y: "elm.bubble.groupchat.pad"; - } - align: 0.0 0.0; - min: ENTRY_BUBBLE_READ_LEFTTOP_PAD; - visible: 0; - fixed: 1 1; - } - } - part { - name: "elm.bubble.righttop.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to_x: "elm.bubble.status.pad"; - to_y: "elm.bubble.groupchat.pad"; - relative: 0.0 1.0; - } - rel2 { - to_x: "elm.bubble.status.pad"; - to_y: "elm.bubble.groupchat.pad"; - relative: 0.0 1.0; - } - align: 1.0 0.0; - min: ENTRY_BUBBLE_READ_RIGHTTOP_PAD; - visible: 0; - fixed: 1 1; - } - } - part { - name: "elm.image.bg"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - rel1.to: "elm.bubble.lefttop.pad"; - rel2.to: "elm.bubble.rightbottom.pad"; - image { - normal: "00_messagebubble_bg_receive.png"; - border: ENTRY_BUBBLE_RECEV_BG_BORDER_INC; - border_scale: 1; - } - } - } - part { - name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { - state: "default" 0.0; - align: 0.0 0.0; - min: ENTRY_BUBBLE_TEXT_MIN; - rel1 { - to: "elm.bubble.lefttop.pad"; - relative: 1.0 1.0; - } - rel2 { - to: "elm.bubble.righttop.pad"; - relative: 0.0 1.0; - } - text { - style: "entry_bubble_receive_textblock_style"; - min: 0 1; - max: 1 0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style"; - } - } - } - part { - name: "elm.rect.middle.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to: "elm.text"; - relative: 0.0 1.0; - } - rel2.to: "elm.text"; - align: 0.5 0.0; - min: 0 0; - visible: 0; - } - description { - state: "show" 0.0; - inherit: "default" 0.0; - min: 0 ENTRY_BUBBLE_MIDDLE_PAD; - } - } - part { - name: "elm.swallow.end"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel1 { - to: "elm.rect.middle.pad"; - relative: 0.0 1.0; - } - rel2.to: "elm.rect.middle.pad"; - align: 0.0 0.0; - } - } - part { - name: "elm.bubble.rightbottom.pad"; - type: RECT; - scale: 1; - description { - rel1 { - to: "elm.swallow.end"; - relative: 1.0 1.0; - } - rel2.to: "elm.swallow.end"; - align: 0.0 0.0; - min: ENTRY_BUBBLE_READ_RIGHTBOTTOM_PAD; - visible: 0; - fixed: 1 1; - } - } - part { - name: "elm.icon.top.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - align: 0.0 0.0; - rel1 { - to: "elm.bubble.rightbottom.pad"; - relative: 0.0 1.0; - } - rel2 { - to: "elm.bubble.rightbottom.pad"; - relative: 0.0 1.0; - } - min: 0 0; - visible: 0; - } - description { - state: "contents_on" 0.0; - inherit: "default" 0.0; - min: 0 ENTRY_BUBBLE_ICON_TOP_PAD; - } - } - part { - name: "elm.swallow.icon1"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to_x: "elm.text"; - to_y: "elm.icon.top.pad"; - relative: 0.0 1.0; - } - rel2 { - to_x: "elm.text"; - to_y: "elm.icon.top.pad"; - relative: 0.0 1.0; - } - min: 0 0; - align: 0.0 0.0; - visible: 0; - } - description { - state: "contents_on" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "elm.icon.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to: "elm.swallow.icon1"; - relative: 1.0 0.0; - } - rel2 { - to: "elm.swallow.icon1"; - relative: 1.0 1.0; - } - min: ENTRY_BUBBLE_ICON_PAD 0; - align: 0.0 0.5; - visible: 0; - } - } - part { - name: "elm.swallow.icon2"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to: "elm.icon.pad"; - relative: 1.0 0.0; - } - rel2 { - to: "elm.icon.pad"; - relative: 1.0 1.0; - } - min: 0 0; - align: 0.0 0.5; - visible: 0; - } - description { - state: "contents_on" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "elm.bottom.pad"; - type: RECT; - scale: 1; - description { - rel1 { - to_y: "elm.swallow.icon1"; - relative: 0.0 1.0; - } - min: 0 0; - visible: 0; - } - } - part { - name: "elm.status.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to: "elm.bubble.rightbottom.pad"; - relative: 1.0 1.0; - } - rel2.to: "elm.bubble.rightbottom.pad"; - min: ENTRY_BUBBLE_STATUS_TEXT_ICON_PAD; - align: 0.0 1.0; - fixed: 1 1; - visible: 0; - } - } - part { name: "elm.text.time"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - text { - font: "Tizen:style=Roman"; - size: ENTRY_BUBBLE_STATUS_TIME_TEXT_SIZE_INC; - min: 1 1; - text_class: "tizen"; - align: 0.0 1.0; - } - color: ENTRY_BUBBLE_READ_STATUS_TIME_COLOR_INC; - rel1 { - to: "elm.status.pad"; - relative: 1.0 0.0; - } - rel2 { - to: "elm.status.pad"; - relative: 1.0 0.0; - } - align: 0.0 1.0; - min: ENTRY_BUBBLE_STATUS_TIME_SIZE; - fixed: 1 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text.status"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - text { - font: "Tizen:style=Roman"; - size: ENTRY_BUBBLE_STATUS_TIME_TEXT_SIZE_INC; - min: 0 1; - text_class: "tizen"; - align: 0.0 1.0; - } - color: ENTRY_BUBBLE_READ_STATUS_TIME_COLOR_INC; - rel1.to: "elm.text.time"; - rel2 { - to: "elm.text.time"; - relative: 1.0 0.0; - } - align: 0.0 1.0; - min: ENTRY_BUBBLE_STATUS_TIME_SIZE; - fixed: 1 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "elm.swallow.status"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to: "elm.status.pad"; - relative: 1.0 0.0; - } - rel2 { - to: "elm.status.pad"; - relative: 1.0 0.0; - } - align: 0.0 1.0; - fixed: 1 1; - visible: 0; - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "go_callerid_on"; - signal: "elm,state,callerid,enabled"; - source: "elm"; - action: STATE_SET "callerid_on" 0.0; - target: "elm.bubble.callerid.pad"; - target: "elm.swallow.callerid"; - target: "elm.callerid.bottom.pad"; - } - program { name: "go_callerid_off"; - signal: "elm,state,callerid,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.bubble.callerid.pad"; - target: "elm.swallow.callerid"; - target: "elm.callerid.bottom.pad"; - } - program { name: "go_groupchat_on"; - signal: "elm,state,groupchat,enabled"; - source: "elm"; - action: STATE_SET "groupchat_on" 0.0; - target: "elm.bubble.groupchat.pad"; - target: "elm.text.groupchat"; - } - program { name: "go_groupchat_off"; - signal: "elm,state,groupchat,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.bubble.groupchat.pad"; - target: "elm.text.groupchat"; - } - program { name: "go_textstatus_on"; - signal: "elm,state,text,status,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text.time"; - target: "elm.text.status"; - after: "go_contentstatus_off"; - } - program { name: "go_textstatus_off"; - signal: "elm,state,text,status,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text.time"; - target: "elm.text.status"; - } - program { name: "go_contentstatus_on"; - signal: "elm,state,content,status,enabled"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - target: "elm.swallow.status"; - after: "go_textstatus_off"; - } - program { name: "go_contentstatus_off"; - signal: "elm,state,content,status,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.status"; - } - program { name: "show_middle_pad"; - signal: "elm,state,middle,pad,enabled"; - source: "elm"; - action: STATE_SET "show" 0.0; - target: "elm.rect.middle.pad"; - } - program { name: "hide_middle_pad"; - signal: "elm,state,middle,pad,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.rect.middle.pad"; - } - program { name: "go_contents_on"; - signal: "elm,state,contents,enabled"; - source: "elm"; - action: STATE_SET "contents_on" 0.0; - target: "elm.icon.top.pad"; - target: "elm.swallow.icon1"; - target: "elm.swallow.icon2"; - } - program { name: "go_contents_off"; - signal: "elm,state,contents,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.icon.top.pad"; - target: "elm.swallow.icon1"; - target: "elm.swallow.icon2"; - } - } - } - - group { name: "elm/entry/base-noedit-charwrap/readmessage"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { - name: "elm.rect.left.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: ENTRY_BUBBLE_EX_PAD 0; - fixed: 1 0; - align: 0.0 0.0; - color: 0 0 0 0; - rel2.relative: 0.0 1.0; - } - } - part { - name: "elm.rect.right.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: ENTRY_BUBBLE_IX_PAD 0; - fixed: 1 0; - align: 0.0 0.0; - color: 0 0 0 0; - rel1 { relative: 1.0 0.0; to_x: "elm.text"; } - rel2.to_x: "elm.text"; - } - } - part { - name: "elm.rect.top.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 ENTRY_BUBBLE_Y_PAD; - fixed: 0 1; - align: 0.0 0.0; - color: 0 0 0 0; - rel2.relative: 1.0 0.0; - } - } - part { - name: "elm.rect.bottom.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 ENTRY_BUBBLE_Y_PAD; - fixed: 0 1; - align: 0.0 1.0; - color: 0 0 0 0; - rel1.relative: 0.0 1.0; - } - } - part { - name: "elm.image.bg"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - rel2.to_x: "elm.rect.right.pad"; - image { - normal: "00_messagebubble_bg_receive.png"; - border: 1 20 13 20; - border_scale: 1; - } - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.0; - rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; } - rel2 { relative: 1.0 0.0; to_y: "elm.rect.bottom.pad"; } - text { - style: "entry_textblock_char_wrap_style"; - min: 0 1; - max: 1 0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_char_wrap_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - } - } - - group { name: "elm/entry/base/sentmessage"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { - name: "elm.rect.right.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: ENTRY_BUBBLE_EX_PAD 0; - fixed: 1 0; - align: 1.0 0.0; - color: 0 0 0 0; - rel1.relative: 1.0 0.0; - } - } - part { - name: "elm.rect.left.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: ENTRY_BUBBLE_IX_PAD 0; - fixed: 1 0; - align: 1.0 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 0.0; to: "elm.text"; } - rel2 { relative: 0.0 1.0; to: "elm.text"; } - } - } - part { - name: "elm.rect.top.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 ENTRY_BUBBLE_Y_PAD; - fixed: 0 1; - align: 0.0 0.0; - color: 0 0 0 0; - rel2.relative: 1.0 0.0; - } - } - part { - name: "elm.rect.bottom.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 ENTRY_BUBBLE_Y_PAD; - fixed: 0 1; - align: 0.0 1.0; - color: 0 0 0 0; - rel1.relative: 0.0 1.0; - } - } - part { - name: "elm.image.bg"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - rel1.to_x: "elm.rect.left.pad"; - image { - normal: "00_messagebubble_bg_sent.png"; - border: 20 1 13 20; - border_scale: 1; - } - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under -// source6: "X"; // anchor over - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.0; - rel1 { relative: 0.0 1.0; to_y: "elm.rect.top.pad";} - rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; } - text { - style: "entry_textblock_style"; - min: 0 1; - max: 1 0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - } - } - - group { name: "elm/entry/base-noedit/sentmessage"; - parts { - part { - name: "elm.bubble.callerid.pad"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 0.0; - align: 1.0 0.0; - min: 0 0; - fixed: 1 1; - visible: 0; - } - description { state: "callerid_on"; - inherit: "default" 0.0; - min: ENTRY_BUBBLE_CALLERID_PAD 0; - } - } - part { - name: "elm.callerid.icon.pad"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 0.0; - align: 1.0 0.0; - min: ENTRY_BUBBLE_CALLERID_ICON_PAD 0; - fixed: 1 1; - visible: 0; - } - } - part { - name: "elm.swallow.callerid"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT; - max: ENTRY_BUBBLE_CALLERID_WIDTH ENTRY_BUBBLE_CALLERID_HEIGHT; - fixed: 1 1; - align: 1.0 0.0; - rel1.to: "elm.callerid.icon.pad"; - rel2 { - to: "elm.callerid.icon.pad"; - relative: 0.0 0.0; - } - visible: 0; - } - description { state: "callerid_on" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "elm.callerid.bottom.pad"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - } - description { state: "callerid_on" 0.0; - rel1 { - to: "elm.swallow.callerid"; - relative: 0.0 1.0; - } - rel2 { - to_x: "elm.swallow.callerid"; - relative: 0.0 1.0; - } - align: 0.0 0.0; - min: 0 0; - visible: 0; - } - } - part { - name: "elm.bubble.groupchat.pad"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1 { - to: "elm.bubble.callerid.pad"; - relative: 0.0 0.0; - } - rel2 { - to: "elm.bubble.callerid.pad"; - relative: 0.0 0.0; - } - align: 1.0 0.0; - min: 0 0; - fixed: 1 1; - visible: 0; - } - description { - state: "groupchat_on"; - inherit: "default" 0.0; - min: 0 ENTRY_BUBBLE_GROUPCHAT_PAD; - } - } - part { - name: "elm.groupchat.text.pad"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1 { - to: "elm.bubble.groupchat.pad"; - relative: 1.0 0.0; - } - rel2.to: "elm.bubble.groupchat.pad"; - align: 1.0 0.5; - min: ENTRY_BUBBLE_GROUPCHAT_TEXT_PAD 0; - fixed: 1 0; - visible: 0; - } - } - part { - name: "elm.text.groupchat"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - align: 1.0 0.0; - text { - font: "Tizen:style=Roman"; - size: ENTRY_BUBBLE_GROUPCHAT_SIZE_INC; - align: 1.0 0.0; - text_class: "tizen"; - min: 1 1; - } - rel1.to: "elm.groupchat.text.pad"; - rel2 { - to: "elm.groupchat.text.pad"; - relative: 0.0 0.0; - } - color: ENTRY_BUBBLE_GROUPCHAT_COLOR_INC; - visible: 0; - } - description { state: "groupchat_on" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "elm.bubble.status.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel2.relative: 0.0 1.0; - align: 0.0 0.5; - min: ENTRY_BUBBLE_STATUS_PAD 0; - fixed: 1 0; - visible: 0; - } - } - part { - name: "elm.bubble.lefttop.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to_x: "elm.bubble.status.pad"; - to_y: "elm.bubble.groupchat.pad"; - relative: 1.0 1.0; - } - rel2 { - to_x: "elm.bubble.status.pad"; - to_y: "elm.bubble.groupchat.pad"; - } - align: 0.0 0.0; - min: ENTRY_BUBBLE_SENT_LEFTTOP_PAD; - visible: 0; - fixed: 1 1; - } - } - part { - name: "elm.bubble.righttop.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to_x: "elm.bubble.callerid.pad"; - to_y: "elm.bubble.groupchat.pad"; - relative: 0.0 1.0; - } - rel2 { - to_x: "elm.bubble.callerid.pad"; - to_y: "elm.bubble.groupchat.pad"; - relative: 0.0 1.0; - } - align: 1.0 0.0; - min: ENTRY_BUBBLE_SENT_RIGHTTOP_PAD; - fixed: 1 1; - visible: 0; - } - } - part { - name: "elm.image.bg"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to_x: "elm.bubble.leftbottom.pad"; - to_y: "elm.bubble.lefttop.pad"; - } - rel2 { - to_x: "elm.bubble.righttop.pad"; - to_y: "elm.bubble.leftbottom.pad"; - } - image { - normal: "00_messagebubble_bg_sent.png"; - border: ENTRY_BUBBLE_SENT_BG_BORDER_INC; - border_scale: 1; - } - } - } - part { - name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { - state: "default" 0.0; - align: 1.0 0.0; - min: ENTRY_BUBBLE_TEXT_MIN; - rel1 { - to: "elm.bubble.lefttop.pad"; - relative: 1.0 1.0; - } - rel2 { - to: "elm.bubble.righttop.pad"; - relative: 0.0 1.0; - } - text { - style: "entry_bubble_sent_textblock_style"; - min: 0 1; - max: 1 0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style"; - } - } - } - part { - name: "elm.rect.middle.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to: "elm.text"; - relative: 0.0 1.0; - } - rel2.to: "elm.text"; - align: 0.5 0.0; - min: 0 0; - visible: 0; - } - description { - state: "show" 0.0; - inherit: "default" 0.0; - min: 0 ENTRY_BUBBLE_MIDDLE_PAD; - } - } - part { - name: "elm.swallow.end"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel1 { - to: "elm.rect.middle.pad"; - relative: 0.0 1.0; - } - rel2.to: "elm.rect.middle.pad"; - align: 1.0 0.0; - } - } - part { - name: "elm.bubble.leftbottom.pad"; - type: RECT; - scale: 1; - description { - rel1 { - to: "elm.swallow.end"; - relative: 0.0 1.0; - } - rel2 { - to: "elm.swallow.end"; - relative: 0.0 1.0; - } - align: 1.0 0.0; - min: ENTRY_BUBBLE_SENT_LEFTBOTTOM_PAD; - visible: 0; - fixed: 1 1; - } - } - part { - name: "elm.icon.top.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - align: 0.0 0.0; - rel1 { - to: "elm.bubble.leftbottom.pad"; - relative: 0.0 1.0; - } - rel2 { - to: "elm.bubble.leftbottom.pad"; - relative: 0.0 1.0; - } - min: 0 0; - visible: 0; - } - description { - state: "contents_on" 0.0; - inherit: "default" 0.0; - min: 0 ENTRY_BUBBLE_ICON_TOP_PAD; - } - } - part { - name: "elm.swallow.icon1"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to_x: "elm.text"; - to_y: "elm.icon.top.pad"; - relative: 1.0 1.0; - } - rel2 { - to_x: "elm.text"; - to_y: "elm.icon.top.pad"; - } - min: 0 0; - align: 1.0 0.0; - visible: 0; - } - description { - state: "contents_on" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "elm.icon.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to: "elm.swallow.icon1"; - relative: 0.0 0.0; - } - rel2 { - to: "elm.swallow.icon1"; - relative: 0.0 1.0; - } - min: ENTRY_BUBBLE_ICON_PAD 0; - align: 1.0 0.5; - visible: 0; - } - } - part { - name: "elm.swallow.icon2"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to: "elm.icon.pad"; - relative: 0.0 0.0; - } - rel2 { - to: "elm.icon.pad"; - relative: 0.0 1.0; - } - min: 0 0; - align: 1.0 0.5; - visible: 0; - } - description { - state: "contents_on" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "elm.bottom.pad"; - type: RECT; - scale: 1; - description { - rel1 { - to_y: "elm.swallow.icon1"; - relative: 0.0 1.0; - } - min: 0 0; - visible: 0; - } - } - part { - name: "elm.status.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to: "elm.bubble.leftbottom.pad"; - relative: 0.0 1.0; - } - rel2 { - to: "elm.bubble.leftbottom.pad"; - relative: 0.0 1.0; - }; - min: ENTRY_BUBBLE_STATUS_TEXT_ICON_PAD; - align: 1.0 1.0; - fixed: 1 1; - visible: 0; - } - } - part { name: "elm.text.time"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - text { - font: "Tizen:style=Roman"; - size: ENTRY_BUBBLE_STATUS_TIME_TEXT_SIZE_INC; - min: 1 1; - text_class: "tizen"; - align: 1.0 1.0; - } - color: ENTRY_BUBBLE_READ_STATUS_TIME_COLOR_INC; - rel1.to: "elm.status.pad"; - rel2 { - to: "elm.status.pad"; - relative: 0.0 0.0; - } - align: 1.0 1.0; - min: ENTRY_BUBBLE_STATUS_TIME_SIZE; - fixed: 1 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text.status"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - text { - font: "Tizen:style=Roman"; - size: ENTRY_BUBBLE_STATUS_TIME_TEXT_SIZE_INC; - min: 0 1; - text_class: "tizen"; - align: 1.0 1.0; - } - color: ENTRY_BUBBLE_READ_STATUS_TIME_COLOR_INC; - rel1.to: "elm.text.time"; - rel2 { - to: "elm.text.time"; - relative: 1.0 0.0; - } - align: 1.0 1.0; - min: ENTRY_BUBBLE_STATUS_TIME_SIZE; - fixed: 1 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "elm.swallow.status"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - rel1.to: "elm.status.pad"; - rel2 { - to: "elm.status.pad"; - relative: 0.0 0.0; - } - align: 1.0 1.0; - fixed: 1 1; - visible: 0; - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "go_callerid_on"; - signal: "elm,state,callerid,enabled"; - source: "elm"; - action: STATE_SET "callerid_on" 0.0; - target: "elm.bubble.callerid.pad"; - target: "elm.swallow.callerid"; - target: "elm.callerid.bottom.pad"; - } - program { name: "go_callerid_off"; - signal: "elm,state,callerid,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.bubble.callerid.pad"; - target: "elm.swallow.callerid"; - target: "elm.callerid.bottom.pad"; - } - program { name: "go_groupchat_on"; - signal: "elm,state,groupchat,enabled"; - source: "elm"; - action: STATE_SET "groupchat_on" 0.0; - target: "elm.bubble.groupchat.pad"; - target: "elm.text.groupchat"; - } - program { name: "go_groupchat_off"; - signal: "elm,state,groupchat,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.bubble.groupchat.pad"; - target: "elm.text.groupchat"; - } - program { name: "go_textstatus_on"; - signal: "elm,state,text,status,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text.time"; - target: "elm.text.status"; - after: "go_contentstatus_off"; - } - program { name: "go_textstatus_off"; - signal: "elm,state,text,status,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text.time"; - target: "elm.text.status"; - } - program { name: "go_contentstatus_on"; - signal: "elm,state,content,status,enabled"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - target: "elm.swallow.status"; - after: "go_textstatus_off"; - } - program { name: "go_contentstatus_off"; - signal: "elm,state,content,status,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.status"; - } - program { name: "show_middle_pad"; - signal: "elm,state,middle,pad,enabled"; - source: "elm"; - action: STATE_SET "show" 0.0; - target: "elm.rect.middle.pad"; - } - program { name: "hide_middle_pad"; - signal: "elm,state,middle,pad,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.rect.middle.pad"; - } - program { name: "go_contents_on"; - signal: "elm,state,contents,enabled"; - source: "elm"; - action: STATE_SET "contents_on" 0.0; - target: "elm.icon.top.pad"; - target: "elm.swallow.icon1"; - target: "elm.swallow.icon2"; - } - program { name: "go_contents_off"; - signal: "elm,state,contents,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.icon.top.pad"; - target: "elm.swallow.icon1"; - target: "elm.swallow.icon2"; - } - } - } - - group { name: "elm/entry/base-noedit-charwrap/sentmessage"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { - name: "elm.rect.right.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: ENTRY_BUBBLE_EX_PAD 0; - fixed: 1 0; - align: 1.0 0.0; - color: 0 0 0 0; - rel1.relative: 1.0 0.0; - } - } - part { - name: "elm.rect.left.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: ENTRY_BUBBLE_IX_PAD 0; - fixed: 1 0; - align: 1.0 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 0.0; to: "elm.text"; } - rel2 { relative: 0.0 1.0; to: "elm.text"; } - } - } - part { - name: "elm.rect.top.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 ENTRY_BUBBLE_Y_PAD; - fixed: 0 1; - align: 0.0 0.0; - color: 0 0 0 0; - rel2.relative: 1.0 0.0; - } - } - part { - name: "elm.rect.bottom.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 ENTRY_BUBBLE_Y_PAD; - fixed: 0 1; - align: 0.0 1.0; - color: 0 0 0 0; - rel1.relative: 0.0 1.0; - } - } - part { - name: "elm.image.bg"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - rel1.to_x: "elm.rect.left.pad"; - image { - normal: "00_messagebubble_bg_sent.png"; - border: 20 1 13 20; - border_scale: 1; - } - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.0; - rel1 { relative: 0.0 1.0; to_y: "elm.rect.top.pad";} - rel2 { relative: 0.0 0.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; } - text { - style: "entry_textblock_char_wrap_style"; - min: 0 1; - max: 1 0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_char_wrap_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - } - } - -group { name: "elm/entry/base-single/multibuttonentry"; - - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - - styles { - style { name: "multibuttonentry_single_textblock_style"; - 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=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "multibuttonentry_single_textblock_disabled_style"; - 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=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - style { name: "multibuttonentry_single_textblock_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_GUIDE_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=tizen ellipsis=1.0"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } - } - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "multibuttonentry_single_textblock_guide_style"; - min: 0 1; - max: 0 1; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - text { - style: "multibuttonentry_single_textblock_style"; - min: 1 1; - max: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "multibuttonentry_single_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} -group { name: "elm/entry/base/font_color_black"; - alias: "elm/entry/base-mixedwrap/font_color_black"; - alias: "elm/entry/base/font_color_black/default"; - alias: "elm/entry/base/font_color_black/lighting"; - alias: "elm/entry/base/font_color_black/multiline"; - alias: "elm/entry/base/font_color_black/multiline/default"; - alias: "elm/entry/base/font_color_black/multiline/lighting"; - alias: "elm/entry/base/editfield/font_color_black"; - - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - - styles { - style { name: "font_color_black_textblock_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color=#000000FF"; - tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF"; - } - style { name: "font_color_black_textblock_disabled_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_DISABLED_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color=#000000FF"; - tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF"; - } - style { name: "font_color_black_textblock_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_GUIDE_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } - } - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "font_color_black_textblock_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - //source6: "X"; // anchor over - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "font_color_black_textblock_style"; - min: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "font_color_black_textblock_disabled_style"; - min: 0 1; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/entry/base-noedit/font_color_black"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "font_color_black_textblock_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - //source6: "X"; // anchor over - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "font_color_black_textblock_style"; - min: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "font_color_black_textblock_disabled_style"; - min: 0 1; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/entry/base-charwrap/font_color_black"; - alias: "elm/entry/base/font_color_black/char_wrap"; - alias: "elm/entry/base/font_color_black/default/char_wrap"; - alias: "elm/entry/base/font_color_black/lighting/char_wrap"; - alias: "elm/entry/base/font_color_black/multiline/char_wrap"; - alias: "elm/entry/base/font_color_black/multiline/default/char_wrap"; - alias: "elm/entry/base/font_color_black/multiline/lighting/char_wrap"; - alias: "elm/entry/base-charwrap/editfield/font_color_black"; - - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - - styles { - style { name: "font_color_black_textblock_char_wrap_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color=#000000FF"; - tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF"; - } - style { name: "font_color_black_textblock_char_wrap_disabled_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_DISABLED_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color=#000000FF"; - tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF"; - } - style { name: "font_color_black_textblock_char_wrap_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_GUIDE_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } - } - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "font_color_black_textblock_char_wrap_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - //source6: "X"; // anchor over - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "font_color_black_textblock_char_wrap_style"; - min: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "font_color_black_textblock_char_wrap_disabled_style"; - min: 0 1; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/entry/base-single/font_color_black"; - alias: "elm/entry/base-single/font_color_black/default"; - alias: "elm/entry/base-single/font_color_black/lighting"; - alias: "elm/entry/base-single/font_color_black/singleline"; - alias: "elm/entry/base-single/font_color_black/singleline/default"; - alias: "elm/entry/base-single/font_color_black/singleline/lighting"; - alias: "elm/entry/base-single/editfield/font_color_black"; - alias: "elm/entry/base-single/editfield/searchbar/font_color_black"; - - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - - styles { - style { name: "font_color_black_single_textblock_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color=#000000FF"; - tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF"; - } - style { name: "font_color_black_single_textblock_disabled_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_DISABLED_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color=#000000FF"; - tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF"; - } - style { name: "font_color_black_single_textblock_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_GUIDE_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } - } - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "font_color_black_single_textblock_guide_style"; - min: 0 1; - max: 0 1; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - text { - style: "font_color_black_single_textblock_style"; - min: 1 1; - max: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "font_color_black_single_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/entry/base-single-noedit/font_color_black"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "font_color_black_single_textblock_guide_style"; - min: 0 1; - max: 0 1; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: BLOCK_HANDLE; - //cursor_mode: BEFORE; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - text { - style: "font_color_black_single_textblock_style"; - min: 1 1; - max: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "font_color_black_single_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} -group { name: "elm/entry/base-single/font_color_black/tizen_text_class"; - inherit: "elm/entry/base-single/font_color_black"; - styles { - style { name: "tizen_text_class_single_textblock_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color=#000000FF"; - tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF"; - } - style { name: "tizen_text_class_single_textblock_disabled_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_DISABLED_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color=#000000FF"; - tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color=#000000FF"; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color=#000000FF"; - } - style { name: "tizen_text_class_single_textblock_guide_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_FONT_COLOR_BLACK_GUIDE_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=tizen ellipsis=1.0"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - } - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "tizen_text_class_single_textblock_guide_style"; - min: 0 1; - max: 0 1; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - description { state: "default" 0.0; - text { - style: "tizen_text_class_single_textblock_style"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "tizen_text_class_single_textblock_disabled_style"; - } - } - } - } -} -group { name: "elm/entry/base-password/font_color_black"; - alias: "elm/entry/base-password/editfield/font_color_black"; - data.item: "default_font_size" "24"; - data.item: "min_font_size" "8"; - data.item: "max_font_size" "60"; - data { - item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "font_color_black_single_textblock_guide_style"; - min: 0 1; - max: 0 1; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PASSWORD; - select_mode: BLOCK_HANDLE; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - //source2: "X"; // selection over - //source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler - source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - text { - style: "font_color_black_single_textblock_style"; - repch: "•"; - min: 1 1; - max: 0 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "font_color_black_single_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} - -group { name: "elm/scroller/entry/default"; - data { - item: "focus_highlight" "off"; - } - script { - public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; - public timer0(val) { - new v; - v = get_int(sbvis_v); - if (v) { - v = get_int(sbalways_v); - if (!v) { - emit("do-hide-vbar", ""); - set_int(sbvis_v, 0); - } - } - v = get_int(sbvis_h); - if (v) { - v = get_int(sbalways_h); - if (!v) { - emit("do-hide-hbar", ""); - set_int(sbvis_h, 0); - } - } - set_int(sbvis_timer, 0); - return 0; - } - } - parts { - part { name: "focus_bg"; - type: RECT; - scale: 1; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - visible: 0; - } - } - part { name: "bg"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - } - } - part { name: "clipper"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - } - part { name: "contentclipper"; - type: RECT; - scale: 1; - mouse_events: 0; - clip_to: "clipper"; - description { state: "default" 0.0; - rel1 { - to_x: "icon_padding"; - to_y: "bg"; - relative: 1.0 0.0; - } - rel2 { - to_x: "clear_padding"; - to_y: "bg"; - relative: 0.0 1.0; - } - } - } - part { name: "icon_padding"; - type: SPACER; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - align: 0.0 0.5; - fixed: 1 1; - rel1 { - to: "bg"; - relative: 0.0 0.0; - } - rel2 { - to: "bg"; - relative: 0.0 1.0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - rel2 { - to_x: "elm.swallow.icon"; - relative: 1.0 1.0; - } - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - align: 0.0 0.5; - fixed: 1 1; - rel1 { - to: "bg"; - relative: 0.0 0.0; - } - rel2 { - to: "bg"; - relative: 0.0 1.0; - } - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "clear_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - align: 1.0 0.5; - fixed: 1 1; - rel1 { - to_x: "elm.swallow.end"; - to_y: "bg"; - relative: 0.0 0.0; - } - rel2 { - to_x: "elm.swallow.end"; - to_y: "bg"; - relative: 0.0 1.0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - rel1 { - to_x: "elm.swallow.clear"; - relative: 0.0 0.0; - } - } - } - part { name: "elm.swallow.clear"; - type: SWALLOW; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - align: 1.0 0.5; - fixed: 1 1; - rel1 { - to_x: "elm.swallow.end"; - to_y: "bg"; - relative: 0.0 0.0; - } - rel2 { - to_x: "elm.swallow.end"; - to_y: "bg"; - relative: 0.0 1.0; - } - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.swallow.end"; - type: SWALLOW; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - align: 1.0 0.5; - fixed: 1 1; - rel1 { - to: "bg"; - relative: 1.0 0.0; - } - rel2 { - to: "bg"; - relative: 1.0 1.0; - } - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.swallow.content"; - clip_to: "contentclipper"; - scale: 1; - type: SWALLOW; - description { state: "default" 0.0; - rel1 { - to_x: "icon_padding"; - to_y: "bg"; - relative: 1.0 0.0; - } - rel2 { - to_x: "clear_padding"; - to_y: "bg"; - relative: 0.0 1.0; - } - } - } - part { name: "sb_vbar_clip_master"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_vbar_clip"; - clip_to: "sb_vbar_clip_master"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_vbar"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - min: 10 17; - align: 1.0 0.0; - rel1 { - relative: 0.0 0.0; - to_y: "elm.swallow.content"; - to_x: "clear_padding"; - } - rel2 { - relative: 0.0 0.0; - to_y: "sb_hbar"; - to_x: "clear_padding"; - } - } - } - part { name: "elm.dragable.vbar"; - type: RECT; - scale: 1; - clip_to: "sb_vbar_clip"; - mouse_events: 0; - dragable { - x: 0 0 0; - y: 1 1 0; - confine: "sb_vbar"; - } - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - min: 10 17; - max: 10 99999; - rel1 { - relative: 0.5 0.5; - to: "sb_vbar"; - } - rel2 { - relative: 0.5 0.5; - to: "sb_vbar"; - } - } - } - part { name: "sb_hbar_clip_master"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_hbar_clip"; - clip_to: "sb_hbar_clip_master"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_hbar"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - min: 17 10; - align: 0.0 1.0; - rel1 { - relative: 0.0 1.0; - to_x: "elm.swallow.content"; - to_y: "elm.swallow.content"; - } - rel2 { - relative: 0.0 1.0; - to_x: "sb_vbar"; - to_y: "elm.swallow.content"; - } - } - } - part { name: "elm.dragable.hbar"; - type: RECT; - scale: 1; - clip_to: "sb_hbar_clip"; - mouse_events: 0; - dragable { - x: 1 1 0; - y: 0 0 0; - confine: "sb_hbar"; - } - description { state: "default" 0.0; - fixed: 1 1; - min: 17 10; - max: 99999 10; - rel1 { - relative: 0.5 0.5; - to: "sb_hbar"; - } - rel2 { - relative: 0.5 0.5; - to: "sb_hbar"; - } - } - } - } - programs { - program { name: "load"; - signal: "load"; - source: ""; - script { - set_state(PART:"sb_hbar_clip", "hidden", 0.0); - set_state(PART:"sb_vbar_clip", "hidden", 0.0); - set_int(sbvis_h, 0); - set_int(sbvis_v, 0); - set_int(sbalways_v, 0); - set_int(sbalways_h, 0); - set_int(sbvis_timer, 0); - } - } - program { name: "icon_show"; - signal: "elm,action,show,icon"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.icon"; - target: "icon_padding"; - } - program { name: "icon_hide"; - signal: "elm,action,hide,icon"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.icon"; - target: "icon_padding"; - } - program { name: "clear_show"; - signal: "elm,state,clear,visible"; - source: "*"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.clear"; - target: "clear_padding"; - } - program { name: "clear_hide"; - signal: "elm,state,clear,hidden"; - source: "*"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.clear"; - target: "clear_padding"; - } - program { name: "end_show"; - signal: "elm,action,show,end"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.end"; - } - program { name: "end_hide"; - signal: "elm,action,hide,end"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.end"; - } - program { name: "vbar_show"; - signal: "elm,action,show,vbar"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "sb_vbar_clip_master"; - } - program { name: "vbar_hide"; - signal: "elm,action,hide,vbar"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "sb_vbar_clip_master"; - } - program { name: "vbar_show_always"; - signal: "elm,action,show_always,vbar"; - source: "elm"; - script { - new v; - v = get_int(sbvis_v); - v |= get_int(sbalways_v); - if (!v) { - set_int(sbalways_v, 1); - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - } - } - program { name: "vbar_show_notalways"; - signal: "elm,action,show_notalways,vbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_v); - if (v) { - set_int(sbalways_v, 0); - v = get_int(sbvis_v); - if (!v) { - emit("do-hide-vbar", ""); - set_int(sbvis_v, 0); - } - } - } - } - program { name: "sb_vbar_show"; - signal: "do-show-vbar"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.5; - target: "sb_vbar_clip"; - } - program { name: "sb_vbar_hide"; - signal: "do-hide-vbar"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.5; - target: "sb_vbar_clip"; - } - - program { name: "hbar_show"; - signal: "elm,action,show,hbar"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "sb_hbar_clip_master"; - } - program { name: "hbar_hide"; - signal: "elm,action,hide,hbar"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "sb_hbar_clip_master"; - } - program { name: "hbar_show_always"; - signal: "elm,action,show_always,hbar"; - source: "elm"; - script { - new v; - v = get_int(sbvis_h); - v |= get_int(sbalways_h); - if (!v) { - set_int(sbalways_h, 1); - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - } - } - program { name: "hbar_show_notalways"; - signal: "elm,action,show_notalways,hbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_h); - if (v) { - set_int(sbalways_h, 0); - v = get_int(sbvis_h); - if (!v) { - emit("do-hide-hbar", ""); - set_int(sbvis_h, 0); - } - } - } - } - program { name: "sb_hbar_show"; - signal: "do-show-hbar"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.5; - target: "sb_hbar_clip"; - } - program { name: "sb_hbar_hide"; - signal: "do-hide-hbar"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.5; - target: "sb_hbar_clip"; - } - - program { name: "scroll"; - signal: "elm,action,scroll"; - source: "elm"; - script { - new v; - v = get_int(sbvis_v); - v |= get_int(sbalways_v); - if (!v) { - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - v = get_int(sbvis_h); - v |= get_int(sbalways_h); - if (!v) { - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - v = get_int(sbvis_timer); - if (v > 0) cancel_timer(v); - v = timer(1.0, "timer0", 0); - set_int(sbvis_timer, v); - } - } - } - } -group { name: "elm/scroller/entry/editfield"; - inherit: "elm/scroller/entry/default"; - data { - item: "focus_highlight" "on"; - } - images { - image: "00_edit_field_focus.png" COMP; - image: "00_edit_field_bg.png" COMP; - } - parts { - part { name: "focus_bg"; - type: IMAGE; - scale: 1; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - visible: 1; - image { - normal: "00_edit_field_bg.png"; - border: 8 8 8 8; - border_scale: 1; - } - } - } - part { name: "focus_left_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 10 0; - max: 10 0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - to: "focus_bg"; - relative: 0.0 0.0; - } - rel2 { - to: "focus_bg"; - relative: 0.0 1.0; - } - } - } - part { name: "focus_right_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 10 0; - max: 10 0; - align: 1.0 0.5; - fixed: 1 0; - rel1 { - to: "focus_bg"; - relative: 1.0 0.0; - } - rel2 { - to: "focus_bg"; - relative: 1.0 1.0; - } - } - } - part { name: "focus_image"; - scale: 1; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - visible: 0; - image { - normal: "00_edit_field_focus.png"; - border: 8 8 8 8; - border_scale: 1; - } - rel1 { - to: "focus_bg"; - relative: 0.0 0.0; - } - rel2 { - to: "focus_bg"; - relative: 1.0 1.0; - } - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "bg"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - rel1 { - to_x: "focus_left_padding"; - relative: 1.0 0.0; - } - rel2 { - to_x: "focus_right_padding"; - relative: 0.0 1.0; - } - } - } - } - programs { - program { name: "action_focus"; - signal: "elm,state,focus,on"; - source: "*"; - action: STATE_SET "focused" 0.0; - target: "focus_image"; - } - program { name: "action_unfocus"; - signal: "elm,state,focus,off"; - source: "*"; - action: STATE_SET "default" 0.0; - target: "focus_image"; - } - } -} -group { name: "elm/scroller/entry/editfield/searchbar/default"; - inherit: "elm/scroller/entry/default"; - data { - item: "focus_highlight" "on"; - } - images { - image: "00_search_edit_field_bg_focus.png" COMP; - image: "00_search_edit_field_bg.png" COMP; - image: "00_search_icon.png" COMP; - } - parts { - part { name: "focus_bg"; - type: IMAGE; - scale: 1; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - visible: 1; - image { - normal: "00_search_edit_field_bg.png"; - border: 12 13 12 13; - border_scale: 1; - } - } - } - part { name: "focus_left_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 10 0; - max: 10 0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - to: "focus_bg"; - relative: 0.0 0.0; - } - rel2 { - to: "focus_bg"; - relative: 0.0 1.0; - } - } - } - part { name: "focus_right_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 10 0; - max: 10 0; - align: 1.0 0.5; - fixed: 1 0; - rel1 { - to: "focus_bg"; - relative: 1.0 0.0; - } - rel2 { - to: "focus_bg"; - relative: 1.0 1.0; - } - } - } - part { name: "search_icon_left_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: ENTRY_SEARCH_ICON_LEFT_PADDING_MIN_MAX_INC; - max: ENTRY_SEARCH_ICON_LEFT_PADDING_MIN_MAX_INC; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - to_x: "focus_left_padding"; - relative: 1.0 0.0; - } - rel2 { - to_x: "focus_left_padding"; - relative: 1.0 1.0; - } - } - } - part { name: "search_icon"; - type: IMAGE; - scale: 1; - mouse_events: 0; - repeat_events: 1; - clip_to: "search_icon.clipper"; - description { state: "default" 0.0; - min: ENTRY_SEARCH_ICON_MIN_MAX_INC; - max: ENTRY_SEARCH_ICON_MIN_MAX_INC; - fixed: 1 1; - align: 0.0 0.5; - image.normal: "00_search_icon.png"; - rel1 { - to_x: "search_icon_left_padding"; - relative: 1.0 0.0; - } - rel2 { - to_x: "search_icon_left_padding"; - relative: 1.0 1.0; - } - } - } - part { name: "search_icon_right_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: ENTRY_SEARCH_ICON_RIGHT_PADDING_MIN_MAX_INC; - max: ENTRY_SEARCH_ICON_RIGHT_PADDING_MIN_MAX_INC; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - to_x: "search_icon"; - relative: 1.0 0.0; - } - rel2 { - to_x: "search_icon"; - relative: 1.0 1.0; - } - } - } - part { name: "search_icon.clipper"; - type: RECT; - description { state: "default" 0.0; - color: ENTRY_SEARCH_ICON_CLIPPER_DEFAULT_COLOR_INC; - } - description { state: "disabled" 0.0; - color: ENTRY_SEARCH_ICON_CLIPPER_DISABLED_COLOR_INC; - } - } - part { name: "search_icon_over"; - type: RECT; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - rel1 { - to_x: "search_icon_left_padding"; - relative: 0.0 0.0; - } - rel2 { - to_x: "search_icon_right_padding"; - relative: 1.0 1.0; - } - color: 0 0 0 0; - } - } - part { name: "search_icon_disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.to: "search_icon"; - rel2.to: "search_icon"; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "focus_image"; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - image { - normal: "00_search_edit_field_bg_focus.png"; - border: 12 13 12 13; - border_scale: 1; - } - rel1 { - to: "focus_bg"; - relative: 0.0 0.0; - } - rel2 { - to: "focus_bg"; - relative: 1.0 1.0; - } - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "bg"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - rel1 { - to_x: "focus_left_padding"; - relative: 1.0 0.0; - } - rel2 { - to_x: "focus_right_padding"; - relative: 0.0 1.0; - } - } - } - part { name: "icon_padding"; - type: SPACER; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - align: 0.0 0.5; - fixed: 1 1; - rel1 { - to_x: "search_icon_right_padding"; - to_y: "bg"; - relative: 1.0 0.0; - } - rel2 { - to_x: "search_icon_right_padding"; - to_y: "bg"; - relative: 1.0 1.0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - rel2 { - to_x: "elm.swallow.icon"; - relative: 1.0 1.0; - } - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - align: 0.0 0.5; - fixed: 1 1; - rel1 { - to_x: "search_icon_right_padding"; - to_y: "bg"; - relative: 1.0 0.0; - } - rel2 { - to_x: "search_icon_right_padding"; - to_y: "bg"; - relative: 1.0 1.0; - } - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "action_focus"; - signal: "elm,state,focus,on"; - source: "*"; - action: STATE_SET "focused" 0.0; - target: "focus_image"; - } - program { name: "action_unfocus"; - signal: "elm,state,focus,off"; - source: "*"; - action: STATE_SET "default" 0.0; - target: "focus_image"; - } - program { name: "search_icon_touch_snd"; - signal: "mouse,clicked,1"; - source: "search_icon_over"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "search_icon_disabler"; - target: "search_icon.clipper"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "search_icon_disabler"; - target: "search_icon.clipper"; - } - } -} - - group { name: "elm/entry/selection/block_handle_left/datetime"; - data.item: "height" "79"; - data.item: "gap" "32"; - images { - image: "copy&paste_Handler_left.png" COMP; - image: "copy&paste_Handler_left_01.png" COMP; - image: "copy&paste_Handler_left_reverse.png" COMP; - image: "copy&paste_Handler_left_01_reverse.png" COMP; - } - parts { - part { name: "edge"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0; - max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0; - color: 0 0 0 0; - visible: 0; - align: 0 0; - } - } - part { name: "handle"; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - align: 1 0; - rel2 { relative: 1 1; to_x: "edge"; } - min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; - max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; - image { - normal: "copy&paste_Handler_left_01.png"; - border: 0 0 0 0; - } - image.middle: SOLID; - fill.smooth: 0; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "top" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 1 1; - rel2 { relative: 1 1; to_x: "edge"; } - image { - normal: "copy&paste_Handler_left.png"; - } - } - description { state: "bottom_reversed" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 0 0; - rel1 { relative: 0 0; to_x: "edge"; } - image { - normal: "copy&paste_Handler_left_01_reverse.png"; - } - } - description { state: "top_reversed" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 0 1; - rel1 { relative: 0 0; to_x: "edge"; } - image { - normal: "copy&paste_Handler_left_reverse.png"; - } - } - } - } - script { - public handler_ontop; - public handler_focused; - public double_clicked; - } - programs { - program { name: "focused"; - signal: "edje,focus,in"; - source: "edje"; - script { - set_int(handler_focused, 1); - set_int(double_clicked, 0); - } - } - program { name: "unfocused"; - signal: "edje,focus,out"; - source: "edje"; - script { - set_int(handler_focused, 0); - set_state(PART:"handle", "default", 0.0); - set_int(double_clicked, 0); - } - } - program { name: "bottom_reversed"; - signal: "elm,state,bottom,reversed"; - source: "elm"; - script { - new dc; - dc = get_int(double_clicked); - if (dc) - { - set_state(PART:"handle", "bottom_reversed", 0.0); - } - else - { - set_state(PART:"handle", "default", 0.0); - } - } - } - program { name: "top_reversed"; - signal: "elm,state,top,reversed"; - source: "elm"; - script { - new dc; - dc = get_int(double_clicked); - if (dc) - { - set_state(PART:"handle", "top_reversed", 0.0); - } - else - { - set_state(PART:"handle", "default", 0.0); - } - } - } - program { name: "top"; - signal: "elm,state,top"; - source: "elm"; - script { - new focused; - focused = get_int(handler_focused); - set_int(handler_ontop, 1); - if (focused) - { - new dc; - dc = get_int(double_clicked); - if (dc) - { - set_state(PART:"handle", "top", 0.0); - } - else - { - set_state(PART:"handle", "default", 0.0); - } - } - else - { - set_state(PART:"handle", "default", 0.0); - } - } - } - program { name: "bottom"; - signal: "elm,state,bottom"; - source: "elm"; - script { - new focused; - focused = get_int(handler_focused); - set_int(handler_ontop, 0); - if (focused) - { - new dc; - dc = get_int(double_clicked); - if (dc) - { - set_state(PART:"handle", "show", 0.0); - } - else - { - set_state(PART:"handle", "default", 0.0); - } - } - else - { - set_state(PART:"handle", "default", 0.0); - } - } - } - program { name: "double_clicked"; - signal: "edje,entry,double,clicked"; - source: "edje"; - script { - set_int(double_clicked, 1); - } - } - } - } - - group { name: "elm/entry/selection/block_handle_right/datetime"; - data.item: "height" "79"; - data.item: "gap" "32"; - images { - image: "copy&paste_Handler_right.png" COMP; - image: "copy&paste_Handler_right_01.png" COMP; - image: "copy&paste_Handler_right_reverse.png" COMP; - image: "copy&paste_Handler_right_01_reverse.png" COMP; - } - parts { - part { name: "edge"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0; - max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0; - color: 0 0 0 0; - visible: 0; - align: 0 0; - } - } - part { name: "handle"; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - align: 0 0; - min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; - max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; - image { - normal: "copy&paste_Handler_right.png"; - border: 0 0 0 0; - } - image.middle: SOLID; - fill.smooth: 0; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "top" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 0 1; - image { - normal: "copy&paste_Handler_right_01.png"; - } - } - description { state: "bottom_reversed" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 1 0; - rel2 { relative: 1.0 0.0; to_x: "edge"; } - image { - normal: "copy&paste_Handler_right_reverse.png"; - } - } - description { state: "top_reversed" 0.0; - inherit: "default" 0.0; - visible: 1; - align: 1 1; - rel2 { relative: 1.0 0.0; to_x: "edge"; } - image { - normal: "copy&paste_Handler_right_01_reverse.png"; - } - } - } - } - script { - public handler_ontop; - public handler_focused; - public double_clicked; - } - programs { - program { name: "focused"; - signal: "edje,focus,in"; - source: "edje"; - script { - set_int(handler_focused, 1); - set_int(double_clicked, 0); - } - } - program { name: "unfocused"; - signal: "edje,focus,out"; - source: "edje"; - script { - set_int(handler_focused, 0); - set_state(PART:"handle", "default", 0.0); - set_int(double_clicked, 0); - } - } - program { name: "top"; - signal: "elm,state,top"; - source: "elm"; - script { - new focused; - focused = get_int(handler_focused); - set_int(handler_ontop, 1); - if (focused) - { - new dc; - dc = get_int(double_clicked); - if (dc) - { - set_state(PART:"handle", "default", 0.0); - } - else - { - set_state(PART:"handle", "top", 0.0); - } - } - else - { - set_state(PART:"handle", "default", 0.0); - } - } - } - program { name: "bottom"; - signal: "elm,state,bottom"; - source: "elm"; - script { - new focused; - focused = get_int(handler_focused); - set_int(handler_ontop, 0); - if (focused) - { - new dc; - dc = get_int(double_clicked); - if (dc) - { - set_state(PART:"handle", "show", 0.0); - } - else - { - set_state(PART:"handle", "default", 0.0); - } - } - else - { - set_state(PART:"handle", "default", 0.0); - } - } - } - program { name: "bottom_reversed"; - signal: "elm,state,bottom,reversed"; - source: "elm"; - script { - new dc; - dc = get_int(double_clicked); - if (dc) - { - set_state(PART:"handle", "default", 0.0); - } - else - { - set_state(PART:"handle", "bottom_reversed", 0.0); - } - } - } - program { name: "top_reversed"; - signal: "elm,state,top,reversed"; - source: "elm"; - script { - new dc; - dc = get_int(double_clicked); - if (dc) - { - set_state(PART:"handle", "default", 0.0); - } - else - { - set_state(PART:"handle", "top_reversed", 0.0); - } - } - } - program { name: "double_clicked"; - signal: "edje,entry,double,clicked"; - source: "edje"; - script { - set_int(double_clicked, 1); - } - } - } - } - -group { name: "elm/entry/base-single/datetime_popup"; - inherit: "elm/entry/base-single/default"; - alias: "elm/entry/base-single/datetime_popup/year"; - alias: "elm/entry/base-single/datetime_popup/month"; - alias: "elm/entry/base-single/datetime_popup/date"; - alias: "elm/entry/base-single/datetime_popup/hour"; - alias: "elm/entry/base-single/datetime_popup/minute"; - data.item: "default_font_size" "64"; - styles { - style { name: "entry_datetime_popup_textblock_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_DATETIME_POPUP_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" align=center wrap=none left_margin=1 right_margin=3 text_class=tizen"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Tizen:style=Oblique"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Tizen:style=Bold"; - tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - 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; - tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC; - } - } - parts { - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - source7: "elm/entry/selection/block_handle_left/datetime"; // start selection handler - source8: "elm/entry/selection/block_handle_right/datetime"; // end selection handler - source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler - source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection - source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection - description { state: "default" 0.0; - text { - style: "entry_datetime_popup_textblock_style"; - min: 1 1; - max: 0 0; - align: 0.0 0.5; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_single_textblock_disabled_style"; - } - } - } - } -} - -group { name: "elm/entry/base/datetime_popup/ampm"; - alias: "elm/entry/base-single-noedit/datetime_popup/ampm"; - data.item: "default_font_size" "64"; - parts { - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - multiline: 0; - description { state: "default" 0.0; - text { - style: "entry_datetime_popup_textblock_style"; - min: 1 1; - max: 0 0; - align: 0.0 0.5; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_single_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "elm.text"; - action: PLAY_SAMPLE "touch_sound" 1.0; - } - } -} |