]> Dogcows Code - chaz/openbox/blobdiff - otk/widget.hh
do need display then
[chaz/openbox] / otk / widget.hh
index c31067da8d7d1431626cd539a2cebd13f8f74c9f..5a40f4e9cc321728c123d8c45ecfc3b2426267df 100644 (file)
@@ -6,7 +6,7 @@
 #include "texture.hh"
 #include "style.hh"
 #include "eventdispatcher.hh"
-#include "application.hh"
+#include "display.hh"
 
 extern "C" {
 #include <assert.h>
@@ -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.021875 seconds and 4 git commands to generate.