FLTK - Historical Package Name Alias
use FLTK qw[:label]; my $window = FLTK::Window->new(100, 100, 300, 180); my $box = FLTK::Box->new(20, 40, 260, 100, 'Hello, World'); $box->labelfont(BOLD + ITALIC); # TODO $box->labelsize(36); $box->labelfont(SHADOW_LABEL); # TODO $window->end(); $window->show(); exit FLTK::run();
The FLTK package is a namespace alias for the Fl package. It's only use is to allow (most) code written for the old FLTK distribution to use the new Fl package with a little less work. Please note that the toolkit itself is not 100% compatible so expect complex code written for FLTK to just plain kill kill over on Fl even with this alias.
Copyright (C) Sanko Robinson.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Sanko Robinson <firstname.lastname@example.org>