| 1 | package TUI::Gadgets; | ||
| 2 | # ABSTRACT: Gadget components for the TUI::Vision framework | ||
| 3 | |||
| 4 | 2 | ▶ | use 5.010; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 2 | our $VERSION = '2.000003'; | |
| 9 | 2 | $VERSION =~ tr/_//d; | |
| 10 | 2 | our $AUTHORITY = 'cpan:BRICKPOOL'; | |
| 11 | |||
| 12 | 2 | ▶ | use Import::Into; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | |||
| 14 | 2 | ▶ | use TUI::Gadgets::Const; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | 2 | ▶ | use TUI::Gadgets::PrintConstants; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | 2 | ▶ | use TUI::Gadgets::AsciiChart; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | 2 | ▶ | use TUI::Gadgets::CalcDisplay; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | 2 | ▶ | use TUI::Gadgets::Calculator; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | 2 | ▶ | use TUI::Gadgets::CalendarView; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | 2 | ▶ | use TUI::Gadgets::CalendarWindow; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 21 | 2 | ▶ | use TUI::Gadgets::ClickTester; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | 2 | ▶ | use TUI::Gadgets::ClockView; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 23 | 2 | ▶ | use TUI::Gadgets::EventViewer; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 24 | 2 | ▶ | use TUI::Gadgets::FileViewer; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 25 | 2 | ▶ | use TUI::Gadgets::FileWindow; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 26 | 2 | ▶ | use TUI::Gadgets::HeapView; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 27 | 2 | ▶ | use TUI::Gadgets::LineCollection; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 28 | 2 | ▶ | use TUI::Gadgets::MouseDialog; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 29 | 2 | ▶ | use TUI::Gadgets::PuzzleView; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 30 | 2 | ▶ | use TUI::Gadgets::PuzzleWindow; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 31 | 2 | ▶ | use TUI::Gadgets::Report; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 32 | 2 | ▶ | use TUI::Gadgets::Table; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 33 | |||
| 34 | 3 | ▶ | sub import { |
|
Subroutine
import: called CC=1 SCAR=0.0
| |||
| 35 | 3 | my $target = caller; | |
| 36 | 3 | TUI::Gadgets::Const->import::into( $target, qw( :all ) ); | |
| 37 | 3 | TUI::Gadgets::PrintConstants->import::into( $target ); | |
| 38 | 3 | TUI::Gadgets::AsciiChart->import::into( $target ); | |
| 39 | 3 | TUI::Gadgets::CalcDisplay->import::into( $target ); | |
| 40 | 3 | TUI::Gadgets::Calculator->import::into( $target ); | |
| 41 | 3 | TUI::Gadgets::CalendarView->import::into( $target ); | |
| 42 | 3 | TUI::Gadgets::CalendarWindow->import::into( $target ); | |
| 43 | 3 | TUI::Gadgets::ClickTester->import::into( $target ); | |
| 44 | 3 | TUI::Gadgets::ClockView->import::into( $target ); | |
| 45 | 3 | TUI::Gadgets::EventViewer->import::into( $target ); | |
| 46 | 3 | TUI::Gadgets::FileViewer->import::into( $target ); | |
| 47 | 3 | TUI::Gadgets::FileWindow->import::into( $target ); | |
| 48 | 3 | TUI::Gadgets::HeapView->import::into( $target ); | |
| 49 | 3 | TUI::Gadgets::LineCollection->import::into( $target ); | |
| 50 | 3 | TUI::Gadgets::MouseDialog->import::into( $target ); | |
| 51 | 3 | TUI::Gadgets::PuzzleView->import::into( $target ); | |
| 52 | 3 | TUI::Gadgets::PuzzleWindow->import::into( $target ); | |
| 53 | 3 | TUI::Gadgets::Report->import::into( $target ); | |
| 54 | 3 | TUI::Gadgets::Table->import::into( $target ); | |
| 55 | } | ||
| 56 | |||
| 57 | 0 | ▶ | sub unimport { |
|
Subroutine
unimport: not called CC=1 SCAR=6.9
| |||
| 58 | 0 | my $caller = caller; | |
| 59 | 0 | TUI::Gadgets::Const->unimport::out_of( $caller ); | |
| 60 | 0 | TUI::Gadgets::PrintConstants->unimport::out_of( $caller ); | |
| 61 | 0 | TUI::Gadgets::AsciiChart->unimport::out_of( $caller ); | |
| 62 | 0 | TUI::Gadgets::CalcDisplay->unimport::out_of( $caller ); | |
| 63 | 0 | TUI::Gadgets::Calculator->unimport::out_of( $caller ); | |
| 64 | 0 | TUI::Gadgets::CalendarView->unimport::out_of( $caller ); | |
| 65 | 0 | TUI::Gadgets::CalendarWindow->unimport::out_of( $caller ); | |
| 66 | 0 | TUI::Gadgets::ClickTester->unimport::out_of( $caller ); | |
| 67 | 0 | TUI::Gadgets::ClockView->unimport::out_of( $caller ); | |
| 68 | 0 | TUI::Gadgets::EventViewer->unimport::out_of( $caller ); | |
| 69 | 0 | TUI::Gadgets::FileViewer->unimport::out_of( $caller ); | |
| 70 | 0 | TUI::Gadgets::FileWindow->unimport::out_of( $caller ); | |
| 71 | 0 | TUI::Gadgets::HeapView->unimport::out_of( $caller ); | |
| 72 | 0 | TUI::Gadgets::LineCollection->unimport::out_of( $caller ); | |
| 73 | 0 | TUI::Gadgets::MouseDialog->unimport::out_of( $caller ); | |
| 74 | 0 | TUI::Gadgets::PuzzleView->unimport::out_of( $caller ); | |
| 75 | 0 | TUI::Gadgets::PuzzleWindow->unimport::out_of( $caller ); | |
| 76 | 0 | TUI::Gadgets::Report->unimport::out_of( $caller ); | |
| 77 | 0 | TUI::Gadgets::Table->unimport::out_of( $caller ); | |
| 78 | } | ||
| 79 | |||
| 80 | 2 | 1 | |
| 81 | |||
| 82 | __END__ | ||