// // Copyright 2008 Johannes Hofmann // // This software may be used and distributed according to the terms // of the GNU General Public License, incorporated herein by reference. #ifndef CurveEditor_H #define CurveEditor_H #include #include class CurveEditor : public Fl_Widget { private: double *X; double *Y; int n; gsl_interp_accel *acc; gsl_spline *spline; public: CurveEditor(int _x, int _y, int _w, int _h); void draw(); }; #endif