From 700f8cb97bc9a033b82252e0120e41962135fb06 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Sun, 4 Sep 2005 12:09:18 +0200 Subject: make Projection_t part of Projection class --- src/GipfelWidget.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/GipfelWidget.cxx') diff --git a/src/GipfelWidget.cxx b/src/GipfelWidget.cxx index 95f8cde..6969744 100644 --- a/src/GipfelWidget.cxx +++ b/src/GipfelWidget.cxx @@ -79,7 +79,7 @@ GipfelWidget::load_image(char *file) { char buf[1024]; double lo, la, he, dir, ni, ti, sc; int status; - Projection_t pt = PROJECTION_TANGENTIAL; + Projection::Projection_t pt = Projection::TANGENTIAL; Fl_Image *new_img; new_img = new Fl_JPEG_Image(file); @@ -499,13 +499,13 @@ GipfelWidget::set_scale(double s) { } void -GipfelWidget::set_projection(Projection_t p) { +GipfelWidget::set_projection(Projection::Projection_t p) { pan->set_projection(p); set_labels(pan->get_visible_mountains()); redraw(); } -Projection_t +Projection::Projection_t GipfelWidget::get_projection() { return pan->get_projection(); } -- cgit v1.2.3