NAME

Fl::Enumerations - Easily Imported Static Variables

Synopsis

use Fl qw[:enum]; # Import everything!
use Fl qw[:font]; # Import fonts

Description

This file contains type definitions and general enumerations.

Exports

Values are exported directly or with tags.

:version

This tag imports values related to the library and its version number:

FL_MAJOR_VERSION

The major release version of this FLTK library.

FL_MINOR_VERSION

The minor release version for this library.

FLTK remains mostly source-code compatible between minor version changes.

FL_PATCH_VERSION

The patch version for this library.

FLTK remains binary compatible between patches.

FL_VERSION

The FLTK version number.

FL_MAJOR_VERSION + (FL_MINOR_VERSION * 0.01) + (FL_PATCH_VERSION * 0.0001)

:box

Values related to Fl::Box box types including:

FL_NO_BOX

Nothing is drawn at all. This box is invisible and the default for Fl::Box->new(...).

FL_FLAT_BOX

A flat box.

FL_UP_BOX
FL_DOWN_BOX
FL_UP_FRAME
FL_DOWN_FRAME
FL_THIN_UP_BOX
FL_THIN_DOWN_BOX
FL_THIN_UP_FRAME
FL_THIN_DOWN_FRAME
FL_ENGRAVED_BOX
FL_EMBOSSED_BOX
FL_ENGRAVED_FRAME
FL_EMBOSSED_FRAME
FL_BORDER_BOX
FL_BORDER_FRAME
FL_FREE_BOXTYPE

The first free box type for creation of new box types.

:label

The labeltype() method of Fl::Widget sets the type of the label. The following standard label types are included:

FL_NORMAL_LABEL

Draws the text.

FL_NO_LABEL

Does nothing.

FL_SHADOW_LABEL

Draws a drop shadow under the text.

FL_ENGRAVED_LABEL

Draws edges as though the text is engraved.

FL_EMBOSSED_LABEL

Draws edges as though the text is raised.

FL_FREE_BOXTYPE

First free labeltype to use for creating your own labeltypes.

:font

FL_HELVETICA

Helvetica (or Arial) normal.

FL_HELVETICA_BOLD

Helvetica (or Arial) bold.

FL_HELVETICA_ITALIC

Helvetica (or Arial) oblique.

FL_HELVETICA_BOLD_ITALIC

Helvetica (or Arial) bold-oblique.

FL_COURIER

Courier normal.

FL_COURIER_BOLD

Courier bold.

FL_COURIER_ITALIC

Courier italic.

FL_COURIER_BOLD_ITALIC

Courier bold-italic.

FL_TIMES

Times roman.

FL_TIMES_BOLD

Times roman bold.

FL_TIMES_ITALIC

Times roman italic.

FL_TIMES_BOLD_ITALIC

Times roman bold-italic.

FL_SYMBOL

Standard symbol font.

FL_SCREEN

Default monospaced screen font.

FL_SCREEN_BOLD

Default monospaced bold screen font.

FL_ZAPF_DINGBATS

Zapf-dingbats font.

See https://en.wikipedia.org/wiki/Zapf_Dingbats

FL_FREE_FONT

First one free to allocate for custom fonts.

FL_BOLD

Add this to FL_HELVETICA, FL_COURIER, or FL_TIMES.

FL_ITALIC

Add this to FL_HELVETICA, FL_COURIER, or FL_TIMES.

FL_BOLD_ITALIC

Add this to FL_HELVETICA, FL_COURIER, or FL_TIMES.

LICENSE

Copyright (C) Sanko Robinson.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Sanko Robinson <sanko@cpan.org>