COIN-OR::LEMON - Graph Library

Changeset 38:9cab23d9b124 in glemon-0.x


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

Continuing adding new maps.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • graph_displayer_canvas-event.cc

    r37 r38  
    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}
  • map_win.cc

    r31 r38  
    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}
  • map_win.h

    r30 r38  
    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.