mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-03 00:39:02 +00:00
My work until I got extremly annoyed.
Next work on the Script Creator maybe tomorrow or so.
This commit is contained in:
@@ -5,12 +5,13 @@
|
||||
|
||||
namespace Input {
|
||||
void DrawNumpad();
|
||||
void drawKeyboard();
|
||||
std::string Numpad(std::string Text);
|
||||
std::string Numpad(uint maxLength, std::string Text);
|
||||
// -1 if invaild text entered
|
||||
int getUint(int max, std::string Text);
|
||||
|
||||
std::string getString(const std::string &hint, uint maxLength);
|
||||
std::string getString(std::string Text);
|
||||
std::string getString(uint maxLength, std::string Text);
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -44,12 +44,21 @@ public:
|
||||
private:
|
||||
int Selection = 0;
|
||||
void openJson(std::string fileName);
|
||||
void save(std::string fileName);
|
||||
void createNewJson(std::string fileName);
|
||||
void save();
|
||||
void setInfoStuff(void);
|
||||
void createDownloadRelease();
|
||||
|
||||
void setBool(const std::string &object, const std::string &key, bool v);
|
||||
void setBool2(const std::string &object, const std::string &key, const std::string &key2, bool v);
|
||||
|
||||
void setInt(const std::string &object, const std::string &key, int v);
|
||||
void setInt2(const std::string &object, const std::string &key, const std::string &key2, int v);
|
||||
|
||||
void setString(const std::string &object, const std::string &key, const std::string &v);
|
||||
void setString2(const std::string &object, const std::string &key, const std::string &key2, const std::string &v);
|
||||
|
||||
void createEntry(const std::string &Entryname);
|
||||
|
||||
std::vector<Structs::ButtonPos> mainButtons = {
|
||||
{90, 40, 140, 35, -1}, // New Script.
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
namespace Config {
|
||||
// [UI]
|
||||
extern int lang; // The current Language.
|
||||
extern int Color1, Color2, Color3, TxtColor, SelectedColor, UnselectedColor, viewMode;
|
||||
extern int Color1, Color2, Color3, TxtColor, SelectedColor, UnselectedColor, viewMode, ColorKeys;
|
||||
extern std::string ScriptPath;
|
||||
|
||||
void load();
|
||||
|
||||
@@ -44,6 +44,7 @@ public:
|
||||
std::string character;
|
||||
int x;
|
||||
int y;
|
||||
int w;
|
||||
};
|
||||
private:
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user