Feature: Alternative linkgraph colour schemes (#9866)

This commit is contained in:
Tyler Trahan
2022-04-25 11:32:55 -06:00
committed by GitHub
parent b3893878bb
commit e79724ea22
8 changed files with 59 additions and 8 deletions

View File

@@ -103,6 +103,13 @@ static void RedrawSmallmap(int32 new_value)
SetWindowClassesDirty(WC_SMALLMAP);
}
/** Redraw linkgraph links after a colour scheme change. */
static void UpdateLinkgraphColours(int32 new_value)
{
BuildLinkStatsLegend();
MarkWholeScreenDirty();
}
static void StationSpreadChanged(int32 p1)
{
InvalidateWindowData(WC_SELECT_STATION, 0);