C
void TransparentColorEnable( GFX_COLOR color );
Overview
Sets current transparent color. PutImage() will not render pixels that matches the set transparent color. To enable Transparent Color feature, define the macro USE_TRANSPARENT_COLOR in the GraphicsConfig.h file.
Description
Input Parameters
Input Parameters |
Description |
GFX_COLOR color |
Chosen transparent color. |
Returns
none
Preconditions
none
Side Effects
None
Example
TransparentColorEnable(BLACK); PutImage(0,0, (void*)&ScreenBackground); PutImage(0,0, (void*)&RibbonIcon);