From: WooHyun Jung Date: Tue, 9 Jul 2013 12:00:51 +0000 (+0900) Subject: [button] add transparent style for not showing focus frame. X-Git-Tag: submit/tizen/20131004.114939~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e1f488e312bc6ef2de88666ed44b8d4f224ed793;hp=a10e2d2edef0e2f54680332853a33593eef636c7;p=platform%2Fcore%2Fuifw%2Fefl-theme-tizen.git [button] add transparent style for not showing focus frame. --- 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 {