7 our @ISA = qw(Exporter DynaLoader);
8 bootstrap SDL::Palette;
18 SDL::Palette - a perl extension
22 L<SDL::Palette> provides an interface to the C<SDL_Palette> structures,
23 and can be used to set the color values of an existing palette's indexes.
29 Fetches the number of colors in palette
31 =head2 colors ( index )
33 Fetches an array of colors in palette
35 =head2 color_index ( index )
37 Fetches the SDL_Color at the provide index in palette
41 Returns the size of the palette.
46 L<SDL::Color> L<SDL::Surface>