diff options
Diffstat (limited to 'src/CurveEditor.H')
| -rw-r--r-- | src/CurveEditor.H | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/CurveEditor.H b/src/CurveEditor.H deleted file mode 100644 index c7f4691..0000000 --- a/src/CurveEditor.H +++ /dev/null @@ -1,32 +0,0 @@ -// -// Copyright 2008 Johannes Hofmann <Johannes.Hofmann@gmx.de> -// -// 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 <FL/Fl_Widget.H> -#include <gsl/gsl_spline.h> - -class CurveEditor : public Fl_Widget { - private: - double *X; - double *Y; - int n; - int marked_point; - gsl_interp_accel *acc; - gsl_spline *spline; - - public: - CurveEditor(int _x, int _y, int _w, int _h); - - void add_point(double _x, double _y); - void init(); - void set_point(int i, double _x, double _y); - void draw(); - int handle(int e); -}; - -#endif |
