graph_displayer_canvas.h
branchgui
changeset 35 79bffdf6aea2
parent 34 2cb1fc37f742
child 37 1dc5b49457c0
     1.1 --- a/graph_displayer_canvas.h	Fri Jul 15 21:17:18 2005 +0000
     1.2 +++ b/graph_displayer_canvas.h	Thu Jul 21 19:28:29 2005 +0000
     1.3 @@ -97,6 +97,12 @@
     1.4    ///Moves the text to new place
     1.5    void textReposition(xy<double>);
     1.6    ///Activates an edge belonging to a BrokenEdge
     1.7 +  ///
     1.8 +  ///After we have activated an edge this way,
     1.9 +  ///the GDC object will know, which edge is under forming
    1.10 +  ///therefore it can redraw the necessarz elementy on the canvas,
    1.11 +  ///for example the text belonging to the \ref BrokenEdge can be
    1.12 +  ///redrawn (\ref textReposition).
    1.13    void toggleEdgeActivity(BrokenEdge*, bool);
    1.14  
    1.15  public:
    1.16 @@ -157,6 +163,9 @@
    1.17    Gnome::Canvas::Item * active_item, * target_item;
    1.18    Graph::NodeIt active_node;
    1.19    Graph::EdgeIt active_edge;
    1.20 +  Graph::EdgeIt forming_edge;
    1.21 +
    1.22 +  std::string nodemap_to_edit, edgemap_to_edit;
    1.23  
    1.24    static const int zoom_step = 5;
    1.25