My work until I got extremly annoyed.

Next work on the Script Creator maybe tomorrow or so.
This commit is contained in:
VoltZ
2019-11-16 01:39:20 +01:00
parent bd25846c4d
commit ddda8464f8
7 changed files with 241 additions and 34 deletions
+3 -2
View File
@@ -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
+10 -1
View File
@@ -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.
+1 -1
View File
@@ -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();
+1
View File
@@ -44,6 +44,7 @@ public:
std::string character;
int x;
int y;
int w;
};
private:
};