From c8c0d0ac861802f29de2d294c2b33f7b70fd7746 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Tue, 10 May 2005 15:57:11 +0000 Subject: cleanups set height_dist slider properly cleanups set height_dist slider properly --- src/GipfelWidget.cxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/GipfelWidget.cxx') diff --git a/src/GipfelWidget.cxx b/src/GipfelWidget.cxx index 69e3198..527491b 100644 --- a/src/GipfelWidget.cxx +++ b/src/GipfelWidget.cxx @@ -1,5 +1,5 @@ // -// "$Id: GipfelWidget.cxx,v 1.27 2005/05/10 17:05:32 hofmann Exp $" +// "$Id: GipfelWidget.cxx,v 1.28 2005/05/10 17:57:11 hofmann Exp $" // // GipfelWidget routines. // @@ -299,6 +299,11 @@ GipfelWidget::get_scale() { return pan->get_scale(); } +double +GipfelWidget::get_height_dist_ratio() { + return pan->get_height_dist_ratio(); +} + void GipfelWidget::set_height_dist_ratio(double r) { pan->set_height_dist_ratio(r); @@ -349,7 +354,6 @@ GipfelWidget::handle(int event) { mark_x = Fl::event_x()-x(); mark_y = Fl::event_y()-y(); - fprintf(stderr, "x %d, y %d\n", mark_x, mark_y); set_cur_mountain(mark_x, mark_y); Fl::focus(this); -- cgit v1.2.3