Changeset 147:10ef59f6633c in glemon-0.x for graph_displayer_canvas-edge.cc
- Timestamp:
- 09/13/06 11:16:29 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/glemon/trunk@2943
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
graph_displayer_canvas-edge.cc
r96 r147 25 25 w=(int)(MIN_EDGE_WIDTH+(v-min)/(max-min)*(MAX_EDGE_WIDTH-MIN_EDGE_WIDTH)); 26 26 } 27 edgesmap[i]-> property_width_units().set_value(w);27 edgesmap[i]->setLineWidth(w); 28 28 } 29 29 } … … 33 33 if(w>=0) 34 34 { 35 edgesmap[edge]-> property_width_units().set_value(w);35 edgesmap[edge]->setLineWidth(w); 36 36 } 37 37 } … … 63 63 w=(int)(MIN_EDGE_WIDTH+(v-min)/(max-min)*(MAX_EDGE_WIDTH-MIN_EDGE_WIDTH)); 64 64 } 65 edgesmap[i]-> property_width_units().set_value(w);65 edgesmap[i]->setLineWidth(w); 66 66 } 67 67 } … … 71 71 if(w>=0) 72 72 { 73 edgesmap[edge]-> property_width_units().set_value(w);73 edgesmap[edge]->setLineWidth(w); 74 74 } 75 75 } … … 106 106 color.set_rgb_p (0, 100, 0); 107 107 } 108 edgesmap[i]-> property_fill_color_gdk().set_value(color);108 edgesmap[i]->setFillColor(color); 109 109 } 110 110 } … … 124 124 } 125 125 126 edgesmap[edge]-> property_fill_color_gdk().set_value(color);126 edgesmap[edge]->setFillColor(color); 127 127 } 128 128 return 0; … … 157 157 color.set_rgb_p (0, 100, 0); 158 158 } 159 edgesmap[i]-> property_fill_color_gdk().set_value(color);159 edgesmap[i]->setFillColor(color); 160 160 } 161 161 } … … 175 175 } 176 176 177 edgesmap[edge]-> property_fill_color_gdk().set_value(color);177 edgesmap[edge]->setFillColor(color); 178 178 } 179 179 return 0;
Note: See TracChangeset
for help on using the changeset viewer.