COIN-OR::LEMON - Graph Library

Changeset 19:164783ceb9be in glemon-0.x for broken_edge.h


Ignore:
Timestamp:
06/16/05 20:08:04 (19 years ago)
Author:
Hegyi Péter
Branch:
gui
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk/gui@1980
Message:

Little red arrows appear in breakpoints of edges.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • broken_edge.h

    r17 r19  
    1010class BrokenEdge : public Gnome::Canvas::Line
    1111{
     12  Gnome::Canvas::Polygon * arrow;
     13  Gnome::Art::Point * my_points;
     14
     15  ///Indicates whether the button of mouse is pressed or not
     16  bool isbutton;
     17
     18  ///At this location was the mousebutton pressed.
     19  ///It helps to calculate the distance of dragging.
     20  double clicked_x, clicked_y;
     21
     22  ///event handler for forming edges
     23  bool edge_former_event_handler(GdkEvent*);
    1224 public:
    1325  BrokenEdge(Gnome::Canvas::Group &, Gnome::Canvas::Points);
     26  ~BrokenEdge();
     27  void set_points(Gnome::Canvas::Points);
    1428};
    1529
Note: See TracChangeset for help on using the changeset viewer.