diff options
author | Johannes Hofmann <johannes.hofmann@gmx.de> | 2005-05-10 15:57:11 +0000 |
---|---|---|
committer | Johannes Hofmann <johannes.hofmann@gmx.de> | 2005-05-10 15:57:11 +0000 |
commit | c8c0d0ac861802f29de2d294c2b33f7b70fd7746 (patch) | |
tree | 1e523fd5dde5f208cad641a34601e1f64df4e07f /src/GipfelWidget.cxx | |
parent | 5e674225ec1d8ff0563030a27fb69f8e89d3ebf3 (diff) |
cleanups set height_dist slider properly
cleanups set height_dist slider properly
Diffstat (limited to 'src/GipfelWidget.cxx')
-rw-r--r-- | src/GipfelWidget.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
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); |