diff options
Diffstat (limited to 'otk/widget.hh')
| -rw-r--r-- | otk/widget.hh | 5 |
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; |
