From 02fcd22d8cde355aa898a8c6bb4773d9434b8e9a Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Fri, 10 Oct 2008 16:41:38 +0000 Subject: adds KeyPress, DevInfo and Stats widgets --- src/ui/button.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui/button.h') 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 -- cgit v1.2.3