A container that arranges its contents like words on a page.
More...
#include <flowcontainer.h>
|
| Layout & | getLayout () |
| | Gets the layout handler for this container.
|
| |
| LayoutCell & | place (int x, int y, gcn::Widget *wg, int w=1, int h=1) |
| | Adds a widget to the container and sets it at given cell.
|
| |
| ContainerPlacer | getPlacer (int x, int y) |
| | Returns a proxy for adding widgets in an inner table of the layout.
|
| |
A container that arranges its contents like words on a page.
Definition at line 32 of file flowcontainer.h.
◆ FlowContainer()
| FlowContainer::FlowContainer |
( |
int |
boxWidth, |
|
|
int |
boxHeight |
|
) |
| |
◆ add()
| void FlowContainer::add |
( |
gcn::Widget * |
widget | ) |
|
|
override |
◆ getBoxHeight()
| int FlowContainer::getBoxHeight |
( |
| ) |
const |
|
inline |
◆ getBoxWidth()
| int FlowContainer::getBoxWidth |
( |
| ) |
const |
|
inline |
◆ widgetResized()
| void FlowContainer::widgetResized |
( |
const gcn::Event & |
event | ) |
|
|
override |
Invoked when a widget changes its size.
This is used to determine the new height of the container.
Definition at line 30 of file flowcontainer.cpp.
◆ mBoxHeight
| int FlowContainer::mBoxHeight |
|
private |
◆ mBoxWidth
| int FlowContainer::mBoxWidth |
|
private |
◆ mGridHeight
| int FlowContainer::mGridHeight = 1 |
|
private |
◆ mGridWidth
| int FlowContainer::mGridWidth = 1 |
|
private |
The documentation for this class was generated from the following files: