diff -r b1be10a9a2b6 -r bf355fd6563e algowin.cc --- a/algowin.cc Thu Jan 05 01:54:24 2006 +0000 +++ b/algowin.cc Thu Jan 05 12:30:09 2006 +0000 @@ -20,7 +20,7 @@ return true; } -AlgoWin::AlgoWin(int algoid, std::vector tabnames, std::vector nodemapnames,std::vector edgemapnames) +AlgoWin::AlgoWin(int algoid, std::vector tabnames) { signal_key_press_event().connect(sigc::mem_fun(*this, &AlgoWin::closeIfEscapeIsPressed)); @@ -32,11 +32,11 @@ switch(algoid) { case 0: - ab=new AlgoBox(tabnames, nodemapnames, edgemapnames); + ab=new AlgoBox(tabnames); set_title("Algo Win Demo"); break; case 1: - ab=new KruskalBox(tabnames, nodemapnames, edgemapnames); + ab=new KruskalBox(tabnames); set_title("Kruskal Algorithm"); break; default: @@ -71,9 +71,9 @@ ab->update_tablist(tabnames); } -void AlgoWin::update_maplist(std::vector nodemapnames, std::vector edgemapnames) +void AlgoWin::update_maplist(void * mapstorage) { - ab->update_maplist(nodemapnames, edgemapnames); + ab->update_maplist(mapstorage); } void AlgoWin::on_hide()