WheelSelectorExtra is only used within TouchGFX.
 
Symbols
loading...
Files
loading...

WheelSelectorExtra class

@class WheelSelectorExtra WheelSelectorExtra.hpp gui/custom_controls_screen/WheelSelectorExtra.hpp A wheel selector that introduces a number of extra text areas in the bottom of the date picker. A wheel selector that introduces a number of extra text areas in the bottom of the date picker. This allows the contents of the wheel selector to be changed. @sa WheelSelector

Syntax

class WheelSelectorExtra : public WheelSelector { public:     WheelSelectorExtra();     virtual ~WheelSelectorExtra();     void setupDatePickerWheelDay(int width, int height, int textXPosition, int textYPositionOfIndex0Selected, TEXTS wheelText, TEXTS wheelTextExtra0, TEXTS wheelTextExtra1, TEXTS wheelTextExtra2);     virtual void setTextColor(int16_t normalColor, int16_t selectedColor, uint16_t selectedBackgroundColor, int selectedYOffset = 0, int selectedHeight = 0);     void fadeExtraText(int extraTextIndex, uint8_t endAlpha, uint16_t duration); protected:     static const int NUMBER_OF_EXTRA_TEXTS = 3;     FadeAnimator<MoveAnimator<TextArea> > textExtra[NUMBER_OF_EXTRA_TEXTS];     FadeAnimator<MoveAnimator<TextArea> > textExtraSelected[NUMBER_OF_EXTRA_TEXTS];     bool textExtraIsVisible[NUMBER_OF_EXTRA_TEXTS];     virtual void moveText(int newYPosition);     virtual void animateMoveText(int newYPosition, int duration, EasingEquation equation);     void adjustBottomCutOff(); };

Fields

NUMBER_OF_EXTRA_TEXTS

No summary provided. Read more...

textExtra

No summary provided. Read more...

textExtraSelected

No summary provided. Read more...

textExtraIsVisible

No summary provided. Read more...

Methods

setupDatePickerWheelDay()

@fn void WheelSelectorExtra::setupDatePickerWheelDay(int width, int height, int textXPosition, int textYPositionOfIndex0Selected, TEXTS wheelText, TEXTS wheelTextExtra0, TEXTS wheelTextExtra1, TEXTS wheelTextExtra2); Sets up the date picker wheel. Sets up the date picker wheel. Read more...

setTextColor()

@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. Read more...

fadeExtraText()

@fn void WheelSelectorExtra::fadeExtraText(int extraTextIndex, uint8_t endAlpha, uint16_t duration); Fade extra texts. Fade extra texts so the text list is smoothly extended or retracted. Read more...

moveText()

No summary provided. Read more...

animateMoveText()

No summary provided. Read more...

adjustBottomCutOff()

No summary provided. Read more...

Class Tree

Child classes
WheelSelectorExtra
all items filtered out
Variables of WheelSelectorExtra type
DatePicker::days
all items filtered out
WheelSelectorExtra