]> Dogcows Code - chaz/openbox/blobdiff - otk/widget.hh
oops messed up centered
[chaz/openbox] / otk / widget.hh
index 31103debdb6e5a49e7cf55694f863058d6d0cfa3..93121c85bd2497de94711e64e3fdd5d7edd837f4 100644 (file)
@@ -77,7 +77,7 @@ public:
 
   virtual void exposeHandler(const XExposeEvent &e);
   virtual void configureHandler(const XConfigureEvent &e);
-  virtual void styleChanged(const RenderStyle &) {}
+  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);
 
@@ -100,6 +100,8 @@ protected:
   void createWindow(bool overrideredir);
 
   RenderTexture *_texture;
+
+  EventDispatcher *dispatcher() const { return _dispatcher; }
   
 private:
   void internal_moveresize(int x, int y, int w, int h);
This page took 0.020378 seconds and 4 git commands to generate.