Skip to content
Snippets Groups Projects
Commit f89c75dc authored by vigmond's avatar vigmond
Browse files

update visible button

parent 4f69543e
No related branches found
No related tags found
No related merge requests found
......@@ -771,7 +771,7 @@ else mwtb->undatify(SurfEle);}
xywh {0 0 30 20} type Toggle
}
MenuItem surfdisp {
label {Surface Elements}
label {Surface Faces}
user_data surfdisp
callback {if(((Fl_Menu_Item*)v)->checked() ) mwtb->datify(Surface);
else mwtb->undatify(Surface);}
......@@ -1194,7 +1194,7 @@ mwtb->bf_light(1);}
}
}
Fl_Group surfgrp {
label Surface
label Surface open
xywh {15 304 325 221} color 93 labelfont 1 labelsize 12 labelcolor 90 hide
} {
Fl_Light_Button surfvisbut {
......@@ -1601,7 +1601,7 @@ mwtb->redraw();}
mwtb->redraw(VBO_Aux);}
xywh {25 325 35 25} value 1 labelsize 10
}
Fl_Group auxDataGrp {open
Fl_Group auxDataGrp {
xywh {25 309 310 75}
} {
Fl_Choice auxcstype {
......@@ -2005,7 +2005,7 @@ mwtb->redraw();}
}
}
}
Fl_Group colorscalegrp {open
Fl_Group colorscalegrp {
xywh {10 535 330 70} box ENGRAVED_BOX when 0
code0 {\#include "ColourGroup.h"}
class ColourGroup
......@@ -2156,7 +2156,7 @@ mwtb->redraw(VBO_Colour|VBO_Isoline_Color);}
tooltip {sync colours} image {images/broadcast.png} xywh {255 580 45 20}
}
}
Fl_Group animate_group {open
Fl_Group animate_group {
xywh {10 609 330 86} box ENGRAVED_BOX
} {
Fl_Box tmslider {
......@@ -2308,7 +2308,7 @@ flyby = new FlyBy( mwtb, this );
lightorient->window(mwtb);
lightorient->Rot(Quaternion(0.,0.,1.,0.));} {}
}
Function {pick_surf_color(Object_t ot, string winlab, surfColourChoice *cc=NULL)} {return_type {surfColourChoice *}
Function {pick_surf_color(Object_t ot, string winlab, surfColourChoice *cc=NULL)} {open return_type {surfColourChoice *}
} {
code {int msz = surflist->nitems();
......@@ -2325,6 +2325,7 @@ for( int mi=0; mi<surflist->nitems(); mi++ )
winlab += " ";
col = mwtb->get_color(ot, mi);
mwtb->model->get_mat( mi, matprop[0], matprop[1], matprop[2], matprop[3] );
surfvisbut->value(mwtb->model->surface(mi)->visible());
break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment