diff options
author | Andreas Kling <kling@serenityos.org> | 2021-02-22 19:45:41 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-02-22 21:46:54 +0100 |
commit | ded8c728d296537de0969668237f4d6c6b4a9590 (patch) | |
tree | 1803d3c67a14cfe96d653bb006f1fa200a7d5482 /Userland/Libraries/LibWeb/Page/EventHandler.h | |
parent | 53081226e9babcd2f0926b98901055e63f3a3512 (diff) | |
download | serenity-ded8c728d296537de0969668237f4d6c6b4a9590.zip |
LibWeb: Plumb wheel events from widget layer to EventHandler
Diffstat (limited to 'Userland/Libraries/LibWeb/Page/EventHandler.h')
-rw-r--r-- | Userland/Libraries/LibWeb/Page/EventHandler.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Page/EventHandler.h b/Userland/Libraries/LibWeb/Page/EventHandler.h index cc1cc19ade..5690454277 100644 --- a/Userland/Libraries/LibWeb/Page/EventHandler.h +++ b/Userland/Libraries/LibWeb/Page/EventHandler.h @@ -47,6 +47,7 @@ public: bool handle_mouseup(const Gfx::IntPoint&, unsigned button, unsigned modifiers); bool handle_mousedown(const Gfx::IntPoint&, unsigned button, unsigned modifiers); bool handle_mousemove(const Gfx::IntPoint&, unsigned buttons, unsigned modifiers); + bool handle_mousewheel(const Gfx::IntPoint&, unsigned buttons, unsigned modifiers, int wheel_delta); bool handle_keydown(KeyCode, unsigned modifiers, u32 code_point); |