refactor: unglob std::wstring
This commit is contained in:
1 parent
41db813a6d
commit
cdc08700e4
581 files changed
+2156
-2154
No files matched your search
@@ -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