theme: port to efl.ui.clickable and use macro for anchor style

This patch applies the following commits to anchor style.
bb1388798b
122ca2fa2f

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D10247
This commit is contained in:
Jaehyun Cho 2019-09-30 07:19:31 +00:00 committed by Marcel Hollerbach
parent 8937ee4cf6
commit 839b0f7d61
1 changed files with 1 additions and 6 deletions

View File

@ -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 {