diff options
| author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-09-09 18:55:37 +0200 |
|---|---|---|
| committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-09-09 18:55:37 +0200 |
| commit | f285f18f29335bd8f604a875cd4e091bde4bb6e8 (patch) | |
| tree | 120b5241136830e7dbdb58989e61e853fead2ef8 /src/pnmcurvedit.cxx | |
| parent | 3896ace46c70522300356c4ed8d45787b4ef10d4 (diff) | |
check for more than 3 control points
Diffstat (limited to 'src/pnmcurvedit.cxx')
| -rw-r--r-- | src/pnmcurvedit.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/pnmcurvedit.cxx b/src/pnmcurvedit.cxx index c6a974b..c04979c 100644 --- a/src/pnmcurvedit.cxx +++ b/src/pnmcurvedit.cxx @@ -66,13 +66,9 @@ int main(int argc, char **argv) { Fl_Double_Window window(300, 300, "pnmcurvedit"); ce = new CurveEditor(0, 0, 300, 300); - ce->add_point(0.0, 0.0); - ce->add_point(0.5, 0.5); - ce->add_point(1.0, 1.0); ce->callback(editor_cb, NULL); - + window.resizable(ce); window.show(argc, argv); - Fl::add_fd(0, FL_READ, stdin_cb); return Fl::run(); |
