Support clearing existing text

This commit is contained in:
2024-01-03 22:44:33 -06:00
parent 376cf02697
commit 107fcbd64e
2 changed files with 7 additions and 1 deletions

View File

@@ -34,6 +34,8 @@ namespace JabyEngine {
FontWriter::setup(vram_dst, Make::SizeI16(font_info.font_size.width, font_info.font_size.height));
}
void clear();
void write(State& state, const char* str, ...) {
__write_impl(str, GPU::Color24::Grey(), nullptr);
}