1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-28 01:04:50 +01:00

Finish Removing snake_case from Drawing Methods

This commit is contained in:
Duncan
2023-01-16 22:31:34 +00:00
committed by GitHub
parent 0e3a0a5ce0
commit 8504c8d05e
72 changed files with 412 additions and 410 deletions

View File

@@ -36,7 +36,7 @@ public:
MaxWidth = GfxWrapString(Buffer, width, paint.FontStyle, &LineCount);
LineCount += 1;
LineHeight = font_get_line_height(paint.FontStyle);
LineHeight = FontGetLineHeight(paint.FontStyle);
}
void Draw(rct_drawpixelinfo* dpi, const ScreenCoordsXY& coords)
@@ -100,7 +100,7 @@ static void DrawText(
break;
}
TtfDrawString(dpi, text, paint.Colour, alignedCoords, noFormatting, paint.FontStyle, paint.Darkness);
TTFDrawString(dpi, text, paint.Colour, alignedCoords, noFormatting, paint.FontStyle, paint.Darkness);
if (paint.UnderlineText == TextUnderline::On)
{