improve text input
This commit is contained in:
@@ -58,7 +58,8 @@ public:
|
||||
GLuint font_buffers[2] = {0, 0};
|
||||
kFont font_id;
|
||||
glm::vec2 bb = { 0, 0 };
|
||||
glm::vec4 cur_box;
|
||||
bool create();
|
||||
void update(kFont id, const char* text);
|
||||
void update(kFont id, const std::string& text);
|
||||
void draw();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user