mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +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
Notes:
sideshowbarker
2024-07-19 02:57:04 +09:00
Author: https://github.com/awesomekling
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