From aa10e9f3b4daca94a76a1ff4b9206dbfa5ce19a4 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Mon, 18 Dec 2006 13:19:32 +0000 Subject: [PATCH] pp --- Fltk/GUI.cpp | 6 +++--- tutorial/t8.geo | 1 - tutorial/t9.geo | 8 +------- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/Fltk/GUI.cpp b/Fltk/GUI.cpp index e214c8edba..c0921e3585 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 6f56a1a069..2f8a1c4a2c 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 76aad5760f..0a38c2c10d 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; -- GitLab