summaryrefslogtreecommitdiff
path: root/otk/widget.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-05 05:06:33 +0000
committerDana Jansens <danakj@orodu.net>2003-02-05 05:06:33 +0000
commit8df1670bc27fd12e2dc9808e68fcd4efc7558b4d (patch)
tree52a93686fb82ef4c0db55d130202b561439d6306 /otk/widget.hh
parentf6ea99026534b9760bff477d6c1fa6346464a48f (diff)
add an adjustable event mask
Diffstat (limited to 'otk/widget.hh')
-rw-r--r--otk/widget.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/otk/widget.hh b/otk/widget.hh
index e2e477df..3427e681 100644
--- a/otk/widget.hh
+++ b/otk/widget.hh
@@ -118,6 +118,9 @@ public:
inline RenderStyle *style(void) const { return _style; }
virtual void setStyle(RenderStyle *style);
+ inline long eventMask(void) const { return _event_mask; }
+ void setEventMask(long e);
+
inline EventDispatcher *eventDispatcher(void)
{ return _event_dispatcher; }
void setEventDispatcher(EventDispatcher *disp);
@@ -167,6 +170,8 @@ protected:
bool _fixed_width;
bool _fixed_height;
+ long _event_mask;
+
Surface *_surface;
EventDispatcher *_event_dispatcher;