Some changes.

This commit is contained in:
StackZ
2020-03-21 05:02:16 +01:00
parent 73c495db4f
commit 37748b8e22
10 changed files with 320 additions and 323 deletions
@@ -1,18 +1,18 @@
#ifndef KEYBOARD_HPP
#define KEYBOARD_HPP
#include <string>
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(std::string Text);
std::string getStringLong(std::string Text); // For longer text.
std::string getString(uint maxLength, std::string Text, float inputTextSize = 0.6f);
}
#ifndef KEYBOARD_HPP
#define KEYBOARD_HPP
#include <string>
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(std::string Text);
std::string getStringLong(std::string Text); // For longer text.
std::string getString(uint maxLength, std::string Text, float inputTextSize = 0.6f);
}
#endif