#pragma once #include #include #include #include #include #include #include #include #include #include #include #include #include class BasicDrawPane : public wxPanel { public: BasicDrawPane(wxFrame* parent, int ch); void paintEvent(wxPaintEvent & evt); void paintNow(); void plotvalue(float[]); void plotvalue(float); void Clear(); void render(wxDC& dc); int channels; static const wxPen pen[]; private: wxLongLong time; std::vector> data; int x,y,xold,yold,xpos,xstep; };