Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

virtual void OSystem::grabPalette ( byte *  colors,
uint  start,
uint  num 
) [pure virtual]

Grabs a specified part of the currently active palette. The format is the same as for setPalette.

See also:
setPalette
Parameters:
colors the palette data, in interleaved RGBA format
start the first platte entry to be read
num the number of palette entries to be read


Generated by  Doxygen 1.6.0   Back to index