1.1 --- a/new_map_win.h Wed Nov 23 16:24:59 2005 +0000
1.2 +++ b/new_map_win.h Tue Nov 29 19:31:58 2005 +0000
1.3 @@ -6,7 +6,7 @@
1.4 class NewMapWin;
1.5
1.6 #include <all_include.h>
1.7 -#include <graph_displayer_canvas.h>
1.8 +#include <main_win.h>
1.9 #include <libgnomecanvasmm.h>
1.10 #include <libgnomecanvasmm/polygon.h>
1.11 #include <stack>
1.12 @@ -16,11 +16,7 @@
1.13
1.14 class NewMapWin : public Gtk::Dialog
1.15 {
1.16 - ///The \ref GraphDisplayerCanvas on which the graph will be drawn.
1.17 - ///It has to be known for this class, because
1.18 - ///when a map is created
1.19 - ///a function of the \ref GraphDisplayerCanvas will be called.
1.20 - GraphDisplayerCanvas & gdc;
1.21 + MainWin & mainwin;
1.22
1.23 public:
1.24 struct tree_node
1.25 @@ -31,7 +27,7 @@
1.26 };
1.27
1.28 ///Constructor of NewMapWin creates the widgets shown in NewMapWin.
1.29 - NewMapWin(const std::string& title, GraphDisplayerCanvas &, bool itisedge=true, bool edgenode=true);
1.30 + NewMapWin(const std::string& title, MainWin &, bool itisedge=true, bool edgenode=true);
1.31
1.32 ///Signal on button is connected to this function,
1.33 ///Therefore this function determines whether to