MapSelector has become a standalone class.
8 #include <all_include.h>
9 //#include <mapstorage.h>
11 #include <libgnomecanvasmm.h>
12 #include <libgnomecanvasmm/polygon.h>
16 enum {GENERAL, KRUSKAL, ALGO_NUM}; // algorithm IDs;
18 class AlgoWin : public Gtk::Window
22 Gtk::Button * runbutton;
23 Gtk::Button * closebutton;
26 sigc::signal<void, AlgoWin *> signal_closed;
27 sigc::signal<void, AlgoWin *, std::string> signal_maplist_need;
30 bool closeIfEscapeIsPressed(GdkEventKey* e);
32 sigc::signal<void, AlgoWin *> signal_closing();
33 sigc::signal<void, AlgoWin *, std::string> signal_maplist_needed();
35 void emit_tab_change(std::string);
37 AlgoWin(int, std::vector<std::string>);
39 void update_tablist(std::vector<std::string> tabnames);
40 void update_maplist(MapStorage *);