diff options
author | Johannes Hofmann <johannes.hofmann@gmx.de> | 2005-04-30 07:42:47 +0000 |
---|---|---|
committer | Johannes Hofmann <johannes.hofmann@gmx.de> | 2005-04-30 07:42:47 +0000 |
commit | f02ac0ab241071da1062b996499e52cccea46f80 (patch) | |
tree | 851e8e35773827b24ec5182b829927582701be6b /src/gipfel.cxx | |
parent | 89f0409c69a69132ecc581451c9c0d750e0a4bc7 (diff) |
make newton a function.
make newton a function.
Diffstat (limited to 'src/gipfel.cxx')
-rw-r--r-- | src/gipfel.cxx | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/gipfel.cxx b/src/gipfel.cxx index 536a5d4..f3dc20d 100644 --- a/src/gipfel.cxx +++ b/src/gipfel.cxx @@ -1,5 +1,5 @@ // -// "$Id: gipfel.cxx,v 1.13 2005/04/30 07:58:19 hofmann Exp $" +// "$Id: gipfel.cxx,v 1.14 2005/04/30 09:42:47 hofmann Exp $" // // flpsed program. // @@ -90,12 +90,6 @@ void comp_cb(Fl_Widget *, void *) { } } -void newton_cb(Fl_Widget *, void *) { - if (gipf) { - gipf->newton(); - } -} - void about_cb() { fl_message("flpsed -- a pseudo PostScript editor\n" "(c) Johannes Hofmann 2004, 2005\n\n" @@ -213,11 +207,6 @@ int main(int argc, char** argv) { t->align(FL_ALIGN_LEFT); Fl_Button *b = new Fl_Button(200, 60, 20, 15, "comp"); b->callback(comp_cb); - Fl_Button *b1 = new Fl_Button(250, 60, 20, 15, "opt"); - b1->callback(newton_cb); - - - scroll = new Fl_Scroll(0, 75, win->w(), win->h()-75); |