home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional Developers Kit 1992 November / Disc01 / Disc01.mdf / cppbeta / ibmcli / icolor.in_ / ICOLOR.INL
Encoding:
Text File  |  1992-10-25  |  1.3 KB  |  30 lines

  1. inline unsigned char IColor::redMix() const
  2. /**************************************************************/
  3. /* Return the red value.                                      */
  4. /**************************************************************/
  5. { return ucClRed; }
  6.  
  7. inline unsigned char IColor::blueMix() const
  8. /**************************************************************/
  9. /* Return the blue value.                                     */
  10. /**************************************************************/
  11. { return ucClBlue; }
  12.  
  13. inline unsigned char IColor::greenMix() const
  14. /**************************************************************/
  15. /* Return the green value.                                    */
  16. /**************************************************************/
  17. { return ucClGreen; }
  18.  
  19. inline long IDeviceColor::index() const
  20. /**************************************************************/
  21. /* Return the device color index.                             */
  22. /**************************************************************/
  23. { return lClDeviceColor; }
  24.  
  25. inline long IGUIColor::index() const
  26. /**************************************************************/
  27. /* Return the GUI component color index.                      */
  28. /**************************************************************/
  29. { return lClSysColor; }
  30.