26 static unsigned int heightText(
float scale,
unsigned int maxWidth, std::string s);
28 static void drawText(
unsigned int x,
unsigned int y,
float scale,
29 glm::vec4 color, std::string s);
32 glm::vec4 color,
unsigned int maxWidth, std::string s);
35 glm::vec4 color,
unsigned int width, std::string s);
41 static void drawFontBox(
unsigned int x,
unsigned int y,
unsigned int w,
unsigned int h);
static unsigned int widthText(float scale, std::string s)
static void drawTextWrapped(unsigned int x, unsigned int y, float scale, glm::vec4 color, unsigned int maxWidth, std::string s)
static void drawTextCentered(unsigned int x, unsigned int y, float scale, glm::vec4 color, unsigned int width, std::string s)
static bool getShowFontBox()
static std::string getFontName()
static unsigned int heightText(float scale, unsigned int maxWidth, std::string s)
static void setShowFontBox(bool s)
static int initialize(std::string font="")
static std::string fontName
static void drawText(unsigned int x, unsigned int y, float scale, glm::vec4 color, std::string s)
static void drawFontBox(unsigned int x, unsigned int y, unsigned int w, unsigned int h)