diff -r c397e85ec555 -r 4042761b21e3 broken_edge.h --- a/broken_edge.h Thu Nov 17 15:34:18 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,39 +0,0 @@ -// -*- C++ -*- // - -#ifndef BROKEN_EDGE_H -#define BROKEN_EDGE_H - -class BrokenEdge; - -#include "all_include.h" -#include -#include -#include "graph_displayer_canvas.h" -#include - -class BrokenEdge : public Gnome::Canvas::Line -{ - GraphDisplayerCanvas & gdc; - 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 edgeFormerEventHandler(GdkEvent*); - public: - BrokenEdge(Gnome::Canvas::Group &, Gnome::Canvas::Points, GraphDisplayerCanvas &); - ~BrokenEdge(); - void setPoints(Gnome::Canvas::Points, bool move=false); - xy getArrowPos(); -}; - - -#endif //BROKEN_EDGE_H -