ref: e74727d7e806863494a92d4b5cdcefdeee7495e9
dir: /libwidget/box.h/
/*** Box ***/
typedef struct Box Box;
struct Box
{
Widget;
Widget *content;
int flags;
Point maxsize;
/* don't touch */
int focused;
Rectangle bounds;
};
enum /* flags */
{
B_CENTER_CONTENT = 1<<0
};
int isbox(Widget*);
Box* newbox(Widget*, int flags);
Box* newcenterbox(Widget*);