shithub: libnate

ref: c9e889a6d73bcfcd63a93a8f74732411304ef257
dir: /n_vbox.h/

View raw version
extern char* NVBox_Type;

#define NTYPE NVBox
#define NACCS NVBoxAccessors

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

typedef struct NVBox NVBox;
struct NVBox {
	Nelem;
	
	// private members
	int autowidth;
};

NACCS* New_VBox(char*);

#undef NTYPE
#undef NACCS