blib/lib/SDL2/DisplayEvent.pm untested

filter: Statementstmt 0.0% 0 / 4 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 5 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 package SDL2::DisplayEvent {
2 use SDL2::Utils;
3 has
4 type => 'uint32',
5 timestamp => 'uint32',
6 display => 'uint32',
7 event => 'uint8',
8 padding1 => 'uint8',
9 padding2 => 'uint8',
10 padding3 => 'uint8',
11 data1 => 'sint32';
12  
13 =encoding utf-8
14  
15 =head1 NAME
16  
17 SDL2::DisplayEvent - Display state change event data
18  
19 =head1 SYNOPSIS
20  
21 use SDL2 qw[:all];
22 # TODO: I need to whip up a quick example
23  
24 =head1 DESCRIPTION
25
26  
27 =head1 Fields
28  
29 =over
30  
31 =item C<type> - C<SDL_DISPLAYEVENT>
32  
33 =item C<timestamp> - In milliseconds, populated using L<< C<SDL_GetTicks( )>|SDL2::FFI/C<SDL_GetTicks( )> >>
34  
35 =item C<display> - The associated display index
36  
37 =item C<event>
38  
39 =item C<padding1>
40  
41 =item C<padding2>
42  
43 =item C<padding3>
44  
45 =item C<data1> - Event dependant data
46  
47 =back
48  
49 =head1 AUTHOR
50  
51 Sanko Robinson E<lt>sanko@cpan.orgE<gt>
52  
53 =begin stopwords
54  
55  
56 =end stopwords
57  
58 =cut
59  
60 };
61 1;