mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 11:55:12 +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:
parent
4c65bd3731
commit
e5a6e297bf
2 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue