NAME
TUI::Objects - Base object classes for the TUI::Vision framework
SYNOPSIS
use TUI::Objects;
# Geometry primitives used across the framework.
my $p = TPoint->new( x => 10, y => 5 );
my $r = TRect->new( ax => 0, ay => 0, bx => 80, by => 25 );
# Classic constructor style is also available.
my $r2 = new_TRect( 5, 2, 60, 20 );
# Collection building with typed/sorted containers.
my $items = TStringCollection->new( limit => 10, delta => 5 );
$items->insert('One');
$items->insert('Two');
DESCRIPTION
TUI::Objects provides the foundational object layer for the TUI::Vision framework. It corresponds to the classic Turbo Vision TObject system and serves as the central hub for all structural classes, including:
TObject base class - Lifecycle, ownership, and common behavior.
TCollection classes - Typed and sorted collections, mirroring the original Turbo Vision design.
Constants and shared definitions - Symbolic constants used throughout the framework.
This module re-exports multiple submodules (TObject, TPoint, TRect, TCollection, TSortedCollection, etc.) via import and unimport.
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).