gui/broken_edge.h
changeset 1499 9316dcc0a355
parent 1497 529e48eb9786
child 1500 a222eb109e52
     1.1 --- a/gui/broken_edge.h	Wed Jun 15 13:05:32 2005 +0000
     1.2 +++ b/gui/broken_edge.h	Thu Jun 16 18:08:04 2005 +0000
     1.3 @@ -9,8 +9,22 @@
     1.4  
     1.5  class BrokenEdge : public Gnome::Canvas::Line
     1.6  {
     1.7 +  Gnome::Canvas::Polygon * arrow;
     1.8 +  Gnome::Art::Point * my_points;
     1.9 +
    1.10 +  ///Indicates whether the button of mouse is pressed or not
    1.11 +  bool isbutton;
    1.12 +
    1.13 +  ///At this location was the mousebutton pressed.
    1.14 +  ///It helps to calculate the distance of dragging.
    1.15 +  double clicked_x, clicked_y;
    1.16 +
    1.17 +  ///event handler for forming edges
    1.18 +  bool edge_former_event_handler(GdkEvent*);
    1.19   public:
    1.20    BrokenEdge(Gnome::Canvas::Group &, Gnome::Canvas::Points);
    1.21 +  ~BrokenEdge();
    1.22 +  void set_points(Gnome::Canvas::Points);
    1.23  };
    1.24  
    1.25