X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fwidget.hh;h=3427e6814942d5a6ee8092ddb973f29fdb5d55db;hb=59ef3022a4ce0a23e6d54f7d73a2aa77721e9cc9;hp=e2e477dfdb17cf46162c97446263c1d80945fa3b;hpb=225d4302d0b2bd40d03d3bfa54116c0adfe3143e;p=chaz%2Fopenbox 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;