Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>fontreset()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FONTRESET()
 Resets all font and palette changes to the ROM defaults
------------------------------------------------------------------------------
 Syntax

     FONTRESET() --> lReset

 Returns

     FONTRESET() returns .T. when all font and palette settings are reset.

 Description

     This function resets all the settings implemented with FONTLOAD(),
     SETFONT(), and FONTSELECT().  Settings implemented with EGAPALETTE() or
     VGAPALETTE() are also reset.  In addition, the border color set with SET
     COLOR TO is reset.

     Table 6-2: Settings affected by FONTRESET()
     ------------------------------------------------------------------------
     Settings                    Functions concerned
     ------------------------------------------------------------------------
     All font information        FONTLOAD(), FONTSELECT, SETFONT()
     All palette information.    EGAPALETTE(), VGAPALETTE()
     Border attribute            CA-Clipper:  SET COLOR TO
     ------------------------------------------------------------------------

 Note

     .  No ROM fonts exist for screen modes that are not based on 8,
        14 or 16 pixels.  You cannot implement FONTRESET() in this situation.

 Example

     Reset all changes to fonts and palettes:

     ? FONTRESET()         // .T., if ok


See Also: FONTLOAD() FONTSELECT() EGAPALETTE() VGAPALETTE()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson