Changeset 1878:409a31271efd in lemon-0.x for gui/algowin.cc
- Timestamp:
- 01/05/06 13:30:09 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2453
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gui/algowin.cc
r1876 r1878 21 21 } 22 22 23 AlgoWin::AlgoWin(int algoid, std::vector<std::string> tabnames , std::vector<std::string> nodemapnames,std::vector<std::string> edgemapnames)23 AlgoWin::AlgoWin(int algoid, std::vector<std::string> tabnames) 24 24 { 25 25 signal_key_press_event().connect(sigc::mem_fun(*this, &AlgoWin::closeIfEscapeIsPressed)); … … 33 33 { 34 34 case 0: 35 ab=new AlgoBox(tabnames , nodemapnames, edgemapnames);35 ab=new AlgoBox(tabnames); 36 36 set_title("Algo Win Demo"); 37 37 break; 38 38 case 1: 39 ab=new KruskalBox(tabnames , nodemapnames, edgemapnames);39 ab=new KruskalBox(tabnames); 40 40 set_title("Kruskal Algorithm"); 41 41 break; … … 72 72 } 73 73 74 void AlgoWin::update_maplist( std::vector<std::string> nodemapnames, std::vector<std::string> edgemapnames)74 void AlgoWin::update_maplist(void * mapstorage) 75 75 { 76 ab->update_maplist( nodemapnames, edgemapnames);76 ab->update_maplist(mapstorage); 77 77 } 78 78
Note: See TracChangeset
for help on using the changeset viewer.