position(force) -> position(absolute)

This commit is contained in:
NyakoFox
2024-11-03 21:01:54 -04:00
committed by Misa Elizabeth Kai
parent 98a0931225
commit 6174d62f6f
6 changed files with 15 additions and 15 deletions

View File

@@ -3223,15 +3223,15 @@ SDL_Color Graphics::bigchunkygetcol(int t)
return color;
}
void Graphics::textboxforcepos(int x, int y)
void Graphics::textboxabsolutepos(int x, int y)
{
if (!INBOUNDS_VEC(m, textboxes))
{
vlog_error("textboxforcepos() out-of-bounds!");
vlog_error("textboxabsolutepos() out-of-bounds!");
return;
}
textboxes[m].position_forced = true;
textboxes[m].position_absolute = true;
textboxes[m].xp = x;
textboxes[m].yp = y;
}