| void CBCGPToolBarImages::AdaptColors | ( | COLORREF | clrBase, |
| COLORREF | clrTone, | ||
| BOOL | bClampHue = TRUE |
||
| ) |
Replaces encapsulated image list color with specified tone color. All colors with similar hue component (specified by clrBase parameter) will be replaced with adapted colors based on clrTone.
| clrBase | Base image color (source). |
| clrTone | Tone image color (destination). |
| bClampHue | Specifies whether hue value of result colors should be clamped. |