From d78dd03c6ba358d668067f39a528061d0186fee2 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Mon, 23 Jun 2003 17:26:23 +0000 Subject: [PATCH] Cosmetic changes --- Fltk/GUI.cpp | 12 ++++++------ Graphics/PostElement.cpp | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Fltk/GUI.cpp b/Fltk/GUI.cpp index df4ca12dcf..5cb2a0dd3d 100644 --- a/Fltk/GUI.cpp +++ b/Fltk/GUI.cpp @@ -1,4 +1,4 @@ -// $Id: GUI.cpp,v 1.243 2003-06-23 16:52:17 geuzaine Exp $ +// $Id: GUI.cpp,v 1.244 2003-06-23 17:26:23 geuzaine Exp $ // // Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle // @@ -2127,20 +2127,20 @@ void GUI::create_option_window() view_value[60]->align(FL_ALIGN_RIGHT); view_value[60]->callback(set_changed_cb, 0); + view_value[63] = new Fl_Value_Input(2 * WB, 2 * WB + 7 * BH, IW, BH, "Displacement factor"); + view_value[63]->align(FL_ALIGN_RIGHT); + view_value[63]->callback(set_changed_cb, 0); + static Fl_Menu_Item menu_vecloc[] = { {"Cell centered", 0, 0, 0}, {"Vertex centered", 0, 0, 0}, {0} }; - view_choice[3] = new Fl_Choice(2 * WB, 2 * WB + 7 * BH, IW, BH, "Arrow location"); + view_choice[3] = new Fl_Choice(2 * WB, 2 * WB + 8 * BH, IW, BH, "Arrow location"); view_choice[3]->menu(menu_vecloc); view_choice[3]->align(FL_ALIGN_RIGHT); view_choice[3]->callback(set_changed_cb, 0); - view_value[63] = new Fl_Value_Input(2 * WB, 2 * WB + 8 * BH, IW, BH, "Displacement factor"); - view_value[63]->align(FL_ALIGN_RIGHT); - view_value[63]->callback(set_changed_cb, 0); - static Fl_Menu_Item menu_tensor[] = { {"Von-Mises", 0, 0, 0}, //{"Eigenvectors", 0, 0, 0}, //not implemented yet diff --git a/Graphics/PostElement.cpp b/Graphics/PostElement.cpp index b3ea9d13b9..d64dcf1428 100644 --- a/Graphics/PostElement.cpp +++ b/Graphics/PostElement.cpp @@ -1,4 +1,4 @@ -// $Id: PostElement.cpp,v 1.17 2003-06-23 16:52:17 geuzaine Exp $ +// $Id: PostElement.cpp,v 1.18 2003-06-23 17:26:23 geuzaine Exp $ // // Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle // @@ -766,8 +766,8 @@ void Draw_VectorElement(int type, Post_View * View, double *X, double *Y, double *Z, double *V) { int j, k, nbnod = 0; - double fact, xx[8], yy[8], zz[8], xc = 0., yc = 0., zc = - 0., Val[8][3], d[8]; + double fact, xx[8], yy[8], zz[8], xc = 0., yc = 0., zc = 0.; + double Val[8][3], d[8]; double dx = 0., dy = 0., dz = 0., dd; char Num[100]; -- GitLab