diff --git a/Fltk/GUI.cpp b/Fltk/GUI.cpp index e214c8edba42d8494ca1a18eb0fdbb4256d345e3..c0921e35859f5ae71f5c4227cad66418d8e604e7 100644 --- a/Fltk/GUI.cpp +++ b/Fltk/GUI.cpp @@ -1,4 +1,4 @@ -// $Id: GUI.cpp,v 1.586 2006-12-16 15:44:28 geuzaine Exp $ +// $Id: GUI.cpp,v 1.587 2006-12-18 13:19:32 geuzaine Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -4309,12 +4309,12 @@ void GUI::create_about_window() } { - Fl_Button *o = new Fl_Button(width - 2*BB - 2*WB, height - BH - WB, BB, BH, "License"); + Fl_Button *o = new Fl_Button(width/2 - BB - WB/2, height - BH - WB, BB, BH, "License"); o->callback(help_license_cb); } { - Fl_Button *o = new Fl_Button(width - 1*BB - 1*WB, height - BH - WB, BB, BH, "Credits"); + Fl_Button *o = new Fl_Button(width/2 + WB/2, height - BH - WB, BB, BH, "Credits"); o->callback(help_credits_cb); } diff --git a/tutorial/t8.geo b/tutorial/t8.geo index 6f56a1a069671ba16806f74636939aff63c60cc7..2f8a1c4a2c5a0e5718dc4de145a048ef900dbb6a 100644 --- a/tutorial/t8.geo +++ b/tutorial/t8.geo @@ -66,7 +66,6 @@ View[v3].Visible = 0; t = 0 ; - //For num In {1:1} For num In {1:255} diff --git a/tutorial/t9.geo b/tutorial/t9.geo index 76aad5760f9a48b6c9b22f05b1fc3629537af605..0a38c2c10d30c1b70cb47b8e97cd881c376721d1 100644 --- a/tutorial/t9.geo +++ b/tutorial/t9.geo @@ -54,17 +54,11 @@ Plugin(Annotate).Font = "Times-Roman" ; Plugin(Annotate).FontSize = 12 ; Plugin(Annotate).Run ; -// We finish by setting some options and redrawing the scene: - -General.BackgroundGradient = 1; +// We finish by setting some options: View[0].Light = 1; View[0].IntervalsType = 1; View[0].NbIso = 6; View[0].SmoothNormals = 1; - View[1].IntervalsType = 2; - View[2].IntervalsType = 2; - -Draw;