COIN-OR::LEMON - Graph Library

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


Ignore:
Timestamp:
10/21/05 15:32:12 (17 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/mapselector.cc

    r1731 r1733  
    11#include "mapselector.h"
    22
    3 MapSelector::MapSelector(GraphDisplayerCanvas & grdispc, MapStorage & mapst, MapWin & mapw, int identifier, bool edge):gdc(grdispc),ms(mapst),mw(mapw),id(identifier),itisedge(edge),default_state(true),node_to_update(INVALID),edge_to_update(INVALID)
     3MapSelector::MapSelector(GraphDisplayerCanvas & grdispc, MapStorage & mapst, NewMapWin & newmapw, int identifier, bool edge):gdc(grdispc),ms(mapst),nmw(newmapw),id(identifier),itisedge(edge),default_state(true),node_to_update(INVALID),edge_to_update(INVALID)
    44{
    55  update_list();
     
    3434
    3535  newbut=new Gtk::Button(Gtk::Stock::NEW);
     36
     37  newbut->signal_pressed().connect
     38    (
     39     sigc::mem_fun(nmw, &NewMapWin::show)
     40     );
    3641
    3742  add(*label);
Note: See TracChangeset for help on using the changeset viewer.