mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:47:35 +00:00
WSWindowManager: Add double click to maximize/restore
This commit is contained in:
parent
316fb624f7
commit
ec0d598934
2 changed files with 59 additions and 38 deletions
|
@ -127,9 +127,10 @@ public:
|
|||
|
||||
private:
|
||||
void process_mouse_event(WSMouseEvent&, WSWindow*& hovered_window);
|
||||
void process_event_for_doubleclick(WSWindow& window, WSMouseEvent& event);
|
||||
void deliver_mouse_event(WSWindow& window, WSMouseEvent& event);
|
||||
bool process_ongoing_window_resize(const WSMouseEvent&, WSWindow*& hovered_window);
|
||||
bool process_ongoing_window_drag(const WSMouseEvent&, WSWindow*& hovered_window);
|
||||
bool process_ongoing_window_drag(WSMouseEvent&, WSWindow*& hovered_window);
|
||||
void handle_menu_mouse_event(WSMenu&, const WSMouseEvent&);
|
||||
void handle_menubar_mouse_event(const WSMouseEvent&);
|
||||
void handle_close_button_mouse_event(WSWindow&, const WSMouseEvent&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue