BView: Add a B_SCROLL_VIEW_AWARE flag.
* This indicates the view will manage whatever scrollbars are targeted to it. * Use _B_RESERVED7_ for this. It's been RESERVED since BeOS R5 (I guess it was probably something on some older BeOS version?) and we don't really care about BeOS R4 ABI compatibility, so that should be fine. * Update BScrollView to not touch BScrollBar range/proportion when the target view has this set. * Update BListView to set this flag, always. Fixes #14871. Change-Id: I17027f3b63ef28da1e735c5393593496c415dce3 Reviewed-on: https://review.haiku-os.org/c/998 Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
b073a8c83f
commit
e5d0c9094d
@@ -77,7 +77,7 @@ const uint32 B_NAVIGABLE = 0x02000000UL; /* 25 */
|
||||
const uint32 B_SUBPIXEL_PRECISE = 0x01000000UL; /* 24 */
|
||||
const uint32 B_DRAW_ON_CHILDREN = 0x00800000UL; /* 23 */
|
||||
const uint32 B_INPUT_METHOD_AWARE = 0x00400000UL; /* 23 */
|
||||
const uint32 _B_RESERVED7_ = 0x00200000UL; /* 22 */
|
||||
const uint32 B_SCROLL_VIEW_AWARE = 0x00200000UL; /* 22 */
|
||||
const uint32 B_SUPPORTS_LAYOUT = 0x00100000UL; /* 21 */
|
||||
const uint32 B_INVALIDATE_AFTER_LAYOUT = 0x00080000UL; /* 20 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user