From: WooHyun Jung Date: Fri, 24 Jun 2011 05:43:37 +0000 (+0900) Subject: Editfield : font_color_black style is added X-Git-Tag: submit/2.0alpha-wayland/20121130.000903~717 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=156b78b78ecbbf7b06c616ae7ac8849dd913dbe8;p=profile%2Fivi%2Fefl-theme-tizen.git Editfield : font_color_black style is added Change-Id: I15542cf9df3d56f11521b32d07e13f9e691a702e --- diff --git a/themes/groups/entry.edc b/themes/groups/entry.edc index 7e7fe5e..16cc1b3 100644 --- a/themes/groups/entry.edc +++ b/themes/groups/entry.edc @@ -2602,3 +2602,379 @@ group { name: "elm/entry/custom-password/popup"; } } +group { name: "elm/entry/base/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"; + + 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=SLP:style=Roman font_size=32 color=#000000FF wrap=mixed"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font=SLP:style=Oblique"; + tag: "b" "+ font=SLP:style=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font=SLP:style=Bold"; + tag: "preedit" "+ underline=on underline_color=#000000FF"; + tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; + } + style { name: "font_color_black_textblock_disabled_style"; + base: "font=SLP:style=Roman font_size=32 color=#00000080 wrap=mixed linesize=44"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font=SLP:style=Oblique"; + tag: "b" "+ font=SLP:style=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font=SLP:style=Bold"; + tag: "preedit" "+ underline=on underline_color=#000000FF"; + tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "entry.swallow.background"; + type: SWALLOW; + description { state: "default" 0.0; + visible: 1; + rel1 { relative: 0 0; to: "elm.text"; } + rel2 { relative: 1 1; to: "elm.text"; } + } + } + } + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + //cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + source2: "elm/entry/selection/block_handle"; // block handle + source3: "elm/entry/selection/block_handle_top"; // block handle + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "font_color_black_textblock_style"; + min: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "font_color_black_textblock_disabled_style"; + min: 0 1; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + } +} + +group { name: "elm/entry/base/font_color_black/char_wrap"; + alias: "elm/entry/base/font_color_black/default/char_wrap"; + alias: "elm/entry/base/font_color_black/lighting/char_wrap"; + alias: "elm/entry/base/font_color_black/multiline/char_wrap"; + alias: "elm/entry/base/font_color_black/multiline/default/char_wrap"; + alias: "elm/entry/base/font_color_black/multiline/lighting/char_wrap"; + + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + + styles { + style { name: "font_color_black_textblock_char_wrap_style"; + base: "font=SLP:style=Roman font_size=32 color=#000000FF wrap=char"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font=SLP:style=Oblique"; + tag: "b" "+ font=SLP:style=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font=SLP:style=Bold"; + tag: "preedit" "+ underline=on underline_color=#000000FF"; + tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; + } + style { name: "font_color_black_textblock_char_wrap_disabled_style"; + base: "font=SLP:style=Roman font_size=32 color=#00000080 wrap=char linesize=44"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font=SLP:style=Oblique"; + tag: "b" "+ font=SLP:style=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font=SLP:style=Bold"; + tag: "preedit" "+ underline=on underline_color=#000000FF"; + tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "entry.swallow.background"; + type: SWALLOW; + description { state: "default" 0.0; + visible: 1; + rel1 { relative: 0 0; to: "elm.text"; } + rel2 { relative: 1 1; to: "elm.text"; } + } + } + } + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + //cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + source2: "elm/entry/selection/block_handle"; // block handle + source3: "elm/entry/selection/block_handle_top"; // block handle + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + //source6: "X"; // anchor over + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "font_color_black_textblock_char_wrap_style"; + min: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "font_color_black_textblock_char_wrap_disabled_style"; + min: 0 1; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + } +} + +group { name: "elm/entry/base-single/font_color_black"; + alias: "elm/entry/base-single/font_color_black/default"; + alias: "elm/entry/base-single/font_color_black/lighting"; + alias: "elm/entry/base-single/font_color_black/singleline"; + alias: "elm/entry/base-single/font_color_black/singleline/default"; + alias: "elm/entry/base-single/font_color_black/singleline/lighting"; + + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + + styles { + style { name: "font_color_black_single_textblock_style"; + base: "font=SLP:style=Roman font_size=32 color=#000000FF wrap=none"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font=SLP:style=Oblique"; + tag: "b" "+ font=SLP:style=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font=SLP:style=Bold"; + tag: "preedit" "+ underline=on underline_color=#000000FF"; + tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; + } + style { name: "font_color_black_single_textblock_disabled_style"; + base: "font=SLP:style=Roman font_size=32 color=#00000080 wrap=none"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font=SLP:style=Oblique"; + tag: "b" "+ font=SLP:style=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font=SLP:style=Bold"; + tag: "preedit" "+ underline=on underline_color=#000000FF"; + tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF"; + } + } + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "entry.swallow.background"; + type: SWALLOW; + description { state: "default" 0.0; + visible: 1; + rel1 { relative: 0 0; to: "elm.text"; } + rel2 { relative: 1 1; to: "elm.text"; } + } + } + } + parts { + 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: "elm/entry/selection/block_handle"; // block handle + source3: "elm/entry/selection/block_handle_top"; // block handle + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + description { state: "default" 0.0; + text { + style: "font_color_black_single_textblock_style"; + min: 1 1; + max: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "font_color_black_single_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + } +} + +group { name: "elm/entry/custom-password/font_color_black"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PASSWORD_SHOW_LAST_CHARACTER; + select_mode: BLOCK_HANDLE; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + source2: "elm/entry/selection/block_handle"; // block handle + source3: "elm/entry/selection/block_handle_top"; // block handle + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + description { state: "default" 0.0; + text { + style: "font_color_black_single_textblock_style"; + repch: "*"; + min: 1 1; + max: 0 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "font_color_black_single_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "password_stop"; + signal: "cursor,changed"; + source: "elm.text"; + action: ACTION_STOP; + target: "password_start"; + after: "password_start"; + } + program { name: "password_start"; + in: 2.0 0.0; + action: HIDE_VISIBLE_PASSWORD; + 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"; + } + } +}