mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:57:46 +00:00
Calculator: Added keyboard input
This commit is contained in:
parent
3e8b60c618
commit
488c510e02
2 changed files with 43 additions and 1 deletions
|
@ -22,6 +22,8 @@ private:
|
|||
|
||||
void update_display();
|
||||
|
||||
virtual void keydown_event(GKeyEvent&) override;
|
||||
|
||||
Calculator m_calculator;
|
||||
Keypad m_keypad;
|
||||
|
||||
|
@ -46,5 +48,4 @@ private:
|
|||
RefPtr<GButton> m_inverse_button;
|
||||
RefPtr<GButton> m_percent_button;
|
||||
RefPtr<GButton> m_equals_button;
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue