1.1 --- a/gui/algowin.cc Thu Jan 05 01:54:24 2006 +0000
1.2 +++ b/gui/algowin.cc Thu Jan 05 12:30:09 2006 +0000
1.3 @@ -20,7 +20,7 @@
1.4 return true;
1.5 }
1.6
1.7 -AlgoWin::AlgoWin(int algoid, std::vector<std::string> tabnames, std::vector<std::string> nodemapnames,std::vector<std::string> edgemapnames)
1.8 +AlgoWin::AlgoWin(int algoid, std::vector<std::string> tabnames)
1.9 {
1.10 signal_key_press_event().connect(sigc::mem_fun(*this, &AlgoWin::closeIfEscapeIsPressed));
1.11
1.12 @@ -32,11 +32,11 @@
1.13 switch(algoid)
1.14 {
1.15 case 0:
1.16 - ab=new AlgoBox(tabnames, nodemapnames, edgemapnames);
1.17 + ab=new AlgoBox(tabnames);
1.18 set_title("Algo Win Demo");
1.19 break;
1.20 case 1:
1.21 - ab=new KruskalBox(tabnames, nodemapnames, edgemapnames);
1.22 + ab=new KruskalBox(tabnames);
1.23 set_title("Kruskal Algorithm");
1.24 break;
1.25 default:
1.26 @@ -71,9 +71,9 @@
1.27 ab->update_tablist(tabnames);
1.28 }
1.29
1.30 -void AlgoWin::update_maplist(std::vector<std::string> nodemapnames, std::vector<std::string> edgemapnames)
1.31 +void AlgoWin::update_maplist(void * mapstorage)
1.32 {
1.33 - ab->update_maplist(nodemapnames, edgemapnames);
1.34 + ab->update_maplist(mapstorage);
1.35 }
1.36
1.37 void AlgoWin::on_hide()