SetColor Macro

Microchip Graphics Library

Microchip Graphics Library
SetColor Macro
C
#define SetColor(color) _color = (color)
Overview

Sets current drawing color.

Input Parameters
Input Parameters 
Description 
color 
Color coding is based on GFX_COLOR definition. GFX_COLOR definition is based on the color depth (COLOR_DEPTH) used. 
Returns

none

Preconditions

none

Side Effects

none

Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved