1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 01:59:43 +01:00

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; 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() void Graphics::textboxcenterx()
{ {
if (!INBOUNDS_VEC(m, textbox)) 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 createtextbox(std::string t, int xp, int yp, int r= 255, int g= 255, int b = 255);
void textboxcenter();
void textboxcenterx(); void textboxcenterx();
int textboxwidth(); int textboxwidth();