From 7ba1feb416a47b0266615de08b69e1733e18e3a5 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Sat, 12 Jan 2008 22:43:00 +0100 Subject: add CurveEditor class --- src/CurveEditor.H | 20 ++++++++++++++++++++ src/CurveEditor.cxx | 19 +++++++++++++++++++ src/Makefile.am | 1 + 3 files changed, 40 insertions(+) create mode 100644 src/CurveEditor.H create mode 100644 src/CurveEditor.cxx (limited to 'src') diff --git a/src/CurveEditor.H b/src/CurveEditor.H new file mode 100644 index 0000000..4e58e6e --- /dev/null +++ b/src/CurveEditor.H @@ -0,0 +1,20 @@ +// +// 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 + +class CurveEditor : public Fl_Widget { + private: + + public: + CurveEditor(int _x, int _y, int _w, int _h); + +}; + +#endif diff --git a/src/CurveEditor.cxx b/src/CurveEditor.cxx new file mode 100644 index 0000000..edc3a46 --- /dev/null +++ b/src/CurveEditor.cxx @@ -0,0 +1,19 @@ +// +// 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. + +#include +#include + +#include + +#include "CurveEditor.H" + + +CurveEditor::CurveEditor(int my_x, int my_y, int my_w, int my_h) : + Fl_Widget(my_x, my_y, my_w, my_h) { + +} + diff --git a/src/Makefile.am b/src/Makefile.am index 12380e5..1715549 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -8,4 +8,5 @@ noinst_HEADERS = \ pnm.h flcurve_SOURCES = \ + CurveEditor.cxx \ flcurve.cxx -- cgit v1.2.3