COIN-OR::LEMON - Graph Library

Ignore:
Timestamp:
08/26/05 09:35:23 (14 years ago)
Author:
Akos Ladanyi
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2161
Message:
  • use Gtk::Dialog to set the new values of edge and node maps
  • update all edges/nodes when editing a map so that edge widths and node sizes change properly
  • coordinate maps are no longer selectable in the maps window
File:
1 edited

Legend:

Unmodified
Added
Removed
  • gui/graph_displayer_canvas.cc

    r1645 r1648  
    55GraphDisplayerCanvas::GraphDisplayerCanvas(MapStorage & ms, MapWin & mw, Gtk::Window * mainwin) :
    66  nodesmap(ms.graph), edgesmap(ms.graph), edgetextmap(ms.graph),
    7   nodetextmap(ms.graph), displayed_graph(*(root()), 0, 0),
    8   canvasentrywidget(NULL), mapstorage(ms), isbutton(0), active_item(NULL),
    9   target_item(NULL), nodemap_to_edit(""), edgemap_to_edit(""), mapwin(mw)
     7  nodetextmap(ms.graph), displayed_graph(*(root()), 0, 0), mapstorage(ms),
     8  isbutton(0), active_item(NULL), target_item(NULL), nodemap_to_edit(""),
     9  edgemap_to_edit(""), mapwin(mw)
    1010{
    1111  parentwin=mainwin;
     
    1414  actual_handler=signal_event().connect(sigc::mem_fun(*this, &GraphDisplayerCanvas::moveEventHandler), false);
    1515  actual_tool=MOVE;
    16 
    17   //setting event handler for the editor widget
    18   entrywidget.signal_event().connect(sigc::mem_fun(*this, &GraphDisplayerCanvas::entryWidgetChangeHandler), false);
    1916
    2017  active_node=INVALID;
     
    3532    delete edgesmap[e];
    3633    delete edgetextmap[e];
    37   }
    38 
    39   if(canvasentrywidget)
    40   {
    41     delete(canvasentrywidget);
    4234  }
    4335}
Note: See TracChangeset for help on using the changeset viewer.