mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Remove unused function Graphics::textboxcenter()
This function was marked as unused by cppcheck.
This commit is contained in:
parent
b3305e4820
commit
ca904a4d7c
2 changed files with 0 additions and 14 deletions
|
@ -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))
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue