equal
deleted
inserted
replaced
6 class MapWin; |
6 class MapWin; |
7 |
7 |
8 #include "all_include.h" |
8 #include "all_include.h" |
9 #include "graph_displayer_canvas.h" |
9 #include "graph_displayer_canvas.h" |
10 #include "mapstorage.h" |
10 #include "mapstorage.h" |
|
11 #include "new_map_win.h" |
11 #include "mapselector.h" |
12 #include "mapselector.h" |
12 #include <libgnomecanvasmm.h> |
13 #include <libgnomecanvasmm.h> |
13 #include <libgnomecanvasmm/polygon.h> |
14 #include <libgnomecanvasmm/polygon.h> |
14 |
15 |
15 ///This class is responsible for creating a window, |
16 ///This class is responsible for creating a window, |
25 GraphDisplayerCanvas & gdc; |
26 GraphDisplayerCanvas & gdc; |
26 |
27 |
27 ///The \ref MapStorage in which the visualizable maps are stored |
28 ///The \ref MapStorage in which the visualizable maps are stored |
28 MapStorage & ms; |
29 MapStorage & ms; |
29 |
30 |
|
31 NewMapWin & nmw; |
|
32 |
30 Gtk::Table * table; |
33 Gtk::Table * table; |
31 |
34 |
32 MapSelector ** e_combo_array, ** n_combo_array; |
35 MapSelector ** e_combo_array, ** n_combo_array; |
33 |
36 |
34 Gtk::Label * label; |
37 Gtk::Label * label; |
35 |
38 |
36 Gtk::VBox vbox; |
39 Gtk::VBox vbox; |
37 |
40 |
38 public: |
41 public: |
39 ///Constructor of MapWin creates the widgets shown in MapWin. |
42 ///Constructor of MapWin creates the widgets shown in MapWin. |
40 MapWin(const std::string& title, MapStorage &, GraphDisplayerCanvas &); |
43 MapWin(const std::string& title, MapStorage &, GraphDisplayerCanvas &, NewMapWin &); |
41 |
44 |
42 ///This function is created to set the appropriate maps on the newly created node |
45 ///This function is created to set the appropriate maps on the newly created node |
43 void updateNode(Graph::Node); |
46 void updateNode(Graph::Node); |
44 |
47 |
45 ///This function is created to set the appropriate maps on the newly created edge |
48 ///This function is created to set the appropriate maps on the newly created edge |