Acme-Curses-Marquee
view release on metacpan or search on metacpan
lib/Acme/Curses/Marquee.pm view on Meta::CPAN
* height
* width
C<window> should be a curses window that the marquee can write
to. C<height> and C<width> should be the height and width of that
window, in characters.
There are also two optional arguments: C<font>, which sets the figlet
font of the marquee (defaults to the figlet default, 'standard'), and
C<text> which will set an initial string to be displayed and cause the
marquee to start display as soon as it is created.
=cut
sub new {
my ($class,%args) = @_;
die "Can't create marquee object without a host window\n"
unless( defined $args{window} );
die "Can't create marquee object without height value\n"
unless( defined $args{height} );
( run in 0.240 second using v1.01-cache-2.11-cpan-0d8aa00de5b )