[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
egPalAll()
Gets/Sets the RGB values for all palettes
Syntax:
egPalAll( [cPalette] ) -> cOldPalette
cPalette : A 768 byte string that indicates the attributes of the
different palettes in the format:
Attribute 0 Attribute 15
Red Green Blue ... ... Red Green Blue
Palette 0 byte byte byte ... ... byte byte byte
... ... ... ... ... ... ... ... ...
Palette 15 byte byte byte ... ... byte byte byte
Description:
gPalAll() lets change or inform about the attributes of all the
system palettes.
Return:
A 768 byte string with information related to the attributes of
the different system palettes.
Example:
cAtributos := Replicate ( Chr(0) + Chr (63) + Chr(0), 16 )
cPalettes := egPalAll( Replicate ( cAtributos, 16 ) )
Inkey(0)
// Set all the palette colours to Green.
egPalAll( cPalettes )
See Also:
egAttr()
egAttrAll()
egPalette()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson