summaryrefslogtreecommitdiff
path: root/src/gui/widgets/button.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/button.h')
-rw-r--r--src/gui/widgets/button.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/button.h b/src/gui/widgets/button.h
index 6585d9850..8e4cdd9e6 100644
--- a/src/gui/widgets/button.h
+++ b/src/gui/widgets/button.h
@@ -113,6 +113,10 @@ class Button : public gcn::Button, public gcn::WidgetListener
void setCaption(const std::string& caption);
+ void keyPressed(gcn::KeyEvent &keyEvent);
+
+ void keyReleased(gcn::KeyEvent &keyEvent);
+
private:
void init();