diff -r 1d3a1bcbc874 -r ed7da82bbecf gui/graph_displayer_canvas.h --- a/gui/graph_displayer_canvas.h Wed Jul 20 22:36:37 2005 +0000 +++ b/gui/graph_displayer_canvas.h Thu Jul 21 19:28:29 2005 +0000 @@ -97,6 +97,12 @@ ///Moves the text to new place void textReposition(xy); ///Activates an edge belonging to a BrokenEdge + /// + ///After we have activated an edge this way, + ///the GDC object will know, which edge is under forming + ///therefore it can redraw the necessarz elementy on the canvas, + ///for example the text belonging to the \ref BrokenEdge can be + ///redrawn (\ref textReposition). void toggleEdgeActivity(BrokenEdge*, bool); public: @@ -157,6 +163,9 @@ Gnome::Canvas::Item * active_item, * target_item; Graph::NodeIt active_node; Graph::EdgeIt active_edge; + Graph::EdgeIt forming_edge; + + std::string nodemap_to_edit, edgemap_to_edit; static const int zoom_step = 5;