Added error checking for config.json
This commit is contained in:
@ -14,18 +14,18 @@
|
||||
class UIText
|
||||
{
|
||||
public:
|
||||
const char* inputText;
|
||||
std::string inputText;
|
||||
int letterHeight;
|
||||
int letterWidth;
|
||||
int posX;
|
||||
int posY;
|
||||
std::string textureID;
|
||||
UIText(const char* inputText, std::string texID, int x, int y, int letterW, int letterH, int lScale);
|
||||
UIText(std::string inputText, std::string texID, int x, int y, int letterW, int letterH, int lScale);
|
||||
~UIText();
|
||||
|
||||
// void SetCharClips(SDL_Texture* fontTex, int x, int y, int letterW, int letterH);
|
||||
void AddLetter(int xpos, int ypos, char crnt);
|
||||
void ParseString(const char* inputText, int x, int y, int scale);
|
||||
void AddLetter(int xpos, int ypos, char crnt, std::string tag);
|
||||
void ParseString(std::string inputText, int x, int y, int scale, std::string tag);
|
||||
int scale;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user