mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:47:45 +00:00
LibGUI: Add button handler for middle mouse clicks
This commit is contained in:
parent
18c84d2e63
commit
f9212ac02e
4 changed files with 17 additions and 0 deletions
|
@ -39,6 +39,7 @@ public:
|
|||
void set_allowed_mouse_buttons_for_pressing(unsigned allowed_buttons) { m_allowed_mouse_buttons_for_pressing = allowed_buttons; }
|
||||
|
||||
virtual void click(unsigned modifiers = 0) = 0;
|
||||
virtual void middle_mouse_click(unsigned) {};
|
||||
virtual bool is_uncheckable() const { return true; }
|
||||
|
||||
int auto_repeat_interval() const { return m_auto_repeat_interval; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue