Searched hist:"82 bfaa954dcfd90582fb2c1a0e918971eea57091" (Results 1 – 3 of 3) sorted by relevance
/haiku/docs/user/interface/ |
H A D | ListView.dox | 82bfaa954dcfd90582fb2c1a0e918971eea57091 Fri Dec 22 13:59:31 UTC 2023 John Scipione <jscipione@gmail.com> 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 <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
/haiku/headers/os/interface/ |
H A D | ListView.h | 82bfaa954dcfd90582fb2c1a0e918971eea57091 Fri Dec 22 13:59:31 UTC 2023 John Scipione <jscipione@gmail.com> 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 <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
/haiku/src/kits/interface/ |
H A D | ListView.cpp | b3a64f585665e172641b9a5bdd5b749b08fa093f Tue Aug 13 22:47:46 UTC 2024 Augustin Cavalier <waddlesplash@gmail.com> BListView: Do not call virtual ScrollTo(BPoint) method in ScrollTo(index).
ScrollTo(index) was introduced only in 82bfaa954dcfd90582fb2c1a0e918971eea57091, in the implementation of autoscroll-on-drag. But if we call the virtual methods from here, subclasses might recurse back into us when calling other methods (MouseMoved() in particular), so in order to avoid an infinite recursion we have to call ourselves explicitly here.
Fixes a crash on drag in list views in WonderBrush.
Change-Id: Ie7a1bbb75161815bac1f5a800c9ba5830ac43a0f Reviewed-on: https://review.haiku-os.org/c/haiku/+/8014 Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org> Reviewed-by: John Scipione <jscipione@gmail.com> 82bfaa954dcfd90582fb2c1a0e918971eea57091 Fri Dec 22 13:59:31 UTC 2023 John Scipione <jscipione@gmail.com> 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 <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|