diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2005-08-10 15:51:30 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2005-08-10 15:51:30 +0100 |
commit | 0b248f506eb56c0e120da0d08017dc6e466cd9cf (patch) | |
tree | 485e77b8f86e51ae9568ddeb06003d371a7a6547 /src/GipfelWidget.cxx | |
parent | f1e6812f1826a67965f9f1204b600d7a6ca519ce (diff) |
add panoramic option to GUI
Diffstat (limited to 'src/GipfelWidget.cxx')
-rw-r--r-- | src/GipfelWidget.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/GipfelWidget.cxx b/src/GipfelWidget.cxx index 8af751b..318d387 100644 --- a/src/GipfelWidget.cxx +++ b/src/GipfelWidget.cxx @@ -474,6 +474,18 @@ GipfelWidget::set_scale(double s) { redraw(); } +void +GipfelWidget::set_projection(Projection_t p) { + pan->set_projection(p); + set_labels(pan->get_visible_mountains()); + redraw(); +} + +Projection_t +GipfelWidget::get_projection() { + return pan->get_projection(); +} + double GipfelWidget::get_center_angle() { return pan->get_center_angle(); |