add customized pin entry theme 30/46430/1
authorSoohye Shin <soohye.shin@samsung.com>
Thu, 20 Aug 2015 07:35:07 +0000 (16:35 +0900)
committerSoohye Shin <soohye.shin@samsung.com>
Thu, 20 Aug 2015 07:35:41 +0000 (16:35 +0900)
Change-Id: I71334b8a6eac710a86d70b1d64114dfc3b66672d
Signed-off-by: Soohye Shin <soohye.shin@samsung.com>
edje/widget/entry.edc

index 1dde7c0..c72e823 100644 (file)
@@ -92,6 +92,35 @@ styles {
                tag,  "hilight" "+ font_weight=Bold";
        }
 }
+styles {
+       style {
+               name, "entry_pin_textblock_style";
+               base, "font=TizenSans font_size=32 align=center color=#3d3d3d wrap=none text_class=entry left_margin=0 right_margin=0";
+               tag,  "em" "+ font_style=Oblique";
+               tag,  "link" "+ color=#800 underline=on underline_color=#8008";
+               tag,  "hilight" "+ font_weight=Bold";
+               tag,  "preedit" "+ underline=on underline_color=#000";
+               tag,  "preedit_sel" "+ backing=on backing_color=#000 color=#FFFFFF";
+       }
+       style {
+               name, "entry_pin_textblock_selected_style";
+               base, "font=TizenSans font_size=32 align=center color=#0077f6 wrap=none text_class=entry left_margin=0 right_margin=0";
+               tag,  "em" "+ font_style=Oblique";
+               tag,  "link" "+ color=#800 underline=on underline_color=#8008";
+               tag,  "hilight" "+ font_weight=Bold";
+               tag,  "preedit" "+ underline=on underline_color=#000";
+               tag,  "preedit_sel" "+ backing=on backing_color=#000 color=#FFFFFF";
+       }
+       style {
+               name, "entry_pin_textblock_disabled_style";
+               base, "font=TizenSans font_size=32 align=center color=#c8c8c8 wrap=none text_class=entry left_margin=0 right_margin=0";
+               tag,  "em" "+ font_style=Oblique";
+               tag,  "link" "+ color=#00000080 underline=on underline_color=#00000080";
+               tag,  "hilight" "+ font_weight=Bold";
+               tag,  "preedit" "+ underline=on underline_color=#000";
+               tag,  "preedit_sel" "+ backing=on backing_color=#000 color=#FFFFFF";
+       }
+}
 images {
        image, "search_searchbar_small_bg_foc.png" COMP;
        image, "search_searchbar_small_bg_nor.png" COMP;
@@ -544,6 +573,134 @@ group {
        }
 }
 group {
+       name, "elm/entry/base-single/pin";
+       alias, "elm/entry/base/pin";
+       alias, "elm/entry/base-password/pin";
+       inherit, "elm/entry/base-single/contents";
+       parts {
+               part {
+                       name, "base_highlight";
+                       before, "elm.text";
+                       scale, 1;
+                       description {
+                               state, "default" 0.0;
+                               min, 64 64;
+                               fixed, 1 1;
+                               image {
+                                       normal, "search_searchbar_small_bg_nor.png";
+                                       border, 4 4 4 4;
+                                       border_scale, 1;
+                               }
+                       }
+                       description {
+                               state, "selected" 0.0;
+                               inherit, "default" 0.0;
+                               image.normal, "search_searchbar_small_bg_foc.png";
+                       }
+                       description {
+                               state, "over" 0.0;
+                               inherit, "default" 0.0;
+                               image.normal, "search_searchbar_small_bg_foc.png";
+                       }
+                       description {
+                               state, "disabled" 0.0;
+                               inherit, "default" 0.0;
+                               image.normal, "search_searchbar_small_bg_dis.png";
+                       }
+                       description {
+                               state, "highlight" 0.0;
+                               inherit, "default" 0.0;
+                               image.normal, "search_searchbar_small_bg_foc.png";
+                       }
+                       description {
+                               state, "normal" 0.0;
+                               inherit, "default" 0.0;
+                               image.normal, "search_searchbar_small_bg_nor.png";
+                       }
+               }
+               part {
+                       name, "elm.text";
+                       entry_mode, PASSWORD;
+                       select_mode, EXPLICIT;
+                       cursor_mode, UNDER;
+                       multiline, 0;
+                       scale, 1;
+                       source, "elm/entry/selection/contents";
+                       source4, "elm/entry/cursor/contents";
+                       source5, "elm/entry/anchor/contents";
+                       description {
+                               state, "default" 0.0;
+                               text {
+                                       style, "entry_pin_textblock_style";
+                                       min, 1 1;
+                                       ellipsis, -1;
+                                       max, 0 0;
+                               }
+                       }
+                       description {
+                               state, "disabled" 0.0;
+                               inherit, "default" 0.0;
+                               text {
+                                       style, "entry_pin_textblock_disabled_style";
+                               }
+                       }
+                       description {
+                               state, "selected" 0.0;
+                               inherit, "default" 0.0;
+                               text {
+                                       style, "entry_pin_textblock_selected_style";
+                                       min, 0 1;
+                               }
+                       }
+                       description {
+                               state, "enabled" 0.0;
+                               inherit, "default" 0.0;
+                               text {
+                                       style, "entry_pin_textblock_style";
+                                       min, 0 1;
+                               }
+                       }
+               }
+       }
+       programs {
+               program {
+                       name, "disable";
+                       target, "base_highlight";
+               }
+               program {
+                       name, "select";
+                       target, "base_highlight";
+               }
+               program {
+                       name, "over";
+                       signal, "elm,state,mouse,in";
+                       source, "elm";
+                       action, STATE_SET "over" 0.0;
+                       target, "base_highlight";
+               }
+               program {
+                       name, "enable";
+                       target, "base_highlight";
+               }
+               program {
+                       name, "go_active";
+                       target, "base_highlight";
+               }
+               program {
+                       name, "go_passive";
+                       target, "base_highlight";
+               }
+               program {
+                       name, "highlight_show";
+                       target, "base_highlight";
+               }
+               program {
+                       name, "highlight_hide";
+                       target, "base_highlight";
+               }
+       }
+}
+group {
        name, "elm/entry/selection/contents";
        parts {
                part {