mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-24 18:02:20 +00:00
LibGUI: Move most of mouse event handling to GAbstractView
This deduplicates existing code, and also gives all the model-backed widgets selection manipulation and drag support for free :^)
This commit is contained in:
parent
fd11c96e8e
commit
d3ce7ae0e3
Notes:
sideshowbarker
2024-07-19 09:53:00 +09:00
Author: https://github.com/bugaevc
Commit: d3ce7ae0e3
Pull-request: https://github.com/SerenityOS/serenity/pull/1115
9 changed files with 197 additions and 185 deletions
|
@ -60,7 +60,6 @@ public:
|
|||
private:
|
||||
virtual void did_update_model() override;
|
||||
virtual void paint_event(GPaintEvent&) override;
|
||||
virtual void mousedown_event(GMouseEvent&) override;
|
||||
virtual void doubleclick_event(GMouseEvent&) override;
|
||||
virtual void keydown_event(GKeyEvent&) override;
|
||||
virtual void resize_event(GResizeEvent&) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue