[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 LLG_RGB structure
 Structure for color information
------------------------------------------------------------------------------
 Structure

     typedef union
     {
        struct
        {
           BYTE   bRed;
           BYTE   bGreen;
           BYTE   bBlue;
           BYTE   bFlags;
        } b;
        DWORD   dwColor;
     } LLG_RGB;
     
     typedef LLG_RGB far * LLG_LPRGB;

 Elements

     bRed is a value from zero to 255 defining the red component of
     dwColor.

     bGreen is a value from zero to 255 defining the green component of
     dwColor.

     bBlue is a value from zero to 255 defining the blue component of
     dwColor.

     bFlags can be set to true (.T.), in which case the LLG_RGB structure
     will be set to 32 bits.  Otherwise, it will be set to 16 bits.

     dwColor is the color whose RGB components you are specifying.  The
     range of valid values is limited to the number of colors available in
     the selected video mode.  For example, in 16-color modes, valid values
     are between zero and 15, and in 256-color modes, valid values are
     between zero and 255.

 Files   Header file is Llibg.api.

 Used By   LLG_PALETTE


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