BListView: Add ScrollTo(index) method, auto-scroll on drag
Multi-select lists may also auto-scroll on drag now as well. Document ScrollTo(index). Give Scrolling its own section. Change-Id: I36284a28376a01bafd23ddb30162fc786fb41521 Reviewed-on: https://review.haiku-os.org/c/haiku/+/7213 Tested-by: Commit checker robot <[email protected]> Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
8d024b7062
commit
82bfaa954d
@@ -110,6 +110,7 @@ public:
|
||||
void* arg), void* arg);
|
||||
const BListItem** Items() const;
|
||||
void InvalidateItem(int32 index);
|
||||
void ScrollTo(int32 index);
|
||||
void ScrollToSelection();
|
||||
|
||||
void Select(int32 index, bool extend = false);
|
||||
|
||||
Reference in New Issue
Block a user