COIN-OR::LEMON - Graph Library

Changeset 172:fc1e478697d3 in glemon-0.x for nbtab.cc


Ignore:
Timestamp:
10/25/06 15:21:24 (13 years ago)
Author:
Hegyi Péter
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/glemon/trunk@3017
Message:

Currently visualized map can be saved and loaded from file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nbtab.cc

    r160 r172  
    203203    {
    204204      mapwin=new MapWin("Map Setup - "+name, mapstorage.getEdgeMapList(), mapstorage.getNodeMapList(), *this);
     205      mapst2mapwin=mapstorage.signal_map_win_ch().connect(sigc::mem_fun(*mapwin, &MapWin::changeEntry));
    205206      mapwin->show();
    206207      mapwinexists=true;
     
    215216      int iterations;
    216217      gd_canvas->get_design_data(attraction, propulsation, iterations);
    217       designwin=new DesignWin("Design Setup - "+name, attraction, propulsation, iterations);
     218      designwin=new DesignWin("Design Setup - "+name, attraction, propulsation, iterations, *this);
    218219
    219220      designwin->signal_attraction().connect(sigc::mem_fun(*this, &NoteBookTab::attraction_ch));
     
    231232void NoteBookTab::closeMapWin()
    232233{
     234  mapst2mapwin.disconnect();
    233235  mapwinexists=false;
    234236  delete mapwin;
     
    279281}
    280282
     283void NoteBookTab::active_maps_needed()
     284{
     285  mapstorage.broadcastActiveMaps();
     286}
Note: See TracChangeset for help on using the changeset viewer.