Acme-Curses-Marquee
view release on metacpan or search on metacpan
lib/Acme/Curses/Marquee.pm view on Meta::CPAN
unless( defined $args{window} );
die "Can't create marquee object without height value\n"
unless( defined $args{height} );
die "Can't create marquee object without width value\n"
unless( defined $args{width} );
my $self = bless { win => $args{window},
height => $args{height},
width => $args{width},
font => $args{font} || 'standard',
srctxt => $args{text} || undef,
figtxt => '',
txtlen => 0,
offset => 0,
active => 0,
}, $class;
$self->text($self->{srctext}) if (defined $self->{srctxt});
return $self;
}
( run in 1.322 second using v1.01-cache-2.11-cpan-d80b1682f3f )