ref: 6ff9ef0c4bef23bfd91f33f0c2f5cab0b88c0307
dir: /n_box.h/
extern char* NBox_Type; typedef struct NBox NBox; struct NBox { Nelem; DECL_ACCESSOR_OneParam(NBox, Slot, Nelem*); DECL_ACCESSOR_TwoParams(NBox, Border, int, Image*); DECL_ACCESSOR_OneParam(NBox, SizeToContent, int); DECL_ACCESSOR_TwoParams(NBox, OnClick, int (*f)(Mouse, Nelem*, void*), void*); // private members Nlist child; int sizetocontent; int borderwidth; Image* bordercolor; int (*hitfunc)(Mouse, Nelem*, void*); void* hitaux; }; NBox* New_Box(void);