|
Public Types |
| enum | Style {
FIXED = 0,
GROW_X = 1 << 0,
MOVE_X = 1 << 1,
GROW_Y = 1 << 2,
MOVE_Y = 1 << 3,
GROW_XY = (GROW_X | GROW_Y),
MOVE_XY = (MOVE_X | MOVE_Y),
DOCK_LEFT = 1 << 4,
DOCK_TOP = 1 << 5,
DOCK_RIGHT = 1 << 6,
DOCK_BOTTOM = 1 << 7,
DOCK_ALL = (DOCK_LEFT | DOCK_TOP | DOCK_RIGHT | DOCK_BOTTOM)
} |
Public Member Functions |
| ErrCode | Add (HWidget *pWidget, uint32 uFlags=FIXED, int32 nMinXDim=0, int32 nMinYDim=0) |
| | Adds a widget to the box.
|
| virtual ErrCode | Draw (HRect &rDirty) |
| | Draws the client area of the box.
|
| ErrCode | Remove (HWidget *pWidget) |
| | Removes a widget from the box.
|
| virtual ErrCode | UpdateLayout (void) |
| | Repositions all the widgets inside the window.
|
| HWidget * | GetNthWidget (uint32 udx) const |
| | Returns the Nth widget in the box.
|
| ErrCode | SetWidgetMinHeight (HWidget *pWidget, int32 nMinYDim=0) |
| | Sets the minimum allowed height for a given widget.
|
| ErrCode | SetWidgetMinWidth (HWidget *pWidget, int32 nMinXDim=0) |
| | Sets the minimum allowed height for a given widget.
|
| ErrCode | SetWidgetMinSize (HWidget *pWidget, int32 nMinXDim=0, int32 nMinYDim=0) |
| | Sets the minimum allowed size for a given widget.
|
| ErrCode | SetWidgetStyle (HWidget *pWidget, uint32 uFlags) |
| | Sets the style for a given widget.
|
Protected Types |
typedef HArray< HLayoutInfo
>::iterator | InfoIter |
Protected Member Functions |
| uint32 | findWidget (HWidget *pWidget) |
| | Finds a given widget in the HLayoutInfo array.
|
|
uint32 | indexOf (InfoIter it) |
Protected Attributes |
|
HRect | m_rClient |
| | !< Bounds of box client after last UpdateLayout() call
|