Hi,
I have been working on a sytem that easily creates collapsable menues from texts.



Code:
TEXT *txtCamera =
{
	string =
	(
		".space=2",
		"Pan.slider=-180,180,1,%.0f,camera->pan,evnCameraLocate",
		"Tilt.slider=-90,90,1,%.0f,camera->tilt,evnCameraLocate",
		".space=2",
		"Distance.slider=10,200,1,%.0f,nCameraDistance,evnCameraLocate",
		"Arc.slider=1,179,1,%.0f,camera->arc",
		".space=2",
		"Ambient.slider=0,100,1,%.0f,camera->ambient",
		"Background color.sub=txtBackgroundColor",
		".space=3"
	);
}



Here is the first version far from been finished. What do you think? Is it valuable?