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

Function ShowContentTextfileWindow

src/network/network_content_gui.cpp:80–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78};
79
80static void ShowContentTextfileWindow(Window *parent, TextfileType file_type, const ContentInfo *ci)
81{
82 parent->CloseChildWindowById(WC_TEXTFILE, file_type);
83 new ContentTextfileWindow(parent, file_type, ci);
84}
85
86/** Nested widgets for the download window. */
87static constexpr std::initializer_list<NWidgetPart> _nested_network_content_download_status_window_widgets = {

Callers 1

OnClickMethod · 0.85

Calls 1

CloseChildWindowByIdMethod · 0.80

Tested by

no test coverage detected