diff options
author | Johannes Hofmann <johannes.hofmann@gmx.de> | 2005-05-08 16:02:38 +0000 |
---|---|---|
committer | Johannes Hofmann <johannes.hofmann@gmx.de> | 2005-05-08 16:02:38 +0000 |
commit | 7968b87758428821c38936cf10affb356d3ad940 (patch) | |
tree | 55623fb36b876e88c04152162647f20b2e1242bc /src/GipfelWidget.cxx | |
parent | c78e7a4e8c30641c8c762f9bac0dd2e46e675e25 (diff) |
Mountain->Hill 2/2
Mountain->Hill 2/2
Diffstat (limited to 'src/GipfelWidget.cxx')
-rw-r--r-- | src/GipfelWidget.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/GipfelWidget.cxx b/src/GipfelWidget.cxx index 737238f..b09ae81 100644 --- a/src/GipfelWidget.cxx +++ b/src/GipfelWidget.cxx @@ -1,5 +1,5 @@ // -// "$Id: GipfelWidget.cxx,v 1.24 2005/05/05 19:56:38 hofmann Exp $" +// "$Id: GipfelWidget.cxx,v 1.25 2005/05/08 18:02:38 hofmann Exp $" // // PSEditWidget routines. // @@ -54,11 +54,11 @@ GipfelWidget::GipfelWidget(int X,int Y,int W, int H): Fl_Widget(X, Y, W, H) { pan = new Panorama(); cur_mountain = NULL; mb = NULL; - marker = new Mountains(); + marker = new Hills(); m1 = NULL; m2 = NULL; for (i=0; i<=3; i++) { - marker->add(new Mountain(i * 10, 0)); + marker->add(new Hill(i * 10, 0)); } fl_register_images(); } @@ -94,8 +94,8 @@ GipfelWidget::set_viewpoint(const char *pos) { void GipfelWidget::draw() { - Mountains *mnts; - Mountain *m; + Hills *mnts; + Hill *m; int center_x = w() / 2; int center_y = h() / 2; int i; @@ -149,9 +149,9 @@ overlap(int m1, int n1, int m2, int n2) { } void -GipfelWidget::set_labels(Mountains *v) { +GipfelWidget::set_labels(Hills *v) { int i, j, width, height; - Mountain *m, *n; + Hill *m, *n; fl_font(FL_HELVETICA, 8); @@ -175,8 +175,8 @@ GipfelWidget::set_labels(Mountains *v) { int GipfelWidget::set_cur_mountain(int m_x, int m_y) { - Mountains *mnts = pan->get_visible_mountains(); - Mountain *m; + Hills *mnts = pan->get_visible_mountains(); + Hill *m; int center = w() / 2; int i; |