line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package SDL2::DisplayEvent { |
2
|
2
|
|
|
2
|
|
31
|
use SDL2::Utils; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
17
|
|
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 - C |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=item C - In milliseconds, populated using L<< C|SDL2::FFI/C >> |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=item C - The associated display index |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=item C |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=item C |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=item C |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=item C |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=item C - Event dependant data |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=back |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 AUTHOR |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
Sanko Robinson Esanko@cpan.orgE |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=begin stopwords |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=end stopwords |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=cut |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
}; |
61
|
|
|
|
|
|
|
1; |