ref: a0b15f88e6274b4892061a7dfe790d85eb211078
dir: /n_button.h/
extern char* NButton_Type;
typedef struct NButton NButton;
struct NButton {
Nelem;
DECL_ACCESSOR_OneParam(NButton, Slot, Nelem*);
DECL_ACCESSOR_TwoParams(NButton, Border, int, Image*);
DECL_ACCESSOR_OneParam(NButton, SizeToContent, int);
DECL_ACCESSOR_TwoParams(NButton, OnClick, int (*f)(Mouse, Nelem*, void*), void*);
DECL_ACCESSOR_OneParam(NButton, Label, char*);
DECL_ACCESSOR_OneParam(NButton, LabelFunc, char* (*f)(void));
DECL_ACCESSOR_OneParam(NButton, Font, Font*);
DECL_ACCESSOR_OneParam(NButton, Color, Image*);
// private members
NBox *box;
NLabel *label;
};
NButton* New_Button(void);