diff options
author | Johannes Hofmann <johannes.hofmann@gmx.de> | 2005-05-10 16:45:29 +0000 |
---|---|---|
committer | Johannes Hofmann <johannes.hofmann@gmx.de> | 2005-05-10 16:45:29 +0000 |
commit | 59535eb31b258ef2f7b23648e3602c2424b8a34c (patch) | |
tree | 0bcbd53f8724218aceaeeb2939162ebf013721ef /src/GipfelWidget.cxx | |
parent | 468702cc832af1007f7e43fd38a87ae89599953b (diff) |
set labels initially
set labels initially
Diffstat (limited to 'src/GipfelWidget.cxx')
-rw-r--r-- | src/GipfelWidget.cxx | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/GipfelWidget.cxx b/src/GipfelWidget.cxx index 527491b..e38e5b9 100644 --- a/src/GipfelWidget.cxx +++ b/src/GipfelWidget.cxx @@ -1,5 +1,5 @@ // -// "$Id: GipfelWidget.cxx,v 1.28 2005/05/10 17:57:11 hofmann Exp $" +// "$Id: GipfelWidget.cxx,v 1.29 2005/05/10 18:45:29 hofmann Exp $" // // GipfelWidget routines. // @@ -84,12 +84,18 @@ GipfelWidget::load_image(const char *file) { int GipfelWidget::load_data(const char *file) { - return pan->load_file(file); + int r; + r = pan->load_file(file); + return r; } int GipfelWidget::set_viewpoint(const char *pos) { - return pan->set_viewpoint(pos); + int r; + + r = pan->set_viewpoint(pos); + set_labels(pan->get_visible_mountains()); + return r; } static void |