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

Public Types | |
| enum | { XAxis = Horizontal, YAxis = Vertical } |
Public Member Functions | |
| UBoxLayout () | |
| UBoxLayout (int orientation) | |
| UBoxLayout (int hgap, int vgap) | |
| UBoxLayout (int orientation, int hgap, int vgap) | |
| virtual void | layoutContainer (const UWidget *container) |
| virtual UDimension | getPreferredLayoutSize (const UWidget *container, const UDimension &maxSize) const |
Protected Member Functions | |
| virtual int | getTotalFlex (const UWidget *container) |
Protected Attributes | |
| int | m_orientation |
| int | m_hgap |
| int | m_vgap |
|
|
Creates a new box layout which uses the orientation of the container widget as orientation. Vertical and horizontal spacing between child widgets is 2. |
|
|
Creates a new box layout with the given orientation. Vertical and horizontal spacing between child widgets is 2. |
|
||||||||||||
|
Implements ufo::ULayoutManager.
|
|
|
Relayouts all child widgets within the given container. Implements ufo::ULayoutManager.
|
|
|
horizontal gap between widgets |
|
|
vertical gap between widgets |