COIN-OR::LEMON - Graph Library

Changeset 1586:1a8630f2e944 in lemon-0.x


Ignore:
Timestamp:
07/25/05 13:17:23 (19 years ago)
Author:
Hegyi Péter
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2089
Message:

Continuing adding new maps.

Location:
gui
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • gui/graph_displayer_canvas-event.cc

    r1585 r1586  
    806806void GraphDisplayerCanvas::addNewEdgeMap()
    807807{
     808  Graph::EdgeMap<double> * emptr=new Graph::EdgeMap<double> (g);
     809  mapstorage.addEdgeMap("NewEdgeMap",emptr);
     810  mapwin->registerNewEdgeMap("NewEdgeMap");
    808811  std::cout << "Add New EdgeMap is not yet implemented." << std::endl;
    809812}
  • gui/map_win.cc

    r1525 r1586  
    249249    }
    250250}
     251
     252void MapWin::registerNewEdgeMap(std::string)
     253{
     254  std::cout << "void MapWin::registerNewEdgeMap(std::string) is not yet implemented" << std::endl;
     255}
     256
     257void MapWin::registerNewNodeMap(std::string)
     258{
     259  std::cout << "void MapWin::registerNewNodeMap(std::string) is not yet implemented" << std::endl;
     260}
  • gui/map_win.h

    r1524 r1586  
    5656  void updateEdge(Graph::Edge);
    5757
     58  ///This function inserts name of the new edgemap in the list in the combo box
     59  void registerNewEdgeMap(std::string);
     60
     61  ///This function inserts name of the new nodemap in the list in the combo box
     62  void registerNewNodeMap(std::string);
     63
    5864  virtual bool closeIfEscapeIsPressed(GdkEventKey*);
     65
    5966};
    6067
Note: See TracChangeset for help on using the changeset viewer.