blib/lib/SDL2/TextInputEvent.pm untested

filter: Statementstmt 0.0% 0 / 4 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 7 CC 1 SCAR 6.9
CC
1
Cov
0%
SDL_TEXTINPUTEVENT_TEXT_SIZE
2.0
BEGIN
2.0
CRAP 2.0
1 package SDL2::TextInputEvent {
2 use SDL2::Utils;
3  
4 # Defined in https://github.com/libsdl-org/SDL/blob/main/include/SDL_events.h
5 sub SDL_TEXTINPUTEVENT_TEXT_SIZE() {32}
6 has
7 type => 'uint32',
8 timestamp => 'uint32',
9 windowId => 'uint32',
10 text => 'char[' . SDL_TEXTINPUTEVENT_TEXT_SIZE() . ']',
11 ;
12  
13 =encoding utf-8
14  
15 =head1 NAME
16  
17 SDL2::TextInputEvent - Keyboard text input event structure
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_TEXTINPUT>
32  
33 =item C<timestamp> - In milliseconds, populated using L<< C<SDL_GetTicks( )>|SDL2::FFI/C<SDL_GetTicks( )> >>
34  
35 =item C<windowID> - The window with keyboard focus, if any
36  
37 =item C<text> - The editing text
38  
39 =back
40  
41 =head1 AUTHOR
42  
43 Sanko Robinson E<lt>sanko@cpan.orgE<gt>
44  
45 =begin stopwords
46  
47  
48 =end stopwords
49  
50 =cut
51  
52 };
53 1;