1.1 --- a/graph_displayer_canvas.cc Wed Jun 29 12:52:20 2005 +0000
1.2 +++ b/graph_displayer_canvas.cc Wed Jun 29 15:41:33 2005 +0000
1.3 @@ -5,7 +5,7 @@
1.4 GraphDisplayerCanvas::GraphDisplayerCanvas(Graph & gr, CoordinatesMap & cm, MapStorage & ms, MapWin * mw):g(gr),nodesmap(g),edgesmap(g),edgetextmap(g),nodetextmap(g),displayed_graph(*(root()), 0, 0),mapstorage(ms),isbutton(0),active_item(NULL),target_item(NULL),mapwin(mw)
1.5 {
1.6
1.7 - actual_handler=signal_event().connect(sigc::mem_fun(*this, &GraphDisplayerCanvas::create_node_event_handler), false);
1.8 + actual_handler=signal_event().connect(sigc::mem_fun(*this, &GraphDisplayerCanvas::createNodeEventHandler), false);
1.9 actual_tool=CREATE_NODE;
1.10
1.11 active_node=INVALID;
1.12 @@ -30,7 +30,7 @@
1.13
1.14 //initializing edge-text as well, to empty string
1.15
1.16 - xy<double> text_pos=edgesmap[i]->get_arrow_pos();
1.17 + xy<double> text_pos=edgesmap[i]->getArrowPos();
1.18 text_pos+=(xy<double>(10,10));
1.19
1.20 edgetextmap[i]=new Gnome::Canvas::Text(displayed_graph, text_pos.x, text_pos.y, "");