Changeset 1849:a4d1362397fe in lemon0.x for gui/graph_displayer_canvasnode.cc
 Timestamp:
 12/06/05 11:53:38 (15 years ago)
 Branch:
 default
 Phase:
 public
 Convert:
 svn:c9d7d8f590d60310b91f818b3a526b0e/lemon/trunk@2414
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

gui/graph_displayer_canvasnode.cc
r1837 r1849 7 7 Graph::NodeMap<double> * actual_map; 8 8 double min, max; 9 min=(m ainwin.mapstorage).minOfNodeMap(mapname);10 max=(m ainwin.mapstorage).maxOfNodeMap(mapname);11 actual_map=((m ainwin.mapstorage).nodemap_storage)[mapname];12 13 if(node==INVALID) 14 { 15 for (NodeIt i((m ainwin.mapstorage).graph); i!=INVALID; ++i)9 min=(mytab.mapstorage).minOfNodeMap(mapname); 10 max=(mytab.mapstorage).maxOfNodeMap(mapname); 11 actual_map=((mytab.mapstorage).nodemap_storage)[mapname]; 12 13 if(node==INVALID) 14 { 15 for (NodeIt i((mytab.mapstorage).graph); i!=INVALID; ++i) 16 16 { 17 17 double v=fabs((*actual_map)[i]); … … 65 65 min=node_property_defaults[N_RADIUS]; 66 66 max=node_property_defaults[N_RADIUS]; 67 Graph::NodeMap<double> actual_map((m ainwin.mapstorage).graph,node_property_defaults[N_RADIUS]);67 Graph::NodeMap<double> actual_map((mytab.mapstorage).graph,node_property_defaults[N_RADIUS]); 68 68 69 69 if(node==INVALID) 70 70 { 71 for (NodeIt i((m ainwin.mapstorage).graph); i!=INVALID; ++i)71 for (NodeIt i((mytab.mapstorage).graph); i!=INVALID; ++i) 72 72 { 73 73 double v=fabs(actual_map[i]); … … 124 124 125 125 Graph::NodeMap<double> * actual_map; 126 actual_map=((m ainwin.mapstorage).nodemap_storage)[mapname];126 actual_map=((mytab.mapstorage).nodemap_storage)[mapname]; 127 127 128 128 double max, min; 129 129 130 max=(m ainwin.mapstorage).maxOfNodeMap(mapname);131 min=(m ainwin.mapstorage).minOfNodeMap(mapname);132 133 if(node==INVALID) 134 { 135 136 for (NodeIt i((m ainwin.mapstorage).graph); i!=INVALID; ++i)130 max=(mytab.mapstorage).maxOfNodeMap(mapname); 131 min=(mytab.mapstorage).minOfNodeMap(mapname); 132 133 if(node==INVALID) 134 { 135 136 for (NodeIt i((mytab.mapstorage).graph); i!=INVALID; ++i) 137 137 { 138 138 Gdk::Color color; … … 179 179 //green in RGB 180 180 181 Graph::NodeMap<double> actual_map((m ainwin.mapstorage).graph,node_property_defaults[N_COLOR]);181 Graph::NodeMap<double> actual_map((mytab.mapstorage).graph,node_property_defaults[N_COLOR]); 182 182 183 183 double max, min; … … 189 189 { 190 190 191 for (NodeIt i((m ainwin.mapstorage).graph); i!=INVALID; ++i)191 for (NodeIt i((mytab.mapstorage).graph); i!=INVALID; ++i) 192 192 { 193 193 Gdk::Color color; … … 236 236 237 237 Graph::NodeMap<double> * actual_map=NULL; 238 actual_map=((m ainwin.mapstorage).nodemap_storage)[mapname];239 240 if(node==INVALID) 241 { 242 for (NodeIt i((m ainwin.mapstorage).graph); i!=INVALID; ++i)238 actual_map=((mytab.mapstorage).nodemap_storage)[mapname]; 239 240 if(node==INVALID) 241 { 242 for (NodeIt i((mytab.mapstorage).graph); i!=INVALID; ++i) 243 243 { 244 244 nodemap_to_edit=mapname; … … 273 273 if(node==INVALID) 274 274 { 275 for (NodeIt i((m ainwin.mapstorage).graph); i!=INVALID; ++i)275 for (NodeIt i((mytab.mapstorage).graph); i!=INVALID; ++i) 276 276 { 277 277 nodemap_to_edit="";
Note: See TracChangeset
for help on using the changeset viewer.