COIN-OR::LEMON - Graph Library

Changeset 21:44bb92014108 in glemon-0.x for broken_edge.h


Ignore:
Timestamp:
06/17/05 14:25:53 (15 years ago)
Author:
Hegyi Péter
Branch:
gui
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk/gui@1982
Message:

Very small bug is corrected: if node creator tool is active, the small red arrows won't move, if you click on them and if you drag the newly created node... 'was hard to notice it :-)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • broken_edge.h

    r20 r21  
    44#define BROKEN_EDGE_H
    55
     6class BrokenEdge;
     7
    68#include <all_include.h>
    79#include <libgnomecanvasmm.h>
    810#include <libgnomecanvasmm/polygon.h>
     11#include <graph_displayer_canvas.h>
    912
    1013class BrokenEdge : public Gnome::Canvas::Line
    1114{
     15  GraphDisplayerCanvas & gdc;
    1216  Gnome::Canvas::Polygon * arrow;
    1317  Gnome::Art::Point * my_points;
     18
    1419
    1520  ///Indicates whether the button of mouse is pressed or not
     
    2328  bool edge_former_event_handler(GdkEvent*);
    2429 public:
    25   BrokenEdge(Gnome::Canvas::Group &, Gnome::Canvas::Points);
     30  BrokenEdge(Gnome::Canvas::Group &, Gnome::Canvas::Points, GraphDisplayerCanvas &);
    2631  ~BrokenEdge();
    2732  void set_points(Gnome::Canvas::Points, bool move=false);
Note: See TracChangeset for help on using the changeset viewer.