This commit is contained in:
VoltZ
2019-11-08 03:20:30 +01:00
parent b10cc33a99
commit a0ee0481ec
9 changed files with 4484 additions and 1 deletions
+5
View File
@@ -26,6 +26,7 @@
#include "download/download.hpp"
#include "screens/ftpScreen.hpp"
#include "screens/mainMenu.hpp"
#include "screens/scriptBrowse.hpp"
#include "screens/scriptlist.hpp"
@@ -92,6 +93,10 @@ void MainMenu::Logic(u32 hDown, u32 hHeld, touchPosition touch) {
}
}
if (hDown & KEY_X) {
Gui::setScreen(std::make_unique<FTPScreen>());
}
if (hDown & KEY_TOUCH) {
if (touching(touch, mainButtons[0])) {
Gui::setScreen(std::make_unique<ScriptList>());