MapSelector has become a standalone class.
8 #include <all_include.h>
9 #include <mapstorage.h>
10 #include <libgnomecanvasmm.h>
11 #include <libgnomecanvasmm/polygon.h>
13 class AlgoBox : public Gtk::VBox
15 sigc::signal<void, std::string> signal_maplist_need;
17 Gtk::ComboBoxText tabcbt;
21 std::vector<Gtk::ComboBoxText *> nodemapcbts;
22 std::vector<Gtk::ComboBoxText *> edgemapcbts;
24 MapStorage * mapstorage;
28 AlgoBox(std::vector<std::string>);
30 virtual void init(std::vector<std::string>);
32 sigc::signal<void, std::string> signal_maplist_needed();
33 void emit_tab_change();
35 void update_tablist( std::vector< std::string > tl );
36 void update_maplist( MapStorage * );
38 void nodemaplist_changed(std::string);
39 void edgemaplist_changed(std::string);
41 void update_cbt( std::vector< std::string > tl, Gtk::ComboBoxText &);
45 virtual void build_box();