feat: add a new awesome feature

This commit is contained in:
Ysm-04
2025-10-03 16:34:58 +08:00
parent 3509b2bc39
commit 95149238e2
9 changed files with 1215 additions and 2 deletions

View File

@@ -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