From 839b0f7d61fe17cd61ab7b01dff5036c43025d2c Mon Sep 17 00:00:00 2001 From: Jaehyun Cho Date: Mon, 30 Sep 2019 07:19:31 +0000 Subject: [PATCH] theme: port to efl.ui.clickable and use macro for anchor style This patch applies the following commits to anchor style. bb1388798b1afaced65484cedf385a93f6b1bb6a 122ca2fa2f9290729e10715253e45f0ad343e09a Reviewed-by: Marcel Hollerbach Differential Revision: https://phab.enlightenment.org/D10247 --- data/elementary/themes/edc/efl/button.edc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/data/elementary/themes/edc/efl/button.edc b/data/elementary/themes/edc/efl/button.edc index e9c0472fb8..487866545b 100644 --- a/data/elementary/themes/edc/efl/button.edc +++ b/data/elementary/themes/edc/efl/button.edc @@ -703,9 +703,9 @@ group { name: "efl/button:anchor"; data.item: "version" "123"; } } programs { + EFL_UI_CLICKABLE_PART_BIND("event") program { signal: "mouse,down,1"; source: "event"; - action: SIGNAL_EMIT "efl,action,press" "efl"; after: "button_click_anim"; } program { name: "button_click_anim"; @@ -715,7 +715,6 @@ group { name: "efl/button:anchor"; data.item: "version" "123"; } program { signal: "mouse,up,1"; source: "event"; - action: SIGNAL_EMIT "efl,action,unpress" "efl"; after: "button_unclick_anim"; } program { name: "button_unclick_anim"; @@ -736,10 +735,6 @@ group { name: "efl/button:anchor"; data.item: "version" "123"; target: "bar2"; target: "text2"; } - program { - signal: "mouse,clicked,1"; source: "event"; - action: SIGNAL_EMIT "efl,action,click" "efl"; - } program { name: "button_text_visible"; signal: "efl,text,set"; source: "efl"; script {