NAME

TUI::App::Const - constants for application-level components

SYNOPSIS

use TUI::App::Const qw(:all);

# or import specific constant groups
use TUI::App::Const qw(:cpXXXX :hcXXXX);

DESCRIPTION

TUI::App::Const defines constants used by Turbo Vision application-level components such as the program object, application palettes, and help system.

The constants in this module are grouped by purpose and exported via tag-based export groups. They are used to control application appearance, help context selection, and palette configuration.

This module only defines constants. The semantic meaning and practical usage of these constants is documented in higher-level modules such as TUI::App, TProgram, and TApplication.

CONSTANTS

Palette constants (cpXXXX)

Palette identifiers and palette data used by application-level views.

These constants define background palettes and the standard application color schemes used by the program and application objects.

Help context constants (hcXXXX)

Help context identifiers used by application menus, dialogs, and commands.

These values are passed to the help system to identify the appropriate help topic for a given command or user action.

Application palette selectors (apXXXX)

Constants used to select the active application palette.

These values identify the color, black-and-white, and monochrome application palette variants.

EXPORT TAGS

Constants are exported using the following tag-based export groups:

  • :cpXXXX - application palette constants

  • :hcXXXX - help context identifiers

  • :apXXXX - application palette selectors

  • :all - import all constants

SEE ALSO

TUI::App, TUI::App::Program, TUI::App::Application

AUTHORS

Borland International (original Turbo Vision design)
J. Schneider <brickpool@cpan.org> (Perl implementation and maintenance)

COPYRIGHT AND LICENSE

Copyright (c) 1990-1994, 1997 by Borland International

Copyright (c) 2025-2026 the "AUTHORS" as listed above.

This software is licensed under the MIT license (see the LICENSE file, which is part of the distribution).