MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / v_PositionStatusbar

Function v_PositionStatusbar

src/settings_table.cpp:150–157  ·  view source on GitHub ↗

Reposition the statusbar as the setting changed. */

Source from the content-addressed store, hash-verified

148
149/** Reposition the statusbar as the setting changed. */
150static void v_PositionStatusbar(int32_t)
151{
152 if (_game_mode != GM_MENU) {
153 PositionStatusbar(nullptr);
154 PositionNewsMessage(nullptr);
155 PositionNetworkChatWindow(nullptr);
156 }
157}
158
159/**
160 * Redraw the smallmap after a colour scheme change.

Callers

nothing calls this directly

Calls 3

PositionStatusbarFunction · 0.85
PositionNewsMessageFunction · 0.85

Tested by

no test coverage detected