Changeset 23 for trunk/src/helpers/gpih.c
- Timestamp:
- Jan 16, 2001, 8:49:10 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/gpih.c
r21 r23 152 152 *pb++ = (BYTE)((LONG)(*pb) * bMultiplier / bDivisor); // green 153 153 *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 168 BOOL gpihSwitchToRGB(HPS hps) 169 { 170 return (GpiCreateLogColorTable(hps, 0, LCOLF_RGB, 0, 0, NULL)); 154 171 } 155 172
Note:
See TracChangeset
for help on using the changeset viewer.