mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-24 00:24:38 +00:00
LibGUI: Add Button double-click callback
This commit is contained in:
@@ -160,6 +160,12 @@ void AbstractButton::mouseup_event(MouseEvent& event)
|
||||
Widget::mouseup_event(event);
|
||||
}
|
||||
|
||||
void AbstractButton::doubleclick_event(GUI::MouseEvent& event)
|
||||
{
|
||||
double_click(event.modifiers());
|
||||
Widget::doubleclick_event(event);
|
||||
}
|
||||
|
||||
void AbstractButton::enter_event(Core::Event&)
|
||||
{
|
||||
m_hovered = true;
|
||||
|
||||
Reference in New Issue
Block a user