diff options
author | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2019-05-15 17:45:56 +0200 |
---|---|---|
committer | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2019-05-15 18:53:57 +0200 |
commit | 122ca2fa2f9290729e10715253e45f0ad343e09a (patch) | |
tree | 7888aedcff4d13ceef97d967af892c881a6105dc /data/elementary/themes/edc/efl/frame.edc | |
parent | 7c7998b3dccc27fcee10668bb05c4e8d4e28c537 (diff) |
theme: add a macro file for making themes easier
CLICKABLE_SIGNAL_EMITS now can be used to setup all the events required
to have automatically emission of all the clickable events
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D8899
Diffstat (limited to 'data/elementary/themes/edc/efl/frame.edc')
-rw-r--r-- | data/elementary/themes/edc/efl/frame.edc | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/data/elementary/themes/edc/efl/frame.edc b/data/elementary/themes/edc/efl/frame.edc index afaaba7..d964e47 100644 --- a/data/elementary/themes/edc/efl/frame.edc +++ b/data/elementary/themes/edc/efl/frame.edc | |||
@@ -131,15 +131,7 @@ group { name: "efl/frame"; | |||
131 | transition: DECELERATE 0.3; | 131 | transition: DECELERATE 0.3; |
132 | after: "signal"; | 132 | after: "signal"; |
133 | } | 133 | } |
134 | program {signal: "mouse,down,1"; source: "event"; // for "press" smart callback | 134 | EFL_UI_CLICKABLE_PART_BIND("event") |
135 | action: SIGNAL_EMIT "efl,action,press" "efl"; | ||
136 | } | ||
137 | program { signal: "mouse,up,1"; source: "event"; // for "unpress" smart callback | ||
138 | action: SIGNAL_EMIT "efl,action,unpress" "efl"; | ||
139 | } | ||
140 | program { signal: "mouse,pressed,out"; source: "event"; | ||
141 | action: SIGNAL_EMIT "efl,action,mouse_out" "efl"; | ||
142 | } | ||
143 | program { | 135 | program { |
144 | signal: "efl,action,toggle"; source: "efl"; | 136 | signal: "efl,action,toggle"; source: "efl"; |
145 | script { | 137 | script { |