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

Method onReturnPressed

src/openrct2-ui/windows/TextInput.cpp:306–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304 }
305
306 void onReturnPressed()
307 {
308 ContextStopTextInput();
309 ExecuteCallback(true);
310 close();
311 }
312
313 int32_t CalculateWindowHeight(std::string_view text)
314 {

Callers 1

WindowTextInputKeyFunction · 0.80

Calls 1

ContextStopTextInputFunction · 0.85

Tested by

no test coverage detected