mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-04 00:38:51 +00:00
Add second Settingspage and make bars changeable.
This commit is contained in:
@@ -55,10 +55,12 @@ private:
|
||||
void DrawLanguageSelection(void) const;
|
||||
void DrawColorChanging(void) const;
|
||||
void DrawCreditsScreen(void) const;
|
||||
void DrawMiscSettings(void) const;
|
||||
void SubMenuLogic(u32 hDown, u32 hHeld, touchPosition touch);
|
||||
void LanguageSelection(u32 hDown, touchPosition touch);
|
||||
void colorChanging(u32 hDown, touchPosition touch);
|
||||
void CreditsLogic(u32 hDown, touchPosition touch);
|
||||
void MiscSettingsLogic(u32 hDown, u32 hHeld, touchPosition touch);
|
||||
|
||||
std::vector<Structs::ButtonPos> mainButtons = {
|
||||
{90, 40, 140, 35, -1}, // Language.
|
||||
@@ -94,6 +96,7 @@ private:
|
||||
{295, 0, 25, 25, -1}, // Next Arrow.
|
||||
{0, 215, 25, 25, -1}, // Back Arrow.
|
||||
{0, 0, 25, 25, -1}, // Back Arrow top left.
|
||||
{295, 215, 25, 25, -1}, // Next Page / Misc Arrow.
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
namespace Config {
|
||||
extern int lang, Color1, Color2, Color3, TxtColor, SelectedColor, UnselectedColor, viewMode, ColorKeys, progressbarColor;
|
||||
extern std::string ScriptPath, MusicPath;
|
||||
extern bool Logging;
|
||||
extern bool Logging, UseBars;
|
||||
|
||||
void load();
|
||||
void save();
|
||||
|
||||
@@ -28,6 +28,6 @@ void getDirectoryContents(std::vector<DirEntry>& dirContents, const std::vector<
|
||||
void getDirectoryContents(std::vector<DirEntry>& dirContents);
|
||||
std::vector<std::string> getContents(const std::string &name, const std::vector<std::string> &extensionList);
|
||||
|
||||
std::string selectFilePath(std::string selectText, int selectionMode = 1);
|
||||
std::string selectFilePath(std::string selectText, const std::vector<std::string> &extensionList, int selectionMode = 1);
|
||||
|
||||
#endif //FILE_BROWSE_H
|
||||
Reference in New Issue
Block a user