mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 03:37:53 +00:00
LibGUI: Add AbstractTableView::scroll_into_view(ModelIndex, bool, bool)
This API lets you specify whether to scroll horizontally, vertically, or both.
This commit is contained in:
@@ -71,6 +71,7 @@ public:
|
||||
Gfx::IntRect row_rect(int item_index) const;
|
||||
|
||||
void scroll_into_view(const ModelIndex&, Orientation);
|
||||
void scroll_into_view(const ModelIndex&, bool scroll_horizontally, bool scroll_vertically);
|
||||
|
||||
virtual ModelIndex index_at_event_position(const Gfx::IntPoint&, bool& is_toggle) const;
|
||||
virtual ModelIndex index_at_event_position(const Gfx::IntPoint&) const override;
|
||||
|
||||
Reference in New Issue
Block a user