[Bio] / FigKernelPackages / raelib.pm Repository:
ViewVC logotype

Diff of /FigKernelPackages/raelib.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.32, Sun May 7 20:10:07 2006 UTC revision 1.33, Wed May 10 15:47:57 2006 UTC
# Line 1020  Line 1020 
1020          {          {
1021              # find out the last custom color used and increment it              # find out the last custom color used and increment it
1022              my $max=19; # we are not going to use a color less than 20              my $max=19; # we are not going to use a color less than 20
1023              foreach my $k (keys %{$self->{'excel_color'}}) {($k > $max) ? ($max=$k) :1}              foreach my $k (keys %{$self->{'excel_color'}}) {($self->{'excel_color'}->{$k} > $max) ? ($max=$self->{'excel_color'}->{$k}) :1}
1024              $max++;              $max++;
1025              $self->{'excel_color'}->{$color}=$self->{'excel_workbook'}->set_custom_color($max, $color);              $self->{'excel_color'}->{$color}=$self->{'excel_workbook'}->set_custom_color($max, $color);
1026          }          }
# Line 1033  Line 1033 
1033          {          {
1034              # find out the last custom color used and increment it              # find out the last custom color used and increment it
1035              my $max=19; # we are not going to use a color less than 20              my $max=19; # we are not going to use a color less than 20
1036              foreach my $k (keys %{$self->{'excel_color'}}) {($k > $max) ? ($max=$k) :1}              foreach my $k (keys %{$self->{'excel_color'}}) {($self->{'excel_color'}->{$k} > $max) ? ($max=$self->{'excel_color'}->{$k}) :1}
1037              $max++;              $max++;
1038              $self->{'excel_color'}->{$color}=$self->{'excel_workbook'}->set_custom_color($max, $color);              $self->{'excel_color'}->{$color}=$self->{'excel_workbook'}->set_custom_color($max, $color);
1039          }          }

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3