#ifndef TEXT_HPP #define TEXT_HPP #include "shader.hpp" #include "Rectangle.hpp" class Text{ private: unsigned int EBO,VBO,VAO; int amElements; Matrix4f transform; public: static unsigned int texture; static Shader shader; static void initFont(); typedef enum{LEFT_BOTTOM, CENTER} Positioning; Text(const char *s,Positioning positioning,float height,float width,float x, float y,float screenRatio); Text(Positioning positioning,float height,float width,float x, float y,float screenRatio,const char *s); Text(const char* s,Rectangle rectangle,float screenRatio); Text(); void Delete(); void Draw(); }; #endif