diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2013-10-11 20:08:53 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2013-10-11 20:08:53 +0200 |
commit | 726ab3d3492c481af3f612f525231ba18dddf7a6 (patch) | |
tree | fee23369af515417639a4c406435efa628f6d46c /src/gipfel.cxx | |
parent | a1957ae738e07e76b48f1d9e77fbd884ec3c9c84 (diff) |
call comp_params() automatically on release when more than 1 hill is marked
Diffstat (limited to 'src/gipfel.cxx')
-rw-r--r-- | src/gipfel.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gipfel.cxx b/src/gipfel.cxx index a780a43..f3775b0 100644 --- a/src/gipfel.cxx +++ b/src/gipfel.cxx @@ -630,7 +630,7 @@ int main(int argc, char** argv) { view_win->resizable(g); scroll = new Fl_Scroll(0, 0, view_win->w(), view_win->h()); - gipf = new GipfelWidget(0, 0, 800, 600); + gipf = new GipfelWidget(0, 0, 800, 600, set_values); if (img_file) { gipf->load_image(img_file); view_win->label(img_file); @@ -716,7 +716,7 @@ export_hills(const char *export_file, double visibility) { return 1; } - gipf = new GipfelWidget(0,0,800,600); + gipf = new GipfelWidget(0,0,800,600, NULL); gipf->load_image(img_file); gipf->load_data(data_file); gipf->set_height_dist_ratio(visibility); |