NAME

TUI::Views - Core view classes for the TUI::Vision framework

SYNOPSIS

use TUI::Objects;
use TUI::Views;

# Typical in a TProgram/TApplication method:
my $w = TWindow->new(
  bounds => TRect->new( ax => 5, ay => 2, bx => 60, by => 18 ),
  title  => 'Log',
  number => 1,
);

my $vbar = TScrollBar->new(
  bounds => TRect->new( ax => 53, ay => 1, bx => 54, by => 14 ),
);
$w->insert($vbar);

# Add the window to the current desktop/group owner.
$deskTop->insert($w);

DESCRIPTION

TUI::Views provides the core view and windowing subsystem for the TUI::Vision framework. It corresponds to the Turbo Vision view architecture and includes all fundamental UI components such as views, groups, frames, windows, palettes, and drawing buffers.

This module re-exports a wide range of view-related classes, including:

  • Const - Symbolic constants for view behavior.

  • TCommandSet - Command and hotkey definitions.

  • TDrawBuffer - Low-level drawing buffer for character cell output.

  • TPalette - Color palette definitions.

  • TView - Base class for all visual components.

  • TGroup - Container for child views.

  • TFrame - Window frame and border rendering.

  • TListViewer - Scrollable list view.

  • TScrollBar - Vertical and horizontal scroll bars.

  • TWindowInit / TWindow - Window initialization and window objects.

  • Util - Utility functions such as message.

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) 2021-2026 the "AUTHORS" as listed above.

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