summaryrefslogtreecommitdiff
path: root/mobile/widgets/button.edc
diff options
context:
space:
mode:
authorYoungbok Shin <youngb.shin@samsung.com>2016-09-30 17:04:25 +0900
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>2016-10-05 19:30:20 -0700
commit291e3ff2545f52e36fdf363511762f352ede035d (patch)
treeaee1fb4a47da44d8059eeed8f7c99628300f47cf /mobile/widgets/button.edc
parent712376e46f79dead03f5a0e3df3cd088e6da7292 (diff)
downloadefl-theme-tizen-mobile-291e3ff2545f52e36fdf363511762f352ede035d.tar.gz
efl-theme-tizen-mobile-291e3ff2545f52e36fdf363511762f352ede035d.tar.bz2
efl-theme-tizen-mobile-291e3ff2545f52e36fdf363511762f352ede035d.zip
button: apply focus GUI to editfield_clear style
It also update "core_focus.#.png" image and add a color_class "focus/highlight/default". Change-Id: Ib7a7e5f6011c8534e3c21e77f497678732ba5005
Diffstat (limited to 'mobile/widgets/button.edc')
-rw-r--r--mobile/widgets/button.edc38
1 files changed, 38 insertions, 0 deletions
diff --git a/mobile/widgets/button.edc b/mobile/widgets/button.edc
index 7996b7fc..5cdd9d5b 100644
--- a/mobile/widgets/button.edc
+++ b/mobile/widgets/button.edc
@@ -1345,7 +1345,17 @@
inherit: "elm/button/base/floatingbutton/default";
images {
image: "core_button_icon_clear.png" COMP;
+ set {
+ name: "core_focus.#";
+ image {
+ image: SMALL"images/Presentation_views/core_focus.#.png" COMP;
+ }
+ image {
+ image: MEDIUM"images/Presentation_views/core_focus.#.png" COMP;
+ }
+ }
}
+ data.item: "focus_highlight" "on";
parts {
spacer { "base";
scale;
@@ -1407,6 +1417,34 @@
color_class: "button/base/editfield_clear/icon-disabled";
}
}
+ image { "focus_image";
+ scale;
+ nomouse;
+ repeat;
+ desc { "default";
+ image.normal: "core_focus.#";
+ hid;
+ }
+ desc { "focused";
+ inherit: "default";
+ vis;
+ color_class: "focus/highlight/default";
+ }
+ }
+ }
+ programs {
+ program { "action_focus";
+ signal: "elm,action,focus_highlight,show";
+ source: "elm";
+ action: STATE_SET "focused";
+ target: "focus_image";
+ }
+ program { "action_unfocus";
+ signal: "elm,action,focus_highlight,hide";
+ source: "elm";
+ action: STATE_SET "default";
+ target: "focus_image";
+ }
}
}
group { "elm/button/base/bottom";