Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/button.h')
-rw-r--r--src/ui/button.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/button.h b/src/ui/button.h
index 34c3ba4..c074467 100644
--- a/src/ui/button.h
+++ b/src/ui/button.h
@@ -26,8 +26,8 @@ public:
virtual void print(size_t indent);
/// handle keyboard events
- virtual void keypress(unsigned int key, unsigned int modifier);
- virtual void keyrelease(unsigned int key, unsigned int modifier);
+ virtual bool keypress(unsigned int key, unsigned int modifier);
+ virtual bool keyrelease(unsigned int key, unsigned int modifier);
protected:
/// draw the button border