forlang.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
remapallpalette
 Description Example                     Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Include:  FGRAPH.FI, FGRAPH.FD
 
  Type:     INTEGER*2 FUNCTION (remapallpalette)
                INTEGER*4 FUNCTION (remappalette)
 
  Routine:  remappalette( index, color )
            INTEGER*2 index
            INTEGER*4 color
 
            remapallpalette( colors )
            INTEGER*4 colors [FAR, REFERENCE](*)
 
            colors: $BLACK, $BLUE, $BRIGHTWHITE, $BROWN, $CYAN, $GRAY,
                    $GREEN, $LIGHTBLUE, $LIGHTCYAN, $LIGHTGREEN,
                    $LIGHTMAGENTA, $LIGHTRED, $YELLOW, $MAGENTA, $RED,
                    $WHITE
 
  Returns:  The remapallpalette function returns a nonzero value if
            successful, or 0 if not.
 
            The remappallette function returns the previous color value
            of the <index> argument if successful, or -1 if not.
 
  See also: selectpalette, setbkcolor, setvideomode
                                    -♦-