File Coverage

blib/lib/TUI/Menus.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package TUI::Menus;
2 1     1   2809 use strict;
  1         3  
  1         54  
3 1     1   5 use warnings;
  1         1  
  1         77  
4            
5             our $VERSION = '2.0.0';
6            
7             =encoding utf8
8            
9             =head1 NAME
10            
11             TUI::Menus - Menu and status line system for the TUI::Vision framework
12            
13             =head1 SYNOPSIS
14            
15             use TUI::Menus;
16            
17             # Placeholder module.
18             # The full menu system will be migrated from TV::Menus.
19            
20             =head1 DESCRIPTION
21            
22             TUI::Menus provides the menu and status line subsystem for the
23             TUI::Vision framework. It corresponds to the Turbo Vision menu
24             architecture and includes all components required for building
25             interactive menu bars, pull-down menus, popup menus, and status lines.
26            
27             This module re-exported a wide range of menu-related classes, including:
28            
29             =over 4
30            
31             =item * Const
32             Symbolic constants for menu behavior.
33            
34             =item * Menu, MenuItem, SubMenu
35             Core menu structures.
36            
37             =item * MenuView, MenuBar, MenuBox
38             Visual menu components.
39            
40             =item * StatusItem, StatusDef, StatusLine
41             Status line and hotkey definitions.
42            
43             =item * MenuPopup (planned)
44             Popup menu support, not yet included in the Perl port.
45            
46             =back
47            
48             This stub does not implement any of these features yet.
49             It exists solely to reserve the namespace for the upcoming migration.
50            
51             =head1 ROADMAP
52            
53             =over 4
54            
55             =item * Phase 2
56             Migration of TV::Menus::* modules into TUI::Menus::*.
57            
58             =item * Phase 3
59             Reintroduction of the import/unimport dispatcher.
60            
61             =item * Phase 4
62             Integration with TUI::Views and TUI::Dialogs.
63            
64             =item * Phase 5
65             Implementation of popup menus and dynamic menu generation.
66            
67             =back
68            
69             =head1 AUTHOR
70            
71             J. Schneider
72            
73             =cut
74            
75             1;