6
#include "mdc_common.h"
7
#include "mdc_layouter.h"
11
typedef unsigned short GridIndex;
13
class Grid : public Layouter {
15
Grid(CanvasView *canvas, GridIndex rows, GridIndex cols);
17
virtual void add(CanvasItem *item, GridIndex row, GridIndex col, GridIndex rspan=1, GridIndex cspan=1);
19
virtual void relayout();
33
std::vector<GridRow> _rows;
40
#endif /* _MDC_GRID_H_ */