mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:27:35 +00:00
HackStudio: Start implementing basic widget selection in CursorTool
You can now select widgets by clicking on them with the CursorTool, and toggle the selection state of a widget by Ctrl+clicking it.
This commit is contained in:
parent
e87756424d
commit
f6576c4b7c
4 changed files with 78 additions and 2 deletions
|
@ -14,6 +14,7 @@ public:
|
|||
|
||||
private:
|
||||
virtual void paint_event(GPaintEvent&) override;
|
||||
virtual void second_paint_event(GPaintEvent&) override;
|
||||
virtual void mousedown_event(GMouseEvent&) override;
|
||||
virtual void mouseup_event(GMouseEvent&) override;
|
||||
virtual void mousemove_event(GMouseEvent&) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue