From 209aa4adc4a53786dba4b6bc249d87125abaa4fb Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Mon, 19 Nov 2001 14:40:25 +0000 Subject: [PATCH] Oups, forgot some 0.2 for gl2psLineWidth --- Fltk/GUI.cpp | 10 +++++----- Graphics/Axes.cpp | 6 +++--- Graphics/Graph2D.cpp | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Fltk/GUI.cpp b/Fltk/GUI.cpp index c7be7345ed..36a0ec387c 100644 --- a/Fltk/GUI.cpp +++ b/Fltk/GUI.cpp @@ -1,4 +1,4 @@ -// $Id: GUI.cpp,v 1.132 2001-11-19 14:24:02 geuzaine Exp $ +// $Id: GUI.cpp,v 1.133 2001-11-19 14:40:25 geuzaine Exp $ // To make the interface as visually consistent as possible, please: // - use the IW, BB, BH, BW and WB values @@ -1017,7 +1017,7 @@ void GUI::create_general_options_window(){ gen_value[6]->maximum(50); gen_value[6]->step(1); gen_value[7] = new Fl_Value_Input(2*WB, 2*WB+4*BH, IW, BH, "Line width"); - gen_value[7]->minimum(0.2); + gen_value[7]->minimum(0.1); gen_value[7]->maximum(20); gen_value[7]->step(0.1); for(i=6 ; i<= 7 ; i++){ @@ -1187,7 +1187,7 @@ void GUI::create_geometry_options_window(){ geo_value[3]->maximum(50); geo_value[3]->step(1); geo_value[4] = new Fl_Value_Input(2*WB, 2*WB+2*BH, IW, BH, "Line width"); - geo_value[4]->minimum(0.2); + geo_value[4]->minimum(0.1); geo_value[4]->maximum(20); geo_value[4]->step(0.1); for(i=3 ; i<= 4 ; i++){ @@ -1383,7 +1383,7 @@ void GUI::create_mesh_options_window(){ mesh_value[10]->maximum(50); mesh_value[10]->step(1); mesh_value[11] = new Fl_Value_Input(2*WB, 2*WB+6*BH, IW, BH, "Line width"); - mesh_value[11]->minimum(0.2); + mesh_value[11]->minimum(0.1); mesh_value[11]->maximum(20); mesh_value[11]->step(0.1); for(i=9 ; i<= 11 ; i++){ @@ -2321,7 +2321,7 @@ void GUI::create_view_options_window(int num){ view_value[61]->maximum(50); view_value[61]->step(1); view_value[62] = new Fl_Value_Input(2*WB, 2*WB+ 2*BH, IW, BH, "Line width"); - view_value[62]->minimum(0.2); + view_value[62]->minimum(0.1); view_value[62]->maximum(20); view_value[62]->step(0.1); for(i=60 ; i<=62 ; i++){ diff --git a/Graphics/Axes.cpp b/Graphics/Axes.cpp index e21614bc55..97c9a19fc1 100644 --- a/Graphics/Axes.cpp +++ b/Graphics/Axes.cpp @@ -1,4 +1,4 @@ -// $Id: Axes.cpp,v 1.11 2001-11-19 14:24:02 geuzaine Exp $ +// $Id: Axes.cpp,v 1.12 2001-11-19 14:40:25 geuzaine Exp $ #include "Gmsh.h" #include "GmshUI.h" @@ -24,7 +24,7 @@ void Draw_Axes (double s) { c = 0.666 * b; glLineWidth(0.2); - gl2psLineWidth(1*CTX.print.eps_line_width_factor); + gl2psLineWidth(0.2*CTX.print.eps_line_width_factor); glColor4ubv((GLubyte*)&CTX.color.axes); glBegin(GL_LINES); @@ -118,7 +118,7 @@ void Draw_SmallAxes(void){ zx = l*CTX.rot[2][0] ; zy = l*CTX.rot[2][1] ; glLineWidth(0.2); - gl2psLineWidth(1*CTX.print.eps_line_width_factor); + gl2psLineWidth(0.2*CTX.print.eps_line_width_factor); glColor4ubv((GLubyte*)&CTX.color.small_axes); glBegin(GL_LINES); diff --git a/Graphics/Graph2D.cpp b/Graphics/Graph2D.cpp index cc1d5ec775..1c592bab4a 100644 --- a/Graphics/Graph2D.cpp +++ b/Graphics/Graph2D.cpp @@ -1,4 +1,4 @@ -// $Id: Graph2D.cpp,v 1.13 2001-11-19 14:24:02 geuzaine Exp $ +// $Id: Graph2D.cpp,v 1.14 2001-11-19 14:40:25 geuzaine Exp $ #include "Gmsh.h" #include "GmshUI.h" @@ -146,7 +146,7 @@ static void Draw_Graph2D(Post_View *v, glLineStipple(1,0x1111); gl2psEnable(GL2PS_LINE_STIPPLE); glLineWidth(0.2); - gl2psLineWidth(1 * CTX.print.eps_line_width_factor); + gl2psLineWidth(0.2 * CTX.print.eps_line_width_factor); glBegin(GL_LINES); glVertex2d(xtop,ytop-i*dy); glVertex2d(xtop+width,ytop-i*dy); @@ -228,7 +228,7 @@ static void Draw_Graph2D(Post_View *v, glLineStipple(1,0x1111); gl2psEnable(GL2PS_LINE_STIPPLE); glLineWidth(0.2); - gl2psLineWidth(1 * CTX.print.eps_line_width_factor); + gl2psLineWidth(0.2 * CTX.print.eps_line_width_factor); glBegin(GL_LINES); glVertex2d(xtop+i*dx,ytop); glVertex2d(xtop+i*dx,ybot); -- GitLab