blib/lib/LibUI/FontButton.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/LibUI/Entry.pm ↑ Summary blib/lib/LibUI/Form.pm »
1 package LibUI::FontButton 0.01 {
2 1 ▶ use 5.008001;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶ use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶ use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶ use Affix;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶ use parent 'LibUI::Control';
Subroutine BEGIN: called CC=1 SCAR=0.0
7 use LibUI::FontDescriptor;
8 #
9 affix( LibUI::lib(), 'uiNewFontButton', [Void] => InstanceOf ['LibUI::FontButton'], 'new' );
10  
11 sub font($) {
12 CORE::state $affix //= wrap( LibUI::lib(), 'uiFontButtonFont',
13 [ InstanceOf ['LibUI::FontButton'], Pointer [LibUI::FontDescriptor] ] => Void, );
14 my $desc;
15 $affix->( shift, $desc );
16 return $desc;
17 }
18 affix(
19 LibUI::lib(),
20 'uiFontButtonOnChanged',
21 [ InstanceOf ['LibUI::FontButton'],
22 CodeRef [ [ InstanceOf ['LibUI::FontButton'], Any ] => Void ], Any
23 ] => Void,
24 'onChanged'
25 );
26 affix(
27 LibUI::lib(), 'uiFreeFontButtonFont', [ Pointer [LibUI::FontDescriptor] ] => Void,
28 'freeFont'
29 );
30 };
31 1;
32 #
33 __END__
« blib/lib/LibUI/Entry.pm ↑ Summary blib/lib/LibUI/Form.pm »