mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:37:34 +00:00
Move double click events from LibGUI to the window server
This commit is contained in:
parent
3cba2a8a78
commit
a4b0dfff43
10 changed files with 92 additions and 43 deletions
|
@ -190,6 +190,7 @@ private:
|
|||
void handle_paint_event(GPaintEvent&);
|
||||
void handle_resize_event(GResizeEvent&);
|
||||
void handle_mousedown_event(GMouseEvent&);
|
||||
void handle_mousedoubleclick_event(GMouseEvent&);
|
||||
void handle_mouseup_event(GMouseEvent&);
|
||||
void handle_enter_event(CEvent&);
|
||||
void handle_leave_event(CEvent&);
|
||||
|
@ -197,8 +198,6 @@ private:
|
|||
void focus_previous_widget();
|
||||
void focus_next_widget();
|
||||
|
||||
CElapsedTimer& click_clock(GMouseButton);
|
||||
|
||||
GWindow* m_window { nullptr };
|
||||
OwnPtr<GLayout> m_layout;
|
||||
|
||||
|
@ -219,9 +218,5 @@ private:
|
|||
bool m_layout_dirty { false };
|
||||
bool m_updates_enabled { true };
|
||||
|
||||
CElapsedTimer m_left_click_clock;
|
||||
CElapsedTimer m_right_click_clock;
|
||||
CElapsedTimer m_middle_click_clock;
|
||||
|
||||
HashMap<GShortcut, GAction*> m_local_shortcut_actions;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue