summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2013-10-11 20:16:52 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2013-10-11 20:16:52 +0200
commit6b08f9ab9c676360770b372bb87a15900bc7548b (patch)
treebd3577c9c41ff450c74bef76a640d801116318b3
parent726ab3d3492c481af3f612f525231ba18dddf7a6 (diff)
remove compute button
-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;
}