summaryrefslogtreecommitdiff
path: root/src/CurveEditor.H
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-01-12 23:45:33 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-01-12 23:45:33 +0100
commitf17430be7bf4aaef23b991d04c8804b4f171d7b0 (patch)
tree1ef42ef7012803d0cc9b226aa72a3d1c29ac1fc0 /src/CurveEditor.H
parente9dce46bed3cc0ec6993d09183ac858a32d619e2 (diff)
some fixes
Diffstat (limited to 'src/CurveEditor.H')
-rw-r--r--src/CurveEditor.H4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CurveEditor.H b/src/CurveEditor.H
index e774310..333bd45 100644
--- a/src/CurveEditor.H
+++ b/src/CurveEditor.H
@@ -15,12 +15,16 @@ class CurveEditor : public Fl_Widget {
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 set(int i, double _x, double _y);
void draw();
+ int handle(int e);
};
#endif