| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package TUI::Views;
|
|
2
|
2
|
|
|
2
|
|
3563
|
use strict;
|
|
|
2
|
|
|
|
|
4
|
|
|
|
2
|
|
|
|
|
111
|
|
|
3
|
2
|
|
|
2
|
|
11
|
use warnings;
|
|
|
2
|
|
|
|
|
3
|
|
|
|
2
|
|
|
|
|
208
|
|
|
4
|
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '2.0.0';
|
|
6
|
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=encoding utf8
|
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=head1 NAME
|
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
TUI::Views - Core view classes for the TUI::Vision framework
|
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
use TUI::Views;
|
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
# Placeholder module.
|
|
18
|
|
|
|
|
|
|
# The full view system will be migrated from TV::Views.
|
|
19
|
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
TUI::Views provides the core view and windowing subsystem for the
|
|
23
|
|
|
|
|
|
|
TUI::Vision framework. It corresponds to the Turbo Vision view
|
|
24
|
|
|
|
|
|
|
architecture and includes all fundamental UI components such as views,
|
|
25
|
|
|
|
|
|
|
groups, frames, windows, palettes, and drawing buffers.
|
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
This module re-exported a wide range of view-related classes, including:
|
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=over 4
|
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=item * Const
|
|
32
|
|
|
|
|
|
|
Symbolic constants for view behavior.
|
|
33
|
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=item * CommandSet
|
|
35
|
|
|
|
|
|
|
Command and hotkey definitions.
|
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=item * DrawBuffer
|
|
38
|
|
|
|
|
|
|
Low-level drawing buffer for character cell output.
|
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=item * Palette
|
|
41
|
|
|
|
|
|
|
Color palette definitions.
|
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=item * View
|
|
44
|
|
|
|
|
|
|
Base class for all visual components.
|
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=item * Group
|
|
47
|
|
|
|
|
|
|
Container for child views.
|
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=item * Frame
|
|
50
|
|
|
|
|
|
|
Window frame and border rendering.
|
|
51
|
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=item * ListViewer
|
|
53
|
|
|
|
|
|
|
Scrollable list view.
|
|
54
|
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=item * ScrollBar
|
|
56
|
|
|
|
|
|
|
Vertical and horizontal scroll bars.
|
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=item * WindowInit / Window
|
|
59
|
|
|
|
|
|
|
Window initialization and window objects.
|
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=item * Util
|
|
62
|
|
|
|
|
|
|
Utility functions such as C.
|
|
63
|
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=back
|
|
65
|
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
This stub does not implement any of these features yet.
|
|
67
|
|
|
|
|
|
|
It exists solely to reserve the namespace for the upcoming migration.
|
|
68
|
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head1 ROADMAP
|
|
70
|
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=over 4
|
|
72
|
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=item * Phase 2
|
|
74
|
|
|
|
|
|
|
Migration of all TV::Views::* modules into TUI::Views::*.
|
|
75
|
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=item * Phase 3
|
|
77
|
|
|
|
|
|
|
Integration with TUI::Drivers for unified rendering.
|
|
78
|
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=item * Phase 4
|
|
80
|
|
|
|
|
|
|
Modernization of view layout, event dispatching, and palette handling.
|
|
81
|
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=item * Phase 5
|
|
83
|
|
|
|
|
|
|
Extended widget support and improved window management.
|
|
84
|
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=back
|
|
86
|
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=head1 AUTHOR
|
|
88
|
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
J. Schneider
|
|
90
|
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=cut
|
|
92
|
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
1;
|