broken_edge.cc
branchgui
changeset 76 76f4f2ae0e7d
parent 59 c38925cc6a4d
child 80 231191361de5
equal deleted inserted replaced
10:4eea1fc2a55c 11:329d94da986f
     6   my_points=new Gnome::Art::Point[3];
     6   my_points=new Gnome::Art::Point[3];
     7 
     7 
     8   arrow=new Gnome::Canvas::Polygon(g);
     8   arrow=new Gnome::Canvas::Polygon(g);
     9   *arrow << Gnome::Canvas::Properties::fill_color("red");
     9   *arrow << Gnome::Canvas::Properties::fill_color("red");
    10   arrow->signal_event().connect(sigc::mem_fun(*this, &BrokenEdge::edgeFormerEventHandler));
    10   arrow->signal_event().connect(sigc::mem_fun(*this, &BrokenEdge::edgeFormerEventHandler));
       
    11   arrow->lower_to_bottom();
    11   setPoints(p);
    12   setPoints(p);
    12 }
    13 }
    13 
    14 
    14 BrokenEdge::~BrokenEdge()
    15 BrokenEdge::~BrokenEdge()
    15 {
    16 {