summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gipfel.cxx11
1 files changed, 0 insertions, 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;
}