#include <layout.h>
Definition at line 34 of file layout.h.
Public Member Functions | |
| ContainerPlacer (gcn::Container *c=NULL, LayoutCell *l=NULL) | |
| 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 |
| ContainerPlacer::ContainerPlacer | ( | gcn::Container * | c = NULL, |
|
| LayoutCell * | l = NULL | |||
| ) | [inline] |
| LayoutCell& ContainerPlacer::getCell | ( | ) | [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.
| 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 32 of file layout.cpp.
gcn::Container* ContainerPlacer::mContainer [private] |
LayoutCell* ContainerPlacer::mCell [private] |
1.5.5