Commit 5941f260 authored by Edward Vigmond's avatar Edward Vigmond
Browse files

Rearranged buttons

parent 6a99c598
......@@ -67,7 +67,7 @@ class Controls {open
} {
Fl_Window window {
label {Meshalyzer Controls} open
xywh {1537 58 350 650} type Double box UP_BOX
xywh {1402 58 350 650} type Double box UP_BOX
code0 {\#include <FL/Fl_Color_Chooser.H>}
code1 {\#include "VecData.h"} visible
} {
......@@ -1203,7 +1203,7 @@ mwtb->redraw();}
mwtb->redraw();}
xywh {205 380 55 20} labelsize 12 maximum 1e+06 step 5 value 50
}
Fl_Choice auxptstyle {selected
Fl_Choice auxptstyle {
xywh {260 380 50 20} down_box BORDER_BOX labelsize 10 align 8
code0 {o->value(2);}
} {
......@@ -1492,7 +1492,7 @@ mwtb->redraw();}
}
}
Fl_Group animate_group {open
xywh {10 555 330 80} box ENGRAVED_BOX
xywh {10 555 330 85} box ENGRAVED_BOX
} {
Fl_Box tmslider {
label time
......@@ -1504,12 +1504,12 @@ mwtb->redraw();}
Fl_Button {} {
label {@>>}
callback {mwtb->animate_skip( int(frameskip->value()),this );}
tooltip {start animation} xywh {245 570 40 25} labelcolor 71
tooltip {start animation} xywh {245 560 25 35} labelcolor 71
}
Fl_Button {} {
label {@||}
callback {mwtb->animate_skip(0,this);}
tooltip {stop animation} xywh {290 570 40 25} labelcolor 1
tooltip {stop animation} xywh {275 560 25 35} labelcolor 1
}
Fl_Counter frameskip {
label {\#frames}
......@@ -1521,9 +1521,9 @@ mwtb->redraw();}
callback {mwtb->animate_delay(o->value()/1000.);}
tooltip {delay between frames (ms )} xywh {260 620 70 20} maximum 2000 step 5 value 10
}
Fl_Button {} {
Fl_Button tsync_but {
callback {mwtb->SendTimeSyncMessage();}
image {sync-icon.png} xywh {290 559 40 25} resizable
image {sync-icon.png} xywh {305 560 25 35} resizable
}
}
}
......@@ -1607,13 +1607,15 @@ mwtb->trackball.Rotation(-view*M_PI_2,zaxis);
mwtb->redraw();} {}
}
Function {set_tet_region( Model *model)} {} {
Function {set_tet_region( Model *model)} {open
} {
code {for( int i=0; i<model->_numReg; i++ ) {
char text[256];
sprintf( text, "%d", (model->region(i))->label() );
reglist->add( text, NULL );
reglist->add( text, 0 );
reglist->checked(i+1,1);
}} {}
}} {selected
}
}
Function {regselected()} {return_type {bool *}
} {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment