Gui+=window.create(Rect_C(0,0,0.8,0.6),"Properties"); // create window
// setup properties
props.New().create(MEMBER(SampleClass, bool_member), "bool_member"); // set property for ' bool_member'
props.New().create(MEMBER(SampleClass, int_member), "int_member"); // set property for ' int_member'
props.New().create(MEMBER(SampleClass, flt_member), "flt_member").range (0,1); // set property for ' flt_member' and optionally clamp the values range
props.New().create(MEMBER(SampleClass, enum_member), "enum_member").setEnum (enum_names,ELMS(enum_names)); // set property for ' enum_member'
props.New().create(MEMBER(SampleClass, color_member), "color_member").setColor(); // set property for ' color_member'
props.New().create(DataDesc(DATA_INT).setFunc(PrivateMember,PrivateMember),"private_member"); // set property for 'private_member'
// add properties to the window
static TextDS text_ds; text_ds=Gui.tds_text; text_ds.align.set(-1,0); // set text draw settings
AddProperties(props,window,Vec2(0.04,-0.04),&text_ds,0.3);