]> Dogcows Code - chaz/openbox/blobdiff - otk/widget.hh
heh
[chaz/openbox] / otk / widget.hh
index ccda3b1f86ca9e8356dfe0ab75b5124eb0516bd1..60fd2ddbea98ffbf75cfb7538ca00bda7a469bf6 100644 (file)
@@ -25,7 +25,10 @@ public:
 
   virtual ~OtkWidget();
 
-  void update(void);
+  virtual void update(void);
+
+  virtual bool expose(const XExposeEvent &e);
+  virtual bool configure(const XConfigureEvent &e);
 
   inline Window getWindow(void) const { return _window; }
   inline const OtkWidget *getParent(void) const { return _parent; }
@@ -39,6 +42,9 @@ public:
   virtual void setWidth(int);
   virtual void setHeight(int);
 
+  virtual int width() const { return _rect.width(); }
+  virtual int height() const { return _rect.height(); }
+
   virtual void resize(const Point &to);
   virtual void resize(int x, int y);
 
@@ -104,6 +110,7 @@ private:
   Direction _direction;
   Cursor _cursor;
   int _bevel_width;
+  int _ignore_config;
 
   bool _visible;
   bool _focused;
This page took 0.023094 seconds and 4 git commands to generate.