HaikuBook: Add documentation for BCardLayout

This adds documentation for BCardView, BCardLayout and BLayoutBuilder::Cards.
There is also a bit of cleanup for the BSplitView documentation.

It also makes explicit when a developer passes an invalid argument to
BCardLayout::SetVisibleItem(), by making that a debugger() call.

Change-Id: I17ac52cc773bb76c4f81beaa76f72af62a9e10f4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2460
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
Niels Sascha Reedijk
2020-04-14 08:00:13 +00:00
committed by Adrien Destugues
parent a7725a42a9
commit 5cfca119fb
7 changed files with 613 additions and 206 deletions
@@ -88,18 +88,6 @@
*/
/*!
\fn BLayoutBuilder::Split<ParentBuilder>::Split(orientation orientation,
float spacing)
\brief Creates a builder for a new BSplitView.
\param orientation The orientation for the new BSplitView.
\param spacing The spacing for the new BSplitView.
\since Haiku R1
*/
/*!
\fn BLayoutBuilder::Split<ParentBuilder>::Split(BSplitView *view)
\brief Creates a builder for an existing BSplitView