gui/kruskalbox.cc
changeset 1941 9fe177e0437d
parent 1884 9c061834b33b
equal deleted inserted replaced
5:f290e7a157c7 6:9b2fd2f16d7c
    51     
    51     
    52 void KruskalBox::build_box()
    52 void KruskalBox::build_box()
    53 {
    53 {
    54   std::vector<std::string> empty_vector;
    54   std::vector<std::string> empty_vector;
    55 
    55 
    56   edgemapcbts.resize(MAP_NUM);
    56   addMapSelector("Edgecosts: ", true);
    57 
    57   addMapSelector("Edges of tree here: ", true);
    58   edgemapcbts[0]=new MapSelector(empty_vector,"","Edgecosts: ",true, false);
       
    59   edgemapcbts[0]->signal_newmapwin_needed().connect(sigc::mem_fun(*this, &AlgoBox::emit_new_map_signal));
       
    60 
       
    61   pack_start(*(edgemapcbts[INPUT]));
       
    62 
       
    63   edgemapcbts[1]=new MapSelector(empty_vector,"","Edges of tree here: ",true, false);
       
    64   edgemapcbts[1]->signal_newmapwin_needed().connect(sigc::mem_fun(*this, &AlgoBox::emit_new_map_signal));
       
    65 
       
    66   pack_start(*(edgemapcbts[OUTPUT]));
       
    67 
    58 
    68   resultlabel.set_text("Result: algorithm is not run yet.");
    59   resultlabel.set_text("Result: algorithm is not run yet.");
    69   pack_start(resultlabel);
    60   pack_start(resultlabel);
    70 }
    61 }