OtkFocusWidget::update();
}
+void OtkButton::expose(const XExposeEvent &e)
+{
+ _dirty = true;
+ OtkFocusWidget::expose(e);
+}
+
}
void press(void);
void release(void);
- void update(void);
+ virtual void update(void);
+ virtual void expose(const XExposeEvent &e);
private:
std::string _text;
//OtkPixmap _pixmap;
bool _pressed;
-// bool _dirty;
+ bool _dirty;
BTexture *_pressed_focus_tx;
BTexture *_pressed_unfocus_tx;
virtual void update(void);
- void expose(const XExposeEvent &e);
+ virtual void expose(const XExposeEvent &e);
inline Window getWindow(void) const { return _window; }
inline const OtkWidget *getParent(void) const { return _parent; }