[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
egAttrAll()
Gets/Sets the RGB values of all attributes for all palettes
Syntax:
egAttrAll ( [cNewRGB] ) -> cOldRGB
cNewRGB : A 768 byte string specifying the RGB codes of all the
colours in the palettes using the format:
Palette 0 Palette 15
Red Green Blue Red Green Blue
Color 0 -> byte byte byte ..... byte byte byte
... -> ... ... ... ..... ... ... ...
Color 15 -> byte byte byte ..... byte byte byte
Description:
These funtion lets change all the colours of all the VGA palettes.
Return:
A 768 byte palette with all the palettes information.
Ejemplos:
cPaleta := Replicate ( Chr( 63 ) + Chr( 0 ) + Chr( 0 ), 16 )
egAttrAll( Replicate ( cPaleta, 16 ) )
// sets the 16 palettes to different degrees of red
See Also:
egAttr()
egPalAll()
egPalette()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson