gui/map_win.h
changeset 1829 183b4cbf9733
parent 1819 fd82adfbe905
child 1837 8dd6160ff699
equal deleted inserted replaced
10:081e8778dabd 11:e1597a9a2b9f
    22   {
    22   {
    23   protected:
    23   protected:
    24     GraphDisplayerCanvas & gdc;
    24     GraphDisplayerCanvas & gdc;
    25     ///The \ref MapStorage in which the visualizable maps are stored
    25     ///The \ref MapStorage in which the visualizable maps are stored
    26     MapStorage & ms;
    26     MapStorage & ms;
    27     NewMapWin & nmw;
       
    28 
    27 
    29     int id;
    28     int id;
    30 
    29 
    31     bool itisedge;
    30     bool itisedge;
    32 
    31 
    46     Edge edge_to_update;
    45     Edge edge_to_update;
    47 
    46 
    48 
    47 
    49   public:
    48   public:
    50 
    49 
    51     MapSelector(GraphDisplayerCanvas &, MapStorage &, NewMapWin &, int, bool);
    50     MapSelector(GraphDisplayerCanvas &, MapStorage &, int, bool);
    52 
    51 
    53     void update_list();
    52     void update_list();
    54 
    53 
    55     ///If a radiobutton is clicked, this function determines
    54     ///If a radiobutton is clicked, this function determines
    56     ///which button was that and after that calls the
    55     ///which button was that and after that calls the
    80   GraphDisplayerCanvas & gdc;
    79   GraphDisplayerCanvas & gdc;
    81 
    80 
    82   ///The \ref MapStorage in which the visualizable maps are stored
    81   ///The \ref MapStorage in which the visualizable maps are stored
    83   MapStorage & ms;
    82   MapStorage & ms;
    84 
    83 
    85   NewMapWin & nmw;
       
    86 
       
    87   Gtk::Table * table;
    84   Gtk::Table * table;
    88   
    85   
    89   MapSelector ** e_combo_array, ** n_combo_array;
    86   MapSelector ** e_combo_array, ** n_combo_array;
    90 
    87 
    91   Gtk::Label * label;
    88   Gtk::Label * label;
    92 
    89 
    93   Gtk::VBox vbox;
    90   Gtk::VBox vbox;
    94 
    91 
    95 public:
    92 public:
    96   ///Constructor of MapWin creates the widgets shown in MapWin.
    93   ///Constructor of MapWin creates the widgets shown in MapWin.
    97   MapWin(const std::string& title, MapStorage &, GraphDisplayerCanvas &, NewMapWin &);
    94   MapWin(const std::string& title, MapStorage &, GraphDisplayerCanvas &);
    98 
    95 
    99   ///This function is created to set the appropriate maps on the newly created node
    96   ///This function is created to set the appropriate maps on the newly created node
   100   void updateNode(Graph::Node);
    97   void updateNode(Graph::Node);
   101 
    98 
   102   ///This function is created to set the appropriate maps on the newly created edge
    99   ///This function is created to set the appropriate maps on the newly created edge