summaryrefslogtreecommitdiff
path: root/src/CurveEditor.H
diff options
context:
space:
mode:
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