Remove unused function Graphics::textboxcenter()

This function was marked as unused by cppcheck.
This commit is contained in:
Misa 2021-01-02 00:24:49 -08:00 committed by Ethan Lee
parent b3305e4820
commit ca904a4d7c
2 changed files with 0 additions and 14 deletions

View File

@ -2814,18 +2814,6 @@ void Graphics::setwarprect( int a, int b, int c, int d )
warprect.h = d;
}
void Graphics::textboxcenter()
{
if (!INBOUNDS_VEC(m, textbox))
{
puts("textboxcenter() out-of-bounds!");
return;
}
textbox[m].centerx();
textbox[m].centery();
}
void Graphics::textboxcenterx()
{
if (!INBOUNDS_VEC(m, textbox))

View File

@ -49,8 +49,6 @@ public:
void createtextbox(std::string t, int xp, int yp, int r= 255, int g= 255, int b = 255);
void textboxcenter();
void textboxcenterx();
int textboxwidth();