xref: /haiku/docs/user/interface/LayoutBuilder.Cards.dox (revision 6758018a217b176c07bf19036c749fa2532e3a3a)
15cfca119SNiels Sascha Reedijk/*
25cfca119SNiels Sascha Reedijk * Copyright 2020 Haiku, Inc. All rights reserved.
35cfca119SNiels Sascha Reedijk * Distributed under the terms of the MIT License.
45cfca119SNiels Sascha Reedijk *
55cfca119SNiels Sascha Reedijk * Authors:
65cfca119SNiels Sascha Reedijk *		Niels Sascha Reedijk, niels.reedijk@gmail.com
75cfca119SNiels Sascha Reedijk *
85cfca119SNiels Sascha Reedijk * Reviewers:
95cfca119SNiels Sascha Reedijk * 		Adrien Destugues, pulkomandy@pulkomandy.tk
105cfca119SNiels Sascha Reedijk *
115cfca119SNiels Sascha Reedijk * Corresponds to:
125cfca119SNiels Sascha Reedijk *		headers/os/interface/LayoutBuilder.h	 rev 49977
135cfca119SNiels Sascha Reedijk */
145cfca119SNiels Sascha Reedijk
155cfca119SNiels Sascha Reedijk
165cfca119SNiels Sascha Reedijk/*!
175cfca119SNiels Sascha Reedijk	\class BLayoutBuilder::Cards<>
185cfca119SNiels Sascha Reedijk	\ingroup layout
195cfca119SNiels Sascha Reedijk	\ingroup libbe
205cfca119SNiels Sascha Reedijk	\brief BLayoutBuilder::Base subclass for building BCardLayouts.
215cfca119SNiels Sascha Reedijk
225cfca119SNiels Sascha Reedijk	\since Haiku R1
235cfca119SNiels Sascha Reedijk
245cfca119SNiels Sascha Reedijk    The BCardLayout class is a simple BLayout subclass that arranges the
255cfca119SNiels Sascha Reedijk    items as a stack of cards with only one card being on top and visible to
265cfca119SNiels Sascha Reedijk    the user.
275cfca119SNiels Sascha Reedijk
285cfca119SNiels Sascha Reedijk	For a detailed view on the properties, see the \link BCardLayout class
295cfca119SNiels Sascha Reedijk	description\endlink.
305cfca119SNiels Sascha Reedijk*/
315cfca119SNiels Sascha Reedijk
325cfca119SNiels Sascha Reedijk
335cfca119SNiels Sascha Reedijk/*!
345cfca119SNiels Sascha Reedijk	\typedef BLayoutBuilder::Cards<ParentBuilder>::ThisBuilder
35*6758018aSNiels Sascha Reedijk	\copydoc BLayoutBuilder::Group<ParentBuilder>::ThisBuilder
365cfca119SNiels Sascha Reedijk*/
375cfca119SNiels Sascha Reedijk
385cfca119SNiels Sascha Reedijk
395cfca119SNiels Sascha Reedijk/*!
40*6758018aSNiels Sascha Reedijk	\typedef BLayoutBuilder::Cards<ParentBuilder>::GroupBuilder
41*6758018aSNiels Sascha Reedijk	\copydoc BLayoutBuilder::Group<ParentBuilder>::GroupBuilder
425cfca119SNiels Sascha Reedijk*/
435cfca119SNiels Sascha Reedijk
445cfca119SNiels Sascha Reedijk
455cfca119SNiels Sascha Reedijk/*!
46*6758018aSNiels Sascha Reedijk	\typedef BLayoutBuilder::Cards<ParentBuilder>::GridBuilder
47*6758018aSNiels Sascha Reedijk	\copydoc BLayoutBuilder::Group<ParentBuilder>::GridBuilder
485cfca119SNiels Sascha Reedijk*/
495cfca119SNiels Sascha Reedijk
505cfca119SNiels Sascha Reedijk
515cfca119SNiels Sascha Reedijk/*!
52*6758018aSNiels Sascha Reedijk	\typedef BLayoutBuilder::Cards<ParentBuilder>::SplitBuilder
53*6758018aSNiels Sascha Reedijk	\copydoc BLayoutBuilder::Group<ParentBuilder>::SplitBuilder
545cfca119SNiels Sascha Reedijk*/
555cfca119SNiels Sascha Reedijk
565cfca119SNiels Sascha Reedijk
575cfca119SNiels Sascha Reedijk/*!
585cfca119SNiels Sascha Reedijk	\typedef BLayoutBuilder::Cards<ThisBuilder>::CardBuilder
59*6758018aSNiels Sascha Reedijk	\copydoc BLayoutBuilder::Group<ThisBuilder>::CardBuilder
605cfca119SNiels Sascha Reedijk*/
615cfca119SNiels Sascha Reedijk
625cfca119SNiels Sascha Reedijk
635cfca119SNiels Sascha Reedijk/*!
645cfca119SNiels Sascha Reedijk	\name Constructors
655cfca119SNiels Sascha Reedijk*/
665cfca119SNiels Sascha Reedijk
675cfca119SNiels Sascha Reedijk
685cfca119SNiels Sascha Reedijk//! @{
695cfca119SNiels Sascha Reedijk
705cfca119SNiels Sascha Reedijk
715cfca119SNiels Sascha Reedijk/*!
725cfca119SNiels Sascha Reedijk	\fn BLayoutBuilder::Cards<ParentBuilder>::Cards()
735cfca119SNiels Sascha Reedijk	\brief Creates a builder for BCardLayout.
745cfca119SNiels Sascha Reedijk
755cfca119SNiels Sascha Reedijk	\since Haiku R1
765cfca119SNiels Sascha Reedijk*/
775cfca119SNiels Sascha Reedijk
785cfca119SNiels Sascha Reedijk
795cfca119SNiels Sascha Reedijk/*!
805cfca119SNiels Sascha Reedijk	\fn BLayoutBuilder::Cards<ParentBuilder>::Cards(BWindow* window)
815cfca119SNiels Sascha Reedijk	\brief Creates a new builder for BCardLayout, and attaches it to a
825cfca119SNiels Sascha Reedijk		\a window.
835cfca119SNiels Sascha Reedijk
845cfca119SNiels Sascha Reedijk	\since Haiku R1
855cfca119SNiels Sascha Reedijk*/
865cfca119SNiels Sascha Reedijk
875cfca119SNiels Sascha Reedijk
885cfca119SNiels Sascha Reedijk/*!
895cfca119SNiels Sascha Reedijk	\fn BLayoutBuilder::Cards<ParentBuilder>::Cards(BView* view)
905cfca119SNiels Sascha Reedijk	\brief Creates a new builder for BCardLayout, and attaches it to a
915cfca119SNiels Sascha Reedijk		\a view.
925cfca119SNiels Sascha Reedijk
935cfca119SNiels Sascha Reedijk	\since Haiku R1
945cfca119SNiels Sascha Reedijk*/
955cfca119SNiels Sascha Reedijk
965cfca119SNiels Sascha Reedijk
975cfca119SNiels Sascha Reedijk/*!
985cfca119SNiels Sascha Reedijk	\fn BLayoutBuilder::Cards<ParentBuilder>::Cards(BCardLayout* layout)
995cfca119SNiels Sascha Reedijk	\brief Creates a builder targeting an existing BCardLayout.
1005cfca119SNiels Sascha Reedijk
1015cfca119SNiels Sascha Reedijk	\since Haiku R1
1025cfca119SNiels Sascha Reedijk*/
1035cfca119SNiels Sascha Reedijk
1045cfca119SNiels Sascha Reedijk
1055cfca119SNiels Sascha Reedijk/*!
106*6758018aSNiels Sascha Reedijk	\fn BLayoutBuilder::Cards<ParentBuilder>::Cards(BCardView* view)
1075cfca119SNiels Sascha Reedijk	\brief Creates a builder targeting an existing BCardView.
1085cfca119SNiels Sascha Reedijk
1095cfca119SNiels Sascha Reedijk	\since Haiku R1
1105cfca119SNiels Sascha Reedijk*/
1115cfca119SNiels Sascha Reedijk
1125cfca119SNiels Sascha Reedijk
1135cfca119SNiels Sascha Reedijk//! @}
1145cfca119SNiels Sascha Reedijk
1155cfca119SNiels Sascha Reedijk
1165cfca119SNiels Sascha Reedijk/*!
1175cfca119SNiels Sascha Reedijk	\name Accessors
1185cfca119SNiels Sascha Reedijk*/
1195cfca119SNiels Sascha Reedijk
1205cfca119SNiels Sascha Reedijk
1215cfca119SNiels Sascha Reedijk//! @{
1225cfca119SNiels Sascha Reedijk
1235cfca119SNiels Sascha Reedijk
1245cfca119SNiels Sascha Reedijk/*!
1255cfca119SNiels Sascha Reedijk	\fn BCardLayout* BLayoutBuilder::Cards<ParentBuilder>::Layout() const
126*6758018aSNiels Sascha Reedijk	\copydoc BLayoutBuilder::Group<ParentBuilder>::Layout()
1275cfca119SNiels Sascha Reedijk*/
1285cfca119SNiels Sascha Reedijk
1295cfca119SNiels Sascha Reedijk
1305cfca119SNiels Sascha Reedijk/*!
1315cfca119SNiels Sascha Reedijk	\fn BView* BLayoutBuilder::Cards<ParentBuilder>::View() const
132*6758018aSNiels Sascha Reedijk	\copydoc BLayoutBuilder::Group<ParentBuilder>::View()
1335cfca119SNiels Sascha Reedijk*/
1345cfca119SNiels Sascha Reedijk
1355cfca119SNiels Sascha Reedijk/*!
1365cfca119SNiels Sascha Reedijk	\fn ThisBuilder& BLayoutBuilder::Cards<ParentBuilder>::GetLayout(
1375cfca119SNiels Sascha Reedijk		BCardLayout** _layout)
138*6758018aSNiels Sascha Reedijk	\copydoc BLayoutBuilder::Group<ParentBuilder>::GetLayout()
1395cfca119SNiels Sascha Reedijk*/
1405cfca119SNiels Sascha Reedijk
1415cfca119SNiels Sascha Reedijk
1425cfca119SNiels Sascha Reedijk/*!
1435cfca119SNiels Sascha Reedijk	\fn ThisBuilder& BLayoutBuilder::Cards<ParentBuilder>::GetView(
1445cfca119SNiels Sascha Reedijk		BView** _view)
145*6758018aSNiels Sascha Reedijk	\copydoc BLayoutBuilder::Group<ParentBuilder>::GetView()
1465cfca119SNiels Sascha Reedijk*/
1475cfca119SNiels Sascha Reedijk
1485cfca119SNiels Sascha Reedijk
1495cfca119SNiels Sascha Reedijk/*!
1505cfca119SNiels Sascha Reedijk	\fn BLayoutBuilder::Cards<ParentBuilder>::operator BCardLayout*()
151*6758018aSNiels Sascha Reedijk	\brief Cast this builder into the layout object it represents.
1525cfca119SNiels Sascha Reedijk
1535cfca119SNiels Sascha Reedijk	\since Haiku R1
1545cfca119SNiels Sascha Reedijk*/
1555cfca119SNiels Sascha Reedijk
1565cfca119SNiels Sascha Reedijk//! @}
1575cfca119SNiels Sascha Reedijk
1585cfca119SNiels Sascha Reedijk
1595cfca119SNiels Sascha Reedijk/*!
1605cfca119SNiels Sascha Reedijk	\name Adding BViews and BLayoutItems
1615cfca119SNiels Sascha Reedijk*/
1625cfca119SNiels Sascha Reedijk
1635cfca119SNiels Sascha Reedijk
1645cfca119SNiels Sascha Reedijk//! @{
1655cfca119SNiels Sascha Reedijk
1665cfca119SNiels Sascha Reedijk
1675cfca119SNiels Sascha Reedijk/*!
1685cfca119SNiels Sascha Reedijk	\fn ThisBuilder& BLayoutBuilder::Cards<ParentBuilder>::Add(BView* view)
1695cfca119SNiels Sascha Reedijk	\brief Add a \a view to the underlying BCardLayout.
1705cfca119SNiels Sascha Reedijk
1715cfca119SNiels Sascha Reedijk	The layout item will be added as a card at the end of the stack.
1725cfca119SNiels Sascha Reedijk
1735cfca119SNiels Sascha Reedijk	\param view The BView to be added. The underlying BCardLayout will take
1745cfca119SNiels Sascha Reedijk		ownership of the object.
1755cfca119SNiels Sascha Reedijk
1765cfca119SNiels Sascha Reedijk	\since Haiku R1
1775cfca119SNiels Sascha Reedijk*/
1785cfca119SNiels Sascha Reedijk
1795cfca119SNiels Sascha Reedijk
1805cfca119SNiels Sascha Reedijk/*!
1815cfca119SNiels Sascha Reedijk	\fn ThisBuilder& BLayoutBuilder::Cards<ParentBuilder>::Add(
1825cfca119SNiels Sascha Reedijk		BLayoutItem* item)
1835cfca119SNiels Sascha Reedijk	\brief Add a \a item to the underlying BCardLayout.
1845cfca119SNiels Sascha Reedijk
1855cfca119SNiels Sascha Reedijk	The layout item will be added as a card at the end of the stack.
1865cfca119SNiels Sascha Reedijk
1875cfca119SNiels Sascha Reedijk	\param item The BLayoutItem to be added. The underlying BCardLayout will
1885cfca119SNiels Sascha Reedijk		take ownership of the object.
1895cfca119SNiels Sascha Reedijk
1905cfca119SNiels Sascha Reedijk	\since Haiku R1
1915cfca119SNiels Sascha Reedijk*/
1925cfca119SNiels Sascha Reedijk
1935cfca119SNiels Sascha Reedijk
1945cfca119SNiels Sascha Reedijk//! @}
1955cfca119SNiels Sascha Reedijk
1965cfca119SNiels Sascha Reedijk
1975cfca119SNiels Sascha Reedijk/*!
1985cfca119SNiels Sascha Reedijk	\name Adding BLayouts and their BView Pairs
1995cfca119SNiels Sascha Reedijk
2005cfca119SNiels Sascha Reedijk	A set of methods that add a BLayout or BView subclass and return a
2015cfca119SNiels Sascha Reedijk	BLayoutBuilder::Base subclass representing the newly added object. These
2025cfca119SNiels Sascha Reedijk	methods push a new builder on top of the stack, you will not be using
2035cfca119SNiels Sascha Reedijk	\c this builder again until you call End().
2045cfca119SNiels Sascha Reedijk*/
2055cfca119SNiels Sascha Reedijk
2065cfca119SNiels Sascha Reedijk
2075cfca119SNiels Sascha Reedijk//! @{
2085cfca119SNiels Sascha Reedijk
2095cfca119SNiels Sascha Reedijk
2105cfca119SNiels Sascha Reedijk/*!
2115cfca119SNiels Sascha Reedijk	\fn GroupBuilder BLayoutBuilder::Cards<ParentBuilder>::AddGroup(
2125cfca119SNiels Sascha Reedijk		orientation orientation, float spacing)
213*6758018aSNiels Sascha Reedijk	\copybrief GroupBuilder BLayoutBuilder::Group<ParentBuilder>::AddGroup(
214*6758018aSNiels Sascha Reedijk		orientation orientation, float spacing, float weight)
2155cfca119SNiels Sascha Reedijk
2165cfca119SNiels Sascha Reedijk	\param orientation The orientation to use for the new BGroupLayout.
2175cfca119SNiels Sascha Reedijk	\param spacing The spacing to use for the new BGroupLayout.
2185cfca119SNiels Sascha Reedijk
2195cfca119SNiels Sascha Reedijk	\returns A GroupBuilder representing the newly created BGroupLayout.
2205cfca119SNiels Sascha Reedijk
2215cfca119SNiels Sascha Reedijk	\since Haiku R1
2225cfca119SNiels Sascha Reedijk*/
2235cfca119SNiels Sascha Reedijk
2245cfca119SNiels Sascha Reedijk
2255cfca119SNiels Sascha Reedijk/*!
2265cfca119SNiels Sascha Reedijk	\fn GroupBuilder BLayoutBuilder::Cards<ParentBuilder>::AddGroup(
2275cfca119SNiels Sascha Reedijk		BGroupView* groupView)
228*6758018aSNiels Sascha Reedijk	\copybrief GroupBuilder BLayoutBuilder::Group<ParentBuilder>::AddGroup(
229*6758018aSNiels Sascha Reedijk		BGroupLayout* groupLayout, float weight)
2305cfca119SNiels Sascha Reedijk
2315cfca119SNiels Sascha Reedijk	\param groupView The BGroupView to be added.
2325cfca119SNiels Sascha Reedijk
233*6758018aSNiels Sascha Reedijk	\returns A GroupBuilder representing the layout of the \a groupView.
2345cfca119SNiels Sascha Reedijk
2355cfca119SNiels Sascha Reedijk	\since Haiku R1
2365cfca119SNiels Sascha Reedijk*/
2375cfca119SNiels Sascha Reedijk
2385cfca119SNiels Sascha Reedijk
2395cfca119SNiels Sascha Reedijk/*!
2405cfca119SNiels Sascha Reedijk	\fn GroupBuilder BLayoutBuilder::Cards<ParentBuilder>::AddGroup(
2415cfca119SNiels Sascha Reedijk		BGroupLayout* groupLayout)
242*6758018aSNiels Sascha Reedijk	\copybrief GroupBuilder BLayoutBuilder::Group<ParentBuilder>::AddGroup(BGroupView*
243*6758018aSNiels Sascha Reedijk		groupView, float weight)
2445cfca119SNiels Sascha Reedijk
2455cfca119SNiels Sascha Reedijk	\param groupLayout The BGroupLayout to be added.
2465cfca119SNiels Sascha Reedijk
247*6758018aSNiels Sascha Reedijk	\returns A GroupBuilder representing the \a groupLayout.
2485cfca119SNiels Sascha Reedijk
2495cfca119SNiels Sascha Reedijk	\since Haiku R1
2505cfca119SNiels Sascha Reedijk*/
2515cfca119SNiels Sascha Reedijk
2525cfca119SNiels Sascha Reedijk
2535cfca119SNiels Sascha Reedijk/*!
2545cfca119SNiels Sascha Reedijk	\fn GridBuilder	BLayoutBuilder::Cards<ParentBuilder>::AddGrid(
2555cfca119SNiels Sascha Reedijk		float horizontalSpacing, float verticalSpacing)
256*6758018aSNiels Sascha Reedijk	\copydoc GridBuilder BLayoutBuilder::Group<ParentBuilder>::AddGrid(
257*6758018aSNiels Sascha Reedijk		float horizontalSpacing, float verticalSpacing, float weight)
2585cfca119SNiels Sascha Reedijk
2595cfca119SNiels Sascha Reedijk	\param horizontalSpacing The horizontal spacing for the new BGridLayout.
2605cfca119SNiels Sascha Reedijk	\param verticalSpacing The vertical spacing for the new BGridLayout.
2615cfca119SNiels Sascha Reedijk
2625cfca119SNiels Sascha Reedijk	\returns A GridBuilder representing the newly created BGridLayout.
2635cfca119SNiels Sascha Reedijk
2645cfca119SNiels Sascha Reedijk	\since Haiku R1
2655cfca119SNiels Sascha Reedijk*/
2665cfca119SNiels Sascha Reedijk
2675cfca119SNiels Sascha Reedijk
2685cfca119SNiels Sascha Reedijk/*!
2695cfca119SNiels Sascha Reedijk	\fn GridBuilder BLayoutBuilder::Cards<ParentBuilder>::AddGrid(
2705cfca119SNiels Sascha Reedijk		BGridLayout* gridLayout)
271*6758018aSNiels Sascha Reedijk	\copybrief GridBuilder BLayoutBuilder::Group<ParentBuilder>::AddGrid(
272*6758018aSNiels Sascha Reedijk		BGridLayout* gridLayout, float weight)
2735cfca119SNiels Sascha Reedijk
2745cfca119SNiels Sascha Reedijk	\param gridLayout The BGridLayout to be added and used to construct the
2755cfca119SNiels Sascha Reedijk		returned GridBuilder.
2765cfca119SNiels Sascha Reedijk
2775cfca119SNiels Sascha Reedijk	\returns A GridBuilder representing \a gridLayout.
2785cfca119SNiels Sascha Reedijk
2795cfca119SNiels Sascha Reedijk	\since Haiku R1
2805cfca119SNiels Sascha Reedijk*/
2815cfca119SNiels Sascha Reedijk
2825cfca119SNiels Sascha Reedijk
2835cfca119SNiels Sascha Reedijk/*!
2845cfca119SNiels Sascha Reedijk	\fn GridBuilder	BLayoutBuilder::Cards<ParentBuilder>::AddGrid(
2855cfca119SNiels Sascha Reedijk		BGridView* gridView)
286*6758018aSNiels Sascha Reedijk	\copybrief GridBuilder	BLayoutBuilder::Group<ParentBuilder>::AddGrid(
287*6758018aSNiels Sascha Reedijk		BGridView* gridView, float weight)
2885cfca119SNiels Sascha Reedijk
2895cfca119SNiels Sascha Reedijk	\param gridView The BGridView to be added and used to construct the
2905cfca119SNiels Sascha Reedijk		returned GridBuilder.
2915cfca119SNiels Sascha Reedijk
292*6758018aSNiels Sascha Reedijk	\returns A GridBuilder representing the layout of the \a gridView.
2935cfca119SNiels Sascha Reedijk
2945cfca119SNiels Sascha Reedijk	\since Haiku R1
2955cfca119SNiels Sascha Reedijk*/
2965cfca119SNiels Sascha Reedijk
2975cfca119SNiels Sascha Reedijk
2985cfca119SNiels Sascha Reedijk/*!
2995cfca119SNiels Sascha Reedijk	\fn SplitBuilder BLayoutBuilder::Cards<ParentBuilder>::AddSplit(
3005cfca119SNiels Sascha Reedijk		orientation orientation, float spacing)
301*6758018aSNiels Sascha Reedijk	\copybrief SplitBuilder BLayoutBuilder::Group<ParentBuilder>::AddSplit(
302*6758018aSNiels Sascha Reedijk		orientation orientation, float spacing, float weight)
3035cfca119SNiels Sascha Reedijk
3045cfca119SNiels Sascha Reedijk	\param orientation The orientation of the new BSplitView.
3055cfca119SNiels Sascha Reedijk	\param spacing The spacing of the new BSplitView.
3065cfca119SNiels Sascha Reedijk
3075cfca119SNiels Sascha Reedijk	\returns A SplitBuilder representing the new BSplitView.
3085cfca119SNiels Sascha Reedijk
3095cfca119SNiels Sascha Reedijk	\since Haiku R1
3105cfca119SNiels Sascha Reedijk*/
3115cfca119SNiels Sascha Reedijk
3125cfca119SNiels Sascha Reedijk
3135cfca119SNiels Sascha Reedijk/*!
3145cfca119SNiels Sascha Reedijk	\fn SplitBuilder BLayoutBuilder::Cards<ParentBuilder>::AddSplit(
3155cfca119SNiels Sascha Reedijk		BSplitView* splitView)
316*6758018aSNiels Sascha Reedijk	\copybrief SplitBuilder BLayoutBuilder::Group<ParentBuilder>::AddSplit(
317*6758018aSNiels Sascha Reedijk		BSplitView* splitView, float weight)
3185cfca119SNiels Sascha Reedijk
3195cfca119SNiels Sascha Reedijk	\param splitView The BSplitView to be added.
3205cfca119SNiels Sascha Reedijk
321*6758018aSNiels Sascha Reedijk	\returns A SplitBuilder representing the \a splitView.
3225cfca119SNiels Sascha Reedijk
3235cfca119SNiels Sascha Reedijk	\since Haiku R1
3245cfca119SNiels Sascha Reedijk*/
3255cfca119SNiels Sascha Reedijk
3265cfca119SNiels Sascha Reedijk
3275cfca119SNiels Sascha Reedijk/*!
3285cfca119SNiels Sascha Reedijk	\fn CardBuilder BLayoutBuilder::Cards<ParentBuilder>::AddCards()
329*6758018aSNiels Sascha Reedijk	\copybrief CardBuilder BLayoutBuilder::Group<ParentBuilder>::AddCards(
330*6758018aSNiels Sascha Reedijk		float weight)
3315cfca119SNiels Sascha Reedijk
3325cfca119SNiels Sascha Reedijk	\returns A CardBuilder representing the new BCardLayout.
3335cfca119SNiels Sascha Reedijk
3345cfca119SNiels Sascha Reedijk	\since Haiku R1
3355cfca119SNiels Sascha Reedijk*/
3365cfca119SNiels Sascha Reedijk
3375cfca119SNiels Sascha Reedijk
3385cfca119SNiels Sascha Reedijk/*!
3395cfca119SNiels Sascha Reedijk	\fn CardBuilder BLayoutBuilder::Cards<ParentBuilder>::AddCards(
3405cfca119SNiels Sascha Reedijk		BCardLayout* cardLayout)
341*6758018aSNiels Sascha Reedijk	\copybrief CardBuilder BLayoutBuilder::Group<ParentBuilder>::AddCards(
342*6758018aSNiels Sascha Reedijk		BCardLayout* cardLayout, float weight)
3435cfca119SNiels Sascha Reedijk
3445cfca119SNiels Sascha Reedijk	\param cardLayout The existing layout that will be added to the underlying
3455cfca119SNiels Sascha Reedijk		BSplitView.
3465cfca119SNiels Sascha Reedijk
347*6758018aSNiels Sascha Reedijk	\returns A CardBuilder representing the \a cardLayout.
3485cfca119SNiels Sascha Reedijk
3495cfca119SNiels Sascha Reedijk	\since Haiku R1
3505cfca119SNiels Sascha Reedijk*/
3515cfca119SNiels Sascha Reedijk
3525cfca119SNiels Sascha Reedijk
3535cfca119SNiels Sascha Reedijk/*!
3545cfca119SNiels Sascha Reedijk	\fn CardBuilder BLayoutBuilder::Cards<ParentBuilder>::AddCards(
3555cfca119SNiels Sascha Reedijk		BCardView* cardView)
356*6758018aSNiels Sascha Reedijk	\copybrief CardBuilder BLayoutBuilder::Group<ParentBuilder>::AddCards(
357*6758018aSNiels Sascha Reedijk		BCardView* cardView, float weight)
3585cfca119SNiels Sascha Reedijk
3595cfca119SNiels Sascha Reedijk	\param cardView The existing view that will be added to the underlying
3605cfca119SNiels Sascha Reedijk		BSplitView.
3615cfca119SNiels Sascha Reedijk
362*6758018aSNiels Sascha Reedijk	\returns A CardBuilder representing the layout of t he \a cardView.
3635cfca119SNiels Sascha Reedijk
3645cfca119SNiels Sascha Reedijk	\since Haiku R1
3655cfca119SNiels Sascha Reedijk*/
3665cfca119SNiels Sascha Reedijk
3675cfca119SNiels Sascha Reedijk
3685cfca119SNiels Sascha Reedijk
3695cfca119SNiels Sascha Reedijk//! @}
3705cfca119SNiels Sascha Reedijk
3715cfca119SNiels Sascha Reedijk
3725cfca119SNiels Sascha Reedijk/*!
373*6758018aSNiels Sascha Reedijk	\name Explicit Sizes and Alignment
3745cfca119SNiels Sascha Reedijk*/
3755cfca119SNiels Sascha Reedijk
3765cfca119SNiels Sascha Reedijk
3775cfca119SNiels Sascha Reedijk//! @{
3785cfca119SNiels Sascha Reedijk
3795cfca119SNiels Sascha Reedijk
3805cfca119SNiels Sascha Reedijk/*!
3815cfca119SNiels Sascha Reedijk	\fn ThisBuilder& BLayoutBuilder::Cards<ParentBuilder>::SetExplicitMinSize(
3825cfca119SNiels Sascha Reedijk		BSize size)
383*6758018aSNiels Sascha Reedijk	\copydoc BLayoutBuilder::Group<ParentBuilder>::SetExplicitMinSize()
3845cfca119SNiels Sascha Reedijk*/
3855cfca119SNiels Sascha Reedijk
3865cfca119SNiels Sascha Reedijk
3875cfca119SNiels Sascha Reedijk/*!
3885cfca119SNiels Sascha Reedijk	\fn ThisBuilder& BLayoutBuilder::Cards<ParentBuilder>::SetExplicitMaxSize(
3895cfca119SNiels Sascha Reedijk		BSize size)
390*6758018aSNiels Sascha Reedijk	\copydoc BLayoutBuilder::Group<ParentBuilder>::SetExplicitMaxSize()
3915cfca119SNiels Sascha Reedijk*/
3925cfca119SNiels Sascha Reedijk
3935cfca119SNiels Sascha Reedijk
3945cfca119SNiels Sascha Reedijk/*!
3955cfca119SNiels Sascha Reedijk	\fn ThisBuilder& BLayoutBuilder::Cards<ParentBuilder>::SetExplicitPreferredSize(
3965cfca119SNiels Sascha Reedijk		BSize size)
397*6758018aSNiels Sascha Reedijk	\copydoc BLayoutBuilder::Group<ParentBuilder>::SetExplicitPreferredSize()
3985cfca119SNiels Sascha Reedijk*/
3995cfca119SNiels Sascha Reedijk
4005cfca119SNiels Sascha Reedijk
4015cfca119SNiels Sascha Reedijk/*!
4025cfca119SNiels Sascha Reedijk	\fn ThisBuilder& BLayoutBuilder::Cards<ParentBuilder>::SetExplicitAlignment(
4035cfca119SNiels Sascha Reedijk		BAlignment alignment)
404*6758018aSNiels Sascha Reedijk	\copydoc BLayoutBuilder::Group<ParentBuilder>::SetExplicitAlignment()
4055cfca119SNiels Sascha Reedijk*/
4065cfca119SNiels Sascha Reedijk
4075cfca119SNiels Sascha Reedijk
4085cfca119SNiels Sascha Reedijk//! @}
4095cfca119SNiels Sascha Reedijk
4105cfca119SNiels Sascha Reedijk
4115cfca119SNiels Sascha Reedijk/*!
4125cfca119SNiels Sascha Reedijk	\name Visible Item
4135cfca119SNiels Sascha Reedijk*/
4145cfca119SNiels Sascha Reedijk
4155cfca119SNiels Sascha Reedijk
4165cfca119SNiels Sascha Reedijk//! @{
4175cfca119SNiels Sascha Reedijk
4185cfca119SNiels Sascha Reedijk
4195cfca119SNiels Sascha Reedijk/*!
4205cfca119SNiels Sascha Reedijk	\fn ThisBuilder& BLayoutBuilder::Cards<ParentBuilder>::SetVisibleItem(
4215cfca119SNiels Sascha Reedijk		int32 index)
4225cfca119SNiels Sascha Reedijk	\brief Set the current visible item to the item at \a index.
4235cfca119SNiels Sascha Reedijk
4245cfca119SNiels Sascha Reedijk	\see BCardLayout::SetVisibleItem(int32)
4255cfca119SNiels Sascha Reedijk*/
4265cfca119SNiels Sascha Reedijk
4275cfca119SNiels Sascha Reedijk
4285cfca119SNiels Sascha Reedijk//! @}
429