GR_PIXELVAL

Name

GR_PIXELVAL -- Hardware dependent color value

Synopsis

#if MWPIXEL_FORMAT == MWPF_TRUECOLOR565
typedef unsigned short GR_PIXELVAL;
#else
  #if MWPIXEL_FORMAT == MWPF_TRUECOLOR332
  typedef unsigned char GR_PIXELVAL;
  #else
    #if MWPIXEL_FORMAT == MWPF_PALETTE
    typedef unsigned char GR_PIXELVAL;
    #else
      typedef unsigned long GR_PIXELVAL;
    #endif
  #endif
#endif
  

Description

The GR_PIXELVAL type is a hardware dependent color value it is typically used for device dependent image storage. The size of this value is dependent on the configuration settings that were used to build the Microwindows libraries.