diff options
author | Matt Turner <mattst88@gmail.com> | 2007-12-20 00:39:33 +0000 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2007-12-20 00:39:33 +0000 |
commit | 7f01dceac3c6f5be7c6745baf14c4b0d092aa31f (patch) | |
tree | a8bc8c92fd3c9d61a17e2afaf8e8bdab4f210a66 /CalculatorButton.h |
Create branch to allow shortcuts for buttons. Partial rewrite :(CalculatorButton
git-svn-id: svn://mattst88.com/svn/calculator/branches/CalculatorButton@9 40705d3a-cdd4-446d-8ced-669f9f7342eb
Diffstat (limited to 'CalculatorButton.h')
-rw-r--r-- | CalculatorButton.h | 17 |
1 files changed, 17 insertions, 0 deletions
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; +}; + |