X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=themes%2Fwidgets%2Fentry.edc;h=fb57d33b89884de7eb6747cc125f499d7d7b1a78;hb=4d8aac51879924f469abf94eb2e2bdc3970a1430;hp=ff1c53bfae2bdf14d2d2ed747ae432a0ea18c908;hpb=ba95fbbe6003cc4c2ccb2ec69be43fc475dca3a3;p=platform%2Fcore%2Fuifw%2Fefl-theme-tizen.git diff --git a/themes/widgets/entry.edc b/themes/widgets/entry.edc index ff1c53b..fb57d33 100644 --- a/themes/widgets/entry.edc +++ b/themes/widgets/entry.edc @@ -21,6 +21,423 @@ #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_FOCUS_DATA \ + data.item: "focus_highlight" "on"; + +#define ENTRY_EDITFIELD_FOCUS_DATA \ + data.item: "focus_highlight" "off"; + +#define ENTRY_FOCUS_IMAGE \ + images { \ + image: "00_focus.png" COMP; \ + } + +#define ENTRY_EDITFIELD_FOCUS_IMAGE \ + images { \ + image: "00_edit_field_focus.png" COMP; \ + image: "00_eidt_field_bg.png" COMP; \ + } + +#define ENTRY_TEXTBLOCK_DEFAULT_REL \ + rel1 { \ + to_x: "focus_left_padding"; \ + relative: 1.0 0.0; \ + } \ + rel2 { \ + to_x: "editfield_space"; \ + relative: 0.0 1.0; \ + } + +#define ENTRY_SWALLOW_SCRIPT_PUBLIC \ + script { \ + public scroll_enabled; \ + } + +#define ENTRY_SWALLOW_PARTS \ + part { name: "editfield_space"; \ + type: SPACER; \ + scale: 1; \ + description { state: "default" 0.0; \ + align: 1.0 0.5; \ + min: 0 0; \ + max: 0 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: "rename_visible" 0.0; \ + inherit: "default" 0.0; \ + min: 9 0; \ + max: 9 0; \ + rel1 { \ + to_x: "elm.swallow.rename"; \ + relative: 0.0 0.0; \ + } \ + rel2 { \ + to_x: "elm.swallow.rename"; \ + relative: 0.0 1.0; \ + } \ + } \ + description { state: "clear_visible" 0.0; \ + inherit: "default" 0.0; \ + min: 9 0; \ + max: 9 0; \ + rel1 { \ + to_x: "elm.swallow.clear"; \ + relative: 0.0 0.0; \ + } \ + rel2 { \ + to_x: "elm.swallow.clear"; \ + relative: 0.0 1.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; \ + } \ + } \ + part { name: "elm.swallow.rename"; \ + 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_FOCUS_PARTS \ + part { name: "focus_bg"; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + visible: 0; \ + rel1.relative: 0.0 0.0; \ + rel2.relative: 1.0 1.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_focus.png"; \ + border: 6 6 6 6; \ + border_scale: 1; \ + } \ + rel1 { \ + to_x: "focus_bg"; \ + relative: 0.0 0.0; \ + } \ + rel2 { \ + to_x: "focus_bg"; \ + relative: 1.0 1.0; \ + } \ + } \ + description { state: "focused" 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_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:"editfield_space", "clear_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:"editfield_space", "default", 0.0); \ + } \ + } \ + } \ + program { name: "rename_show"; \ + signal: "elm,state,rename,visible"; \ + source: "*"; \ + script { \ + new v; \ + v = get_int(scroll_enabled); \ + if (!v) { \ + set_state(PART:"elm.swallow.rename", "visible", 0.0); \ + set_state(PART:"editfield_space", "rename_visible", 0.0); \ + } \ + } \ + } \ + program { name: "rename_hide"; \ + signal: "elm,state,rename,hidden"; \ + source: "*"; \ + script { \ + new v; \ + v = get_int(scroll_enabled); \ + if (!v) { \ + set_state(PART:"elm.swallow.rename", "default", 0.0); \ + set_state(PART:"editfield_space", "default", 0.0); \ + } \ + } \ + } + +#define ENTRY_FOCUS_PROGRAMS \ + program { name: "action_focus"; \ + signal: "elm,action,focus_highlight,show"; \ + source: "elm"; \ + script { \ + new v; \ + v = get_int(scroll_enabled); \ + if (!v) { \ + set_state(PART:"focus_image", "focused", 0.0); \ + } \ + } \ + } \ + program { name: "action_unfocus"; \ + signal: "elm,action,focus_highlight,hide"; \ + source: "elm"; \ + script { \ + new v; \ + v = get_int(scroll_enabled); \ + if (!v) { \ + set_state(PART:"focus_image", "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); \ + } \ + } \ + } + +sounds { + sample { + name: "touch_sound" AS_IS; + source: "S_Touch_30ms.wav"; + } +} + group { name: "elm/entry/base/default"; alias: "elm/entry/base-mixedwrap/default"; data.item: "default_font_size" "24"; @@ -44,7 +461,7 @@ group { name: "elm/entry/base/default"; 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=#00000080 left_margin=1 right_margin=2 wrap=mixed text_class=entry"; + 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"; @@ -73,7 +490,10 @@ group { name: "elm/entry/base/default"; data { item: context_menu_orientation "horizontal"; } + ENTRY_FOCUS_DATA + ENTRY_FOCUS_IMAGE parts { + ENTRY_FOCUS_PARTS part { name: "elm.guide"; type: TEXTBLOCK; mouse_events: 0; @@ -118,6 +538,7 @@ group { name: "elm/entry/base/default"; min: 0 1; align: 0.0 0.0; } + ENTRY_TEXTBLOCK_DEFAULT_REL } description { state: "disabled" 0.0; inherit: "default" 0.0; @@ -127,7 +548,9 @@ group { name: "elm/entry/base/default"; } } } + ENTRY_SWALLOW_PARTS } + ENTRY_SWALLOW_SCRIPT_PUBLIC programs { program { name: "focus"; signal: "load"; @@ -159,6 +582,13 @@ group { name: "elm/entry/base/default"; 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_SWALLOW_PROGRAMS + ENTRY_FOCUS_PROGRAMS } } @@ -185,7 +615,7 @@ group { name: "elm/entry/base-charwrap/default"; 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=#00000080 wrap=char left_margin=1 right_margin=2 text_class=entry"; + 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"; @@ -214,7 +644,10 @@ group { name: "elm/entry/base-charwrap/default"; data { item: context_menu_orientation "horizontal"; } + ENTRY_FOCUS_DATA + ENTRY_FOCUS_IMAGE parts { + ENTRY_FOCUS_PARTS part { name: "elm.guide"; type: TEXTBLOCK; mouse_events: 0; @@ -259,6 +692,7 @@ group { name: "elm/entry/base-charwrap/default"; min: 0 1; align: 0.0 0.0; } + ENTRY_TEXTBLOCK_DEFAULT_REL } description { state: "disabled" 0.0; inherit: "default" 0.0; @@ -268,10 +702,12 @@ group { name: "elm/entry/base-charwrap/default"; } } } + ENTRY_SWALLOW_PARTS } + ENTRY_SWALLOW_SCRIPT_PUBLIC programs { program { name: "focus"; - signal: "load"; + signal: "load"; source: ""; action: FOCUS_SET; target: "elm.text"; @@ -288,20 +724,27 @@ group { name: "elm/entry/base-charwrap/default"; 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: "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_SWALLOW_PROGRAMS + ENTRY_FOCUS_PROGRAMS + } +} group { name: "elm/entry/base-nowrap/default"; data.item: "default_font_size" "24"; @@ -310,7 +753,10 @@ group { name: "elm/entry/base-nowrap/default"; data { item: context_menu_orientation "horizontal"; } + ENTRY_FOCUS_DATA + ENTRY_FOCUS_IMAGE parts { + ENTRY_FOCUS_PARTS part { name: "elm.guide"; type: TEXTBLOCK; mouse_events: 0; @@ -353,6 +799,7 @@ group { name: "elm/entry/base-nowrap/default"; min: 1 1; align: 0.0 0.0; } + ENTRY_TEXTBLOCK_DEFAULT_REL } description { state: "disabled" 0.0; inherit: "default" 0.0; @@ -362,7 +809,9 @@ group { name: "elm/entry/base-nowrap/default"; } } } + ENTRY_SWALLOW_PARTS } + ENTRY_SWALLOW_SCRIPT_PUBLIC programs { program { name: "focus"; signal: "load"; @@ -394,6 +843,13 @@ group { name: "elm/entry/base-nowrap/default"; 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_SWALLOW_PROGRAMS + ENTRY_FOCUS_PROGRAMS } } @@ -426,7 +882,7 @@ group { name: "elm/entry/base/editfield"; 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_TEXT_SIZE_INC" color=#00000080 wrap=mixed left_margin=1 right_margin=2"; + base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_DISABLED_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2"; tag: "br" "\n"; tag: "ps" "ps"; tag: "tab" "\t"; @@ -442,7 +898,7 @@ group { name: "elm/entry/base/editfield"; 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_TEXT_SIZE_INC" color="ENTRY_GUIDE_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2"; + base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_GUIDE_TEXT_COLOR_INC" wrap=mixed left_margin=1 right_margin=2"; tag: "br" "\n"; tag: "ps" "ps"; tag: "tab" "\t"; @@ -455,7 +911,10 @@ group { name: "elm/entry/base/editfield"; 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; @@ -500,6 +959,7 @@ group { name: "elm/entry/base/editfield"; min: 0 1; align: 0.0 0.0; } + ENTRY_TEXTBLOCK_DEFAULT_REL } description { state: "disabled" 0.0; inherit: "default" 0.0; @@ -509,7 +969,9 @@ group { name: "elm/entry/base/editfield"; } } } + ENTRY_SWALLOW_PARTS } + ENTRY_SWALLOW_SCRIPT_PUBLIC programs { program { name: "focus"; signal: "load"; @@ -541,6 +1003,13 @@ group { name: "elm/entry/base/editfield"; 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_SWALLOW_PROGRAMS + ENTRY_EDITFIELD_FOCUS_PROGRAMS } } @@ -572,7 +1041,7 @@ group { name: "elm/entry/base-charwrap/editfield"; 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_TEXT_SIZE_INC" color=#00000080 wrap=char left_margin=1 right_margin=2"; + 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"; tag: "br" "\n"; tag: "ps" "ps"; tag: "tab" "\t"; @@ -588,7 +1057,7 @@ group { name: "elm/entry/base-charwrap/editfield"; 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_TEXT_SIZE_INC" color="ENTRY_GUIDE_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2"; + base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_EDITFIELD_GUIDE_TEXT_COLOR_INC" wrap=char left_margin=1 right_margin=2"; tag: "br" "\n"; tag: "ps" "ps"; tag: "tab" "\t"; @@ -601,7 +1070,10 @@ group { name: "elm/entry/base-charwrap/editfield"; 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; @@ -646,6 +1118,7 @@ group { name: "elm/entry/base-charwrap/editfield"; min: 0 1; align: 0.0 0.0; } + ENTRY_TEXTBLOCK_DEFAULT_REL } description { state: "disabled" 0.0; inherit: "default" 0.0; @@ -655,7 +1128,9 @@ group { name: "elm/entry/base-charwrap/editfield"; } } } + ENTRY_SWALLOW_PARTS } + ENTRY_SWALLOW_SCRIPT_PUBLIC programs { program { name: "focus"; signal: "load"; @@ -687,6 +1162,13 @@ group { name: "elm/entry/base-charwrap/editfield"; 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_SWALLOW_PROGRAMS + ENTRY_EDITFIELD_FOCUS_PROGRAMS } } @@ -717,7 +1199,7 @@ group { name: "elm/entry/base-single/editfield"; 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_TEXT_SIZE_INC" color=#00000080 wrap=none left_margin=1 right_margin=3 text_class=entry"; + 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"; @@ -733,7 +1215,7 @@ group { name: "elm/entry/base-single/editfield"; 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_TEXT_SIZE_INC" color="ENTRY_GUIDE_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=entry"; + base: "font=Tizen:style=Roman font_size="ENTRY_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"; @@ -746,7 +1228,10 @@ group { name: "elm/entry/base-single/editfield"; 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; @@ -756,7 +1241,7 @@ group { name: "elm/entry/base-single/editfield"; rel2.to: "elm.text"; text { style: "editfield_single_textblock_guide_style"; - min: 1 1; + min: 0 1; max: 0 1; } } @@ -789,6 +1274,7 @@ group { name: "elm/entry/base-single/editfield"; min: 1 1; max: 0 1; } + ENTRY_TEXTBLOCK_DEFAULT_REL } description { state: "disabled" 0.0; inherit: "default" 0.0; @@ -797,7 +1283,9 @@ group { name: "elm/entry/base-single/editfield"; } } } + ENTRY_SWALLOW_PARTS } + ENTRY_SWALLOW_SCRIPT_PUBLIC programs { program { name: "focus"; signal: "load"; @@ -829,6 +1317,13 @@ group { name: "elm/entry/base-single/editfield"; 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_SWALLOW_PROGRAMS + ENTRY_EDITFIELD_FOCUS_PROGRAMS } } @@ -839,7 +1334,54 @@ group { name: "elm/entry/base-single/editfield/searchbar/default"; data { item: context_menu_orientation "horizontal"; } + ENTRY_FOCUS_DATA + ENTRY_FOCUS_IMAGE + styles { + style { name: "editfield_searchbar_single_textblock_style"; + base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_SEARCHBAR_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: "editfield_searchbar_single_textblock_disabled_style"; + base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_SEARCHBAR_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: "editfield_searchbar_single_textblock_guide_style"; + base: "font=Tizen:style=Roman font_size="ENTRY_EDITFIELD_SEARCHBAR_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"; + } + } parts { + ENTRY_FOCUS_PARTS part { name: "elm.guide"; type: TEXTBLOCK; mouse_events: 0; @@ -848,8 +1390,8 @@ group { name: "elm/entry/base-single/editfield/searchbar/default"; rel1.to: "elm.text"; rel2.to: "elm.text"; text { - style: "editfield_single_textblock_guide_style"; - min: 1 1; + style: "editfield_searchbar_single_textblock_guide_style"; + min: 0 1; max: 0 1; } } @@ -878,19 +1420,22 @@ group { name: "elm/entry/base-single/editfield/searchbar/default"; source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection description { state: "default" 0.0; text { - style: "editfield_single_textblock_style"; + style: "editfield_searchbar_single_textblock_style"; min: 1 1; max: 0 1; } + ENTRY_TEXTBLOCK_DEFAULT_REL } description { state: "disabled" 0.0; inherit: "default" 0.0; text { - style: "editfield_single_textblock_disabled_style"; + style: "editfield_searchbar_single_textblock_disabled_style"; } } } + ENTRY_SWALLOW_PARTS } + ENTRY_SWALLOW_SCRIPT_PUBLIC programs { program { name: "focus"; signal: "load"; @@ -922,6 +1467,13 @@ group { name: "elm/entry/base-single/editfield/searchbar/default"; 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_SWALLOW_PROGRAMS + ENTRY_FOCUS_PROGRAMS } } @@ -947,7 +1499,7 @@ group { name: "elm/entry/base-single/default"; 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=#00000080 wrap=none left_margin=1 right_margin=3 text_class=entry"; + 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"; @@ -963,7 +1515,7 @@ group { name: "elm/entry/base-single/default"; 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"; + 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"; @@ -973,10 +1525,13 @@ group { name: "elm/entry/base-single/default"; tag: "hilight" "+ font=Tizen:style=Bold"; } } + ENTRY_FOCUS_DATA + ENTRY_FOCUS_IMAGE data { item: context_menu_orientation "horizontal"; } parts { + ENTRY_FOCUS_PARTS part { name: "elm.guide"; type: TEXTBLOCK; mouse_events: 0; @@ -986,7 +1541,7 @@ group { name: "elm/entry/base-single/default"; rel2.to: "elm.text"; text { style: "entry_single_textblock_guide_style"; - min: 1 1; + min: 0 1; max: 0 0; align: 0.0 0.5; } @@ -1021,6 +1576,7 @@ group { name: "elm/entry/base-single/default"; max: 0 0; align: 0.0 0.5; } + ENTRY_TEXTBLOCK_DEFAULT_REL } description { state: "disabled" 0.0; inherit: "default" 0.0; @@ -1029,7 +1585,9 @@ group { name: "elm/entry/base-single/default"; } } } + ENTRY_SWALLOW_PARTS } + ENTRY_SWALLOW_SCRIPT_PUBLIC programs { program { name: "focus"; signal: "load"; @@ -1061,6 +1619,13 @@ group { name: "elm/entry/base-single/default"; 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_SWALLOW_PROGRAMS + ENTRY_FOCUS_PROGRAMS } } @@ -1081,7 +1646,7 @@ group { name: "elm/entry/base-single-noedit/default"; rel2.to: "elm.text"; text { style: "entry_single_textblock_guide_style"; - min: 1 1; + min: 0 1; max: 0 1; } } @@ -1153,6 +1718,11 @@ group { name: "elm/entry/base-single-noedit/default"; 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; + } } } @@ -1246,6 +1816,11 @@ group { name: "elm/entry/base-noedit/default"; 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; + } } } @@ -1309,36 +1884,41 @@ group { name: "elm/entry/base-noedit/default"; } } 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: "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; + } } } @@ -1431,6 +2011,11 @@ group { name: "elm/entry/base-noedit/default"; 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; + } } } @@ -1441,7 +2026,10 @@ group { name: "elm/entry/base-noedit/default"; data { item: context_menu_orientation "horizontal"; } + ENTRY_FOCUS_DATA + ENTRY_FOCUS_IMAGE parts { + ENTRY_FOCUS_PARTS part { name: "elm.guide"; type: TEXTBLOCK; mouse_events: 0; @@ -1451,7 +2039,7 @@ group { name: "elm/entry/base-noedit/default"; rel2.to: "elm.text"; text { style: "editfield_single_textblock_guide_style"; - min: 1 1; + min: 0 1; max: 0 1; } } @@ -1481,10 +2069,11 @@ group { name: "elm/entry/base-noedit/default"; description { state: "default" 0.0; text { style: "entry_single_textblock_style"; - repch: "*"; + repch: "•"; min: 1 1; max: 0 1; } + ENTRY_TEXTBLOCK_DEFAULT_REL } description { state: "disabled" 0.0; inherit: "default" 0.0; @@ -1493,7 +2082,9 @@ group { name: "elm/entry/base-noedit/default"; } } } + ENTRY_SWALLOW_PARTS } + ENTRY_SWALLOW_SCRIPT_PUBLIC programs { program { name: "focus"; signal: "load"; @@ -1525,6 +2116,13 @@ group { name: "elm/entry/base-noedit/default"; 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_SWALLOW_PROGRAMS + ENTRY_FOCUS_PROGRAMS } } @@ -1554,7 +2152,7 @@ group { name: "elm/entry/base-password/popup"; 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=#00000080 align=center wrap=mixed ellipsis=1.0 text_class=entry"; + 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"; @@ -1580,7 +2178,10 @@ group { name: "elm/entry/base-password/popup"; tag: "hilight" "+ font=Tizen:style=Bold"; } } + ENTRY_FOCUS_DATA + ENTRY_FOCUS_IMAGE parts { + ENTRY_FOCUS_PARTS part { name: "elm.guide"; type: TEXTBLOCK; mouse_events: 0; @@ -1590,7 +2191,7 @@ group { name: "elm/entry/base-password/popup"; rel2.to: "elm.text"; text { style: "entry_single_textblock_popup_guide_style"; - min: 1 1; + min: 0 1; max: 0 1; } } @@ -1620,10 +2221,11 @@ group { name: "elm/entry/base-password/popup"; description { state: "default" 0.0; text { style: "entry_single_textblock_popup_style"; - repch: "*"; + repch: "•"; min: 1 1; max: 0 1; } + ENTRY_TEXTBLOCK_DEFAULT_REL } description { state: "disabled" 0.0; inherit: "default" 0.0; @@ -1632,7 +2234,9 @@ group { name: "elm/entry/base-password/popup"; } } } + ENTRY_SWALLOW_PARTS } + ENTRY_SWALLOW_SCRIPT_PUBLIC programs { program { name: "focus"; signal: "load"; @@ -1664,6 +2268,13 @@ group { name: "elm/entry/base-password/popup"; 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_SWALLOW_PROGRAMS + ENTRY_FOCUS_PROGRAMS } } @@ -1720,7 +2331,7 @@ group { name: "elm/entry/base-password/popup"; align: 0.5 0.5; rel1 { relative: 0.0 0.0; - offset: 0 2; + offset: 0 -2; } rel2 { relative: 0.0 1.0; @@ -1784,15 +2395,27 @@ group { name: "elm/entry/base-password/popup"; } group { name: "elm/entry/selection/block_handle_left"; - data.item: "height" "40"; - data.item: "gap" "51"; + 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_reversed.png" COMP; - image: "copy&paste_Handler_left_01_reversed.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; @@ -1800,10 +2423,9 @@ group { name: "elm/entry/base-password/popup"; 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; - rel1.offset: 0 -ENTRY_SELECTION_BLOCK_HANDLE_Y_OFFSET; - rel2.offset: ENTRY_SELECTION_BLOCK_HANDLE_X_OFFSET 0; + max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; image { normal: "copy&paste_Handler_left_01.png"; border: 0 0 0 0; @@ -1819,9 +2441,7 @@ group { name: "elm/entry/base-password/popup"; inherit: "default" 0.0; visible: 1; align: 1 1; - rel2 { - offset: ENTRY_SELECTION_BLOCK_HANDLE_X_OFFSET ENTRY_SELECTION_BLOCK_HANDLE_Y_OFFSET; - } + rel2 { relative: 1 1; to_x: "edge"; } image { normal: "copy&paste_Handler_left.png"; } @@ -1830,23 +2450,18 @@ group { name: "elm/entry/base-password/popup"; inherit: "default" 0.0; visible: 1; align: 0 0; - rel1 { - offset: -ENTRY_SELECTION_BLOCK_HANDLE_X_OFFSET -ENTRY_SELECTION_BLOCK_HANDLE_Y_OFFSET; - } + rel1 { relative: 0 0; to_x: "edge"; } image { - normal: "copy&paste_Handler_left_01_reversed.png"; + normal: "copy&paste_Handler_left_01_reverse.png"; } } description { state: "top_reversed" 0.0; inherit: "default" 0.0; visible: 1; align: 0 1; - rel1.offset: -ENTRY_SELECTION_BLOCK_HANDLE_X_OFFSET 0; - rel2 { - offset: 0 ENTRY_SELECTION_BLOCK_HANDLE_Y_OFFSET; - } + rel1 { relative: 0 0; to_x: "edge"; } image { - normal: "copy&paste_Handler_left_reversed.png"; + normal: "copy&paste_Handler_left_reverse.png"; } } } @@ -1923,15 +2538,27 @@ group { name: "elm/entry/base-password/popup"; } group { name: "elm/entry/selection/block_handle_right"; - data.item: "height" "40"; - data.item: "gap" "51"; + 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_reversed.png" COMP; - image: "copy&paste_Handler_right_01_reversed.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; @@ -1941,7 +2568,6 @@ group { name: "elm/entry/base-password/popup"; align: 0 0; min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE; - rel1.offset: -ENTRY_SELECTION_BLOCK_HANDLE_X_OFFSET -ENTRY_SELECTION_BLOCK_HANDLE_Y_OFFSET; image { normal: "copy&paste_Handler_right.png"; border: 0 0 0 0; @@ -1957,8 +2583,6 @@ group { name: "elm/entry/base-password/popup"; inherit: "default" 0.0; visible: 1; align: 0 1; - rel1.offset: -ENTRY_SELECTION_BLOCK_HANDLE_X_OFFSET 0; - rel2.offset: 0 ENTRY_SELECTION_BLOCK_HANDLE_Y_OFFSET; image { normal: "copy&paste_Handler_right_01.png"; } @@ -1967,19 +2591,18 @@ group { name: "elm/entry/base-password/popup"; inherit: "default" 0.0; visible: 1; align: 1 0; - rel1.offset: 0 -ENTRY_SELECTION_BLOCK_HANDLE_Y_OFFSET; - rel2.offset: ENTRY_SELECTION_BLOCK_HANDLE_X_OFFSET+ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0; + rel2 { relative: 1.0 0.0; to_x: "edge"; } image { - normal: "copy&paste_Handler_right_reversed.png"; + normal: "copy&paste_Handler_right_reverse.png"; } } description { state: "top_reversed" 0.0; inherit: "default" 0.0; visible: 1; align: 1 1; - rel2.offset: ENTRY_SELECTION_BLOCK_HANDLE_X_OFFSET+ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH ENTRY_SELECTION_BLOCK_HANDLE_Y_OFFSET; + rel2 { relative: 1.0 0.0; to_x: "edge"; } image { - normal: "copy&paste_Handler_right_01_reversed.png"; + normal: "copy&paste_Handler_right_01_reverse.png"; } } } @@ -2058,18 +2681,18 @@ group { name: "elm/entry/base-password/popup"; 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: 60 60; - min: 60 60; + max: 59 86; + min: 59 86; align: 0 0; - fixed: 1 1; visible: 0; - rel1 { offset: -30 -8; } + align: 0.5 0; image { normal: "copy&paste_Handler_center.png"; border: 0 0 0 0; @@ -2081,14 +2704,34 @@ group { name: "elm/entry/base-password/popup"; 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 { - set_state(PART:"handle", "show", 0.0); + 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"; @@ -2102,6 +2745,7 @@ group { name: "elm/entry/base-password/popup"; signal: "edje,cursor,handle,show"; source: "edje"; script { + set_int(on_top, 0); set_state(PART:"handle", "show", 0.0); } } @@ -2112,6 +2756,14 @@ group { name: "elm/entry/base-password/popup"; 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); + } + } } } @@ -2122,9 +2774,11 @@ group { name: "elm/entry/base-password/popup"; scale: 1; mouse_events: 0; description { state: "default" 0.0; - min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0; - color: 255 0 0 100; + min: 0 0; + max: 0 0; + color: 0 0 0 0; visible: 0; + align: 0 0; } } part { name: "bg"; @@ -2134,7 +2788,9 @@ group { name: "elm/entry/base-password/popup"; description { state: "default" 0.0; color: ENTRY_SELECTION_EDGE_COLOR; min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0; - rel2 { relative: 0 1; to: "align"; } + 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; @@ -2170,6 +2826,7 @@ group { name: "elm/entry/base-password/popup"; 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; @@ -2202,7 +2859,7 @@ group { name: "elm/entry/base-password/popup"; type: RECT; mouse_events: 0; description { state: "default" 0.0; - color: 128 0 0 64; + color: 0 0 0 0; } } } @@ -2223,65 +2880,6 @@ group { name: "elm/entry/base-password/popup"; #define MAGNIFIER_SCALE 1.5 - group { name: "elm/entry/magnifier/fill-width"; - data.item: "height" MAGNIFIER_HEIGHT_FILL; - data.item: "scale" MAGNIFIER_SCALE; - images { - image: "magnifier_noarrow.png" COMP; - image: "magnifier_noarrow_line.png" COMP; - } - parts { - part { name: "bg"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - align: 0.5 0.0; - rel1 { offset: -20 -10; } - rel2 { offset: 22 15; } - image { - normal: "magnifier_noarrow.png"; - border: 25 25 35 25; - } - image.middle: SOLID; - fill.smooth: 0; - } - } - part { name: "swallow"; - type: SWALLOW; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1 { - to: "bg"; - offset: 18 18; - } - rel2 { - to: "bg"; - offset: -20 -20; - } - } - } - part { name: "outline"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - align: 0.0 0.0; - rel1 { to: "bg"; offset: 0 0; } - rel2 { to: "bg"; offset: -1 -1; } - image { - normal: "magnifier_noarrow_line.png"; - border: 25 25 35 25; - } - image.middle: SOLID; - fill.smooth: 0; - } - } - } - } - - group { name: "elm/entry/magnifier/fixed-size"; data.item: "height" MAGNIFIER_HEIGHT_FIXED; data.item: "scale" MAGNIFIER_SCALE; @@ -4108,22 +4706,15 @@ styles { } } -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"; +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: "font_color_black_textblock_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=mixed left_margin=1 right_margin=2 text_class=entry"; + 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"; @@ -4131,15 +4722,173 @@ group { name: "elm/entry/base/font_color_black"; 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" "+ 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"; + } + ENTRY_FOCUS_DATA + ENTRY_FOCUS_IMAGE + parts { + ENTRY_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: "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; + } + ENTRY_TEXTBLOCK_DEFAULT_REL + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "multibuttonentry_single_textblock_disabled_style"; + } + } + } + ENTRY_SWALLOW_PARTS + } + ENTRY_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_SWALLOW_PROGRAMS + ENTRY_FOCUS_PROGRAMS + } +} +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=#00000080 wrap=mixed left_margin=1 right_margin=2 text_class=entry"; + 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"; @@ -4155,7 +4904,7 @@ group { name: "elm/entry/base/font_color_black"; 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=#90A9C7 wrap=mixed left_margin=1 right_margin=2 text_class=entry"; + 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"; @@ -4168,7 +4917,10 @@ group { name: "elm/entry/base/font_color_black"; data { item: context_menu_orientation "horizontal"; } + ENTRY_FOCUS_DATA + ENTRY_FOCUS_IMAGE parts { + ENTRY_FOCUS_PARTS part { name: "elm.guide"; type: TEXTBLOCK; mouse_events: 0; @@ -4212,6 +4964,7 @@ group { name: "elm/entry/base/font_color_black"; style: "font_color_black_textblock_style"; min: 0 1; } + ENTRY_TEXTBLOCK_DEFAULT_REL } description { state: "disabled" 0.0; inherit: "default" 0.0; @@ -4221,7 +4974,9 @@ group { name: "elm/entry/base/font_color_black"; } } } + ENTRY_SWALLOW_PARTS } + ENTRY_SWALLOW_SCRIPT_PUBLIC programs { program { name: "focus"; signal: "load"; @@ -4253,6 +5008,13 @@ group { name: "elm/entry/base/font_color_black"; 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_SWALLOW_PROGRAMS + ENTRY_FOCUS_PROGRAMS } } @@ -4348,6 +5110,11 @@ group { name: "elm/entry/base-noedit/font_color_black"; 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; + } } } @@ -4366,7 +5133,7 @@ group { name: "elm/entry/base-charwrap/font_color_black"; styles { style { name: "font_color_black_textblock_char_wrap_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=char left_margin=1 right_margin=2 text_class=entry"; + 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"; @@ -4382,7 +5149,7 @@ group { name: "elm/entry/base-charwrap/font_color_black"; 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=#00000080 wrap=char left_margin=1 right_margin=2 text_class=entry"; + 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"; @@ -4398,7 +5165,7 @@ group { name: "elm/entry/base-charwrap/font_color_black"; 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=#90A9C7 wrap=char left_margin=1 right_margin=2 text_class=entry"; + 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"; @@ -4411,7 +5178,10 @@ group { name: "elm/entry/base-charwrap/font_color_black"; data { item: context_menu_orientation "horizontal"; } + ENTRY_FOCUS_DATA + ENTRY_FOCUS_IMAGE parts { + ENTRY_FOCUS_PARTS part { name: "elm.guide"; type: TEXTBLOCK; mouse_events: 0; @@ -4455,6 +5225,7 @@ group { name: "elm/entry/base-charwrap/font_color_black"; style: "font_color_black_textblock_char_wrap_style"; min: 0 1; } + ENTRY_TEXTBLOCK_DEFAULT_REL } description { state: "disabled" 0.0; inherit: "default" 0.0; @@ -4464,7 +5235,9 @@ group { name: "elm/entry/base-charwrap/font_color_black"; } } } + ENTRY_SWALLOW_PARTS } + ENTRY_SWALLOW_SCRIPT_PUBLIC programs { program { name: "focus"; signal: "load"; @@ -4496,6 +5269,13 @@ group { name: "elm/entry/base-charwrap/font_color_black"; 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_SWALLOW_PROGRAMS + ENTRY_FOCUS_PROGRAMS } } @@ -4514,7 +5294,7 @@ group { name: "elm/entry/base-single/font_color_black"; styles { style { name: "font_color_black_single_textblock_style"; - base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=none left_margin=1 right_margin=3 text_class=entry"; + 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"; @@ -4530,7 +5310,7 @@ group { name: "elm/entry/base-single/font_color_black"; 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=#00000080 wrap=none left_margin=1 right_margin=3 text_class=entry"; + 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"; @@ -4546,7 +5326,7 @@ group { name: "elm/entry/base-single/font_color_black"; 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=#90A9C7 wrap=none left_margin=1 right_margin=3 text_class=entry"; + 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"; @@ -4559,7 +5339,10 @@ group { name: "elm/entry/base-single/font_color_black"; data { item: context_menu_orientation "horizontal"; } + ENTRY_FOCUS_DATA + ENTRY_FOCUS_IMAGE parts { + ENTRY_FOCUS_PARTS part { name: "elm.guide"; type: TEXTBLOCK; mouse_events: 0; @@ -4569,7 +5352,7 @@ group { name: "elm/entry/base-single/font_color_black"; rel2.to: "elm.text"; text { style: "font_color_black_single_textblock_guide_style"; - min: 1 1; + min: 0 1; max: 0 1; } } @@ -4602,6 +5385,7 @@ group { name: "elm/entry/base-single/font_color_black"; min: 1 1; max: 0 1; } + ENTRY_TEXTBLOCK_DEFAULT_REL } description { state: "disabled" 0.0; inherit: "default" 0.0; @@ -4610,7 +5394,9 @@ group { name: "elm/entry/base-single/font_color_black"; } } } + ENTRY_SWALLOW_PARTS } + ENTRY_SWALLOW_SCRIPT_PUBLIC programs { program { name: "focus"; signal: "load"; @@ -4642,6 +5428,13 @@ group { name: "elm/entry/base-single/font_color_black"; 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_SWALLOW_PROGRAMS + ENTRY_FOCUS_PROGRAMS } } @@ -4662,7 +5455,7 @@ group { name: "elm/entry/base-single-noedit/font_color_black"; rel2.to: "elm.text"; text { style: "font_color_black_single_textblock_guide_style"; - min: 1 1; + min: 0 1; max: 0 1; } } @@ -4735,13 +5528,18 @@ group { name: "elm/entry/base-single-noedit/font_color_black"; 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=#000000FF wrap=none left_margin=1 right_margin=3 text_class=tizen"; + 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"; @@ -4757,7 +5555,7 @@ group { name: "elm/entry/base-single/font_color_black/tizen_text_class"; 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=#00000080 wrap=none left_margin=1 right_margin=3 text_class=tizen"; + 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"; @@ -4773,7 +5571,7 @@ group { name: "elm/entry/base-single/font_color_black/tizen_text_class"; 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=#90A9C7 wrap=none left_margin=1 right_margin=3 text_class=tizen"; + 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"; @@ -4793,7 +5591,7 @@ group { name: "elm/entry/base-single/font_color_black/tizen_text_class"; rel2.to: "elm.text"; text { style: "tizen_text_class_single_textblock_guide_style"; - min: 1 1; + min: 0 1; max: 0 1; } } @@ -4807,6 +5605,7 @@ group { name: "elm/entry/base-single/font_color_black/tizen_text_class"; text { style: "tizen_text_class_single_textblock_style"; } + ENTRY_TEXTBLOCK_DEFAULT_REL } description { state: "disabled" 0.0; inherit: "default" 0.0; @@ -4825,7 +5624,10 @@ group { name: "elm/entry/base-password/font_color_black"; data { item: context_menu_orientation "horizontal"; } + ENTRY_FOCUS_DATA + ENTRY_FOCUS_IMAGE parts { + ENTRY_FOCUS_PARTS part { name: "elm.guide"; type: TEXTBLOCK; mouse_events: 0; @@ -4835,7 +5637,7 @@ group { name: "elm/entry/base-password/font_color_black"; rel2.to: "elm.text"; text { style: "font_color_black_single_textblock_guide_style"; - min: 1 1; + min: 0 1; max: 0 1; } } @@ -4864,10 +5666,11 @@ group { name: "elm/entry/base-password/font_color_black"; description { state: "default" 0.0; text { style: "font_color_black_single_textblock_style"; - repch: "*"; + repch: "•"; min: 1 1; max: 0 1; } + ENTRY_TEXTBLOCK_DEFAULT_REL } description { state: "disabled" 0.0; inherit: "default" 0.0; @@ -4876,7 +5679,9 @@ group { name: "elm/entry/base-password/font_color_black"; } } } + ENTRY_SWALLOW_PARTS } + ENTRY_SWALLOW_SCRIPT_PUBLIC programs { program { name: "focus"; signal: "load"; @@ -4908,15 +5713,23 @@ group { name: "elm/entry/base-password/font_color_black"; 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_SWALLOW_PROGRAMS + ENTRY_FOCUS_PROGRAMS } } group { name: "elm/scroller/entry/default"; - alias : "elm/scroller/entry/editfield"; - alias : "elm/scroller/entry/editfield/searchbar/default"; data { item: "focus_highlight" "on"; } + images { + image: "00_focus.png" COMP; + } script { public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; public timer0(val) { @@ -4941,39 +5754,157 @@ group { name: "elm/scroller/entry/default"; return 0; } } - images { - image: "bt_sm_base2.png" COMP; - } parts { + part { name: "focus_bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "focus_image"; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + image { + normal: "00_focus.png"; + border: 6 6 6 6; + 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: "focus_left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 10 0; + max: 10 0; + align: 0.0 0.5; + fixed: 1 0; + 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: "bg"; type: RECT; + scale: 1; description { state: "default" 0.0; visible: 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: "clipper"; type: RECT; + scale: 1; mouse_events: 0; description { state: "default" 0.0; rel1.to: "bg"; rel2.to: "bg"; } } + part { name: "editfield_space"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 1.0; + min: 0 0; + max: 0 0; + rel1.to: "elm.swallow.end"; + rel1.relative: 0.0 0.0; + rel2.to: "elm.swallow.end"; + rel2.relative: 1.0 1.0; + } + description { state: "rename_visible" 0.0; + inherit: "default" 0.0; + min: 9 0; + max: 9 0; + rel1 { + to_x: "elm.swallow.rename"; + relative: 0.0 0.0; + } + rel2 { + to_x: "elm.swallow.rename"; + relative: 0.0 1.0; + } + } + description { state: "clear_visible" 0.0; + inherit: "default" 0.0; + min: 9 0; + max: 9 0; + rel1 { + to_x: "elm.swallow.clear"; + relative: 0.0 0.0; + } + rel2 { + to_x: "elm.swallow.clear"; + relative: 0.0 1.0; + } + } + } part { name: "contentclipper"; type: RECT; + scale: 1; mouse_events: 0; clip_to: "clipper"; description { state: "default" 0.0; - rel1.to: "elm.swallow.icon"; + rel1.to: "icon_right_padding"; rel1.relative: 1.0 0.0; - rel2.to: "elm.swallow.end"; + rel2.to: "editfield_space"; rel2.relative: 0.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"; @@ -4986,37 +5917,89 @@ group { name: "elm/scroller/entry/default"; visible: 0; } description { state: "visible" 0.0; - fixed: 1 1; - align: 0.0 1.0; - rel1 { - to: "bg"; - relative: 0.0 0.0; - } - rel2 { - to: "bg"; - relative: 0.0 1.0; - } + inherit: "default" 0.0; visible: 1; } } - part { name: "elm.swallow.end"; - type: SWALLOW; + part { name: "icon_right_padding"; + type: SPACER; + scale: 1; clip_to: "clipper"; description { state: "default" 0.0; fixed: 1 1; + align: 0.0 0.0; + min: 0 0; + max: 0 0; rel1 { - to: "bg"; + to_x: "elm.swallow.icon"; relative: 1.0 0.0; } rel2 { - to: "bg"; + to_x: "elm.swallow.icon"; relative: 1.0 1.0; } - visible: 0; } description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 8 0; + max: 8 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: "clear_visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.rename"; + 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: "rename_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; - align: 1.0 1.0; rel1 { to: "bg"; relative: 1.0 0.0; @@ -5025,25 +6008,31 @@ group { name: "elm/scroller/entry/default"; 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: "elm.swallow.icon"; + to_x: "icon_right_padding"; relative: 1.0 0.0; } rel2 { - to: "elm.swallow.end"; + to_x: "editfield_space"; relative: 0.0 1.0; } } } part { name: "sb_vbar_clip_master"; type: RECT; + scale: 1; mouse_events: 0; description { state: "default" 0.0; } @@ -5055,6 +6044,7 @@ group { name: "elm/scroller/entry/default"; part { name: "sb_vbar_clip"; clip_to: "sb_vbar_clip_master"; type: RECT; + scale: 1; mouse_events: 0; description { state: "default" 0.0; } @@ -5065,6 +6055,7 @@ group { name: "elm/scroller/entry/default"; } part { name: "sb_vbar"; type: RECT; + scale: 1; mouse_events: 0; description { state: "default" 0.0; fixed: 1 1; @@ -5074,16 +6065,18 @@ group { name: "elm/scroller/entry/default"; rel1 { relative: 0.0 0.0; to_y: "elm.swallow.content"; - to_x: "elm.swallow.end"; + to_x: "editfield_space"; } rel2 { relative: 0.0 0.0; to_y: "sb_hbar"; - to_x: "elm.swallow.end"; + to_x: "editfield_space"; } } } part { name: "elm.dragable.vbar"; + type: RECT; + scale: 1; clip_to: "sb_vbar_clip"; mouse_events: 0; dragable { @@ -5104,15 +6097,11 @@ group { name: "elm/scroller/entry/default"; relative: 0.5 0.5; to: "sb_vbar"; } - image { - normal: "bt_sm_base2.png"; - border: 6 6 6 6; - middle: SOLID; - } } } part { name: "sb_hbar_clip_master"; type: RECT; + scale: 1; mouse_events: 0; description { state: "default" 0.0; } @@ -5124,6 +6113,7 @@ group { name: "elm/scroller/entry/default"; part { name: "sb_hbar_clip"; clip_to: "sb_hbar_clip_master"; type: RECT; + scale: 1; mouse_events: 0; description { state: "default" 0.0; } @@ -5134,6 +6124,7 @@ group { name: "elm/scroller/entry/default"; } part { name: "sb_hbar"; type: RECT; + scale: 1; mouse_events: 0; description { state: "default" 0.0; fixed: 1 1; @@ -5153,6 +6144,8 @@ group { name: "elm/scroller/entry/default"; } } part { name: "elm.dragable.hbar"; + type: RECT; + scale: 1; clip_to: "sb_hbar_clip"; mouse_events: 0; dragable { @@ -5172,11 +6165,6 @@ group { name: "elm/scroller/entry/default"; relative: 0.5 0.5; to: "sb_hbar"; } - image { - normal: "bt_sm_base2.png"; - border: 4 4 4 4; - middle: SOLID; - } } } } @@ -5199,12 +6187,42 @@ group { name: "elm/scroller/entry/default"; source: "elm"; action: STATE_SET "visible" 0.0; target: "elm.swallow.icon"; + target: "icon_right_padding"; } program { name: "icon_hide"; signal: "elm,action,hide,icon"; source: "elm"; action: STATE_SET "default" 0.0; target: "elm.swallow.icon"; + target: "icon_right_padding"; + } + program { name: "clear_show"; + signal: "elm,state,clear,visible"; + source: "*"; + action: STATE_SET "clear_visible" 0.0; + target: "elm.swallow.clear"; + target: "editfield_space"; + } + program { name: "clear_hide"; + signal: "elm,state,clear,hidden"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.clear"; + target: "editfield_space"; + } + program { name: "rename_show"; + signal: "elm,state,rename,visible"; + source: "*"; + action: STATE_SET "rename_visible" 0.0; + target: "elm.swallow.rename"; + target: "editfield_space"; + } + program { name: "rename_hide"; + signal: "elm,state,rename,hidden"; + source: "*"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.rename"; + target: "editfield_space"; } program { name: "end_show"; signal: "elm,action,show,end"; @@ -5355,5 +6373,316 @@ group { name: "elm/scroller/entry/default"; set_int(sbvis_timer, v); } } + program { name: "action_focus"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "focus_image"; + } + program { name: "action_unfocus"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "focus_image"; + } + } + } +group { name: "elm/scroller/entry/editfield"; + inherit: "elm/scroller/entry/default"; + data { + item: "focus_highlight" "off"; + } + 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; + } + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.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; + } + } + 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: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 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" "off"; + } + images { + image: "00_search_edit_field_bg_focus.png" COMP; + image: "00_search_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_search_edit_field_bg.png"; + border: 12 13 12 13; + border_scale: 1; + } + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + 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: "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: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 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/entry/base-single/datetime_popup"; + name: "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"; + + inherit: "elm/entry/base-single/default"; + + 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" 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: 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_datetime_popup_textblock_style"; + min: 1 1; + max: 0 0; + align: 0.0 0.5; + } + ENTRY_TEXTBLOCK_DEFAULT_REL + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_textblock_disabled_style"; + } + } + } + } +} + +