FLTK::FrameBox - Box drawing code for the Fast Light Tool Kit (FLTK)
This box class interprets a small string stored in
data() to indicate the gray shades to draw around the edge of the box and can be used to draw simple bezels.
The normal up box draws the pattern
The normal down_ box draws the pattern
STATE flags will cause the pattern from
down_() to be used instead,
allowing you to draw a different bezel when pushed in.
INVISIBLE flag will not draw the interior,
which can make many widgets draw faster and with less blinking.
my $box = $framebox->new( $name, $x, $y, $w, $h, $pattern, $down );
Constructor where you give the thickness of the borders used by
Sanko Robinson <firstname.lastname@example.org> - http://sankorobinson.com/
Copyright (C) 2008-2010 by Sanko Robinson <email@example.com>
This program is free software; you can redistribute it and/or modify it under the terms of The Artistic License 2.0. See the LICENSE file included with this distribution or notes on the Artistic License 2.0 for clarification.
When separated from the distribution, all original POD documentation is covered by the Creative Commons Attribution-Share Alike 3.0 License. See the clarification of the CCA-SA3.0.