MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / ShowTextInput

Method ShowTextInput

src/openrct2-ui/windows/Sign.cpp:76–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 }
75
76 void ShowTextInput()
77 {
78 auto* banner = GetBanner(GetBannerIndex());
79 if (banner != nullptr)
80 {
81 auto bannerText = banner->getText();
82 WindowTextInputRawOpen(
83 this, WIDX_SIGN_TEXT, STR_SIGN_TEXT_TITLE, STR_SIGN_TEXT_PROMPT, {}, bannerText.c_str(), 32);
84 }
85 }
86
87 public:
88 void onOpen() override

Callers

nothing calls this directly

Calls 3

GetBannerFunction · 0.85
WindowTextInputRawOpenFunction · 0.85
getTextMethod · 0.80

Tested by

no test coverage detected