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::textboxmove()

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

View file

@ -2836,18 +2836,6 @@ int Graphics::textboxwidth()
return textbox[m].w; return textbox[m].w;
} }
void Graphics::textboxmove(int xo, int yo)
{
if (!INBOUNDS_VEC(m, textbox))
{
puts("textboxmove() out-of-bounds!");
return;
}
textbox[m].xp += xo;
textbox[m].yp += yo;
}
void Graphics::textboxmoveto(int xo) void Graphics::textboxmoveto(int xo)
{ {
if (!INBOUNDS_VEC(m, textbox)) if (!INBOUNDS_VEC(m, textbox))

View file

@ -53,8 +53,6 @@ public:
int textboxwidth(); int textboxwidth();
void textboxmove(int xo, int yo);
void textboxmoveto(int xo); void textboxmoveto(int xo);
void textboxcentery(); void textboxcentery();