Decreased GL,GLFW presence out of Window module
This commit is contained in:
+4
-1
@@ -12,11 +12,14 @@ class Batch2D;
|
||||
#define STYLE_OUTLINE 2
|
||||
|
||||
class Font {
|
||||
int lineHeight_;
|
||||
public:
|
||||
std::vector<Texture*> pages;
|
||||
Font(std::vector<Texture*> pages);
|
||||
Font(std::vector<Texture*> pages, int lineHeight);
|
||||
~Font();
|
||||
|
||||
int lineHeight() const;
|
||||
int calcWidth(std::wstring text);
|
||||
// int getGlyphWidth(char c);
|
||||
bool isPrintableChar(int c);
|
||||
void draw(Batch2D* batch, std::wstring text, int x, int y);
|
||||
|
||||
Reference in New Issue
Block a user