//------------------------------------------------
void HistogramView::Process()
{
- if (firsttime==true){
+ if (firsttime==true)
+ {
firsttime=false;
// histogram_wxwidget = new Histogram( wxpanel , -1, wxPoint(0,0), wxSize(400,400),wxNO_BORDER );
- histogram_wxwidget->Configure( bbGetInputIn() );
+ _histogramMinMaxLevel->Configure( bbGetInputIn() );
}
}
// histogram_wxwidget = new Histogram( parent , -1, wxPoint(0,0), wxSize(400,400),wxNO_BORDER ,bbGetInputIn());
wxPanel *wxpanel =new wxPanel(parent);
wxpanel->SetSize(400,400);
- histogram_wxwidget = new Histogram( parent , -1, wxPoint(0,0), wxSize(400,400),wxNO_BORDER );
+
+//Borrame
+// histogram_wxwidget = new Histogram( parent , -1, wxPoint(0,0), wxSize(400,400),wxNO_BORDER );
- bbtkDebugDecTab("Core",9);
- bbSetOutputWidget( histogram_wxwidget );
+ Histogram* histogram = new Histogram( parent , -1, wxPoint(0,0), wxSize(400,400), /*wxNO_BORDER*/ wxBORDER_DEFAULT );
+ _histogramMinMaxLevel = new HistogramMinMaxLevel( (HistogramBase*)histogram );
+
+ bbtkDebugDecTab("Core",9);
+ bbSetOutputWidget( _histogramMinMaxLevel->GetWindow() );
// bbSetOutputWidget( wxpanel );
}
}
// EO namespace bbcreaMaracasVisu
-