Ignore:
Timestamp:
Jan 16, 2001, 8:49:10 PM (25 years ago)
Author:
umoeller
Message:

Fixes for V0.9.7.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/gpih.c

    r21 r23  
    152152    *pb++ = (BYTE)((LONG)(*pb) * bMultiplier / bDivisor); // green
    153153    *pb++ = (BYTE)((LONG)(*pb) * bMultiplier / bDivisor); // red
     154}
     155
     156/*
     157 *@@ gpihSwitchToRGB:
     158 *      this switches the given HPS into RGB mode. You should
     159 *      always use this if you are operating with RGB colors.
     160 *
     161 *      This is just a shortcut to calling
     162 *
     163 +          GpiCreateLogColorTable(hps, 0, LCOLF_RGB, 0, 0, NULL);
     164 *
     165 *@@changed V0.9.7 (2001-01-15) [umoeller]: turned macro into function
     166 */
     167
     168BOOL gpihSwitchToRGB(HPS hps)
     169{
     170    return (GpiCreateLogColorTable(hps, 0, LCOLF_RGB, 0, 0, NULL));
    154171}
    155172
Note: See TracChangeset for help on using the changeset viewer.