]> Dogcows Code - chaz/openbox/blobdiff - otk/widget.hh
only store what we need to in the class
[chaz/openbox] / otk / widget.hh
index 2e4de47e1adb503e929f852ea82c18060eefdea6..c56b4a5621c82231853875d17b9cbb67f7180c31 100644 (file)
@@ -77,7 +77,7 @@ public:
 
   virtual void exposeHandler(const XExposeEvent &e);
   virtual void configureHandler(const XConfigureEvent &e);
-  virtual void styleChanged(const RenderStyle &) {calcDefaultSizes();update();}
+  virtual void styleChanged(const RenderStyle &style);
 
 protected:
   virtual void addChild(Widget *w) { assert(w); _children.push_back(w); }
@@ -85,7 +85,7 @@ protected:
 
   //! Find the default min/max sizes for the widget. Useful after the in-use
   //! style has changed.
-  virtual void calcDefaultSizes() {};
+  virtual void calcDefaultSizes();
 
   virtual void setMinSize(const Size &s);
 
@@ -102,7 +102,7 @@ protected:
   RenderTexture *_texture;
   
 private:
-  void internal_moveresize(int x, int y, unsigned w, unsigned int h);
+  void internal_moveresize(int x, int y, int w, int h);
 
   int _screen;
   Widget *_parent;
This page took 0.020962 seconds and 4 git commands to generate.