mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:07:45 +00:00
LibGUI: Teach IconView to use AbstractView::move_cursor()
This makes it possible to manipulate the cursor programmatically via the AbstractView interface.
This commit is contained in:
parent
22265f1445
commit
72443bd1ab
2 changed files with 61 additions and 77 deletions
|
@ -64,6 +64,8 @@ private:
|
|||
virtual void keydown_event(KeyEvent&) override;
|
||||
virtual void drag_move_event(DragEvent&) override;
|
||||
|
||||
virtual void move_cursor(CursorMovement, SelectionUpdate) override;
|
||||
|
||||
struct ItemData {
|
||||
Gfx::IntRect text_rect;
|
||||
Gfx::IntRect icon_rect;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue