line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package SDL2::UserEvent { |
2
|
2
|
|
|
2
|
|
16
|
use SDL2::Utils; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
14
|
|
3
|
|
|
|
|
|
|
has |
4
|
|
|
|
|
|
|
type => 'uint32', |
5
|
|
|
|
|
|
|
timestamp => 'uint32', |
6
|
|
|
|
|
|
|
windowID => 'uint32', |
7
|
|
|
|
|
|
|
code => 'sint32', |
8
|
|
|
|
|
|
|
data1 => 'opaque', # void * |
9
|
|
|
|
|
|
|
data2 => 'opaque'; # void * |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=encoding utf-8 |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 NAME |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
SDL2::UserEvent - OS Specific event |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=head1 SYNOPSIS |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
use SDL2 qw[:all]; |
20
|
|
|
|
|
|
|
# TODO: I need to whip up a quick example |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 Fields |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=over |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=item C - C through C |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=item C - In milliseconds, populated using L<< C|SDL2::FFI/C >> |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=item C - The associated window, if any |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=item C - User defined event code |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=item C - User defined data pointer |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=item C - User defined data pointer |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=back |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 AUTHOR |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
Sanko Robinson Esanko@cpan.orgE |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=begin stopwords |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=end stopwords |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=cut |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
}; |
55
|
|
|
|
|
|
|
1; |