ref: 69e287559e1faed50092d64659c5bc02f9bf395c
dir: /n_box.h/
extern char* NBox_Type;
typedef struct NBox NBox;
struct NBox {
Nelem;
DECL_SLOTFUNC(NBox, Slot);
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*);