mirror of
https://github.com/OpenSolo/OpenSolo.git
synced 2025-05-23 18:16:21 +02:00
27 lines
458 B
C++
27 lines
458 B
C++
#ifndef UI_SPLASH_H
|
|
#define UI_SPLASH_H
|
|
|
|
#include "button.h"
|
|
|
|
class UiSplash
|
|
{
|
|
public:
|
|
UiSplash();
|
|
|
|
void init();
|
|
bool update();
|
|
|
|
private:
|
|
static const unsigned MinSplashMillis = 6000;
|
|
// XXX: better to measure this, and guess based on the last N boots...
|
|
static const unsigned BootEstimateMillis = 18000;
|
|
|
|
static const unsigned ProgressBarH = 10;
|
|
|
|
bool versionDrawRequested;
|
|
|
|
void drawVersion();
|
|
};
|
|
|
|
#endif // UI_SPLASH_H
|