22 GraphDisplayerCanvas & gdc; |
24 GraphDisplayerCanvas & gdc; |
23 |
25 |
24 ///The \ref MapStorage in which the visualizable maps are stored |
26 ///The \ref MapStorage in which the visualizable maps are stored |
25 MapStorage & ms; |
27 MapStorage & ms; |
26 |
28 |
27 Gtk::Table table; |
29 Gtk::Table * table; |
28 |
30 |
29 Gtk::HBox combos, * labelpluscombo; |
31 Gtk::Combo * e_combo_array, * n_combo_array; |
30 Gtk::Combo * combo_array; |
|
31 |
|
32 Gtk::VBox vbox_b, vbox_r1, vbox_r2; |
|
33 |
32 |
34 Gtk::Label * label; |
33 Gtk::Label * label; |
|
34 |
|
35 Gtk::VBox vbox; |
35 |
36 |
36 public: |
37 public: |
37 ///Constructor of MapWin creates the widgets shown in MapWin. |
38 ///Constructor of MapWin creates the widgets shown in MapWin. |
38 MapWin(const std::string& title, MapStorage &, GraphDisplayerCanvas &); |
39 MapWin(const std::string& title, MapStorage &, GraphDisplayerCanvas &); |
39 |
40 |
40 ///If a radiobutton is clicked, this function determines |
41 ///If a radiobutton is clicked, this function determines |
41 ///which button was that and after that calls the |
42 ///which button was that and after that calls the |
42 ///appropriate function of the \ref GraphDisplayerCanvas |
43 ///appropriate function of the \ref GraphDisplayerCanvas |
43 ///to change the visible values of that attribute. |
44 ///to change the visible values of that attribute. |
44 virtual void combo_changed(int); |
45 virtual void e_combo_changed(int); |
|
46 ///If a radiobutton is clicked, this function determines |
|
47 ///which button was that and after that calls the |
|
48 ///appropriate function of the \ref GraphDisplayerCanvas |
|
49 ///to change the visible values of that attribute. |
|
50 virtual void n_combo_changed(int); |
|
51 |
|
52 ///This function is created to set the appropriate maps on the newly created node |
|
53 void update_node(Graph::Node); |
|
54 |
|
55 ///This function is created to set the appropriate maps on the newly created edge |
|
56 void update_edge(Graph::Edge); |
|
57 |
45 virtual bool close_if_escape_is_pressed(GdkEventKey*); |
58 virtual bool close_if_escape_is_pressed(GdkEventKey*); |
46 }; |
59 }; |
47 |
60 |
48 #endif //MAP_WIN_H |
61 #endif //MAP_WIN_H |