COIN-OR::LEMON - Graph Library

Changeset 1886:8b225c2935e7 in lemon-0.x for gui/kruskalbox.cc


Ignore:
Timestamp:
01/09/06 12:55:47 (14 years ago)
Author:
Hegyi Péter
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2461
Message:

Creation of algorithm dialog is even simpler by the usage of the newly created addMapSelector function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gui/kruskalbox.cc

    r1884 r1886  
    5454  std::vector<std::string> empty_vector;
    5555
    56   edgemapcbts.resize(MAP_NUM);
    57 
    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]));
     56  addMapSelector("Edgecosts: ", true);
     57  addMapSelector("Edges of tree here: ", true);
    6758
    6859  resultlabel.set_text("Result: algorithm is not run yet.");
Note: See TracChangeset for help on using the changeset viewer.