Remove textboxwrap() and wrap() return value

This removes Graphics::textboxwrap(), as it is now an unused function.
Additionally, this removes the return value of textboxclass::wrap(), as
it is also now unused.
This commit is contained in:
Misa
2024-01-21 14:59:36 -08:00
committed by Misa Elizabeth Kai
parent c50da88ad4
commit 505956ae83
4 changed files with 3 additions and 19 deletions

View File

@@ -3238,18 +3238,6 @@ void Graphics::textboxcentery(void)
textboxes[m].should_centery = true;
}
int Graphics::textboxwrap(int pad)
{
// TODO: delete this function?
if (!INBOUNDS_VEC(m, textboxes))
{
vlog_error("textboxwrap() out-of-bounds!");
return 16;
}
return textboxes[m].wrap(pad);
}
void Graphics::textboxpad(size_t left_pad, size_t right_pad)
{
if (!INBOUNDS_VEC(m, textboxes))