]> Dogcows Code - chaz/openbox/blobdiff - otk/widget.hh
ignore the latex dir
[chaz/openbox] / otk / widget.hh
index 2b0300939cbcaf988b8bc949b8d4c2e6019555ad..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);
@@ -133,7 +136,7 @@ protected:
   virtual void adjustVert(void);
   virtual void internalResize(int width, int height);
   virtual void render(void);
-  virtual void renderForeground(void) {} // for overriding
+  virtual void renderForeground() {} // for overriding
 
   Window _window;
 
@@ -167,6 +170,8 @@ protected:
   bool _fixed_width;
   bool _fixed_height;
 
+  long _event_mask;
+
   Surface *_surface;
 
   EventDispatcher *_event_dispatcher;
This page took 0.022212 seconds and 4 git commands to generate.