summaryrefslogtreecommitdiff
path: root/otk/widget.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-11-15 03:10:34 +0000
committerDana Jansens <danakj@orodu.net>2002-11-15 03:10:34 +0000
commit0856b11de843db30b5053c8cb7d9c84eae262852 (patch)
tree92d22b33c71a3d3e6f18e8bf167d826f8dff3739 /otk/widget.hh
parentd97db164304972445e14c6702b76af0259e3d3be (diff)
resizes
Diffstat (limited to 'otk/widget.hh')
-rw-r--r--otk/widget.hh6
1 files changed, 5 insertions, 1 deletions
diff --git a/otk/widget.hh b/otk/widget.hh
index ca65730c..60fd2ddb 100644
--- a/otk/widget.hh
+++ b/otk/widget.hh
@@ -28,6 +28,7 @@ public:
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; }
@@ -41,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);
@@ -106,6 +110,7 @@ private:
Direction _direction;
Cursor _cursor;
int _bevel_width;
+ int _ignore_config;
bool _visible;
bool _focused;
@@ -126,7 +131,6 @@ private:
bool _fixed_width;
bool _fixed_height;
-protected:
bool _dirty;
};