Deprecated helper class that helps building a BSplitView. More...
Public Member Functions | |
| BSplitLayoutBuilder (BSplitView *view) | |
| Create a new layout builder that operates on an existing view. | |
| BSplitLayoutBuilder (orientation orientation=B_HORIZONTAL, float spacing=B_USE_DEFAULT_SPACING) | |
| Create a new layout builder with an underlying BSplitView. | |
| BSplitLayoutBuilder & | Add (BLayoutItem *item) |
| Add a BLayoutItem to the underlying BSplitView. | |
| BSplitLayoutBuilder & | Add (BLayoutItem *item, float weight) |
| Add a BLayoutItem to the underlying BSplitView. | |
| BSplitLayoutBuilder & | Add (BView *view) |
| Add a view to the underlying BSplitView. | |
| BSplitLayoutBuilder & | Add (BView *view, float weight) |
| Add a view to the underlying BSplitView. | |
| BSplitLayoutBuilder & | GetSplitView (BSplitView **view) |
| Get a reference to the underlying BSplitView. | |
| operator BSplitView * () | |
| Cast the builder to the underlying BSplitView. | |
| BSplitLayoutBuilder & | SetCollapsible (bool collapsible) |
| Set the collapsability of the most recently added item. | |
| BSplitLayoutBuilder & | SetInsets (float left, float top, float right, float bottom) |
| Set the insets of the underlying BSplitView. | |
| BSplitView * | SplitView () const |
| Get a reference to the underlying BSplitView. | |
Deprecated helper class that helps building a BSplitView.
The modern builder can be found in BLayoutBuilder::Split<>.
| BSplitLayoutBuilder::BSplitLayoutBuilder | ( | orientation | orientation = B_HORIZONTAL, |
| float | spacing = B_USE_DEFAULT_SPACING |
||
| ) |
Create a new layout builder with an underlying BSplitView.
| orientation | The orientation of the split view. |
| spacing | The spacing of items within the split view. |
| BSplitLayoutBuilder::BSplitLayoutBuilder | ( | BSplitView * | view | ) |
Create a new layout builder that operates on an existing view.
| view | The existing view you want the builder to alter. |
| BSplitLayoutBuilder & BSplitLayoutBuilder::Add | ( | BLayoutItem * | item | ) |
Add a BLayoutItem to the underlying BSplitView.
| item | The BLayoutItem to add. |
| BSplitLayoutBuilder & BSplitLayoutBuilder::Add | ( | BLayoutItem * | item, |
| float | weight | ||
| ) |
Add a BLayoutItem to the underlying BSplitView.
| item | The BLayoutItem to add. |
| weight | The weight of the item. |
| BSplitLayoutBuilder & BSplitLayoutBuilder::Add | ( | BView * | view | ) |
Add a view to the underlying BSplitView.
| view | The BView to add. |
| BSplitLayoutBuilder & BSplitLayoutBuilder::Add | ( | BView * | view, |
| float | weight | ||
| ) |
Add a view to the underlying BSplitView.
| view | The BView to add. |
| weight | The weight of the item. |
| BSplitLayoutBuilder & BSplitLayoutBuilder::GetSplitView | ( | BSplitView ** | view | ) |
Get a reference to the underlying BSplitView.
| [out] | view | The variable to store a borrowed pointer to the underlying view. |
| BSplitLayoutBuilder::operator BSplitView * | ( | ) |
Cast the builder to the underlying BSplitView.
Convenience method for the SplitView() method.
| BSplitLayoutBuilder & BSplitLayoutBuilder::SetCollapsible | ( | bool | collapsible | ) |
Set the collapsability of the most recently added item.
| collapsible | true if the item is collapsible, false otherwise. |
| BSplitLayoutBuilder & BSplitLayoutBuilder::SetInsets | ( | float | left, |
| float | top, | ||
| float | right, | ||
| float | bottom | ||
| ) |
Set the insets of the underlying BSplitView.
| left | The left inset. |
| top | The top inset. |
| right | The right inset. |
| bottom | The bottom inset. |
| BSplitView * BSplitLayoutBuilder::SplitView | ( | ) | const |
Get a reference to the underlying BSplitView.