int main (int argc, char ** argv){
	GLV top;
	top.colors().set(Color(HSV(0.6,0.5,0.5), 0.9), 0.4);
	top << scene;

	Window win(800, 600, "Space Curve", &top);
	Application::run();
}
Exemple #2
0
int main(){

	// Create the Views
	GLV top;
	
	top.colors().set(StyleColor::WhiteOnBlack);
	//top.colors().set(StyleColor::SmokeyGray);

	//Grid v1(Rect(700,500));
	//v1.pos(Place::CC).anchor(0.5,0.5);
	
	Grid v1(Rect(0,0));
	v1.stretch(1,1);
	//v1.disable(CropSelf);
	top << v1;
	
	Window win(800,800, "Grid", &top);

	Application::run();
}