Add replay ram usage estimation

This commit is contained in:
dec05eba
2024-11-05 00:17:03 +01:00
parent 610fca510d
commit 07a64ffd95
6 changed files with 49 additions and 5 deletions

View File

@@ -18,6 +18,10 @@ namespace gsr {
window.draw(text);
}
void Label::set_text(std::string str) {
text.set_string(std::move(str));
}
mgl::vec2f Label::get_size() {
if(!visible)
return {0.0f, 0.0f};