Changeset 1860:27a9a75b957b in lemon-0.x for gui/graph_displayer_canvas.h
- Timestamp:
- 12/17/05 21:55:41 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2432
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gui/graph_displayer_canvas.h
r1849 r1860 15 15 class GraphDisplayerCanvas : public Gnome::Canvas::CanvasAA 16 16 { 17 friend class BrokenEdge; 18 17 19 class BrokenEdge : public Gnome::Canvas::Line 18 20 { 21 Edge edge; 19 22 GraphDisplayerCanvas & gdc; 20 23 Gnome::Canvas::Polygon * arrow; 21 Gnome::Art::Point * my_points;22 23 24 24 25 ///Indicates whether the button of mouse is pressed or not … … 32 33 bool edgeFormerEventHandler(GdkEvent*); 33 34 public: 34 BrokenEdge(Gnome::Canvas::Group &, Gnome::Canvas::Points, GraphDisplayerCanvas &);35 BrokenEdge(Gnome::Canvas::Group &, Edge, GraphDisplayerCanvas &); 35 36 ~BrokenEdge(); 36 void setPoints(Gnome::Canvas::Points, bool move=false); 37 xy<double> getArrowPos(); 37 void draw(); 38 38 }; 39 39 typedef Gnome::Canvas::CanvasAA Parent; … … 201 201 NoteBookTab & mytab; 202 202 203 XY GraphDisplayerCanvas::calcArrowPos(XY, XY, XY, XY, bool); 203 204 }; 204 205
Note: See TracChangeset
for help on using the changeset viewer.