26#include <guichan/widgetlistener.hpp>
This class is a helper for adding widgets to nested tables in a window.
This class describes the formatting of a widget in the cell of a layout table.
A helper class for adding a layout to a Guichan container widget.
LayoutCell & place(int x, int y, gcn::Widget *, 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.
Layout & getLayout()
Gets the layout handler.
void reflowLayout(int w=0, int h=0)
Computes the position of the widgets according to the current layout.
gcn::Container * mContainer
Managed container.
Layout mLayout
Layout handler.
void widgetResized(const gcn::Event &event) override
Called whenever the managed container changes size.
This class is an helper for setting the position of widgets.