Changeset 1499:9316dcc0a355 in lemon-0.x for gui/graph_displayer_canvas.cc
- Timestamp:
- 06/16/05 20:08:04 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1980
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gui/graph_displayer_canvas.cc
r1497 r1499 24 24 coos.push_back(Gnome::Art::Point(cm[g.target(i)].x,cm[g.target(i)].y)); 25 25 26 //edgesmap[i]=new Gnome::Canvas::Line(displayed_graph, coos);27 26 edgesmap[i]=new BrokenEdge(displayed_graph, coos); 28 27 *(edgesmap[i]) << Gnome::Canvas::Properties::fill_color("green"); … … 393 392 coos.push_back(Gnome::Art::Point((x1+x2)/2,(y1+y2)/2)); 394 393 395 edgesmap[e]-> property_points().set_value(coos);394 edgesmap[e]->set_points(coos); 396 395 397 396 edgesmap[e]->get_bounds(x1, y1, x2, y2); … … 413 412 coos.push_back(Gnome::Art::Point((x1+x2)/2,(y1+y2)/2)); 414 413 415 edgesmap[e]-> property_points().set_value(coos);414 edgesmap[e]->set_points(coos); 416 415 417 416 edgesmap[e]->get_bounds(x1, y1, x2, y2); … … 544 543 545 544 //drawing new edge 546 edgesmap[active_edge]=new Gnome::Canvas::Line(displayed_graph, coos);545 edgesmap[active_edge]=new BrokenEdge(displayed_graph, coos); 547 546 *(edgesmap[active_edge]) << Gnome::Canvas::Properties::fill_color("green"); 548 547 edgesmap[active_edge]->property_width_pixels().set_value(10);
Note: See TracChangeset
for help on using the changeset viewer.