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 5.3 . Technical Reference - <b>llg_rgb structure</b> http://www.X-Hacker.org [<<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

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