ref: e74727d7e806863494a92d4b5cdcefdeee7495e9
dir: /libwidget/grid.h/
/*** Grid ***/ typedef struct Gridentry Gridentry; struct Gridentry { Widget; Box *content; Point position, size; /**/ Gridentry *next; }; int isgridentry(Widget*); Gridentry* newgridentry(Point position, Point size, Widget*); /**/ typedef struct Grid Grid; struct Grid { Widget; Point size; Gridentry *widgets; }; int isgrid(Widget*); Point gridsize(Widget*); Gridentry* gridat(Widget*, Point); extern Point GRID_DYNAMIC_SIZE; Grid* newgrid(Point size, Gridentry**);