UI: Open Solo logo and version splash screen

This commit is contained in:
Matt 2017-12-16 14:20:11 -05:00 committed by Buzz
parent 75e3c4ed3e
commit d3ba59ffde
3 changed files with 1 additions and 14 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -39,10 +39,7 @@ bool UiSplash::update()
}
}
if (versionDrawRequested) {
drawVersion();
versionDrawRequested = false;
}
drawVersion();
uint16_t w = scale(millis, 0U, BootEstimateMillis, 0U, Gfx::WIDTH);
Gfx::fillRect(Gfx::Rect(0, Gfx::HEIGHT - ProgressBarH, w, ProgressBarH), UiColor::Green);
@ -50,15 +47,6 @@ bool UiSplash::update()
return false;
}
void UiSplash::onAButtonEvent(Button *b, Button::Event e)
{
UNUSED(b);
if (e == Button::ClickRelease) {
versionDrawRequested = true;
}
}
void UiSplash::drawVersion()
{
const Gfx::FontAsset & f = HelveticaNeueLTProRoman;

View File

@ -10,7 +10,6 @@ public:
void init();
bool update();
void onAButtonEvent(Button *b, Button::Event e);
private:
static const unsigned MinSplashMillis = 6000;