line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package SDL2::MouseMotionEvent { |
2
|
2
|
|
|
2
|
|
17
|
use SDL2::Utils; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
24
|
|
3
|
|
|
|
|
|
|
has |
4
|
|
|
|
|
|
|
type => 'uint32', |
5
|
|
|
|
|
|
|
timestamp => 'uint32', |
6
|
|
|
|
|
|
|
windowId => 'uint32', |
7
|
|
|
|
|
|
|
which => 'uint32', |
8
|
|
|
|
|
|
|
state => 'uint32', |
9
|
|
|
|
|
|
|
x => 'sint32', |
10
|
|
|
|
|
|
|
y => 'sint32', |
11
|
|
|
|
|
|
|
xrel => 'sint32', |
12
|
|
|
|
|
|
|
yrel => 'sint32'; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=encoding utf-8 |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=head1 NAME |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
SDL2::MouseMotionEvent - Mouse motion event structure |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 SYNOPSIS |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
use SDL2 qw[:all]; |
23
|
|
|
|
|
|
|
# TODO: I need to whip up a quick example |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 DESCRIPTION |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 Fields |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=over |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=item C - C |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=item C - In milliseconds, populated using L<< C|SDL2::FFI/C >> |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=item C - The window with mouse focus, if any |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=item C - The mouse instance id, or C |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=item C - The current button state |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=item C - X coordinate, relative to window |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=item C - Y coordinate, relative to window |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=item C - The relative motion in the X direction |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=item C - The relative motion in the Y direction |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=back |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head1 AUTHOR |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
Sanko Robinson Esanko@cpan.orgE |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=begin stopwords |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=end stopwords |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=cut |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
}; |
64
|
|
|
|
|
|
|
1; |