ref: 812d84e15bf64b6bdad838401acd8c8bbf25342b
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, OnclickHandler, 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(char*);