feat: add a new awesome feature
This commit is contained in:
@@ -146,6 +146,7 @@ void TextBox::setText(std::string text)
|
||||
text = text.substr(0, maxCharLen);
|
||||
this->text = text;
|
||||
this->dirty = true;
|
||||
draw();
|
||||
}
|
||||
|
||||
std::string TextBox::getText() const
|
||||
|
||||
Reference in New Issue
Block a user