COIN-OR::LEMON - Graph Library

Changeset 1733:5e0d97823ba2 in lemon-0.x for gui/map_win.cc


Ignore:
Timestamp:
10/21/05 15:32:12 (16 years ago)
Author:
Hegyi Péter
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2260
Message:

MapSelector? widget is able to pop up NewMap? window. At the moment I hope MapSelector? widget is done.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gui/map_win.cc

    r1731 r1733  
    1111}
    1212
    13 MapWin::MapWin(const std::string& title, MapStorage & mapst, GraphDisplayerCanvas & grdispc):gdc(grdispc),ms(mapst)
     13MapWin::MapWin(const std::string& title, MapStorage & mapst, GraphDisplayerCanvas & grdispc, NewMapWin & newmapwin):gdc(grdispc),ms(mapst), nmw(newmapwin)
    1414{
    1515  set_title(title);
     
    2424  for(int i=0;i<EDGE_PROPERTY_NUM;i++)
    2525  {
    26     e_combo_array[i]=new MapSelector(gdc, ms, *this, i, true);
     26    e_combo_array[i]=new MapSelector(gdc, ms, nmw, i, true);
    2727
    2828    (*table).attach((*(e_combo_array[i])),0,1,i,i+1,Gtk::SHRINK,Gtk::SHRINK,10,3);
     
    4141  for(int i=0;i<NODE_PROPERTY_NUM;i++)
    4242  {
    43     n_combo_array[i]=new MapSelector(gdc, ms, *this, i, false);
     43    n_combo_array[i]=new MapSelector(gdc, ms, nmw, i, false);
    4444
    4545    (*table).attach((*(n_combo_array[i])),0,1,i,i+1,Gtk::SHRINK,Gtk::SHRINK,10,3);
     
    102102  {
    103103    //filling in combo box with choices
    104     e_combo_array[i]->append_text((Glib::ustring)newmapname);
     104    n_combo_array[i]->append_text((Glib::ustring)newmapname);
    105105  }
    106106  //setting text property for the new map
Note: See TracChangeset for help on using the changeset viewer.