NAME
TUI::ColorSel - Aggregated color selection components for TUI::Vision
SYNOPSIS
SYNOPSIS
use TUI::ColorSel;
my $calendar =
TColorGroup->new('Calendar')
+ TColorItem->new('Frame passive', 16)
+ TColorItem->new('Frame active', 17)
+ TColorItem->new('Frame icons', 18)
+ TColorItem->new('Scroll bar page', 19)
+ TColorItem->new('Scroll bar icons', 20)
+ TColorItem->new('Normal text', 21)
+ TColorItem->new('Current day', 22);
my $ascii =
TColorGroup->new('ASCII table')
+ TColorItem->new('Frame passive', 24)
+ TColorItem->new('Frame active', 25)
+ TColorItem->new('Frame icons', 26)
+ TColorItem->new('Scroll bar page', 27)
+ TColorItem->new('Scroll bar icons', 28)
+ TColorItem->new('Text', 29);
my $groups = $calendar + $ascii;
my $dialog = TColorDialog->new(
pal => undef,
groups => $groups,
);
DESCRIPTION
TUI::ColorSel is a convenience module that loads and re-exports the color selection components of the TUI::Vision framework.
Instead of importing each component separately, applications can simply load this module to gain access to all color selection related classes and constants.
The module exports the symbols as well as the classes listed below.
Const Color selection constants and symbolic values.
TColorDialog Color selection dialog.
TColorDisplay Displays the currently selected color/entry.
TColorGroup Represents a logical group of related color items.
TColorGroupList Collection of color groups.
TColorItem Represents a single colorable element.
TColorItemList Collection of color items.
TColorSelector Interactive color selector widget.
TMonoSelector Monochrome attribute selector widget.
AUTHORS
Borland International (original Turbo Vision design)
J. Schneider <brickpool@cpan.org> (Perl implementation and maintenance)
CONTRIBUTORS
Contributors are documented in the POD of the respective framework modules.
COPYRIGHT AND LICENSE
Copyright (c) 1990-1994, 1997 by Borland International
Copyright (c) 2026 the "AUTHORS" as listed above.
This software is licensed under the MIT license (see the LICENSE file, which is part of the distribution).