diff -r 352b1ee13bc0 -r 9316dcc0a355 gui/broken_edge.h --- a/gui/broken_edge.h Wed Jun 15 13:05:32 2005 +0000 +++ b/gui/broken_edge.h Thu Jun 16 18:08:04 2005 +0000 @@ -9,8 +9,22 @@ class BrokenEdge : public Gnome::Canvas::Line { + Gnome::Canvas::Polygon * arrow; + Gnome::Art::Point * my_points; + + ///Indicates whether the button of mouse is pressed or not + bool isbutton; + + ///At this location was the mousebutton pressed. + ///It helps to calculate the distance of dragging. + double clicked_x, clicked_y; + + ///event handler for forming edges + bool edge_former_event_handler(GdkEvent*); public: BrokenEdge(Gnome::Canvas::Group &, Gnome::Canvas::Points); + ~BrokenEdge(); + void set_points(Gnome::Canvas::Points); };