- Your Widget Set For OpenGL
#include <uborderlayout.hpp>
Inheritance diagram for ufo::UBorderLayout:

Public Member Functions | |
| UBorderLayout (int hgap=2, int vgap=2) | |
| virtual void | layoutContainer (const UWidget *parent) |
| virtual UDimension | getPreferredLayoutSize (const UWidget *parent, const UDimension &maxSize) const |
Static Public Attributes | |
| const UString * | Center |
| const UString * | North |
| const UString * | South |
| const UString * | East |
| const UString * | West |
Protected Member Functions | |
| UWidget * | getChildWidgetAt (const UWidget *container, const UString *position) const |
UBorderLayout::Center (or NULL) for the centered main widget, UBorderLayout::North for the northern widget, UBorderLayout::South for the southern widget, UBorderLayout::East for the eastern widget, UBorderLayout::West for the western widget.
|
||||||||||||
|
Creates a new border layout with a default horizontal and vertical gap between childs of 2 pixels. |
|
||||||||||||
|
Determines the child widget of the given container, which should be placed at the given position. |
|
||||||||||||
|
Implements ufo::ULayoutManager.
|
|
|
Relayouts all child widgets within the given container. Implements ufo::ULayoutManager.
|
|
|
Use this as constraint attribute for the centered child widget.
|
|
|
Use this as constraint attribute for the eastern child widget.
|
|
|
Use this as constraint attribute for the northern child widget.
|
|
|
Use this as constraint attribute for the southern child widget.
|
|
|
Use this as constraint attribute for the western child widget.
|