EZ_SetLedColorFunction(3) EZWGL Functions EZ_SetLedColorFunction(3)NAMEEZ_SetLedColorFunction - Set a pixel coloring function for an LED wid‐
get
SYNOPSIS
#include <EZ.h>
void EZ_SetLedColorFunction(EZ_Widget *led,
unsigned long (* colorf)(int x, inty))
ARGUMENTS
led Specifies a LED widget.
colorf Specifies a function.
DESCRIPTIONEZ_SetLedColorFunction sets a function that selects colors (pixel val‐
ues) for LED pixels. The set function will only be used when the color
of a label is not explicitly specified.
SEE ALSOEZ_QueueLedAction(3), EZ_SetLedFont(3), EZ_SetLedSize(3), EZ_SetLedPix‐
elSize(3), EZ_SetLedFont(3)EZWGLEZ_SetLedColorFunction(3)