summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_convert.h
diff options
context:
space:
mode:
authorJee-Yong Um <conr2d@gmail.com>2015-06-25 16:02:41 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-06-25 17:21:09 +0200
commit2b29f4dfbf901d40aee552345ae5285b1c2e484c (patch)
tree365f8641593657adaac8000f3979e39227a0d490 /src/lib/edje/edje_convert.h
parentef491e697e60a6e79bec27164342bfb103d2c95a (diff)
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 <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/edje/edje_convert.h')
-rw-r--r--src/lib/edje/edje_convert.h1
1 files changed, 1 insertions, 0 deletions
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
127 unsigned char mouse_events; /**< it will affect/respond to mouse events */ 127 unsigned char mouse_events; /**< it will affect/respond to mouse events */
128 unsigned char repeat_events; /**< it will repeat events to objects below */ 128 unsigned char repeat_events; /**< it will repeat events to objects below */
129 Evas_Event_Flags ignore_flags; /**< ignore flags */ 129 Evas_Event_Flags ignore_flags; /**< ignore flags */
130 Evas_Event_Flags mask_flags; /**< mask flags */
130 unsigned char scale; /**< should certain properties scale with edje scale factor? */ 131 unsigned char scale; /**< should certain properties scale with edje scale factor? */
131 unsigned char precise_is_inside; /**< whether is precisely inside */ 132 unsigned char precise_is_inside; /**< whether is precisely inside */
132 unsigned char use_alternate_font_metrics; /**< use alternate font metrics */ 133 unsigned char use_alternate_font_metrics; /**< use alternate font metrics */