mirror of
https://github.com/RGBCube/serenity
synced 2025-05-22 16:55:09 +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
9 changed files with 197 additions and 185 deletions
|
@ -51,8 +51,6 @@ private:
|
|||
virtual void did_update_model() override;
|
||||
virtual void paint_event(GPaintEvent&) override;
|
||||
virtual void mousedown_event(GMouseEvent& event) override;
|
||||
virtual void doubleclick_event(GMouseEvent& event) override;
|
||||
virtual void context_menu_event(GContextMenuEvent& event) override;
|
||||
virtual void keydown_event(GKeyEvent& event) override;
|
||||
|
||||
struct Column {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue