ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/perl/background
(Generate patch)

Comparing rxvt-unicode/src/perl/background (file contents):
Revision 1.41 by root, Fri Jun 8 22:21:48 2012 UTC vs.
Revision 1.42 by root, Sun Jun 10 10:42:19 2012 UTC

252If C<$width> and C<$height> are omitted, it creates a 1x1 image, which is 252If C<$width> and C<$height> are omitted, it creates a 1x1 image, which is
253useful for solid backgrounds or for use in filtering effects. 253useful for solid backgrounds or for use in filtering effects.
254 254
255=cut 255=cut
256 256
257 sub solid($$;$) { 257 sub solid($;$$) {
258 my $colour = pop; 258 my $colour = pop;
259 259
260 my $img = $self->new_img (urxvt::PictStandardARGB32, $_[0] || 1, $_[1] || 1); 260 my $img = $self->new_img (urxvt::PictStandardARGB32, $_[0] || 1, $_[1] || 1);
261 $img->fill ($colour); 261 $img->fill ($colour);
262 $img 262 $img

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines