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

Rename LIST_ROW_HEIGHT to kListRowHeight

This commit is contained in:
Harry-Hopkinson
2024-04-14 16:37:01 +00:00
parent c5cfc65317
commit f242bbf095
15 changed files with 137 additions and 137 deletions

View File

@@ -809,7 +809,7 @@ static Widget _windowFinancesResearchWidgets[] =
{
// Count number of active campaigns
int32_t numActiveCampaigns = static_cast<int32_t>(gMarketingCampaigns.size());
int32_t y = std::max(1, numActiveCampaigns) * LIST_ROW_HEIGHT + 92;
int32_t y = std::max(1, numActiveCampaigns) * kListRowHeight + 92;
// Update group box positions
_windowFinancesMarketingWidgets[WIDX_ACTIVE_CAMPAIGNS_GROUP].bottom = y - 22;
@@ -886,13 +886,13 @@ static Widget _windowFinancesResearchWidgets[] =
dpi, screenCoords + ScreenCoordsXY{ 304, 0 },
weeksRemaining == 1 ? STR_1_WEEK_REMAINING : STR_X_WEEKS_REMAINING, ft);
screenCoords.y += LIST_ROW_HEIGHT;
screenCoords.y += kListRowHeight;
}
if (noCampaignsActive)
{
DrawTextBasic(dpi, screenCoords + ScreenCoordsXY{ 4, 0 }, STR_MARKETING_CAMPAIGNS_NONE);
screenCoords.y += LIST_ROW_HEIGHT;
screenCoords.y += kListRowHeight;
}
screenCoords.y += 34;