shithub: libnate

ref: c9e889a6d73bcfcd63a93a8f74732411304ef257
dir: /n_hbox.h/

View raw version
extern char* NHBox_Type;

#define NTYPE NHBox
#define NACCS NHBoxAccessors

typedef struct NACCS NACCS;
struct NACCS {
	Nelemaccessors;
	DECL_SLOTFUNC(Slot);
	DECL_ACCESSOR_OneParam(AutoHeight, int);
};

typedef struct NHBox NHBox;
struct NHBox {
	Nelem;
	
	// private members
	int autoheight;
};

NACCS* New_HBox(char*);

#undef NACCS
#undef NTYPE