/* * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved * * 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 MAGNIFIER_SCALE 1.5 group { "elm/entry/emoticon/angry/default"; images.image: "emo-angry.png" COMP; parts { image { "icon"; nomouse; desc { "default"; max: ENTRY_EMOTICON_SIZE_INC; image.normal: "emo-angry.png"; } } } } group { "elm/entry/emoticon/angry-shout/default"; images.image: "emo-angry-shout.png" COMP; parts { image { "icon"; nomouse; desc { "default"; max: ENTRY_EMOTICON_SIZE_INC; image.normal: "emo-angry-shout.png"; } } } } group { "elm/entry/emoticon/guilty/default"; images.image: "emo-guilty.png" COMP; parts { image { "icon"; nomouse; desc { "default"; max: ENTRY_EMOTICON_SIZE_INC; image.normal: "emo-guilty.png"; } } } } group { "elm/entry/emoticon/haha/default"; images.image: "emo-haha.png" COMP; parts { image { "icon"; nomouse; desc { "default"; max: ENTRY_EMOTICON_SIZE_INC; image.normal: "emo-haha.png"; } } } } group { "elm/entry/emoticon/half-smile/default"; images.image: "emo-half-smile.png" COMP; parts { image { "icon"; nomouse; desc { "default"; max: ENTRY_EMOTICON_SIZE_INC; image.normal: "emo-half-smile.png"; } } } } group { "elm/entry/emoticon/happy/default"; images.image: "emo-happy.png" COMP; parts { image { "icon"; nomouse; desc { "default"; max: ENTRY_EMOTICON_SIZE_INC; image.normal: "emo-happy.png"; } } } } group { "elm/entry/emoticon/kiss/default"; images.image: "emo-kiss.png" COMP; parts { image { "icon"; nomouse; desc { "default"; max: ENTRY_EMOTICON_SIZE_INC; image.normal: "emo-kiss.png"; } } } } group { "elm/entry/emoticon/little-bit-sorry/default"; images.image: "emo-little-bit-sorry.png" COMP; parts { image { "icon"; nomouse; desc { "default"; max: ENTRY_EMOTICON_SIZE_INC; image.normal: "emo-little-bit-sorry.png"; } } } } group { "elm/entry/emoticon/love/default"; images.image: "emo-love.png" COMP; parts { image { "icon"; nomouse; desc { "default"; max: ENTRY_EMOTICON_SIZE_INC; image.normal: "emo-love.png"; } } } } group { "elm/entry/emoticon/minimal-smile/default"; images.image: "emo-minimal-smile.png" COMP; parts { image { "icon"; nomouse; desc { "default"; max: ENTRY_EMOTICON_SIZE_INC; image.normal: "emo-minimal-smile.png"; } } } } group { "elm/entry/emoticon/omg/default"; images.image: "emo-omg.png" COMP; parts { image { "icon"; nomouse; desc { "default"; max: ENTRY_EMOTICON_SIZE_INC; image.normal: "emo-omg.png"; } } } } group { "elm/entry/emoticon/smile/default"; images.image: "emo-smile.png" COMP; parts { image { "icon"; nomouse; desc { "default"; max: ENTRY_EMOTICON_SIZE_INC; image.normal: "emo-smile.png"; } } } } group { "elm/entry/emoticon/sorry/default"; images.image: "emo-sorry.png" COMP; parts { image { "icon"; nomouse; desc { "default"; max: ENTRY_EMOTICON_SIZE_INC; image.normal: "emo-sorry.png"; } } } } group { "elm/entry/emoticon/surprised/default"; images.image: "emo-surprised.png" COMP; parts { image { "icon"; nomouse; desc { "default"; max: ENTRY_EMOTICON_SIZE_INC; image.normal: "emo-surprised.png"; } } } } group { "elm/entry/emoticon/tongue-dangling/default"; images.image: "emo-tongue-dangling.png" COMP; parts { image { "icon"; nomouse; desc { "default"; max: ENTRY_EMOTICON_SIZE_INC; image.normal: "emo-tongue-dangling.png"; } } } } group { "elm/entry/emoticon/very-sorry/default"; images.image: "emo-very-sorry.png" COMP; parts { image { "icon"; nomouse; desc { "default"; max: ENTRY_EMOTICON_SIZE_INC; image.normal: "emo-very-sorry.png"; } } } } group { "elm/entry/emoticon/wink/default"; images.image: "emo-wink.png" COMP; parts { image { "icon"; nomouse; desc { "default"; max: ENTRY_EMOTICON_SIZE_INC; image.normal: "emo-wink.png"; } } } } group { "elm/entry/emoticon/worried/default"; images.image: "emo-worried.png" COMP; parts { image { "icon"; nomouse; desc { "default"; max: ENTRY_EMOTICON_SIZE_INC; image.normal: "emo-worried.png"; } } } } #define ENTRY_DEFAULT_TAGS \ tag: "em" "+ font_style=Oblique"; \ tag: "b" "+ font_weight=Bold"; \ tag: "link" "+ color=#800 underline=on underline_color=#8008"; \ tag: "hilight" "+ font_weight=Bold"; #define ENTRY_SINGLELINE_TAGS \ tag: "br" ""; \ tag: "em" "+ font_style=Oblique"; \ tag: "b" "+ font_weight=Bold"; \ tag: "link" "+ color=#800 underline=on underline_color=#8008"; \ tag: "hilight" "+ font_weight=Bold"; #define ENTRY_PREEDIT_TAGS \ 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_highlight" "+ backing=on backing_color="ENTRY_PREEDIT_HIGHLIGHT_BACKGROUND_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; styles { style { "entry_textblock_style"; base: "font=Tizen:weight=Light font_size="ENTRY_FONT_SIZE_INC" color=#fff left_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" right_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" wrap=mixed text_class=entry color_class=entry/default/text_edit"; ENTRY_DEFAULT_TAGS ENTRY_PREEDIT_TAGS } style { "entry_textblock_focused_style"; base: "font=Tizen:weight=Light font_size="ENTRY_FONT_SIZE_INC" color=#fff left_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" right_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" wrap=mixed text_class=entry color_class=entry/default/text_edit_focused"; ENTRY_DEFAULT_TAGS ENTRY_PREEDIT_TAGS } style { "entry_textblock_disabled_style"; base: "font=Tizen:weight=Light font_size="ENTRY_FONT_SIZE_INC" color=#fff left_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" right_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" wrap=mixed text_class=entry color_class=entry/default/text_edit_disabled"; ENTRY_DEFAULT_TAGS ENTRY_PREEDIT_TAGS } style { "entry_textblock_guide_style"; base: "font=Tizen:weight=Light font_size="ENTRY_FONT_SIZE_INC" color=#fff left_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" right_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" wrap=mixed text_class=entry color_class=entry/default/text_guide"; ENTRY_DEFAULT_TAGS } style { "entry_textblock_guide_focused_style"; base: "font=Tizen:weight=Light font_size="ENTRY_FONT_SIZE_INC" color=#fff left_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" right_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" wrap=mixed text_class=entry color_class=entry/default/text_guide_focused"; ENTRY_DEFAULT_TAGS } style { "entry_textblock_guide_disabled_style"; base: "font=Tizen:weight=Light font_size="ENTRY_FONT_SIZE_INC" color=#fff left_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" right_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" wrap=mixed text_class=entry color_class=entry/default/text_guide_disabled"; ENTRY_DEFAULT_TAGS } style { "entry_textblock_char_wrap_style"; base: "font=Tizen:weight=Light font_size="ENTRY_FONT_SIZE_INC" color=#fff left_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" right_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" wrap=char text_class=entry color_class=entry/default/text_edit"; ENTRY_DEFAULT_TAGS ENTRY_PREEDIT_TAGS } style { "entry_textblock_char_wrap_focused_style"; base: "font=Tizen:weight=Light font_size="ENTRY_FONT_SIZE_INC" color=#fff left_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" right_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" wrap=char text_class=entry color_class=entry/default/text_edit_focused"; ENTRY_DEFAULT_TAGS ENTRY_PREEDIT_TAGS } style { "entry_textblock_char_wrap_disabled_style"; base: "font=Tizen:weight=Light font_size="ENTRY_FONT_SIZE_INC" color=#fff left_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" right_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" wrap=char text_class=entry color_class=entry/default/text_edit_disabled"; ENTRY_DEFAULT_TAGS ENTRY_PREEDIT_TAGS } style { "entry_textblock_char_wrap_guide_style"; base: "font=Tizen:weight=Light font_size="ENTRY_FONT_SIZE_INC" color=#fff left_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" right_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" wrap=char text_class=entry color_class=entry/default/text_guide"; ENTRY_DEFAULT_TAGS } style { "entry_textblock_char_wrap_guide_focused_style"; base: "font=Tizen:weight=Light font_size="ENTRY_FONT_SIZE_INC" color=#fff left_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" right_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" wrap=char text_class=entry color_class=entry/default/text_guide_focused"; ENTRY_DEFAULT_TAGS } style { "entry_textblock_char_wrap_guide_disabled_style"; base: "font=Tizen:weight=Light font_size="ENTRY_FONT_SIZE_INC" color=#fff left_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" right_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" wrap=char text_class=entry color_class=entry/default/text_guide_disabled"; ENTRY_DEFAULT_TAGS } style { "entry_single_textblock_style"; base: "font=Tizen:weight=Light font_size="ENTRY_FONT_SIZE_INC" color=#fff left_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" right_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" wrap=none text_class=entry color_class=entry/default/text_edit"; ENTRY_SINGLELINE_TAGS ENTRY_PREEDIT_TAGS } style { "entry_single_textblock_focused_style"; base: "font=Tizen:weight=Light font_size="ENTRY_FONT_SIZE_INC" color=#fff left_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" right_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" wrap=none text_class=entry color_class=entry/default/text_edit_focused"; ENTRY_SINGLELINE_TAGS ENTRY_PREEDIT_TAGS } style { "entry_single_textblock_disabled_style"; base: "font=Tizen:weight=Light font_size="ENTRY_FONT_SIZE_INC" color=#fff left_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" right_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" wrap=none text_class=entry color_class=entry/default/text_edit_disabled"; ENTRY_SINGLELINE_TAGS ENTRY_PREEDIT_TAGS } style { "entry_single_textblock_guide_style"; base: "font=Tizen:weight=Light font_size="ENTRY_FONT_SIZE_INC" color=#fff left_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" right_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" wrap=none text_class=entry color_class=entry/default/text_guide"; ENTRY_SINGLELINE_TAGS } style { "entry_single_textblock_guide_focused_style"; base: "font=Tizen:weight=Light font_size="ENTRY_FONT_SIZE_INC" color=#fff left_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" right_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" wrap=none text_class=entry color_class=entry/default/text_guide_focused"; ENTRY_SINGLELINE_TAGS } style { "entry_single_textblock_guide_disabled_style"; base: "font=Tizen:weight=Light font_size="ENTRY_FONT_SIZE_INC" color=#fff left_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" right_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" wrap=none text_class=entry color_class=entry/default/text_guide_disabled"; ENTRY_SINGLELINE_TAGS } style { "entry_single_spinner_textblock_style"; base: "font=Tizen:weight=Light font_size=106 color=#fff align=center color_class=spinner/default/text"; ENTRY_SINGLELINE_TAGS ENTRY_PREEDIT_TAGS } style { "entry_single_spinner_textblock_pressed_style"; base: "font=Tizen:weight=Light font_size=106 color=#fff align=center color_class=spinner/default/text_pressed"; ENTRY_SINGLELINE_TAGS ENTRY_PREEDIT_TAGS } style { "entry_single_spinner_textblock_disabled_style"; base: "font=Tizen:weight=Light font_size=106 color=#fff align=center color_class=spinner/default/text_disabled"; ENTRY_SINGLELINE_TAGS ENTRY_PREEDIT_TAGS } style { "entry_single_spinner_vertical_textblock_style"; base: "font=Tizen:weight=Light font_size=106 color=#fff align=center color_class=spinner/vertical/text"; ENTRY_SINGLELINE_TAGS ENTRY_PREEDIT_TAGS } style { "entry_single_spinner_vertical_textblock_pressed_style"; base: "font=Tizen:weight=Light font_size=106 color=#fff align=center color_class=spinner/vertical/text_pressed"; ENTRY_SINGLELINE_TAGS ENTRY_PREEDIT_TAGS } style { "entry_single_spinner_vertical_textblock_disabled_style"; base: "font=Tizen:weight=Light font_size=106 color=#fff align=center color_class=spinner/vertical/text_disabled"; ENTRY_SINGLELINE_TAGS ENTRY_PREEDIT_TAGS } style { "entry_single_spinner_datetime_date_layout_textblock_style"; base: "font=Tizen:weight=Light font_size=90 color=#fff align=center text_class=tizen color_class=datetime/default/text"; ENTRY_SINGLELINE_TAGS ENTRY_PREEDIT_TAGS } style { "entry_single_spinner_datetime_date_layout_textblock_pressed_style"; base: "font=Tizen:weight=Light font_size=90 color=#fff align=center text_class=tizen color_class=datetime/default/text_pressed"; ENTRY_SINGLELINE_TAGS ENTRY_PREEDIT_TAGS } style { "entry_single_spinner_datetime_date_layout_textblock_disabled_style"; base: "font=Tizen:weight=Light font_size=90 color=#fff align=center text_class=tizen color_class=datetime/default/text_disabled"; ENTRY_SINGLELINE_TAGS ENTRY_PREEDIT_TAGS } style { "entry_single_spinner_datetime_time_layout_textblock_style"; base: "font=Tizen:weight=Light font_size=106 color=#fff align=center color_class=datetime/time_layout/text"; ENTRY_SINGLELINE_TAGS ENTRY_PREEDIT_TAGS } style { "entry_single_spinner_datetime_time_layout_textblock_pressed_style"; base: "font=Tizen:weight=Light font_size=106 color=#fff align=center color_class=datetime/time_layout/text_pressed"; ENTRY_SINGLELINE_TAGS ENTRY_PREEDIT_TAGS } style { "entry_single_spinner_datetime_time_layout_textblock_disabled_style"; base: "font=Tizen:weight=Light font_size=106 color=#fff align=center color_class=datetime/time_layout/text_disabled"; ENTRY_SINGLELINE_TAGS ENTRY_PREEDIT_TAGS } style { "entry_single_spinner_datetime_time_layout_24hr_textblock_style"; base: "font=Tizen:weight=Light font_size=106 color=#fff align=center color_class=datetime/time_layout_24hr/text"; ENTRY_SINGLELINE_TAGS ENTRY_PREEDIT_TAGS } style { "entry_single_spinner_datetime_time_layout_24hr_textblock_pressed_style"; base: "font=Tizen:weight=Light font_size=106 color=#fff align=center color_class=datetime/time_layout_24hr/text_pressed"; ENTRY_SINGLELINE_TAGS ENTRY_PREEDIT_TAGS } style { "entry_single_spinner_datetime_time_layout_24hr_textblock_disabled_style"; base: "font=Tizen:weight=Light font_size=106 color=#fff align=center color_class=datetime/time_layout_24hr/text_disabled"; ENTRY_SINGLELINE_TAGS ENTRY_PREEDIT_TAGS } style { "multibuttonentry_single_textblock_style"; base: "font=Tizen:weight=Light font_size="ENTRY_FONT_SIZE_INC" color=#fff left_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" right_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" wrap=none text_class=entry color_class=multibuttonentry/default/text_edit"; ENTRY_SINGLELINE_TAGS ENTRY_PREEDIT_TAGS } style { "multibuttonentry_single_textblock_focused_style"; base: "font=Tizen:weight=Light font_size="ENTRY_FONT_SIZE_INC" color=#fff left_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" right_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" wrap=none text_class=entry color_class=multibuttonentry/default/text_edit_focused"; ENTRY_SINGLELINE_TAGS ENTRY_PREEDIT_TAGS } style { "multibuttonentry_single_textblock_disabled_style"; base: "font=Tizen:weight=Light font_size="ENTRY_FONT_SIZE_INC" color=#fff left_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" right_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" wrap=none text_class=entry color_class=multibuttonentry/default/text_edit_disabled"; ENTRY_SINGLELINE_TAGS ENTRY_PREEDIT_TAGS } style { "multibuttonentry_single_textblock_guide_style"; base: "font=Tizen:weight=Light font_size="ENTRY_FONT_SIZE_INC" color=#fff left_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" right_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" wrap=none text_class=entry color_class=multibuttonentry/default/text_guide"; ENTRY_SINGLELINE_TAGS } style { "multibuttonentry_single_textblock_guide_focused_style"; base: "font=Tizen:weight=Light font_size="ENTRY_FONT_SIZE_INC" color=#fff left_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" right_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" wrap=none text_class=entry color_class=multibuttonentry/default/text_guide_focused"; ENTRY_SINGLELINE_TAGS } style { "multibuttonentry_single_textblock_guide_disabled_style"; base: "font=Tizen:weight=Light font_size="ENTRY_FONT_SIZE_INC" color=#fff left_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" right_margin="ENTRY_LEFT_RIGHT_MARGIN_INC" wrap=none text_class=entry color_class=multibuttonentry/default/text_guide_disabled"; ENTRY_SINGLELINE_TAGS } } group { "elm/entry/event/default"; inherit_only: 1; parts { rect { "event"; mouse; repeat; desc { "default"; color: 0 0 0 0; } desc { "disabled"; inherit: "default"; hid; } } } programs { program { "clicked"; signal: "mouse,clicked,1"; source: "event"; after: "on_clicked"; } program { "load"; signal: "load"; source: ""; after: "on_load"; } program { "disabled"; signal: "elm,state,disabled"; source: "elm"; action: STATE_SET "disabled"; target: "event"; after: "on_disabled"; } program { "enabled"; signal: "elm,state,enabled"; source: "elm"; action: STATE_SET "default"; target: "event"; after: "on_enabled"; } program { "focus"; signal: "elm,action,focus"; source: "elm"; after: "on_focus"; } program { "unfocus"; signal: "elm,action,unfocus"; source: "elm"; after: "on_unfocus"; } program { "disabled_guide"; signal: "elm,guide,disabled"; source: "elm"; after: "on_disabled_guide"; } program { "enabled_guide"; signal: "elm,guide,enabled"; source: "elm"; after: "on_enabled_guide"; } } } group { "elm/entry/base/template"; inherit_only: 1; data.item: "default_font_size" ENTRY_FONT_SIZE_INC; data.item: "focus_highlight" "on"; data.item: context_menu_orientation "horizontal"; parts { rect { "clipper"; desc { "default"; color_class: "entry/default/opacity"; } } rect { "bg"; nomouse; clip: "clipper"; desc { "default"; color_class: "entry/default/bg"; } } textblock { "elm.guide"; nomouse; scale; clip: "clipper"; desc { "default"; rel.to: "elm.text"; text.style: "entry_textblock_guide_style"; } desc { "focused"; inherit: "default"; text.style: "entry_textblock_guide_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "entry_textblock_guide_disabled_style"; } desc { "hidden"; inherit: "default"; hid; } } textblock { "elm.text"; mouse; scale; clip: "clipper"; entry_mode: EDITABLE; select_mode: EXPLICIT; cursor_mode: BEFORE; multiline: 1; source: "elm/entry/selection/default"; // selection under source4: "elm/entry/cursor/default"; // cursorover source5: "elm/entry/anchor/default"; // anchor under desc { "default"; text.style: "entry_textblock_style"; } desc { "focused"; inherit: "default"; text.style: "entry_textblock_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "entry_textblock_disabled_style"; } } } inherit: "elm/entry/event/default"; script { public focused = 0; public disabled = 0; public guide_disabled = 0; } programs { program { "on_load"; action: FOCUS_SET; target: "elm.text"; } program { "on_clicked"; action: RUN_PLUGIN "touch_sound"; } program { "on_focus"; script { set_int(focused, 1); if (get_int(disabled) == 0) { set_state(PART:"elm.text", "focused", 0.0); if (get_int(guide_disabled) == 0) set_state(PART:"elm.guide", "focused", 0.0); } } } program { "on_unfocus"; script { set_int(focused, 0); if (get_int(disabled) == 0) { set_state(PART:"elm.text", "default", 0.0); if (get_int(guide_disabled) == 0) set_state(PART:"elm.guide", "default", 0.0); } } } program { "on_disabled"; script { set_int(disabled, 1); set_state(PART:"elm.text", "disabled", 0.0); if (get_int(guide_disabled) == 0) set_state(PART:"elm.guide", "disabled", 0.0); } } program { "on_enabled"; script { set_int(disabled, 0); if (get_int(focused)) set_state(PART:"elm.text", "focused", 0.0); else set_state(PART:"elm.text", "default", 0.0); if (get_int(guide_disabled) == 0) { if (get_int(focused)) set_state(PART:"elm.guide", "focused", 0.0); else set_state(PART:"elm.guide", "default", 0.0); } } } program { "on_disabled_guide"; script { set_int(guide_disabled, 1); set_state(PART:"elm.guide", "hidden", 0.0); } } program { "on_enabled_guide"; script { set_int(guide_disabled, 0); if (get_int(disabled)) set_state(PART:"elm.guide", "disabled", 0.0); else if (get_int(focused)) set_state(PART:"elm.guide", "focused", 0.0); else set_state(PART:"elm.guide", "default", 0.0); } } } } group { "elm/entry/cursor/event/default"; inherit_only: 1; programs { program { "selection_start"; signal: "selection,start"; source: "elm.text"; after: "on_selection_start"; } program { "selection_cleared"; signal: "selection,cleared"; source: "elm.text"; after: "on_selection_cleared"; } program { "focus"; signal: "elm,action,focus"; source: "elm"; after: "on_focus"; } program { "unfocus"; signal: "elm,action,unfocus"; source: "elm"; after: "on_unfocus"; } program { "show_cursor"; signal: "elm,action,show,cursor"; source: "elm"; after: "on_show_cursor"; } } } group { "elm/entry/cursor/template"; inherit: "elm/entry/cursor/event/default"; inherit_only: 1; parts { rect { "cursor"; clip: "clipper"; desc { "default"; hid; } desc { "visible"; inherit: "default"; vis; } } rect { "clipper"; desc { "default"; } desc { "hidden"; inherit: "default"; hid; } } } programs { program { "on_selection_start"; action: STATE_SET "hidden"; target: "clipper"; } program { "on_selection_cleared"; action: STATE_SET "default"; target: "clipper"; } program { "on_focus"; action: ACTION_STOP; target: "cursor_visible"; target: "cursor_hidden"; target: "cursor_visible_timer"; target: "cursor_hidden_timer"; after: "cursor_visible"; } program { "on_unfocus"; action: ACTION_STOP; target: "cursor_visible"; target: "cursor_hidden"; target: "cursor_visible_timer"; target: "cursor_hidden_timer"; after: "cursor_hidden_stop"; } program { "on_show_cursor"; action: ACTION_STOP; target: "cursor_visible"; target: "cursor_hidden"; target: "cursor_visible_timer"; target: "cursor_hidden_timer"; after: "cursor_visible"; } program { "cursor_hidden_stop"; action: STATE_SET "default"; target: "cursor"; } program { "cursor_visible"; action: STATE_SET "visible"; target: "cursor"; after: "cursor_visible_timer"; } program { "cursor_hidden"; action: STATE_SET "default"; target: "cursor"; after: "cursor_hidden_timer"; } program { "cursor_visible_timer"; in: 0.6 0.0; after: "cursor_hidden"; } program { "cursor_hidden_timer"; in: 0.6 0.0; after: "cursor_visible"; } } } group { "elm/entry/cursor_handle/event/default"; inherit_only: 1; parts { rect { "event"; mouse; desc { "default"; color: 0 0 0 0; } } } programs { program { "pressed"; signal: "mouse,down,1"; source: "event"; after: "on_pressed"; } program { "unpressed"; signal: "mouse,up,1"; source: "event"; after: "on_unpressed"; } program { "edje_focus_in"; signal: "edje,focus,in"; source: "edje"; after: "on_edje_focus_in"; } program { "edje_focus_out"; signal: "edje,focus,out"; source: "edje"; after: "on_edje_focus_out"; } program { "edje_cursor_handle_show"; signal: "edje,cursor,handle,show"; source: "edje"; after: "on_edje_cursor_handle_show"; } program { "edje_cursor_handle_hide"; signal: "edje,cursor,handle,hide"; source: "edje"; after: "on_edje_cursor_handle_hide"; } program { "edje_cursor_handle_top"; signal: "edje,cursor,handle,top"; source: "edje"; after: "on_edje_cursor_handle_top"; } } } group { "elm/entry/cursor_handle/template"; inherit_only: 1; parts { image { "handle"; nomouse; desc { "default"; hid; } desc { "visible"; inherit: "default"; vis; } desc { "top"; inherit: "visible"; } desc { "zoom"; inherit: "visible"; } desc { "zoom_top"; inherit: "top"; } } } inherit: "elm/entry/cursor_handle/event/default"; parts { rect { "event"; mouse; desc { "default"; rel.to: "handle"; color: 0 0 0 0; } } } script { public on_top = 0; public zoomed = 0; } programs { program { "on_pressed"; script { set_int(zoomed, 1); new st[31]; new Float:vl; get_state(PART:"handle", st, 30, vl); if (!strcmp(st, "visible")) run_program(PROGRAM:"pressed_show"); else if (!strcmp(st, "top")) run_program(PROGRAM:"pressed_top"); } } program { "on_unpressed"; script { set_int(zoomed, 0); new st[31]; new Float:vl; get_state(PART:"handle", st, 30, vl); if (!strcmp(st, "zoom")) run_program(PROGRAM:"unpressed_show"); else if (!strcmp(st, "zoom_top")) run_program(PROGRAM:"unpressed_top"); } after: "unpressed_next"; } program { "on_edje_focus_in"; 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", "visible", 0.0); } } program { "on_edje_focus_out"; script { set_state(PART:"handle", "default", 0.0); } } program { "on_edje_cursor_handle_show"; script { set_int(on_top, 0); new zoomed_val = get_int(zoomed); if (zoomed_val) set_state(PART:"handle", "zoom", 0.0); else set_state(PART:"handle", "visible", 0.0); } } program { "on_edje_cursor_handle_hide"; script { set_state(PART:"handle", "default", 0.0); } } program { "on_edje_cursor_handle_top"; script { set_int(on_top, 1); new zoomed_val = get_int(zoomed); if (zoomed_val) set_state(PART:"handle", "zoom_top", 0.0); else set_state(PART:"handle", "top", 0.0); } } program { "unpressed_next"; in: 0.3 0.0; script { set_int(zoomed, 0); new st[31]; new Float:vl; get_state(PART:"handle", st, 30, vl); if (!strcmp(st, "zoom")) run_program(PROGRAM:"unpressed_show"); else if (!strcmp(st, "zoom_top")) run_program(PROGRAM:"unpressed_top"); } } program { "pressed_show"; action: STATE_SET "zoom"; target: "handle"; transition: GLIDE_EASE_OUT(0.3); } program { "pressed_top"; action: STATE_SET "zoom_top"; target: "handle"; transition: GLIDE_EASE_OUT(0.3); } program { "unpressed_show"; action: STATE_SET "visible"; target: "handle"; transition: GLIDE_EASE_OUT(0.3); } program { "unpressed_top"; action: STATE_SET "top"; target: "handle"; transition: GLIDE_EASE_OUT(0.3); } } } group { "elm/entry/handler/event/default"; inherit_only: 1; parts { rect { "event"; mouse; desc { "default"; color: 0 0 0 0; } } } programs { program { "edje_focus_in"; signal: "edje,focus,in"; source: "edje"; after: "on_edje_focus_in"; } program { "edje_focus_out"; signal: "edje,focus,out"; source: "edje"; after: "on_edje_focus_out"; } program { "pressed"; signal: "mouse,down,1"; source: "event"; after: "on_pressed"; } program { "unpressed"; signal: "mouse,up,1"; source: "event"; after: "on_unpressed"; } program { "top"; signal: "elm,state,top"; source: "elm"; after: "on_top"; } program { "bottom"; signal: "elm,state,bottom"; source: "elm"; after: "on_bottom"; } program { "bottom_reversed"; signal: "elm,state,bottom,reversed"; source: "elm"; after: "on_bottom_reversed"; } program { "top_reversed"; signal: "elm,state,top,reversed"; source: "elm"; after: "on_top_reversed"; } program { "disable_handler"; signal: "app,selection,handler,disable"; source: "app"; after: "on_disable_handler"; } program { "enable_handler"; signal: "app,selection,handler,enable"; source: "app"; after: "on_enable_handler"; } } } group { "elm/entry/handler/template"; inherit_only: 1; data.item: "height" ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_INC; data.item: "gap" ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_INC; parts { image { "handle"; nomouse; desc { "default"; hid; } desc { "visible"; inherit: "default"; vis; } desc { "top"; inherit: "visible"; } desc { "bottom_reversed"; inherit: "visible"; } desc { "top_reversed"; inherit: "visible"; } desc { "zoom"; inherit: "visible"; } desc { "zoom_top"; inherit: "top"; } desc { "zoom_bottom_reversed"; inherit: "bottom_reversed"; } desc { "zoom_top_reversed"; inherit: "top_reversed"; } } } inherit: "elm/entry/handler/event/default"; parts { rect { "event"; mouse; desc { "default"; rel.to: "handle"; color: 0 0 0 0; } } } script { public handler_on_top = 0; public handler_focused = 0; public handler_disabled = 0; public handler_zoomed = 0; } programs { program { "on_edje_focus_in"; script { set_int(handler_focused, 1); } } program { "on_edje_focus_out"; script { set_int(handler_focused, 0); set_state(PART:"handle", "default", 0.0); } } program { "on_pressed"; script { set_int(handler_zoomed, 1); new st[31]; new Float:vl; get_state(PART:"handle", st, 30, vl); if (!strcmp(st, "visible")) run_program(PROGRAM:"pressed_show"); else if (!strcmp(st, "top")) run_program(PROGRAM:"pressed_top"); else if (!strcmp(st, "bottom_reversed")) run_program(PROGRAM:"pressed_bottom_reversed"); else if (!strcmp(st, "top_reversed")) run_program(PROGRAM:"pressed_top_reversed"); } } program { "on_unpressed"; script { set_int(handler_zoomed, 0); new st[31]; new Float:vl; get_state(PART:"handle", st, 30, vl); if (!strcmp(st, "zoom")) run_program(PROGRAM:"unpressed_show"); else if (!strcmp(st, "zoom_top")) run_program(PROGRAM:"unpressed_top"); else if (!strcmp(st, "zoom_bottom_reversed")) run_program(PROGRAM:"unpressed_bottom_reversed"); else if (!strcmp(st, "zoom_top_reversed")) run_program(PROGRAM:"unpressed_top_reversed"); } after: "unpressed_next"; } program { "on_top"; script { new focused, disabled, zoomed; focused = get_int(handler_focused); disabled = get_int(handler_disabled); set_int(handler_on_top, 1); if ((focused == 1) && (disabled == 0)) { zoomed = get_int(handler_zoomed); if (zoomed) set_state(PART:"handle", "zoom_top", 0.0); else set_state(PART:"handle", "top", 0.0); } else { set_state(PART:"handle", "default", 0.0); } } } program { "on_bottom"; script { new focused, disabled, zoomed; focused = get_int(handler_focused); disabled = get_int(handler_disabled); zoomed = get_int(handler_zoomed); set_int(handler_on_top, 0); if ((focused == 1) && (disabled == 0)) { if (zoomed) set_state(PART:"handle", "zoom", 0.0); else set_state(PART:"handle", "visible", 0.0); } else { set_state(PART:"handle", "default", 0.0); } } } program { "on_bottom_reversed"; script { new disabled, zoomed; disabled = get_int(handler_disabled); zoomed = get_int(handler_zoomed); if (disabled == 0) { if (zoomed) set_state(PART:"handle", "zoom_bottom_reversed", 0.0); else set_state(PART:"handle", "bottom_reversed", 0.0); } else { set_state(PART:"handle", "default", 0.0); } } } program { "on_top_reversed"; script { new disabled, zoomed; disabled = get_int(handler_disabled); zoomed = get_int(handler_zoomed); if (disabled == 0) { if (zoomed) set_state(PART:"handle", "zoom_top_reversed", 0.0); else set_state(PART:"handle", "top_reversed", 0.0); } else { set_state(PART:"handle", "default", 0.0); } } } program { "on_disable_handler"; script { set_int(handler_disabled, 1); } } program { "on_enable_handler"; script { set_int(handler_disabled, 0); } } program { "pressed_show"; action: STATE_SET "zoom"; target: "handle"; transition: GLIDE_EASE_OUT(0.3); } program { "pressed_top"; action: STATE_SET "zoom_top"; target: "handle"; transition: GLIDE_EASE_OUT(0.3); } program { "pressed_bottom_reversed"; action: STATE_SET "zoom_bottom_reversed"; target: "handle"; transition: GLIDE_EASE_OUT(0.3); } program { "pressed_top_reversed"; action: STATE_SET "zoom_top_reversed"; target: "handle"; transition: GLIDE_EASE_OUT(0.3); } program { "unpressed_show"; action: STATE_SET "visible"; target: "handle"; transition: GLIDE_EASE_OUT(0.3); } program { "unpressed_top"; action: STATE_SET "top"; target: "handle"; transition: GLIDE_EASE_OUT(0.3); } program { "unpressed_bottom_reversed"; action: STATE_SET "bottom_reversed"; target: "handle"; transition: GLIDE_EASE_OUT(0.3); } program { "unpressed_top_reversed"; action: STATE_SET "top_reversed"; target: "handle"; transition: GLIDE_EASE_OUT(0.3); } program { "unpressed_next"; in: 0.3 0.0; script { set_int(handler_zoomed, 0); new st[31]; new Float:vl; get_state(PART:"handle", st, 30, vl); if (!strcmp(st, "zoom")) run_program(PROGRAM:"unpressed_show"); else if (!strcmp(st, "zoom_top")) run_program(PROGRAM:"unpressed_top"); else if (!strcmp(st, "zoom_bottom_reversed")) run_program(PROGRAM:"unpressed_bottom_reversed"); else if (!strcmp(st, "zoom_top_reversed")) run_program(PROGRAM:"unpressed_top_reversed"); } } } } group { "elm/entry/base/default"; inherit: "elm/entry/base/template"; alias: "elm/entry/base-mixedwrap/default"; parts { textblock { "elm.guide"; nomouse; scale; desc { "default"; rel.to: "elm.text"; text { style: "entry_textblock_guide_style"; min: 0 1; align: 0.0 0.0; } } desc { "focused"; inherit: "default"; text.style: "entry_textblock_guide_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "entry_textblock_guide_disabled_style"; } desc { "hidden"; inherit: "default"; hid; } } textblock { "elm.text"; mouse; scale; entry_mode: EDITABLE; select_mode: EXPLICIT; cursor_mode: BEFORE; multiline: 1; source: "elm/entry/selection/default"; // selection under source4: "elm/entry/cursor/default"; // cursorover source5: "elm/entry/anchor/default"; // anchor under desc { "default"; fixed: 1 0; text { style: "entry_textblock_style"; min: 0 1; align: 0.0 0.0; } } desc { "focused"; inherit: "default"; text { style: "entry_textblock_focused_style"; min: 0 1; } } desc { "disabled"; inherit: "default"; text { style: "entry_textblock_disabled_style"; min: 0 1; } } } } } group { "elm/entry/base/vcenter_align"; alias: "elm/entry/base-mixedwrap/vcenter_align"; inherit: "elm/entry/base/template"; parts { textblock { "elm.guide"; nomouse; scale; desc { "default"; rel1.to: "elm.text"; rel2.to: "elm.text"; text { style: "entry_textblock_guide_style"; min: 0 1; align: 0.0 0.5; } } desc { "hidden"; inherit: "default"; hid; } } textblock { "elm.text"; mouse; scale; entry_mode: EDITABLE; select_mode: EXPLICIT; cursor_mode: BEFORE; multiline: 1; source: "elm/entry/selection/default"; // selection under source4: "elm/entry/cursor/default"; // cursorover source5: "elm/entry/anchor/default"; // anchor under desc { "default"; fixed: 1 0; text { style: "entry_textblock_style"; min: 0 1; align: 0.0 0.5; } } desc { "focused"; inherit: "default"; text { style: "entry_textblock_focused_style"; min: 0 1; } } desc { "disabled"; inherit: "default"; text { style: "entry_textblock_disabled_style"; min: 0 1; } } } } } group { "elm/entry/base-charwrap/default"; alias: "elm/entry/base/char_wrap"; inherit: "elm/entry/base/template"; parts { textblock { "elm.guide"; nomouse; scale; desc { "default"; rel.to: "elm.text"; text { style: "entry_textblock_char_wrap_guide_style"; min: 0 1; align: 0.0 0.0; } } desc { "focused"; inherit: "default"; text.style: "entry_textblock_char_wrap_guide_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "entry_textblock_char_wrap_guide_disabled_style"; } desc { "hidden"; inherit: "default"; hid; } } textblock { "elm.text"; mouse; scale; entry_mode: EDITABLE; select_mode: EXPLICIT; cursor_mode: BEFORE; multiline: 1; source: "elm/entry/selection/default"; // selection under source4: "elm/entry/cursor/default"; // cursorover source5: "elm/entry/anchor/default"; // anchor under desc { "default"; fixed: 1 0; text { style: "entry_textblock_char_wrap_style"; min: 0 1; align: 0.0 0.0; } } desc { "focused"; inherit: "default"; text { style: "entry_textblock_char_wrap_focused_style"; min: 0 1; } } desc { "disabled"; inherit: "default"; text { style: "entry_textblock_char_wrap_disabled_style"; min: 0 1; } } } } } group { "elm/entry/base-charwrap/vcenter_align"; alias: "elm/entry/base/vcenter_align"; inherit: "elm/entry/base/template"; parts { textblock { "elm.guide"; nomouse; scale; desc { "default"; rel1.to: "elm.text"; rel2.to: "elm.text"; text { style: "entry_textblock_char_wrap_guide_style"; min: 0 1; align: 0.0 0.5; } } desc { "focused"; inherit: "default"; text.style: "entry_textblock_char_wrap_guide_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "entry_textblock_char_wrap_guide_disabled_style"; } desc { "hidden"; inherit: "default"; hid; } } textblock { "elm.text"; mouse; scale; entry_mode: EDITABLE; select_mode: EXPLICIT; cursor_mode: BEFORE; multiline: 1; source: "elm/entry/selection/default"; // selection under source4: "elm/entry/cursor/default"; // cursorover source5: "elm/entry/anchor/default"; // anchor under desc { "default"; fixed: 1 0; text { style: "entry_textblock_char_wrap_style"; min: 0 1; align: 0.0 0.5; } } desc { "focused"; inherit: "default"; text { style: "entry_textblock_char_wrap_focused_style"; min: 0 1; } } desc { "disabled"; inherit: "default"; text { style: "entry_textblock_char_wrap_disabled_style"; min: 0 1; } } } } } group { "elm/entry/base-nowrap/default"; inherit: "elm/entry/base/template"; parts { textblock { "elm.guide"; nomouse; scale; desc { "default"; rel.to: "elm.text"; text { style: "entry_textblock_guide_style"; min: 0 1; align: 0.0 0.0; } } desc { "focused"; inherit: "default"; text.style: "entry_textblock_guide_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "entry_textblock_guide_disabled_style"; } desc { "hidden"; inherit: "default"; hid; } } textblock { "elm.text"; mouse; scale; entry_mode: EDITABLE; select_mode: EXPLICIT; cursor_mode: BEFORE; multiline: 1; source: "elm/entry/selection/default"; // selection under source4: "elm/entry/cursor/default"; // cursorover source5: "elm/entry/anchor/default"; // anchor under desc { "default"; text { style: "entry_textblock_style"; min: 1 1; align: 0.0 0.0; } } desc { "focused"; inherit: "default"; text { style: "entry_textblock_focused_style"; min: 1 1; } } desc { "disabled"; inherit: "default"; text { style: "entry_textblock_disabled_style"; min: 0 1; } } } } } group { "elm/entry/base-nowrap/vcenter_align"; inherit: "elm/entry/base/template"; parts { textblock { "elm.guide"; nomouse; scale; desc { "default"; rel.to: "elm.text"; text { style: "entry_textblock_guide_style"; min: 0 1; align: 0.0 0.5; } } desc { "focused"; inherit: "default"; text.style: "entry_textblock_guide_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "entry_textblock_guide_disabled_style"; } desc { "hidden"; inherit: "default"; hid; } } textblock { "elm.text"; mouse; scale; entry_mode: EDITABLE; select_mode: EXPLICIT; cursor_mode: BEFORE; multiline: 1; source: "elm/entry/selection/default"; // selection under source4: "elm/entry/cursor/default"; // cursorover source5: "elm/entry/anchor/default"; // anchor under desc { "default"; text { style: "entry_textblock_style"; min: 1 1; align: 0.0 0.5; } } desc { "focused"; inherit: "default"; text { style: "entry_textblock_focused_style"; min: 1 1; } } desc { "disabled"; inherit: "default"; text { style: "entry_textblock_disabled_style"; min: 0 1; } } } } } group { "elm/entry/base-single/default"; inherit: "elm/entry/base/template"; parts { textblock { "elm.guide"; nomouse; scale; desc { "default"; fixed: 1 1; rel.to: "elm.text"; text { style: "entry_single_textblock_guide_style"; min: 0 1; max: 0 0; align: 0.0 0.5; } } desc { "focused"; inherit: "default"; text.style: "entry_single_textblock_guide_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "entry_single_textblock_guide_disabled_style"; } desc { "hidden"; inherit: "default"; hid; } } textblock { "elm.text"; mouse; scale; entry_mode: EDITABLE; select_mode: EXPLICIT; cursor_mode: BEFORE; multiline: 0; source: "elm/entry/selection/default"; // selection under source4: "elm/entry/cursor/default"; // cursorover source5: "elm/entry/anchor/default"; // anchor under desc { "default"; text { style: "entry_single_textblock_style"; min: 1 1; max: 0 0; align: 0.0 0.5; } } desc { "focused"; inherit: "default"; text.style: "entry_single_textblock_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "entry_single_textblock_disabled_style"; } } } } group { "elm/entry/base-single/spinner/default"; inherit: "elm/entry/base/template"; alias: "elm/entry/base-single/spinner/horizontal"; data.item: "default_font_size" "106"; parts { textblock { "elm.guide"; nomouse; scale; desc { "default"; fixed: 1 1; rel.to: "elm.text"; text { style: "entry_single_spinner_textblock_style"; min: 0 1; max: 0 0; align: 0.0 0.5; } } desc { "focused"; inherit: "default"; } desc { "disabled"; inherit: "default"; } desc { "hidden"; inherit: "default"; hid; } } textblock { "elm.text"; mouse; scale; entry_mode: EDITABLE; select_mode: EXPLICIT; cursor_mode: BEFORE; multiline: 0; source: "elm/entry/selection/spinner/default"; // selection under source4: "elm/entry/cursor/spinner/default"; // cursorover source5: "elm/entry/anchor/spinner/default"; // anchor under desc { "default"; text { style: "entry_single_spinner_textblock_style"; min: 1 1; max: 0 0; align: 0.0 0.5; } } desc { "focused"; inherit: "default"; } desc { "disabled"; inherit: "default"; } } } } group { "elm/entry/base-single/spinner/vertical"; inherit: "elm/entry/base/template"; data.item: "default_font_size" "106"; parts { textblock { "elm.guide"; nomouse; scale; desc { "default"; fixed: 1 1; rel.to: "elm.text"; text { style: "entry_single_spinner_vertical_textblock_style"; min: 0 1; align: 0.0 0.5; } } desc { "focused"; inherit: "default"; } desc { "disabled"; inherit: "default"; } desc { "hidden"; inherit: "default"; hid; } } textblock { "elm.text"; mouse; scale; entry_mode: EDITABLE; select_mode: EXPLICIT; cursor_mode: BEFORE; multiline: 0; source: "elm/entry/selection/spinner/vertical"; // selection under source4: "elm/entry/cursor/spinner/vertical"; // cursorover source5: "elm/entry/anchor/spinner/vertical"; // anchor under desc { "default"; text { style: "entry_single_spinner_vertical_textblock_style"; min: 1 1; align: 0.0 0.5; } } desc { "focused"; inherit: "default"; } desc { "disabled"; inherit: "default"; } } } } group { "elm/entry/base-single/spinner/datetime/default"; inherit: "elm/entry/base/template"; alias: "elm/entry/base-single/spinner/datetime/date_layout"; data.item: "default_font_size" "85"; parts { textblock { "elm.guide"; nomouse; scale; desc { "default"; text { style: "entry_single_spinner_datetime_date_layout_textblock_style"; min: 0 1; align: 0.0 0.5; } } desc { "focused"; inherit: "default"; } desc { "disabled"; inherit: "default"; } desc { "hidden"; inherit: "default"; hid; } } textblock { "elm.text"; mouse; scale; entry_mode: EDITABLE; select_mode: EXPLICIT; cursor_mode: BEFORE; multiline: 0; source: "elm/entry/selection/spinner/datetime/default"; // selection under source4: "elm/entry/cursor/spinner/datetime/default"; // cursorover source5: "elm/entry/anchor/spinner/datetime/default"; // anchor under desc { "default"; min: SPINNER_VERTICAL_DATE_PICKER_TEXT_BUTTON_SIZE_INC; max: SPINNER_VERTICAL_DATE_PICKER_TEXT_BUTTON_SIZE_INC; text { style: "entry_single_spinner_datetime_date_layout_textblock_style"; size_range: 40 90; fit: 1 0; size: 90; } } desc { "focused"; inherit: "default"; } desc { "disabled"; inherit: "default"; } } } } group { "elm/entry/base-single/spinner/datetime/time_layout"; inherit: "elm/entry/base/template"; data.item: "default_font_size" "106"; parts { textblock { "elm.guide"; nomouse; scale; desc { "default"; fixed: 1 1; rel.to: "elm.text"; text { style: "entry_single_spinner_datetime_time_layout_textblock_style"; min: 0 1; align: 0.0 0.5; } } desc { "focused"; inherit: "default"; } desc { "disabled"; inherit: "default"; } desc { "hidden"; inherit: "default"; hid; } } textblock { "elm.text"; mouse; scale; entry_mode: EDITABLE; select_mode: EXPLICIT; cursor_mode: BEFORE; multiline: 0; source: "elm/entry/selection/spinner/datetime/time_layout"; // selection under source4: "elm/entry/cursor/spinner/datetime/time_layout"; // cursorover source5: "elm/entry/anchor/spinner/datetime/time_layout"; // anchor under desc { "default"; text { style: "entry_single_spinner_datetime_time_layout_textblock_style"; min: 1 1; align: 0.0 0.5; } } desc { "focused"; inherit: "default"; } desc { "disabled"; inherit: "default"; } } } } group { "elm/entry/base-single/spinner/datetime/time_layout_24hr"; inherit: "elm/entry/base/template"; data.item: "default_font_size" "106"; parts { textblock { "elm.guide"; nomouse; scale; desc { "default"; fixed: 1 1; rel.to: "elm.text"; text { style: "entry_single_spinner_datetime_time_layout_24hr_textblock_style"; min: 0 1; align: 0.0 0.5; } } desc { "focused"; inherit: "default"; } desc { "disabled"; inherit: "default"; } desc { "hidden"; inherit: "default"; hid; } } textblock { "elm.text"; mouse; scale; entry_mode: EDITABLE; select_mode: EXPLICIT; cursor_mode: BEFORE; multiline: 0; source: "elm/entry/selection/spinner/datetime/time_layout_24hr"; // selection under source4: "elm/entry/cursor/spinner/datetime/time_layout_24hr"; // cursorover source5: "elm/entry/anchor/spinner/datetime/time_layout_24hr"; // anchor under desc { "default"; text { style: "entry_single_spinner_datetime_time_layout_24hr_textblock_style"; min: 1 1; align: 0.0 0.5; } } desc { "focused"; inherit: "default"; } desc { "disabled"; inherit: "default"; } } } } group { "elm/entry/base-single/multibuttonentry/default"; alias: "elm/entry/base-single/multibuttonentry"; inherit: "elm/entry/base/template"; parts { textblock { "elm.guide"; nomouse; scale; desc { "default"; fixed: 1 1; rel.to: "elm.text"; text { style: "multibuttonentry_single_textblock_guide_style"; min: 0 1; max: 0 1; } } desc { "focused"; inherit: "default"; text.style: "multibuttonentry_single_textblock_guide_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "multibuttonentry_single_textblock_guide_disabled_style"; } desc { "hidden"; inherit: "default"; hid; } } textblock { "elm.text"; mouse; scale; entry_mode: EDITABLE; select_mode: EXPLICIT; cursor_mode: BEFORE; multiline: 0; source: "elm/entry/selection/multibuttonentry/default"; // selection under source4: "elm/entry/cursor/multibuttonentry/default"; // cursorover source5: "elm/entry/anchor/multibuttonentry/default"; // anchor under desc { "default"; text { style: "multibuttonentry_single_textblock_style"; min: 1 1; max: 0 1; } } desc { "focused"; inherit: "default"; text.style: "multibuttonentry_single_textblock_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "multibuttonentry_single_textblock_disabled_style"; } } } } group { "elm/entry/base-single-noedit/default"; inherit: "elm/entry/base/template"; alias: "elm/entry/base-single-noedit/vcenter_align"; parts { textblock { "elm.guide"; nomouse; scale; desc { "default"; fixed: 1 1; rel.to: "elm.text"; text { style: "entry_single_textblock_guide_style"; min: 0 1; max: 0 1; } } desc { "focused"; inherit: "default"; text.style: "entry_single_textblock_guide_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "entry_single_textblock_guide_disabled_style"; } desc { "hidden"; inherit: "default"; hid; } } textblock { "elm.text"; mouse; scale; entry_mode: PLAIN; select_mode: EXPLICIT; cursor_mode: BEFORE; multiline: 0; source: "elm/entry/selection/default"; // selection under source5: "elm/entry/anchor/default"; // anchor under desc { "default"; text { style: "entry_single_textblock_style"; min: 1 1; max: 0 1; } } desc { "focused"; inherit: "default"; text.style: "entry_single_textblock_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "entry_single_textblock_disabled_style"; } } } } group { "elm/entry/base-noedit/default"; inherit: "elm/entry/base/template"; parts { textblock { "elm.guide"; nomouse; scale; desc { "default"; rel.to: "elm.text"; text { style: "entry_textblock_guide_style"; min: 0 1; align: 0.0 0.0; } } desc { "focused"; inherit: "default"; text.style: "entry_textblock_guide_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "entry_textblock_guide_disabled_style"; } desc { "hidden"; inherit: "default"; hid; } } textblock { "elm.text"; mouse; scale; entry_mode: PLAIN; select_mode: EXPLICIT; cursor_mode: BEFORE; multiline: 1; source: "elm/entry/selection/default"; // selection under source5: "elm/entry/anchor/default"; // anchor under desc { "default"; fixed: 1 0; text { style: "entry_textblock_style"; min: 0 1; align: 0.0 0.0; } } desc { "focused"; inherit: "default"; text.style: "entry_textblock_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "entry_textblock_disabled_style"; } } } } group { "elm/entry/base-noedit/vcenter_align"; inherit: "elm/entry/base/template"; parts { textblock { "elm.guide"; nomouse; scale; desc { "default"; rel.to: "elm.text"; text { style: "entry_textblock_guide_style"; min: 0 1; align: 0.0 0.5; } } desc { "focused"; inherit: "default"; text.style: "entry_textblock_guide_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "entry_textblock_guide_disabled_style"; } desc { "hidden"; inherit: "default"; hid; } } textblock { "elm.text"; mouse; scale; entry_mode: PLAIN; select_mode: EXPLICIT; cursor_mode: BEFORE; multiline: 1; source: "elm/entry/selection/default"; // selection under source5: "elm/entry/anchor/default"; // anchor under desc { "default"; fixed: 1 0; text { style: "entry_textblock_style"; min: 0 1; align: 0.0 0.5; } } desc { "focused"; inherit: "default"; text.style: "entry_textblock_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "entry_textblock_disabled_style"; } } } } group { "elm/entry/base-noedit-charwrap/default"; inherit: "elm/entry/base/template"; parts { textblock { "elm.guide"; nomouse; scale; desc { "default"; rel.to: "elm.text"; text { style: "entry_textblock_char_wrap_guide_style"; min: 0 1; align: 0.0 0.0; } } desc { "focused"; inherit: "default"; text.style: "entry_textblock_char_wrap_guide_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "entry_textblock_char_wrap_guide_disabled_style"; } desc { "hidden"; inherit: "default"; hid; } } textblock { "elm.text"; mouse; scale; entry_mode: PLAIN; select_mode: EXPLICIT; cursor_mode: BEFORE; multiline: 1; source: "elm/entry/selection/default"; // selection under source5: "elm/entry/anchor/default"; // anchor under desc { "default"; fixed: 1 0; text { style: "entry_textblock_char_wrap_style"; min: 0 1; align: 0.0 0.0; } } desc { "focused"; inherit: "default"; text.style: "entry_textblock_char_wrap_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "entry_textblock_char_wrap_disabled_style"; } } } } group { "elm/entry/base-noedit-charwrap/vcenter_align"; inherit: "elm/entry/base/template"; parts { textblock { "elm.guide"; nomouse; scale; desc { "default"; rel.to: "elm.text"; text { style: "entry_textblock_char_wrap_guide_style"; min: 0 1; align: 0.0 0.5; } } desc { "focused"; inherit: "default"; text.style: "entry_textblock_char_wrap_guide_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "entry_textblock_char_wrap_guide_disabled_style"; } desc { "hidden"; inherit: "default"; hid; } } textblock { "elm.text"; mouse; scale; entry_mode: PLAIN; select_mode: EXPLICIT; cursor_mode: BEFORE; multiline: 1; source: "elm/entry/selection/default"; // selection under source5: "elm/entry/anchor/default"; // anchor under desc { "default"; fixed: 1 0; text { style: "entry_textblock_char_wrap_style"; min: 0 1; align: 0.0 0.5; } } desc { "focused"; inherit: "default"; text.style: "entry_textblock_char_wrap_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "entry_textblock_char_wrap_disabled_style"; } } } } group { "elm/entry/base-noedit-mixedwrap/default"; inherit: "elm/entry/base/template"; parts { part { "elm.guide"; type: TEXTBLOCK; nomouse; scale; desc { "default"; rel.to: "elm.text"; text { style: "entry_textblock_guide_style"; min: 0 1; align: 0.0 0.0; } } desc { "focused"; inherit: "default"; text.style: "entry_textblock_guide_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "entry_textblock_guide_disabled_style"; } desc { "hidden"; inherit: "default"; hid; } } textblock { "elm.text"; mouse; scale; entry_mode: PLAIN; select_mode: EXPLICIT; cursor_mode: BEFORE; multiline: 1; source: "elm/entry/selection/default"; // selection under source5: "elm/entry/anchor/default"; // anchor under desc { "default"; fixed: 1 0; text { style: "entry_textblock_style"; min: 0 1; align: 0.0 0.0; } } desc { "focused"; inherit: "default"; text.style: "entry_textblock_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "entry_textblock_disabled_style"; } } } } group { "elm/entry/base-noedit-mixedwrap/vcenter_align"; inherit: "elm/entry/base/template"; parts { textblock { "elm.guide"; nomouse; scale; desc { "default"; rel1.to: "elm.text"; rel2.to: "elm.text"; text { style: "entry_textblock_guide_style"; min: 0 1; align: 0.0 0.5; } } desc { "focused"; inherit: "default"; text.style: "entry_textblock_guide_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "entry_textblock_guide_disabled_style"; } desc { "hidden"; inherit: "default"; hid; } } textblock { "elm.text"; mouse; scale; entry_mode: PLAIN; select_mode: EXPLICIT; cursor_mode: BEFORE; multiline: 1; source: "elm/entry/selection/default"; // selection under source5: "elm/entry/anchor/default"; // anchor under desc { "default"; fixed: 1 0; text { style: "entry_textblock_style"; min: 0 1; align: 0.0 0.5; } } desc { "focused"; inherit: "default"; text.style: "entry_textblock_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "entry_textblock_disabled_style"; } } } } group { "elm/entry/base-nowrap-noedit/default"; inherit: "elm/entry/base/template"; parts { textblock { "elm.guide"; type: TEXTBLOCK; nomouse; scale; desc { "default"; rel.to: "elm.text"; text { style: "entry_textblock_guide_style"; min: 0 1; align: 0.0 0.0; } } desc { "focused"; inherit: "default"; text.style: "entry_textblock_guide_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "entry_textblock_guide_disabled_style"; } desc { "hidden"; inherit: "default"; hid; } } textblock { "elm.text"; mouse; scale; entry_mode: PLAIN; select_mode: EXPLICIT; cursor_mode: BEFORE; multiline: 1; source: "elm/entry/selection/default"; // selection under source5: "elm/entry/anchor/default"; // anchor under desc { "default"; text { style: "entry_textblock_style"; min: 1 1; align: 0.0 0.0; } } desc { "focused"; inherit: "default"; text.style: "entry_textblock_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "entry_textblock_disabled_style"; } } } } group { "elm/entry/base-nowrap-noedit/vcenter_align"; inherit: "elm/entry/base/template"; parts { textblock { "elm.guide"; nomouse; scale; desc { "default"; rel.to: "elm.text"; text { style: "entry_textblock_guide_style"; min: 0 1; align: 0.0 0.0; } } desc { "focused"; inherit: "default"; text.style: "entry_textblock_guide_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "entry_textblock_guide_disabled_style"; } desc { "hidden"; inherit: "default"; hid; } } textblock { "elm.text"; mouse; scale; entry_mode: PLAIN; select_mode: EXPLICIT; cursor_mode: BEFORE; multiline: 1; source: "elm/entry/selection/default"; // selection under source5: "elm/entry/anchor/default"; // anchor under desc { "default"; text { style: "entry_textblock_style"; min: 1 1; align: 0.0 0.0; } } desc { "focused"; inherit: "default"; text.style: "entry_textblock_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "entry_textblock_disabled_style"; } } } } group { "elm/entry/base-password/default"; inherit: "elm/entry/base/template"; alias: "elm/entry/base-password/vcenter_align"; parts { textblock { "elm.guide"; nomouse; scale; desc { "default"; fixed: 1 1; rel.to: "elm.text"; text { style: "entry_single_textblock_guide_style"; min: 0 1; max: 0 1; } } desc { "focused"; inherit: "default"; text.style: "entry_single_textblock_guide_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "entry_single_textblock_guide_disabled_style"; } desc { "hidden"; inherit: "default"; hid; } } textblock { "elm.text"; mouse; scale; entry_mode: PASSWORD; select_mode: EXPLICIT; cursor_mode: BEFORE; multiline: 0; source: "elm/entry/selection/default"; // selection under source4: "elm/entry/cursor/default"; // cursorover source5: "elm/entry/anchor/default"; // anchor under desc { "default"; text { style: "entry_single_textblock_style"; repch: "•"; min: 1 1; max: 0 1; } } desc { "focused"; inherit: "default"; text.style: "entry_single_textblock_focused_style"; } desc { "disabled"; inherit: "default"; text.style: "entry_single_textblock_disabled_style"; } } } } group { "elm/entry/cursor/default"; inherit: "elm/entry/cursor/template"; parts { rect { "cursor"; nomouse; scale; clip: "clipper"; desc { "default"; min: ENTRY_CURSOR_SIZE_INC; color_class: "entry/default/cursor"; hid; } desc { "visible"; inherit: "default"; vis; } } rect { "clipper"; desc { "default"; rel.to: "cursor"; fixed: 1 1; } desc { "hidden"; inherit: "default"; hid; } } } } group { "elm/entry/cursor/spinner/default"; inherit: "elm/entry/cursor/template"; alias: "elm/entry/cursor/spinner/horizontal"; parts { rect { "cursor"; nomouse; scale; clip: "clipper"; desc { "default"; min: ENTRY_CURSOR_SIZE_INC; color_class: "spinner/default/cursor"; hid; } desc { "visible"; inherit: "default"; vis; } } rect { "clipper"; desc { "default"; rel.to: "cursor"; fixed: 1 1; } desc { "hidden"; inherit: "default"; hid; } } } } group { "elm/entry/cursor/spinner/vertical"; inherit: "elm/entry/cursor/template"; parts { rect { "cursor"; nomouse; scale; clip: "clipper"; desc { "default"; min: ENTRY_CURSOR_SIZE_INC; color_class: "spinner/vertical/cursor"; hid; } desc { "visible"; inherit: "default"; vis; } } rect { "clipper"; desc { "default"; rel.to: "cursor"; fixed: 1 1; } desc { "hidden"; inherit: "default"; hid; } } } } group { "elm/entry/cursor/spinner/datetime/default"; inherit: "elm/entry/cursor/template"; alias: "elm/entry/cursor/spinner/datetime/date_layout"; parts { rect { "cursor"; nomouse; scale; clip: "clipper"; desc { "default"; min: ENTRY_CURSOR_SIZE_INC; color_class: "datetime/default/cursor"; hid; } desc { "visible"; inherit: "default"; vis; } } rect { "clipper"; desc { "default"; rel.to: "cursor"; fixed: 1 1; } desc { "hidden"; inherit: "default"; hid; } } } } group { "elm/entry/cursor/spinner/datetime/time_layout"; inherit: "elm/entry/cursor/template"; parts { rect { "cursor"; nomouse; scale; clip: "clipper"; desc { "default"; min: ENTRY_CURSOR_SIZE_INC; color_class: "datetime/time_layout/cursor"; hid; } desc { "visible"; inherit: "default"; vis; } } rect { "clipper"; desc { "default"; rel.to: "cursor"; fixed: 1 1; } desc { "hidden"; inherit: "default"; hid; } } } } group { "elm/entry/cursor/spinner/datetime/time_layout_24hr"; inherit: "elm/entry/cursor/template"; parts { rect { "cursor"; nomouse; scale; clip: "clipper"; desc { "default"; min: ENTRY_CURSOR_SIZE_INC; color_class: "datetime/time_layout_24hr/cursor"; hid; } desc { "visible"; inherit: "default"; vis; } } rect { "clipper"; desc { "default"; rel.to: "cursor"; fixed: 1 1; } desc { "hidden"; inherit: "default"; hid; } } } } group { "elm/entry/cursor/multibuttonentry/default"; inherit: "elm/entry/cursor/template"; parts { rect { "cursor"; nomouse; scale; clip: "clipper"; desc { "default"; min: ENTRY_CURSOR_SIZE_INC; color_class: "multibuttonentry/default/cursor"; hid; } desc { "visible"; inherit: "default"; vis; } } rect { "clipper"; desc { "default"; rel.to: "cursor"; fixed: 1 1; } desc { "hidden"; inherit: "default"; hid; } } } } group { "elm/entry/selection/default"; parts { rect { "bg"; scale; nomouse; desc { "default"; color_class: "entry/default/selection"; } } } } group { "elm/entry/selection/spinner/default"; parts { rect { "bg"; scale; nomouse; desc { "default"; color_class: "spinner/default/selection"; } } } } group { "elm/entry/selection/spinner/vertical"; parts { rect { "bg"; scale; nomouse; desc { "default"; color_class: "spinner/vertical/selection"; } } } } group { "elm/entry/selection/spinner/datetime/default"; parts { rect { "bg"; scale; nomouse; desc { "default"; color_class: "datetime/default/selection"; } } } } group { "elm/entry/selection/spinner/datetime/time_layout"; parts { rect { "bg"; scale; nomouse; desc { "default"; color_class: "datetime/time_layout/selection"; } } } } group { "elm/entry/selection/spinner/datetime/time_layout_24hr"; parts { rect { "bg"; scale; nomouse; desc { "default"; color_class: "datetime/time_layout_24hr/selection"; } } } } group { "elm/entry/selection/multibuttonentry/default"; parts { rect { "bg"; scale; nomouse; desc { "default"; color_class: "multibuttonentry/default/selection"; } } } } group { "elm/entry/handler/start/default"; inherit: "elm/entry/handler/template"; alias: "elm/entry/selection/block_handle_left"; images { image: "copy&paste_handler_bottom_l.png" COMP; image: "copy&paste_handler_bottom_r.png" COMP; image: "copy&paste_handler_top_l.png" COMP; image: "copy&paste_handler_top_r.png" COMP; } parts { image { "handle"; scale; desc { "default"; hid; fixed: 1 1; align: 1.0 0.0; min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_INC ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_INC; max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_INC ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_INC; image.normal: "copy&paste_handler_bottom_l.png"; } desc { "visible"; inherit: "default"; vis; } desc { "top"; inherit: "visible"; align: 1.0 1.0; image.normal: "copy&paste_handler_top_l.png"; } desc { "bottom_reversed"; inherit: "visible"; align: 0.0 0.0; image.normal: "copy&paste_handler_bottom_r.png"; } desc { "top_reversed"; inherit: "visible"; align: 0.0 1.0; image.normal: "copy&paste_handler_top_r.png"; } desc { "zoom"; inherit: "visible"; min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_ZOOM_INC ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_ZOOM_INC; max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_ZOOM_INC ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_ZOOM_INC; } desc { "zoom_top"; inherit: "top"; min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_ZOOM_INC ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_ZOOM_INC; max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_ZOOM_INC ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_ZOOM_INC; } desc { "zoom_bottom_reversed"; inherit: "bottom_reversed"; min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_ZOOM_INC ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_ZOOM_INC; max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_ZOOM_INC ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_ZOOM_INC; } desc { "zoom_top_reversed"; inherit: "top_reversed"; min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_ZOOM_INC ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_ZOOM_INC; max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_ZOOM_INC ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_ZOOM_INC; } } } } group { "elm/entry/handler/end/default"; inherit: "elm/entry/handler/template"; alias: "elm/entry/selection/block_handle_right"; images { image: "copy&paste_handler_bottom_l.png" COMP; image: "copy&paste_handler_bottom_r.png" COMP; image: "copy&paste_handler_top_l.png" COMP; image: "copy&paste_handler_top_r.png" COMP; } parts { image { "handle"; scale; desc { "default"; hid; fixed: 1 1; align: 0.0 0.0; min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_INC ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_INC; max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_INC ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_INC; image.normal: "copy&paste_handler_bottom_r.png"; } desc { "visible"; inherit: "default"; vis; } desc { "top"; inherit: "visible"; align: 0.0 1.0; image.normal: "copy&paste_handler_top_r.png"; } desc { "bottom_reversed"; inherit: "visible"; align: 1.0 0.0; image.normal: "copy&paste_handler_bottom_l.png"; } desc { "top_reversed"; inherit: "visible"; align: 1.0 1.0; image.normal: "copy&paste_handler_top_l.png"; } desc { "zoom"; inherit: "visible"; min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_ZOOM_INC ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_ZOOM_INC; max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_ZOOM_INC ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_ZOOM_INC; } desc { "zoom_top"; inherit: "top"; min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_ZOOM_INC ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_ZOOM_INC; max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_ZOOM_INC ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_ZOOM_INC; } desc { "zoom_bottom_reversed"; inherit: "bottom_reversed"; min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_ZOOM_INC ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_ZOOM_INC; max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_ZOOM_INC ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_ZOOM_INC; } desc { "zoom_top_reversed"; inherit: "top_reversed"; min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_ZOOM_INC ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_ZOOM_INC; max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_WIDTH_ZOOM_INC ENTRY_SELECTION_BLOCK_HANDLE_MIN_HEIGHT_ZOOM_INC; } } } } group { "elm/entry/handler/start/spinner/default"; alias: "elm/entry/handler/start/spinner/horizontal"; alias: "elm/entry/handler/start/spinner/vertical"; alias: "elm/entry/handler/start/spinner/datetime/default"; alias: "elm/entry/handler/start/spinner/datetime/date_layout"; alias: "elm/entry/handler/start/spinner/datetime/time_layout"; alias: "elm/entry/handler/start/spinner/datetime/time_layout_24hr"; } group { "elm/entry/handler/end/spinner/default"; alias: "elm/entry/handler/end/spinner/horizontal"; alias: "elm/entry/handler/end/spinner/vertical"; alias: "elm/entry/handler/end/spinner/datetime/default"; alias: "elm/entry/handler/end/spinner/datetime/date_layout"; alias: "elm/entry/handler/end/spinner/datetime/time_layout"; alias: "elm/entry/handler/end/spinner/datetime/time_layout_24hr"; } /* There is no color_class in elm/entry/cursor_handle/default. So, it can be used for every styles for entry widget. */ group { "elm/entry/cursor_handle/default"; inherit: "elm/entry/cursor_handle/template"; alias: "elm/entry/cursor_handle/spinner/default"; alias: "elm/entry/cursor_handle/spinner/horizontal"; alias: "elm/entry/cursor_handle/spinner/vertical"; alias: "elm/entry/cursor_handle/datetime/default"; alias: "elm/entry/cursor_handle/datetime/date_layout"; alias: "elm/entry/cursor_handle/datetime/time_layout"; alias: "elm/entry/cursor_handle/datetime/time_layout_24hr"; alias: "elm/entry/cursor_handle/multibuttonentry"; images { image: "copy&paste_handler_bottom_center.png" COMP; image: "copy&paste_handler_top_center.png" COMP; } parts { image { "handle"; scale; nomouse; desc { "default"; min: ENTRY_CURSOR_HANDLE_MIN_WIDTH_INC ENTRY_CURSOR_HANDLE_MIN_HEIGHT_INC; max: ENTRY_CURSOR_HANDLE_MIN_WIDTH_INC ENTRY_CURSOR_HANDLE_MIN_HEIGHT_INC; hid; align: 0.5 0.0; rel1.offset: -2 0; image { normal: "copy&paste_handler_bottom_center.png"; middle: SOLID; } } desc { "visible"; inherit: "default"; vis; } desc { "top"; inherit: "visible"; align: 0.5 1.0; image.normal: "copy&paste_handler_top_center.png"; } desc { "zoom"; inherit: "visible"; min: ENTRY_CURSOR_HANDLE_MIN_WIDTH_ZOOM_INC ENTRY_CURSOR_HANDLE_MIN_HEIGHT_ZOOM_INC; max: ENTRY_CURSOR_HANDLE_MIN_WIDTH_ZOOM_INC ENTRY_CURSOR_HANDLE_MIN_HEIGHT_ZOOM_INC; } desc { "zoom_top"; inherit: "top"; min: ENTRY_CURSOR_HANDLE_MIN_WIDTH_ZOOM_INC ENTRY_CURSOR_HANDLE_MIN_HEIGHT_ZOOM_INC; max: ENTRY_CURSOR_HANDLE_MIN_WIDTH_ZOOM_INC ENTRY_CURSOR_HANDLE_MIN_HEIGHT_ZOOM_INC; } } } } group { "elm/entry/handler/edge/start/default"; parts { spacer { "align"; scale; desc { "default"; min: 0 0; max: 0 0; align: 0.0 0.0; } } rect { "bg"; scale; nomouse; desc { "default"; fixed: 1 0; color: 0 184 230 255; 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.5 0; hid; } desc { "visible"; inherit: "default"; vis; } } } programs { program { "edje_focus_in"; signal: "edje,focus,in"; source: "edje"; script { set_state(PART:"bg", "visible", 0.0); } } program { "edje_focus_out"; signal: "edje,focus,out"; source: "edje"; script { set_state(PART:"bg", "default", 0.0); } } } } group { "elm/entry/handler/edge/start/spinner/default"; alias:"elm/entry/handler/edge/start/spinner/horizontal"; alias:"elm/entry/handler/edge/start/spinner/vertical"; alias: "elm/entry/handler/edge/start/spinner/datetime"; alias: "elm/entry/handler/edge/start/spinner/datetime/default"; alias: "elm/entry/handler/edge/start/spinner/datetime/date_layout"; alias: "elm/entry/handler/edge/start/spinner/datetime/time_layout"; alias: "elm/entry/handler/edge/start/spinner/datetime/time_layout_24hr"; } group { "elm/entry/handler/edge/end/spinner/vertical"; alias:"elm/entry/handler/edge/end/spinner/horizontal"; alias:"elm/entry/handler/edge/end/spinner/vertical"; alias: "elm/entry/handler/edge/end/spinner/datetime"; alias: "elm/entry/handler/edge/end/spinner/datetime/default"; alias: "elm/entry/handler/edge/end/spinner/datetime/date_layout"; alias: "elm/entry/handler/edge/end/spinner/datetime/time_layout"; alias: "elm/entry/handler/edge/end/spinner/datetime/time_layout_24hr"; } group { "elm/entry/handler/edge/end/default"; parts { spacer { "align"; scale; desc { "default"; min: 0 0; max: 0 0; align: 0 0; } } rect { "bg"; scale; nomouse; desc { "default"; color: 0 184 230 255; 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.5 0.0; hid; } desc { "visible"; inherit: "default"; vis; } } } programs { program { "edje_focus_in"; signal: "edje,focus,in"; source: "edje"; script { set_state(PART:"bg", "visible", 0.0); } } program { "edje_focus_out"; signal: "edje,focus,out"; source: "edje"; script { set_state(PART:"bg", "default", 0.0); } } } } group { "elm/entry/anchor/default"; alias: "elm/entry/anchor/spinner/default"; alias: "elm/entry/anchor/spinner/vertical"; alias: "elm/entry/anchor/spinner/datetime/default"; alias: "elm/entry/anchor/spinner/datetime/time_layout"; alias: "elm/entry/anchor/spinner/datetime/time_layout_24hr"; alias: "elm/entry/anchor/multibuttonentry/default"; parts { spacer { "bg"; desc { "default"; } } } } group { "elm/entry/preedit/default"; parts { rect { "bg"; nomouse; desc { "default"; color: 128 128 128 255; } } } } group { "elm/entry/magnifier/fixed-size"; data.item: "height" MAGNIFIER_HEIGHT_MIN; data.item: "scale" MAGNIFIER_SCALE; data.item: "arrow" MAGNIFIER_ARROW_HEIGHT_INC; images { image: "copy&paste_magnifier_line.#.png" COMP; image: "copy&paste_magnifier_mask.#.png" COMP; } parts { image { "bg_mask"; scale; desc { "default"; rel1.to: "bg"; rel2.to: "bg"; image.normal: "copy&paste_magnifier_mask.#.png"; image.border: 8 8 8 8; color: 255 255 255 255; } desc { "custom_cc"; inherit: "default"; color_class: "mgf_custom_cc"; } } image { "bg"; nomouse; scale; desc { "default"; fixed: 1 1; min: MAGNIFIER_WIDTH_FIXED_INC MAGNIFIER_HEIGHT_MIN; max: MAGNIFIER_WIDTH_FIXED_INC MAGNIFIER_HEIGHT_MAX; image.normal: "copy&paste_magnifier_line.#.png"; image.border: 8 8 8 8; color: 61 185 204 255; align: 0.0 0.0; } } spacer { "left_offset"; nomouse; scale; desc { "default"; fixed: 1 1; min: MAGNIFIER_LEFT_OFFSET_INC; max: MAGNIFIER_LEFT_OFFSET_INC; rel1 { to: "bg"; relative: 0.0 0.0; } align: 0.0 0.0; } } spacer { "right_offset"; nomouse; scale; desc { "default"; fixed: 1 1; min: MAGNIFIER_RIGHT_OFFSET_INC; max: MAGNIFIER_RIGHT_OFFSET_INC; rel1 { to: "bg"; relative: 1.0 1.0; } rel2 { to: "bg"; relative: 1.0 1.0; } align: 1.0 1.0; } } swallow { "swallow"; nomouse; scale; desc { "default"; fixed: 1 1; align: 0.0 0.0; rel1 { to: "left_offset"; relative: 1.0 1.0; } rel2 { to: "right_offset"; relative: 0.0 0.0; } } } } script { public message(Msg_Type:type, id, ...) { if (type == MSG_INT_SET) { new r, g, b, a; r = getarg(2); g = getarg(3); b = getarg(4); a = getarg(5); set_state(PART:"bg_mask", "custom_cc", 0.0); set_color_class("mgf_custom_cc", r, g, b, a); } } } } group { "elm/scroller/entry/default"; alias: "elm/scroller/entry_single/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; } } images { image: "core_scroll_bar_v.#.png" COMP; image: "core_scroll_bar_h.#.png" COMP; } parts { spacer { "bg"; scale; desc { "default"; } } rect { "clipper"; scale; nomouse; desc { "default"; rel.to: "bg"; } } swallow { "elm.swallow.icon"; scale; clip: "clipper"; desc { "default"; align: 0.0 0.5; fixed: 1 1; rel1.to: "bg"; rel2 { to: "bg"; relative: 0.0 1.0; } hid; } desc { "visible"; inherit: "default"; vis; } } swallow { "elm.swallow.end"; scale; clip: "clipper"; desc { "default"; align: 1.0 0.5; fixed: 1 1; rel1 { to: "bg"; relative: 1.0 0.0; } rel2.to: "bg"; hid; } desc { "visible"; inherit: "default"; vis; } } rect { "clipper_elm.swallow.content"; scale; desc { "default"; rel1.to: "elm.swallow.content"; rel2.to: "elm.swallow.content"; } } swallow { "elm.swallow.content"; clip: "clipper_elm.swallow.content"; scale; desc { "default"; rel1 { to_x: "elm.swallow.icon"; to_y: "bg"; relative: 1.0 0.0; } rel2 { to_x: "elm.swallow.end"; to_y: "bg"; relative: 0.0 1.0; } } } rect { "clipper_clipper_sb_vbar"; scale; nomouse; desc { "default"; rel.to: "bg"; } desc { "hidden"; inherit: "default"; hid; } } rect { "clipper_sb_vbar"; clip: "clipper_clipper_sb_vbar"; scale; nomouse; desc { "default"; rel.to: "bg"; } desc { "hidden"; inherit: "default"; hid; } } spacer { "sb_vbar"; scale; desc { "default"; fixed: 1 1; min: SCROLLER_DEFAULT_SCROLLBAR_VBAR_MIN_SIZE_INC; align: 1.0 0.0; rel1 { to: "elm.swallow.content"; relative: 1.0 0.0; } rel2 { to_y: "sb_hbar"; to_x: "elm.swallow.content"; relative: 1.0 0.0; } } } image { "elm.dragable.vbar"; scale; clip: "clipper_sb_vbar"; nomouse; dragable { x: 0 0 0; y: 1 1 0; confine: "sb_vbar"; } desc { "default"; fixed: 1 1; min: SCROLLER_DEFAULT_SCROLLBAR_VBAR_MIN_SIZE_INC; max: SCROLLER_DEFAULT_SCROLLBAR_VBAR_MAX_SIZE_INC; rel1 { relative: 0.5 0.5; to: "sb_vbar"; } rel2 { relative: 0.5 0.5; to: "sb_vbar"; } image { normal: "core_scroll_bar_v.#.png"; middle: DEFAULT; } color: 61 184 204 178; } } rect { "clipper_clipper_sb_hbar"; scale; nomouse; desc { "default"; } desc { "hidden"; hid; } } rect { "clipper_sb_hbar"; clip: "clipper_clipper_sb_hbar"; scale; nomouse; desc { "default"; } desc { "hidden"; hid; color: 255 255 255 0; } } spacer { "sb_hbar"; scale; desc { "default"; fixed: 1 1; min: SCROLLER_DEFAULT_SCROLLBAR_HBAR_MIN_SIZE_INC; 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"; } } } image { "elm.dragable.hbar"; scale; clip: "clipper_sb_hbar"; nomouse; dragable { x: 1 1 0; y: 0 0 0; confine: "sb_hbar"; } desc { "default"; fixed: 1 1; min: SCROLLER_DEFAULT_SCROLLBAR_HBAR_MIN_SIZE_INC; max: SCROLLER_DEFAULT_SCROLLBAR_HBAR_MAX_SIZE_INC; rel1 { relative: 0.5 0.5; to: "sb_hbar"; } rel2 { relative: 0.5 0.5; to: "sb_hbar"; } image { normal: "core_scroll_bar_h.#.png"; middle: DEFAULT; } color: 61 184 204 178; } } } programs { program { "load"; signal: "load"; source: ""; script { set_state(PART:"clipper_sb_hbar", "hidden", 0.0); set_state(PART:"clipper_sb_vbar", "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); emit("reload", "elm"); } } program { "icon_show"; signal: "elm,action,show,icon"; source: "elm"; action: STATE_SET "visible"; target: "elm.swallow.icon"; } program { "icon_hide"; signal: "elm,action,hide,icon"; source: "elm"; action: STATE_SET "default"; target: "elm.swallow.icon"; } program { "end_show"; signal: "elm,action,show,end"; source: "elm"; action: STATE_SET "visible"; target: "elm.swallow.end"; } program { "end_hide"; signal: "elm,action,hide,end"; source: "elm"; action: STATE_SET "default"; target: "elm.swallow.end"; } program { "vbar_show"; signal: "elm,action,show,vbar"; source: "elm"; action: STATE_SET "default"; target: "clipper_clipper_sb_vbar"; } program { "vbar_hide"; signal: "elm,action,hide,vbar"; source: "elm"; action: STATE_SET "hidden"; target: "clipper_clipper_sb_vbar"; } program { "vbar_show_always"; signal: "elm,action,show_always,vbar"; source: "elm"; script { new v; v = get_int(sbalways_v); if (!v) { set_int(sbalways_v, 1); v = get_int(sbvis_v); if (!v) { emit("do-show-vbar", ""); set_int(sbvis_v, 1); } } } } program { "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 { "sb_vbar_show"; signal: "do-show-vbar"; source: ""; action: STATE_SET "default"; transition: LINEAR 0.5; target: "clipper_sb_vbar"; } program { "sb_vbar_hide"; signal: "do-hide-vbar"; source: ""; action: STATE_SET "hidden"; transition: LINEAR 0.5; target: "clipper_sb_vbar"; } program { "hbar_show"; signal: "elm,action,show,hbar"; source: "elm"; action: STATE_SET "default"; target: "clipper_clipper_sb_hbar"; } program { "hbar_hide"; signal: "elm,action,hide,hbar"; source: "elm"; action: STATE_SET "hidden"; target: "clipper_clipper_sb_hbar"; } program { "hbar_show_always"; signal: "elm,action,show_always,hbar"; source: "elm"; script { new v; v = get_int(sbalways_h); if (!v) { set_int(sbalways_h, 1); v = get_int(sbvis_h); if (!v) { emit("do-show-hbar", ""); set_int(sbvis_h, 1); } } } } program { "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 { "sb_hbar_show"; signal: "do-show-hbar"; source: ""; action: STATE_SET "default"; transition: LINEAR 0.5; target: "clipper_sb_hbar"; } program { "sb_hbar_hide"; signal: "do-hide-hbar"; source: ""; action: STATE_SET "hidden"; transition: LINEAR 0.5; target: "clipper_sb_hbar"; } program { "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); } } } }