[Lemon-commits] [lemon_svn] hegyi: r2089 - hugo/trunk/gui
Lemon SVN
svn at lemon.cs.elte.hu
Mon Nov 6 20:50:04 CET 2006
Author: hegyi
Date: Mon Jul 25 13:17:23 2005
New Revision: 2089
Modified:
hugo/trunk/gui/graph_displayer_canvas-event.cc
hugo/trunk/gui/map_win.cc
hugo/trunk/gui/map_win.h
Log:
Continuing adding new maps.
Modified: hugo/trunk/gui/graph_displayer_canvas-event.cc
==============================================================================
--- hugo/trunk/gui/graph_displayer_canvas-event.cc (original)
+++ hugo/trunk/gui/graph_displayer_canvas-event.cc Mon Jul 25 13:17:23 2005
@@ -805,6 +805,9 @@
void GraphDisplayerCanvas::addNewEdgeMap()
{
+ Graph::EdgeMap<double> * emptr=new Graph::EdgeMap<double> (g);
+ mapstorage.addEdgeMap("NewEdgeMap",emptr);
+ mapwin->registerNewEdgeMap("NewEdgeMap");
std::cout << "Add New EdgeMap is not yet implemented." << std::endl;
}
Modified: hugo/trunk/gui/map_win.cc
==============================================================================
--- hugo/trunk/gui/map_win.cc (original)
+++ hugo/trunk/gui/map_win.cc Mon Jul 25 13:17:23 2005
@@ -248,3 +248,13 @@
}
}
}
+
+void MapWin::registerNewEdgeMap(std::string)
+{
+ std::cout << "void MapWin::registerNewEdgeMap(std::string) is not yet implemented" << std::endl;
+}
+
+void MapWin::registerNewNodeMap(std::string)
+{
+ std::cout << "void MapWin::registerNewNodeMap(std::string) is not yet implemented" << std::endl;
+}
Modified: hugo/trunk/gui/map_win.h
==============================================================================
--- hugo/trunk/gui/map_win.h (original)
+++ hugo/trunk/gui/map_win.h Mon Jul 25 13:17:23 2005
@@ -55,7 +55,14 @@
///This function is created to set the appropriate maps on the newly created edge
void updateEdge(Graph::Edge);
+ ///This function inserts name of the new edgemap in the list in the combo box
+ void registerNewEdgeMap(std::string);
+
+ ///This function inserts name of the new nodemap in the list in the combo box
+ void registerNewNodeMap(std::string);
+
virtual bool closeIfEscapeIsPressed(GdkEventKey*);
+
};
#endif //MAP_WIN_H
More information about the Lemon-commits
mailing list