mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 03:37:35 +00:00
Calculator: Add keyboard input for more operations
This commit is contained in:
parent
19f80f88bf
commit
697e1810bf
2 changed files with 23 additions and 5 deletions
|
@ -27,6 +27,7 @@ private:
|
|||
void add_digit_button(GUI::Button&, int digit);
|
||||
|
||||
void mimic_pressed_button(RefPtr<GUI::Button>);
|
||||
void perform_operation(Calculator::Operation operation);
|
||||
void update_display();
|
||||
|
||||
virtual void keydown_event(GUI::KeyEvent&) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue