NAME

FLTK::HighlightButton - This button highlights even if the default style does not do so

Description

Same as a normal button but the box() defaults to a style that draws as a flat rectangle until the mouse points at it, then it draws as a raised highlighted rectangle.

Functions

new

my $button = $highlightbutton->new( $x, $y, $w, $h, $label );

Creates a new FLTK::HighlightButton object. Obviously.

Author

Sanko Robinson <sanko@cpan.org> - http://sankorobinson.com/

License and Legal

Copyright (C) 2008-2010 by Sanko Robinson <sanko@cpan.org>

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.