DotIndicator class
@class DotIndicator DotIndicator shows a number of small dots where one of the dots is highlighted. This widget is part of the TouchGFX Open Widget Repository. https://github.com/draupnergraphics/touchgfx-widgets @see DotIndicator
MAX_SIZE
unselectedDots
dotHighlighted
dotNormal
numberOfDots
currentDot
Methods
setNumberOfDots()
@fn void DotIndicator::setNumberOfDots(uint8_t size); Sets the number of dots that should be displayed.
Read more...
setBitmaps()
@fn void DotIndicator::setBitmaps(const Bitmap& normalDot, const Bitmap& highlightedDot); Sets the bitmaps to be used for normal and highlighted dots. Note that the bitmaps should include the spacing between the dots and that they must have the same width and height.
Read more...
goRight()
@fn void DotIndicator::goRight(); Highlight the dot to the right of the current highlighted dot.
Read more...
goLeft()
@fn void DotIndicator::goLeft(); Highlight the dot to the left of the current highlighted dot.
Read more...
setHighlightPosition()
@fn void DotIndicator::setHighlightPosition(uint8_t index); Sets highlight position.
Read more...
setBitmaps()
@fn void DotIndicator::setBitmaps(const Bitmap& normalDot, const Bitmap& highlightedDot); Sets the bitmaps to be used for normal and highlighted dots. Note that the bitmaps should include the spacing between the dots and that they must have the same width and height.
Read more...
Child classes
DotIndicator
Variables of DotIndicator type
DotIndicator