MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / updateStatusBar

Function updateStatusBar

src/OpenLoco/src/Ui/Windows/MusicSelection.cpp:111–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109 }
110
111 static void updateStatusBar(Ui::Window& self, uint16_t numTracksSelected)
112 {
113 FormatArguments args{ self.widgets[widx::status_bar].textArgs };
114 args.push(numTracksSelected == 1 ? StringIds::status_music_tracks_selected_singular : StringIds::status_music_tracks_selected_plural);
115 args.push(numTracksSelected);
116 }
117
118 // 0x004C1602
119 Window* open()

Callers 2

openFunction · 0.85
onScrollMouseDownFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected