mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-03 00:39:02 +00:00
WIP: Credits & Language Screen Rewrite.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
namespace Lang {
|
||||
std::string get(const std::string &key);
|
||||
void load(int lang);
|
||||
void load(const std::string lang);
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -38,7 +38,10 @@ public:
|
||||
void Draw(void) const override;
|
||||
void Logic(u32 hDown, u32 hHeld, touchPosition touch) override;
|
||||
private:
|
||||
int creditsPage = 1;
|
||||
void DrawBottom(void) const;
|
||||
int creditsPage = 0;
|
||||
int screenPos = 0;
|
||||
int Selection = 0;
|
||||
|
||||
std::vector<Structs::ButtonPos> arrowPos = {
|
||||
{0, 215, 25, 25}, // Back Arrow.
|
||||
|
||||
@@ -30,8 +30,8 @@
|
||||
#include <string>
|
||||
|
||||
namespace Config {
|
||||
extern int LangPath, lang, Color1, Color2, Color3, TxtColor, SelectedColor, UnselectedColor, viewMode, progressbarColor, autoboot, outdated, uptodate, notFound, future, Button;
|
||||
extern std::string ScriptPath, MusicPath, StorePath, AutobootFile;
|
||||
extern int LangPath, Color1, Color2, Color3, TxtColor, SelectedColor, UnselectedColor, viewMode, progressbarColor, autoboot, outdated, uptodate, notFound, future, Button;
|
||||
extern std::string lang, ScriptPath, MusicPath, StorePath, AutobootFile;
|
||||
extern bool Logging, UseBars, GodMode;
|
||||
|
||||
void load();
|
||||
|
||||
Reference in New Issue
Block a user