1
Fork 0
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:
rhin123 2020-01-17 13:09:07 -06:00 committed by Andreas Kling
parent 3e8b60c618
commit 488c510e02
2 changed files with 43 additions and 1 deletions

View file

@ -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;
};