Finally finished VN textbox
This commit is contained in:
@ -30,6 +30,8 @@ namespace Dawn {
|
||||
|
||||
struct UILabelLine {
|
||||
float_t width = 0.0f;
|
||||
float_t height = 0.0f;
|
||||
glm::vec2 position;
|
||||
int32_t quadStart = -1;
|
||||
int32_t quadCount = 0;
|
||||
};
|
||||
@ -45,9 +47,13 @@ namespace Dawn {
|
||||
int32_t quadCount = -1;
|
||||
int32_t quadCountTotal = -1;
|
||||
|
||||
glm::vec2 textOffset = glm::vec2(0.0f, 0.0f);
|
||||
|
||||
std::vector<struct UILabelText> texts;
|
||||
std::vector<struct UILabelText> textsBuffered;
|
||||
std::vector<struct UILabelLine> lines;
|
||||
|
||||
StateEvent<> eventTextChanged;
|
||||
|
||||
UILabel(SceneItem *item);
|
||||
|
||||
|
Reference in New Issue
Block a user