[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
HiResColor               Sets Color Used for Drawing in Hi-Resolution

HiResColor(Color : Integer);     [TP]

    Selects the color used for drawing in high-resolution mode. Any
    drawings already on the screen are automatically switched to this
    color as well.

         -------------------------------------------------------
          Value       Color            Value       Color
         -------------------------------------------------------
            0         Black              8         DarkGray
            1         Blue               9         LightBlue
            2         Green             10         LightGreen
            3         Cyan              11         LightCyan
            4         Red               12         LightRed
            5         Magenta           13         LightMagenta
            6         Brown             14         Yellow
            7         LightGray         15         White
         -------------------------------------------------------

          Notes:    Note that the color names given above are all
                    predefined constants set to the corresponding values.

                    The background color is always black.

  -------------------------------- Example ---------------------------------

           HiRes;                   { set to 640x200 mode }
           HiResColor(Red);         { use Red for all drawing }

See Also: HiRes
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson