From 2b29f4dfbf901d40aee552345ae5285b1c2e484c Mon Sep 17 00:00:00 2001 From: Jee-Yong Um Date: Thu, 25 Jun 2015 16:02:41 +0200 Subject: edje: add "mask_flags" instruction for "part" block Summary: Elementary widgets dealing with Evas Events usually mask event_flags with EVAS_EVENT_FLAG_ON_HOLD, to show that this event is already handled. However, widget like Elm_Button, it does not handle EVAS_CALLBACK_MOUSE_DOWN directly, but it handles Edje_Signal instead, so there's no chance to mask event_flags. Developers can block event propagation by putting rectangle the very last part of EDC, but this instruction can help the case making elementary widget with only Edje_Signal handling. This is not required essentially, so please check the necessity of this function. Reviewers: Hermet, cedric Reviewed By: cedric Subscribers: cedric, Hermet Differential Revision: https://phab.enlightenment.org/D2764 Signed-off-by: Cedric BAIL --- src/lib/edje/edje_convert.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/edje/edje_convert.h') diff --git a/src/lib/edje/edje_convert.h b/src/lib/edje/edje_convert.h index 951d0c6f24..e387e265d4 100644 --- a/src/lib/edje/edje_convert.h +++ b/src/lib/edje/edje_convert.h @@ -127,6 +127,7 @@ struct _Old_Edje_Part unsigned char mouse_events; /**< it will affect/respond to mouse events */ unsigned char repeat_events; /**< it will repeat events to objects below */ Evas_Event_Flags ignore_flags; /**< ignore flags */ + Evas_Event_Flags mask_flags; /**< mask flags */ unsigned char scale; /**< should certain properties scale with edje scale factor? */ unsigned char precise_is_inside; /**< whether is precisely inside */ unsigned char use_alternate_font_metrics; /**< use alternate font metrics */ -- cgit v1.2.1