summaryrefslogtreecommitdiff
path: root/src/CurveEditor.H
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-01-12 23:12:41 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-01-12 23:12:41 +0100
commite9dce46bed3cc0ec6993d09183ac858a32d619e2 (patch)
tree003441f0f915bea8d7b1e2cb2d116bc243d93361 /src/CurveEditor.H
parent7ba1feb416a47b0266615de08b69e1733e18e3a5 (diff)
draw a spline
Diffstat (limited to 'src/CurveEditor.H')
-rw-r--r--src/CurveEditor.H8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/CurveEditor.H b/src/CurveEditor.H
index 4e58e6e..e774310 100644
--- a/src/CurveEditor.H
+++ b/src/CurveEditor.H
@@ -8,13 +8,19 @@
#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;
+ gsl_interp_accel *acc;
+ gsl_spline *spline;
public:
CurveEditor(int _x, int _y, int _w, int _h);
-
+ void draw();
};
#endif