WheelSelector::setTextColor() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...

WheelSelector::setTextColor() method

@fn void WheelSelector::setTextColor(int16_t normalColor, int16_t selectedColor, uint16_t selectedBackgroundColor, int selectedYOffset = 0, int selectedHeight = 0); Sets text color of normal/selected text. Sets text color of normal/selected text. If the colors are the same, the overlays for showing selected text is hidden, otherwise it is setup with the given y coordinate offset.

Syntax

void setTextColor(int16_t normalColor,     int16_t selectedColor,     uint16_t selectedBackgroundColor,     int selectedYOffset = 0,     int selectedHeight = 0);

Arguments

normalColor

The color of normal text.

selectedColor

The color of selected text.

selectedBackgroundColor

The selected background color.

selectedYOffset

The selected area (where the text changes color) y coordinate offset.

selectedHeight

The selected height.