mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-23 20:14:38 +00:00
refactor: unglob std::wstring
This commit is contained in:
@@ -95,12 +95,12 @@ GuiComponent::GuiComponent()
|
||||
blitOffset = 0;
|
||||
}
|
||||
|
||||
void GuiComponent::drawCenteredString(Font *font, const wstring& str, int x, int y, int color)
|
||||
void GuiComponent::drawCenteredString(Font *font, const std::wstring& str, int x, int y, int color)
|
||||
{
|
||||
font->drawShadow(str, x - (font->width(str)) / 2, y, color);
|
||||
}
|
||||
|
||||
void GuiComponent::drawString(Font *font, const wstring& str, int x, int y, int color)
|
||||
void GuiComponent::drawString(Font *font, const std::wstring& str, int x, int y, int color)
|
||||
{
|
||||
font->drawShadow(str, x, y, color);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user