ladybird/Userland/Applications/Calculator
Max Wipfli 2675d25453 Calculator: Handle keydown events correctly with all keyboard layouts
This changes the keydown_event handler to use codepoints instead of key
codes for comparison if possible. This is so the functionality still
works as intended with keyboard layouts where e.g. typing '+' actually
results in KeyCode::Key_ExclamationPoint rather than KeyCode::Key_Plus.

This also removes the unnecessary call to atoi().
2021-05-23 23:18:54 +01:00
..
Calculator.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Calculator.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CalculatorWidget.cpp Calculator: Handle keydown events correctly with all keyboard layouts 2021-05-23 23:18:54 +01:00
CalculatorWidget.h Everywhere: Add missing comma between copyright year and name 2021-04-29 00:59:26 +02:00
CalculatorWindow.gml Calculator: Add a separator line between the menu and the main UI 2021-04-10 16:08:14 +02:00
CMakeLists.txt
Keypad.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Keypad.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
main.cpp Userland: Tighten a *lot* of pledges! :^) 2021-05-13 23:28:40 +02:00