Documenatation of MapWin.
8 #include <all_include.h>
9 #include <mapstorage.h>
10 #include <mapselector.h>
11 #include <libgnomecanvasmm.h>
12 #include <libgnomecanvasmm/polygon.h>
14 class AlgoBox : public Gtk::VBox
16 sigc::signal<void, std::string> signal_maplist_need;
17 sigc::signal<void, std::string, bool> signal_newmapwin_need;
20 Gtk::ComboBoxText tabcbt;
21 std::vector<MapSelector *> nodemapcbts;
22 std::vector<MapSelector *> 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 sigc::signal<void, std::string, bool> signal_newmapwin_needed(){return signal_newmapwin_need;};
34 void emit_tab_change();
36 void update_tablist( std::vector< std::string > tl );
37 void update_maplist( MapStorage * );
39 void nodemaplist_changed(std::string);
40 void edgemaplist_changed(std::string);
42 void update_cbt( std::vector< std::string > tl, Gtk::ComboBoxText &);
46 virtual void build_box();
48 virtual void emit_new_map_signal(bool);
50 void addMapSelector(std::string, bool);