line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package SDL2::Palette { |
2
|
2
|
|
|
2
|
|
15
|
use SDL2::Utils; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
18
|
|
3
|
|
|
|
|
|
|
has |
4
|
|
|
|
|
|
|
ncolors => 'int', |
5
|
|
|
|
|
|
|
colors => 'SDL_Color', |
6
|
|
|
|
|
|
|
version => 'uint32', |
7
|
|
|
|
|
|
|
refcount => 'int'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=encoding utf-8 |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 NAME |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
SDL2::Palette - RGBA color palette structure |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 SYNOPSIS |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
use SDL2 qw[:all]; |
18
|
|
|
|
|
|
|
# TODO: I need to whip up a quick example |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 DESCRIPTION |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 Fields |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=over |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=item C |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=item C |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=item C |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=item C |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=back |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 AUTHOR |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
Sanko Robinson Esanko@cpan.orgE |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=begin stopwords |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=end stopwords |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=cut |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
}; |
49
|
|
|
|
|
|
|
1; |