gui/broken_edge.cc
changeset 1665 fdeb961110ac
parent 1632 93ac8c521fe5
child 1714 66c89fe52d4e
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 {