line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package SDL::Events; |
2
|
8
|
|
|
8
|
|
1358
|
use strict; |
|
8
|
|
|
|
|
9
|
|
|
8
|
|
|
|
|
195
|
|
3
|
8
|
|
|
8
|
|
23
|
use warnings; |
|
8
|
|
|
|
|
8
|
|
|
8
|
|
|
|
|
163
|
|
4
|
8
|
|
|
8
|
|
24
|
use vars qw(@ISA @EXPORT @EXPORT_OK); |
|
8
|
|
|
|
|
9
|
|
|
8
|
|
|
|
|
368
|
|
5
|
|
|
|
|
|
|
require Exporter; |
6
|
|
|
|
|
|
|
require DynaLoader; |
7
|
8
|
|
|
8
|
|
28
|
use SDL::Constants ':SDL::Events'; |
|
8
|
|
|
|
|
7
|
|
|
8
|
|
|
|
|
6013
|
|
8
|
|
|
|
|
|
|
our @ISA = qw(Exporter DynaLoader); |
9
|
|
|
|
|
|
|
|
10
|
8
|
|
|
8
|
|
38
|
use SDL::Internal::Loader; |
|
8
|
|
|
|
|
10
|
|
|
8
|
|
|
|
|
429
|
|
11
|
|
|
|
|
|
|
internal_load_dlls(__PACKAGE__); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
bootstrap SDL::Events; |
14
|
|
|
|
|
|
|
|
15
|
8
|
|
|
8
|
|
29
|
use base 'Exporter'; |
|
8
|
|
|
|
|
8
|
|
|
8
|
|
|
|
|
983
|
|
16
|
|
|
|
|
|
|
our @EXPORT = @{ $SDL::Constants::EXPORT_TAGS{'SDL::Events'} }; |
17
|
|
|
|
|
|
|
our %EXPORT_TAGS = ( |
18
|
|
|
|
|
|
|
all => \@EXPORT, |
19
|
|
|
|
|
|
|
type => $SDL::Constants::EXPORT_TAGS{'SDL::Events/type'}, |
20
|
|
|
|
|
|
|
mask => $SDL::Constants::EXPORT_TAGS{'SDL::Events/mask'}, |
21
|
|
|
|
|
|
|
action => $SDL::Constants::EXPORT_TAGS{'SDL::Events/action'}, |
22
|
|
|
|
|
|
|
state => $SDL::Constants::EXPORT_TAGS{'SDL::Events/state'}, |
23
|
|
|
|
|
|
|
hat => $SDL::Constants::EXPORT_TAGS{'SDL::Events/hat'}, |
24
|
|
|
|
|
|
|
app => $SDL::Constants::EXPORT_TAGS{'SDL::Events/app'}, |
25
|
|
|
|
|
|
|
button => $SDL::Constants::EXPORT_TAGS{'SDL::Events/button'}, |
26
|
|
|
|
|
|
|
keysym => $SDL::Constants::EXPORT_TAGS{'SDL::Events/keysym'}, |
27
|
|
|
|
|
|
|
keymod => $SDL::Constants::EXPORT_TAGS{'SDL::Events/keymod'} |
28
|
|
|
|
|
|
|
); |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
1; |