Changeset 98:f60f89147531 in glemon-0.x for graph_displayer_canvas.cc
- Timestamp:
- 12/17/05 21:55:41 (18 years ago)
- Branch:
- gui
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk/gui@2432
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
graph_displayer_canvas.cc
r96 r98 169 169 (mytab.mapstorage).coords[(mytab.mapstorage).graph.target(i)].y)); 170 170 171 edgesmap[i]=new BrokenEdge(displayed_graph, coos, *this);171 edgesmap[i]=new BrokenEdge(displayed_graph, i, *this); 172 172 *(edgesmap[i]) << Gnome::Canvas::Properties::fill_color("green"); 173 173 edgesmap[i]->property_width_units().set_value(10); … … 176 176 //initializing edge-text as well, to empty string 177 177 178 xy<double> text_pos=edgesmap[i]->getArrowPos();179 text_pos+=( xy<double>(10,10));178 XY text_pos=mytab.mapstorage.arrow_pos[i]; 179 text_pos+=(XY(10,10)); 180 180 181 181 edgetextmap[i]=new Gnome::Canvas::Text(displayed_graph, text_pos.x, text_pos.y, "");
Note: See TracChangeset
for help on using the changeset viewer.