MCPcopy Create free account
hub / github.com/BlueAndi/Pixelix / handleFadeIn

Method handleFadeIn

lib/YAWidgets/src/TextWidget.cpp:594–607  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

592}
593
594void TextWidget::handleFadeIn()
595{
596 if (FADING_BRIGHTNESS_HIGH > m_fadeBrightness)
597 {
598 if ((FADING_BRIGHTNESS_HIGH - FADING_BRIGHTNESS_DELTA) >= m_fadeBrightness)
599 {
600 m_fadeBrightness += FADING_BRIGHTNESS_DELTA;
601 }
602 else
603 {
604 m_fadeBrightness = FADING_BRIGHTNESS_HIGH;
605 }
606 }
607}
608
609void TextWidget::paint(YAGfx& gfx)
610{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected