mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-04 15:19:42 +00:00
LibGUI: Add AbstractTableView::move_selection(int steps)
This allows embedders to step the selection up/down and also simplifies AbstractTableView by sharing code between Key_Up and Key_Down. :^)
This commit is contained in:
parent
4cf3f00bab
commit
3fe5dc35f2
Notes:
sideshowbarker
2024-07-19 06:40:01 +09:00
Author: https://github.com/awesomekling
Commit: 3fe5dc35f2
2 changed files with 24 additions and 24 deletions
|
@ -71,6 +71,9 @@ public:
|
|||
virtual ModelIndex index_at_event_position(const Gfx::Point&) const override;
|
||||
|
||||
virtual void select_all() override;
|
||||
|
||||
void move_selection(int steps);
|
||||
|
||||
protected:
|
||||
virtual ~AbstractTableView() override;
|
||||
AbstractTableView();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue