[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
pcxShow256()
Shows a 320x200x256 PCX on screen
Syntax:
pcxShow256 ( cFile, [lPalette], [lDegrade] ) -> lError
cFile : Name of the PCX file
lPalette : A logic indicating if we like the PCX palette or the
actual one of the system. If it is .T. then prevails
the one from the file. If it is .F. the one from the
system. By default is .T.
This option is very useful for programs like PaintBrush
for Windows that destroys palettes.
lDegrade : A logic indicating if you like to fix the palette in a
progressive way simulating a degrade (.T.) or if we
want to fix it in a fast way (.F.)
The default value is .T.
Description:
The PCX can be the size you want. Forget about the 64 kb
limitation.
It only works if a VGA card exists in the system.
The function does not wait for a key, nor restores the video
mode, so this is left under the user's responsibility. This is
very useful when you want to show various PCX one after the other
and you do not want to get text mode between one and the other.
Return:
.T. if it all has gone well or .F. if the file is not found, the
system does not have a VGA or the PCX format is incorrect.
Example:
nOldModo := SetVGA256()
If pcxShow256 ( "c:\fast\lib\m_roibal.pcx" )
Inkey(0)
EndIf
VideoMode ( nOldModo )
See Also:
pcxShow()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson