]> Dogcows Code - chaz/openbox/blobdiff - otk/widget.hh
ignore the latex dir
[chaz/openbox] / otk / widget.hh
index 698e856bd2bf838282bb20bb9547fdeb6c02ac7a..3427e6814942d5a6ee8092ddb973f29fdb5d55db 100644 (file)
@@ -34,7 +34,7 @@ public:
 
   virtual ~Widget();
 
-  virtual void update(void);
+  virtual void update();
 
   void exposeHandler(const XExposeEvent &e);
   void configureHandler(const XConfigureEvent &e);
@@ -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;
This page took 0.025837 seconds and 4 git commands to generate.