| 1 | package SDL2::WindowShaper { | ||
| 2 | use SDL2::Utils; | ||
| 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<window> | ||
| 30 | |||
| 31 | =item C<userx> - The user's specified coordinates for the window, for once we give it a shape | ||
| 32 | |||
| 33 | =item C<usery> - The user's specified coordinates for the window, for once we give it a shape | ||
| 34 | |||
| 35 | =item C<mode> - The parameters for shape calculation | ||
| 36 | |||
| 37 | =item C<hasshape> - Has this window been assigned a shape? | ||
| 38 | |||
| 39 | =item C<driverdata> | ||
| 40 | |||
| 41 | =back | ||
| 42 | |||
| 43 | =head1 AUTHOR | ||
| 44 | |||
| 45 | Sanko Robinson E<lt>sanko@cpan.orgE<gt> | ||
| 46 | |||
| 47 | =begin stopwords | ||
| 48 | |||
| 49 | =end stopwords | ||
| 50 | |||
| 51 | =cut | ||
| 52 | |||
| 53 | }; | ||
| 54 | 1; |