Simulate a progressbar. (For testing purpose) ( ͡° ͜ʖ ͡°)

Press Select in the MainMenu, to show the progressbar. This will get removed after the download progressbar is implemented.
This commit is contained in:
VoltZ
2019-11-15 19:13:41 +01:00
parent bb2cecc622
commit bd25846c4d
2 changed files with 128 additions and 65 deletions
+7
View File
@@ -38,7 +38,14 @@ public:
void Draw(void) const override;
void Logic(u32 hDown, u32 hHeld, touchPosition touch) override;
private:
void DrawMainMenu(void) const;
void DisplayTestbar(void) const;
void ProgressBarLogic(u32 hDown, u32 hHeld);
int keyRepeatDelay = 3;
int mode = 0;
int Selection = 0;
std::vector<Structs::ButtonPos> mainButtons = {
{10, 40, 140, 35, -1}, // Scriptlist.
{170, 40, 140, 35, -1}, // ScriptBrowse.