WheelSelectorExtra::setTextColor() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesTouchGFXWheelSelectorExtra::setTextColor()

WheelSelectorExtra::setTextColor() method

@fn virtual void WheelSelectorExtra::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

virtual 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.

References

LocationText
WheelSelectorExtra.cpp:59
void WheelSelectorExtra::setTextColor(int16_t normalColor, int16_t selectedColor, uint16_t selectedBackgroundColor, int selectedYOffset /*= 0*/, int selectedHeight /*= 0*/)
WheelSelectorExtra.hpp:95
virtual void setTextColor(int16_t normalColor, int16_t selectedColor, uint16_t selectedBackgroundColor, int selectedYOffset = 0, int selectedHeight = 0);

Data Use

Data read by WheelSelectorExtra::setTextColor()
Data written by WheelSelectorExtra::setTextColor()
WheelSelectorExtra::setTextColor()
WheelSelectorExtra::setTextColor()::i
all items filtered out