From 6b08f9ab9c676360770b372bb87a15900bc7548b Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Fri, 11 Oct 2013 20:16:52 +0200 Subject: remove compute button --- src/gipfel.cxx | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/gipfel.cxx b/src/gipfel.cxx index f3775b0..eb6ebbf 100644 --- a/src/gipfel.cxx +++ b/src/gipfel.cxx @@ -229,11 +229,6 @@ void hidden_cb(Fl_Menu_* o, void*d) { gipf->set_show_hidden(o->mvalue()->value() != 0); } -void comp_cb(Fl_Widget *, void *) { - gipf->comp_params(); - set_values(); -} - void save_distortion_cb(Fl_Widget *, void *) { char buf[1024]; const char * prof_name; @@ -474,12 +469,6 @@ create_control_window() { i_distortion_x0->when(FL_WHEN_ENTER_KEY); i_distortion_x0->callback((Fl_Callback*)distortion_cb); - // Buttons - Fl_Button *b = new Fl_Button(280, 280, 100, 20, "comp"); - b->color(FL_RED); - b->tooltip("compute view parameter from given mountains"); - b->callback(comp_cb); - win->end(); return win; } -- cgit v1.2.3