X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=otk%2Fwidget.hh;h=fb3b1e37e5d9404e707e8447d9e242a48ea6bee3;hb=34a9f87ed27b44d5f0337477605fc22306802eac;hp=473aa812588568d093cadffe8fd21fd6f8ab356d;hpb=a3d036f60ed2333622ee9b61dbddcdc8fbc497c3;p=chaz%2Fopenbox diff --git a/otk/widget.hh b/otk/widget.hh index 473aa812..fb3b1e37 100644 --- a/otk/widget.hh +++ b/otk/widget.hh @@ -96,6 +96,14 @@ public: inline Style *getStyle(void) const { return _style; } void setStyle(Style *style) { _style = style; } + inline OtkEventDispatcher *getEventDispatcher(void) + { return _event_dispatcher; } + void setEventDispatcher(OtkEventDispatcher *disp); + +protected: + + bool _dirty; + private: void create(void); @@ -135,7 +143,7 @@ private: bool _fixed_width; bool _fixed_height; - bool _dirty; + OtkEventDispatcher *_event_dispatcher; }; }