mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:28:12 +00:00
LibWeb+LibWebView+WebContent: Get doubleclick events from LibGUI
This commit is contained in:
parent
0e04532623
commit
03cda8a013
7 changed files with 19 additions and 0 deletions
|
@ -163,6 +163,11 @@ void ConnectionFromClient::mouse_wheel(Gfx::IntPoint const& position, unsigned i
|
|||
page().handle_mousewheel(position, button, modifiers, wheel_delta_x, wheel_delta_y);
|
||||
}
|
||||
|
||||
void ConnectionFromClient::doubleclick(Gfx::IntPoint const& position, unsigned int button, [[maybe_unused]] unsigned int buttons, unsigned int modifiers)
|
||||
{
|
||||
page().handle_doubleclick(position, button, modifiers);
|
||||
}
|
||||
|
||||
void ConnectionFromClient::key_down(i32 key, unsigned int modifiers, u32 code_point)
|
||||
{
|
||||
page().handle_keydown((KeyCode)key, modifiers, code_point);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue