ref: 1890aeca379976e46deabb0ce844aefc8be1a2c5
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, AutoSize, int);
DECL_ACCESSOR_OneParam(NBox, Size, Point);
DECL_ACCESSOR_TwoParams(NBox, OnClick, OnclickHandler, void*);
DECL_ACCESSOR_OneParam(NBox, Padding, Nmargin);
// private members
Point size;
int autosize;
int borderwidth;
Nmargin padding;
Image* bordercolor;
int (*hitfunc)(Mouse, Nelem*, void*);
void* hitaux;
int ishit;
};
NBox* New_Box(char*);