1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:27:35 +00:00

LibWeb: Fire "keyup" events as well :^)

This was easy, now that we have KeyboardEvent.
This commit is contained in:
Andreas Kling 2021-09-28 15:39:35 +02:00
parent 554c344ffe
commit 0af0ee4293
10 changed files with 28 additions and 0 deletions

View file

@ -52,6 +52,7 @@ public:
bool handle_mousewheel(const Gfx::IntPoint&, unsigned button, unsigned modifiers, int wheel_delta);
bool handle_keydown(KeyCode, unsigned modifiers, u32 code_point);
bool handle_keyup(KeyCode, unsigned modifiers, u32 code_point);
Gfx::Palette palette() const;
Gfx::IntRect screen_rect() const;