+void OtkButton::setUnfocusTexture(BTexture *texture)
+{
+ OtkFocusWidget::setUnfocusTexture(texture);
+ _unpr_unfocus_tx = texture;
+}
+
+void OtkButton::buttonPressHandler(const XButtonEvent &e)
+{
+ press(e.button);
+ update();
+ OtkFocusWidget::buttonPressHandler(e);
+}
+
+void OtkButton::buttonReleaseHandler(const XButtonEvent &e)
+{
+ release(e.button);
+ update();
+ OtkFocusWidget::buttonReleaseHandler(e);