Commit dc425449 authored by vigmond's avatar vigmond

Small bug interpreting time series

parent 2a8cdaec
...@@ -91,7 +91,7 @@ DataOnDemand<T>::DataOnDemand( const char *fn, int slsz ) ...@@ -91,7 +91,7 @@ DataOnDemand<T>::DataOnDemand( const char *fn, int slsz )
maxtm = -1; maxtm = -1;
throw PointMismatch(slice_size,hdr->slice_sz()); throw PointMismatch(slice_size,hdr->slice_sz());
} }
maxtm = hdr->dim_t(); maxtm = hdr->t();
_dt = hdr->inc_t(); _dt = hdr->inc_t();
_t0 = hdr->org_t(); _t0 = hdr->org_t();
databuf = (char *)malloc( slice_size*hdr->data_size() ); databuf = (char *)malloc( slice_size*hdr->data_size() );
......
# data file for the Fltk User Interface Designer (fluid) # data file for the Fltk User Interface Designer (fluid)
version 1.0400 version 1.0305
header_name {.h} header_name {.h}
code_name {.cc} code_name {.cc}
decl {\#include "Surfaces.h"} {public local decl {\#include "Surfaces.h"} {public local
...@@ -116,7 +116,7 @@ class Controls {open ...@@ -116,7 +116,7 @@ class Controls {open
} { } {
Fl_Window window { Fl_Window window {
label {Meshalyzer Controls} open label {Meshalyzer Controls} open
xywh {234 45 350 705} type Double box UP_BOX xywh {234 64 350 705} type Double box UP_BOX
code0 {\#include <FL/Fl_Color_Chooser.H>} code0 {\#include <FL/Fl_Color_Chooser.H>}
code1 {\#include "VecData.h"} visible code1 {\#include "VecData.h"} visible
} { } {
...@@ -910,8 +910,8 @@ reglist->do_callback();} ...@@ -910,8 +910,8 @@ reglist->do_callback();}
xywh {10 270 330 260} align 0 xywh {10 270 330 260} align 0
} { } {
Fl_Group hilightgrp { Fl_Group hilightgrp {
label Highlight label Highlight selected
xywh {10 305 330 225} color 11 labelfont 1 labelsize 12 labelcolor 121 align 4 hide xywh {10 305 330 225} color 11 labelfont 1 labelsize 12 labelcolor 121 align 4
} { } {
Fl_Value_Input tethi { Fl_Value_Input tethi {
label {VolEle:} label {VolEle:}
...@@ -1593,7 +1593,7 @@ mwtb->redraw();} ...@@ -1593,7 +1593,7 @@ mwtb->redraw();}
} }
Fl_Group auxgridgrp { Fl_Group auxgridgrp {
label {Aux Grid} open label {Aux Grid} open
xywh {15 305 325 220} box UP_BOX color 60 labelfont 1 labelsize 12 labelcolor 60 align 4 deactivate xywh {15 305 325 220} box UP_BOX color 60 labelfont 1 labelsize 12 labelcolor 60 align 4 hide deactivate
} { } {
Fl_Light_Button auxgriddispbut { Fl_Light_Button auxgriddispbut {
label On label On
...@@ -2000,7 +2000,7 @@ mwtb->redraw();} ...@@ -2000,7 +2000,7 @@ mwtb->redraw();}
Fl_Button {} { Fl_Button {} {
label {Dead Data} label {Dead Data}
callback {if( mwtb->auxGrid ) callback {if( mwtb->auxGrid )
mwtb->auxGrid->_deadData->window->show();} selected mwtb->auxGrid->_deadData->window->show();}
xywh {175 390 80 20} xywh {175 390 80 20}
} }
} }
......
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