mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 00:56:14 +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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user