diff options
author | Johannes Hofmann <johannes.hofmann@gmx.de> | 2005-04-13 20:24:53 +0000 |
---|---|---|
committer | Johannes Hofmann <johannes.hofmann@gmx.de> | 2005-04-13 20:24:53 +0000 |
commit | cb69ce80f60b07e152ca464c2c08eaeb3b159ec6 (patch) | |
tree | 37ea856f254afca991650b75da93b3f1eeabbeed /src/GipfelWidget.cxx | |
parent | 5e7c5bafd0828f09ca66d5311636700b51cc77ea (diff) |
add h_d slider
add h_d slider
Diffstat (limited to 'src/GipfelWidget.cxx')
-rw-r--r-- | src/GipfelWidget.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/GipfelWidget.cxx b/src/GipfelWidget.cxx index 03267aa..b586240 100644 --- a/src/GipfelWidget.cxx +++ b/src/GipfelWidget.cxx @@ -1,5 +1,5 @@ // -// "$Id: GipfelWidget.cxx,v 1.4 2005/04/13 21:58:31 hofmann Exp $" +// "$Id: GipfelWidget.cxx,v 1.5 2005/04/13 22:24:53 hofmann Exp $" // // PSEditWidget routines. // @@ -148,6 +148,12 @@ GipfelWidget::set_scale(double s) { redraw(); } +void +GipfelWidget::set_height_dist_ratio(double r) { + pan->set_height_dist_ratio(r); + redraw(); +} + int GipfelWidget::handle(int event) { int mark_x, mark_y; |