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

Function ToolbarMusicClick

src/toolbar_gui.cpp:1011–1015  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1009/* --- Music button menu --- */
1010
1011static CallBackFunction ToolbarMusicClick(Window *w)
1012{
1013 PopupMainToolbarMenu(w, _game_mode == GM_EDITOR ? (WidgetID)WID_TE_MUSIC_SOUND : (WidgetID)WID_TN_MUSIC_SOUND, {STR_TOOLBAR_SOUND_MUSIC});
1014 return CBF_NONE;
1015}
1016
1017/**
1018 * Handle click on the entry in the Music menu.

Callers

nothing calls this directly

Calls 1

PopupMainToolbarMenuFunction · 0.85

Tested by

no test coverage detected