diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-12-18 08:46:48 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-12-18 08:46:48 +0000 |
| commit | 84d777e89f22080c0040a3e92fd70fe5393aced2 (patch) | |
| tree | 0bc44926fc53a4c8845b7a66f5c39bb092a06501 | |
| parent | 62d719d6b719abfe275517464504a220704f4035 (diff) | |
make shit protected
| -rw-r--r-- | otk/widget.hh | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/otk/widget.hh b/otk/widget.hh index c31067da..b9ff47ec 100644 --- a/otk/widget.hh +++ b/otk/widget.hh @@ -39,7 +39,7 @@ public: inline Window getWindow(void) const { return _window; } inline const OtkWidget *getParent(void) const { return _parent; } - inline OtkWidgetList &getChildren(void) const { return _children; } + inline const OtkWidgetList &getChildren(void) const { return _children; } inline unsigned int getScreen(void) const { return _screen; } inline const Rect &getRect(void) const { return _rect; } @@ -128,14 +128,11 @@ protected: bool _focused; virtual void adjust(void); - -private: - - void create(void); - void adjustHorz(void); - void adjustVert(void); - void internalResize(int width, int height); - void render(void); + virtual void create(void); + virtual void adjustHorz(void); + virtual void adjustVert(void); + virtual void internalResize(int width, int height); + virtual void render(void); Window _window; |
