shithub: libnate

ref: 794e2ee40b0345746539fbd41ad0eda122f8603e
dir: /n_hbox.h/

View raw version
extern char* NHBox_Type;

typedef struct NHBox NHBox;
struct NHBox {
	Nelem;
	DECL_ACCESSOR_OneParam(NHBox, Slot, Nelem*);
	DECL_ACCESSOR_OneParam(NHBox, SizeToContent, int);
	
	// private members
	Nlist children;
	int sizetocontent;
};

NHBox* New_HBox(char*);