This commit is contained in:
StackZ
2020-05-06 06:41:39 +02:00
parent c8289ff632
commit 0d0647038b
4 changed files with 90 additions and 21 deletions
+1
View File
@@ -42,6 +42,7 @@ private:
int creditsPage = 0;
int screenPos = 0;
int Selection = 0;
int keyRepeatDelay = 0;
std::vector<Structs::ButtonPos> arrowPos = {
{0, 215, 25, 25}, // Back Arrow.
+3 -2
View File
@@ -46,6 +46,7 @@ private:
bool dropDownMenu = false;
mutable int screenPos = 0;
int colorSelection = 0;
int keyRepeatDelay = 0;
// Draws.
void DrawSubMenu(void) const;
@@ -54,8 +55,8 @@ private:
void DrawMiscSettings(void) const;
// Logic's.
void SubMenuLogic(u32 hDown, u32 hHeld, touchPosition touch);
void LanguageSelection(u32 hDown, touchPosition touch);
void colorChanging(u32 hDown, touchPosition touch);
void LanguageSelection(u32 hDown, u32 hHeld, touchPosition touch);
void colorChanging(u32 hDown, u32 hHeld, touchPosition touch);
void MiscSettingsLogic(u32 hDown, u32 hHeld, touchPosition touch);
std::vector<Structs::ButtonPos> mainButtons = {