Skip to content
Snippets Groups Projects
Commit 209aa4ad authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

Oups, forgot some 0.2 for gl2psLineWidth

parent 70db54fc
Branches
Tags
No related merge requests found
// $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++){
......
// $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);
......
// $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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment