]> Dogcows Code - chaz/openbox/blobdiff - otk/button.hh
dont set dirty if not resizing
[chaz/openbox] / otk / button.hh
index 6908322e608c1dcd601805b781fed70a4f0de97c..f25f731d9d1c63cdcfb63edf529eb7da6a4c4e9c 100644 (file)
@@ -33,14 +33,16 @@ public:
   void press(void);
   void release(void);
 
-  void update(void);
+  virtual void update(void);
+  virtual bool expose(const XExposeEvent &e);
+  virtual bool configure(const XConfigureEvent &e);
 
 private:
 
   std::string _text;
   //OtkPixmap _pixmap;
   bool _pressed;
-//  bool _dirty;
+  bool _dirty;
 
   BTexture *_pressed_focus_tx;
   BTexture *_pressed_unfocus_tx;
This page took 0.025465 seconds and 4 git commands to generate.