]> Dogcows Code - chaz/openbox/commitdiff
make shit protected
authorDana Jansens <danakj@orodu.net>
Wed, 18 Dec 2002 08:46:48 +0000 (08:46 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 18 Dec 2002 08:46:48 +0000 (08:46 +0000)
otk/widget.hh

index c31067da8d7d1431626cd539a2cebd13f8f74c9f..b9ff47ecf45780b3fc72f5cf066a407480ee3ae7 100644 (file)
@@ -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;
 
This page took 0.025432 seconds and 4 git commands to generate.