About to cleanup truetype and newtruetype

This commit is contained in:
2023-06-16 10:29:08 -07:00
parent e70f71337f
commit 4f757c2ea9
3 changed files with 13 additions and 10 deletions

View File

@ -32,23 +32,22 @@ namespace Dawn {
float_t width = 0.0f;
int32_t quadStart = -1;
int32_t quadCount = 0;
std::vector<struct UILabelText*> texts;
};
class UILabel : public UIComponentRenderable {
private:
Mesh mesh;
FontShaderBuffer shaderBuffer;
std::vector<struct UILabelText> texts;
std::vector<struct UILabelText> textsBuffered;
std::vector<struct UILabelLine> lines;
std::map<NewTrueTypeFaceTexture*, int32_t> textureMap;
public:
int32_t quadStart = 0;
int32_t quadCount = -1;
int32_t quadCountTotal = -1;
std::vector<struct UILabelText> texts;
std::vector<struct UILabelText> textsBuffered;
std::vector<struct UILabelLine> lines;
UILabel(SceneItem *item);