Last new implemented thing for v2.2.0.

This commit is contained in:
StackZ
2020-01-02 07:25:00 +01:00
parent 6c3b5fc31a
commit 250499ce37
3 changed files with 72 additions and 13 deletions
+14
View File
@@ -43,16 +43,24 @@ private:
void DrawStoreList(void) const;
void DrawStore(void) const;
void DrawSearch(void) const;
void DrawGitHubScreen(void) const;
void SubMenuLogic(u32 hDown, u32 hHeld, touchPosition touch);
void StoreSelectionLogic(u32 hDown, u32 hHeld, touchPosition touch);
void StoreLogic(u32 hDown, u32 hHeld, touchPosition touch);
void SearchLogic(u32 hDown, u32 hHeld, touchPosition touch);
void GitHubLogic(u32 hDown, u32 hHeld, touchPosition touch);
void execute();
void descript();
int mode = 0;
std::string selectedOptionAppStore;
// Stuff for the GitHub Store Search function.
std::string OwnerAndRepo = "";
std::string fileName = "";
mutable int selection = 0;
mutable int selection2 = 0;
int screenPos = 0;
@@ -81,6 +89,12 @@ private:
{170, 100, 140, 35, -1}, // Github.
};
std::vector<Structs::ButtonPos> GitHubPos = {
{30, 50, 260, 30, -1}, // Owner & Repo.
{30, 130, 260, 30, -1}, // Filename.
{135, 180, 50, 30, -1}, // OK.
};
std::vector<Structs::ButtonPos> subPos = {
{90, 40, 140, 35, -1}, // StoreList.
{90, 100, 140, 35, -1}, // storeSearch.