COIN-OR::LEMON - Graph Library

Changeset 147:10ef59f6633c in glemon-0.x for graph_displayer_canvas-edge.cc


Ignore:
Timestamp:
09/13/06 11:16:29 (18 years ago)
Author:
Akos Ladanyi
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/glemon/trunk@2943
Message:

Loop edges.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • graph_displayer_canvas-edge.cc

    r96 r147  
    2525              w=(int)(MIN_EDGE_WIDTH+(v-min)/(max-min)*(MAX_EDGE_WIDTH-MIN_EDGE_WIDTH));
    2626            }
    27           edgesmap[i]->property_width_units().set_value(w);
     27          edgesmap[i]->setLineWidth(w);
    2828        }
    2929    }
     
    3333      if(w>=0)
    3434        {
    35           edgesmap[edge]->property_width_units().set_value(w);
     35          edgesmap[edge]->setLineWidth(w);
    3636        }
    3737    }
     
    6363              w=(int)(MIN_EDGE_WIDTH+(v-min)/(max-min)*(MAX_EDGE_WIDTH-MIN_EDGE_WIDTH));
    6464            }
    65           edgesmap[i]->property_width_units().set_value(w);
     65          edgesmap[i]->setLineWidth(w);
    6666        }
    6767    }
     
    7171      if(w>=0)
    7272        {
    73           edgesmap[edge]->property_width_units().set_value(w);
     73          edgesmap[edge]->setLineWidth(w);
    7474        }
    7575    }
     
    106106              color.set_rgb_p (0, 100, 0);
    107107            }
    108           edgesmap[i]->property_fill_color_gdk().set_value(color);
     108          edgesmap[i]->setFillColor(color);
    109109        }
    110110    }
     
    124124        }
    125125
    126       edgesmap[edge]->property_fill_color_gdk().set_value(color);
     126      edgesmap[edge]->setFillColor(color);
    127127    }
    128128  return 0;
     
    157157              color.set_rgb_p (0, 100, 0);
    158158            }
    159           edgesmap[i]->property_fill_color_gdk().set_value(color);
     159          edgesmap[i]->setFillColor(color);
    160160        }
    161161    }
     
    175175        }
    176176
    177       edgesmap[edge]->property_fill_color_gdk().set_value(color);
     177      edgesmap[edge]->setFillColor(color);
    178178    }
    179179  return 0;
Note: See TracChangeset for help on using the changeset viewer.