summaryrefslogtreecommitdiff
path: root/otk/widget.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-11-16 13:28:26 +0000
committerDana Jansens <danakj@orodu.net>2002-11-16 13:28:26 +0000
commit77342413efd183bd1c0681a57b68acc836022923 (patch)
treec60d7f5512a415259f516d4161846f27170e73dd /otk/widget.hh
parentd4d15160fe81353a9f7958c1feb1821abe179a70 (diff)
change how the widgets' _dirty flag works so that all inheritence levels of the widget class can use it
Diffstat (limited to 'otk/widget.hh')
-rw-r--r--otk/widget.hh6
1 files changed, 4 insertions, 2 deletions
diff --git a/otk/widget.hh b/otk/widget.hh
index a8787754..fb3b1e37 100644
--- a/otk/widget.hh
+++ b/otk/widget.hh
@@ -100,6 +100,10 @@ public:
{ return _event_dispatcher; }
void setEventDispatcher(OtkEventDispatcher *disp);
+protected:
+
+ bool _dirty;
+
private:
void create(void);
@@ -139,8 +143,6 @@ private:
bool _fixed_width;
bool _fixed_height;
- bool _dirty;
-
OtkEventDispatcher *_event_dispatcher;
};