mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 15:47:35 +00:00
VisualBuilder: Add some keyboard navigation support.
Allow selecting widgets using the Tab key, and moving them around using the arrow keys. :^)
This commit is contained in:
parent
ac324f14b8
commit
f7157520eb
2 changed files with 45 additions and 0 deletions
|
@ -31,6 +31,7 @@ protected:
|
|||
virtual void mousedown_event(GMouseEvent&) override;
|
||||
virtual void mousemove_event(GMouseEvent&) override;
|
||||
virtual void mouseup_event(GMouseEvent&) override;
|
||||
virtual void keydown_event(GKeyEvent&) override;
|
||||
|
||||
private:
|
||||
void grabber_mousedown_event(GMouseEvent&, VBWidget&, Direction grabber);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue