Add status bar

This commit is contained in:
Just Call Me Koko
2020-05-14 15:15:07 -04:00
parent 1612ac4bf0
commit bf9baee37b
11 changed files with 78 additions and 6 deletions

View File

@@ -646,12 +646,12 @@ void Display::updateBanner(String msg)
this->buildBanner(msg, current_banner_pos);
this->img.pushSprite(0, 0);
this->img.pushSprite(0, STATUS_BAR_WIDTH);
current_banner_pos--;
if (current_banner_pos <= 0)
current_banner_pos = SCREEN_WIDTH;
current_banner_pos = SCREEN_WIDTH + 2;
}