From e1f488e312bc6ef2de88666ed44b8d4f224ed793 Mon Sep 17 00:00:00 2001 From: WooHyun Jung Date: Tue, 9 Jul 2013 21:00:51 +0900 Subject: [PATCH 1/1] [button] add transparent style for not showing focus frame. --- themes/widgets/button.edc | 48 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/themes/widgets/button.edc b/themes/widgets/button.edc index 9fa44b8..c05e7d5 100644 --- a/themes/widgets/button.edc +++ b/themes/widgets/button.edc @@ -5802,6 +5802,54 @@ BUTTON_DEFAULT_FOCUS_STYLES("focus_top", "00_list_group_bg_top_focus.png") BUTTON_DEFAULT_FOCUS_STYLES("focus_center", "00_list_group_bg_center_focus.png") BUTTON_DEFAULT_FOCUS_STYLES("focus_bottom", "00_list_group_bg_bottom_focus.png") +/////////////////////////////////////////////////////////////////////////////////// + group { name: "elm/button/base/transparent"; + data { + item: "focus_highlight" "on"; + } + parts { + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "over2"; + type: RECT; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "over3"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { name: "button_click"; + signal: "mouse,down,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,press" ""; + } + program { name: "button_unclick"; + signal: "mouse,up,1"; + source: "over3"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + } + program { name: "button_click3"; + signal: "mouse,clicked,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + } + } +/////////////////////////////////////////////////////////////////////////////////// + group { name: "elm/button/base/search_clear"; inherit: "elm/button/base/editfield_clear"; images { -- 2.7.4