line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package SDL2::WindowShaper { |
2
|
2
|
|
|
2
|
|
17
|
use SDL2::Utils; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
19
|
|
3
|
|
|
|
|
|
|
has |
4
|
|
|
|
|
|
|
window => 'opaque', # SDL_Window |
5
|
|
|
|
|
|
|
usery => 'uint32', |
6
|
|
|
|
|
|
|
userx => 'uint32', |
7
|
|
|
|
|
|
|
mode => 'opaque', # SDL_WindowShapeMode |
8
|
|
|
|
|
|
|
hasshape => 'bool', |
9
|
|
|
|
|
|
|
driverdata => 'opaque'; # void * |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=encoding utf-8 |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 NAME |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
SDL2::WindowShaper - SDL Window-shaper Structure |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=head1 SYNOPSIS |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
use SDL2 qw[:all]; |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 DESCRIPTION |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
SDL2::WindowShaper |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head2 Fields |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=over |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=item C |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=item C - The user's specified coordinates for the window, for once we give it a shape |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=item C - The user's specified coordinates for the window, for once we give it a shape |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=item C - The parameters for shape calculation |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=item C - Has this window been assigned a shape? |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=item C |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=back |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 AUTHOR |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
Sanko Robinson Esanko@cpan.orgE |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=begin stopwords |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=end stopwords |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=cut |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
}; |
54
|
|
|
|
|
|
|
1; |