Supported Browsers Home   
GA_VBEFuncs Previous   
Set8BitDAC Next   
GA_VBEFuncs Up   

GetPaletteData

Returns the current hardware color palette in VBE/Core compatible mode

Declaration

void GA_VBEFuncs::GetPaletteData(
    GA_palette *pal,
    N_int32 num,
    N_int32 index)

Prototype In

snap/graphics.h

Parameters

pal

Place to return the palette data

num

Number of palette entries to read

index

Index of first entry to read

 

Description

This function is similar to GetPaletteData, however the palette data is always read verbatim, and no palette translation occurs. Hence these functions are compatible with the way the VESA VBE/Core palette functions work, which is different to the native SNAP way of handling palette programming.

See Also

SetBytesPerLine, Set8BitDAC, SetPaletteData

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com