Little beauty fault is corrected.
8 #include <all_include.h>
9 #include <libgnomecanvasmm.h>
10 #include <libgnomecanvasmm/polygon.h>
11 #include <graph_displayer_canvas.h>
13 class BrokenEdge : public Gnome::Canvas::Line
15 GraphDisplayerCanvas & gdc;
16 Gnome::Canvas::Polygon * arrow;
17 Gnome::Art::Point * my_points;
20 ///Indicates whether the button of mouse is pressed or not
23 ///At this location was the mousebutton pressed.
24 ///It helps to calculate the distance of dragging.
25 double clicked_x, clicked_y;
27 ///event handler for forming edges
28 bool edge_former_event_handler(GdkEvent*);
30 BrokenEdge(Gnome::Canvas::Group &, Gnome::Canvas::Points, GraphDisplayerCanvas &);
32 void set_points(Gnome::Canvas::Points, bool move=false);
36 #endif //BROKEN_EDGE_H