From 7f01dceac3c6f5be7c6745baf14c4b0d092aa31f Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 20 Dec 2007 00:39:33 +0000 Subject: Create branch to allow shortcuts for buttons. Partial rewrite :( git-svn-id: svn://mattst88.com/svn/calculator/branches/CalculatorButton@9 40705d3a-cdd4-446d-8ced-669f9f7342eb --- CalculatorButton.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 CalculatorButton.h (limited to 'CalculatorButton.h') diff --git a/CalculatorButton.h b/CalculatorButton.h new file mode 100644 index 0000000..ad16d8c --- /dev/null +++ b/CalculatorButton.h @@ -0,0 +1,17 @@ + +class CalculatorButton : public Button { + public: + CalculatorButton::CalculatorButton( Window * pParent, + const Rect rFrame, + const String &pLabel, + unsigned int nWindowLayoutFlags, + unsigned int uiVKey); + CalculatorButton::CalculatorButton( Window * pParent, + const Rect rFrame, + const String &pLabel, + unsigned int nWindowLayoutFlags); + void OnClicked(); + private: + Button * pButton; +}; + -- cgit v1.2.3