ref: c04fd4ce67a03c04b342c38185523bb834f4e0b7
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);