mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-06 00:38:59 +00:00
Implement Script Downloading and parsing of the Informations.
To-Do: Revision checking of the current and new Scripts.
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include "screens/screen.hpp"
|
||||
#include "screens/screenCommon.hpp"
|
||||
|
||||
#include "utils/config.hpp"
|
||||
#include "utils/fileBrowse.h"
|
||||
|
||||
class ScriptBrowse : public Screen
|
||||
@@ -36,8 +37,10 @@ class ScriptBrowse : public Screen
|
||||
public:
|
||||
void Draw(void) const override;
|
||||
void Logic(u32 hDown, u32 hHeld, touchPosition touch) override;
|
||||
ScriptBrowse();
|
||||
|
||||
private:
|
||||
nlohmann::json currentFile;
|
||||
std::vector<DirEntry> dirContents;
|
||||
mutable int screenPos = 0;
|
||||
mutable int selection = 0;
|
||||
|
||||
Reference in New Issue
Block a user