|
Mana
|
This class is a helper for adding widgets to nested tables in a window. More...
#include <layout.h>
Public Member Functions | |
| ContainerPlacer (gcn::Container *c=nullptr, LayoutCell *l=nullptr) | |
| LayoutCell & | getCell () |
| Gets the pointed cell. | |
| ContainerPlacer | at (int x, int y) |
| Returns a placer for the same container but to an inner cell. | |
| LayoutCell & | operator() (int x, int y, gcn::Widget *, int w=1, int h=1) |
| Adds the given widget to the container and places it in the layout. | |
Private Attributes | |
| gcn::Container * | mContainer |
| LayoutCell * | mCell |
This class is a helper for adding widgets to nested tables in a window.
|
inline |
| ContainerPlacer ContainerPlacer::at | ( | int | x, |
| int | y | ||
| ) |
Returns a placer for the same container but to an inner cell.
Definition at line 26 of file layout.cpp.
|
inline |
| LayoutCell & ContainerPlacer::operator() | ( | int | x, |
| int | y, | ||
| gcn::Widget * | wg, | ||
| int | w = 1, |
||
| int | h = 1 |
||
| ) |
Adds the given widget to the container and places it in the layout.
Definition at line 31 of file layout.cpp.
|
private |