PageRenderTime 20ms CodeModel.GetById 4ms app.highlight 12ms RepoModel.GetById 1ms app.codeStats 0ms

/lib/SDL/PixelFormat.pm

http://github.com/PerlGameDev/SDL
Perl | 30 lines | 25 code | 5 blank | 0 comment | 0 complexity | 138c6d49f1bafc5b749614ffd9715659 MD5 | raw file
 1package SDL::PixelFormat;
 2use strict;
 3use warnings;
 4use vars qw(@ISA @EXPORT @EXPORT_OK);
 5require Exporter;
 6require DynaLoader;
 7use SDL::Constants ':SDL::Video';
 8our @ISA = qw(Exporter DynaLoader);
 9
10use SDL::Internal::Loader;
11internal_load_dlls(__PACKAGE__);
12
13our $VERSION = 2.548;
14
15bootstrap SDL::PixelFormat;
16
17use base 'Exporter';
18our @EXPORT      = @{ $SDL::Constants::EXPORT_TAGS{'SDL::Video'} };
19our %EXPORT_TAGS = (
20	all     => \@EXPORT,
21	color   => $SDL::Constants::EXPORT_TAGS{'SDL::Video/color'},
22	surface => $SDL::Constants::EXPORT_TAGS{'SDL::Video/surface'},
23	video   => $SDL::Constants::EXPORT_TAGS{'SDL::Video/video'},
24	overlay => $SDL::Constants::EXPORT_TAGS{'SDL::Video/overlay'},
25	grab    => $SDL::Constants::EXPORT_TAGS{'SDL::Video/grab'},
26	palette => $SDL::Constants::EXPORT_TAGS{'SDL::Video/palette'},
27	gl      => $SDL::Constants::EXPORT_TAGS{'SDL::Video/gl'}
28);
29
301;