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

Function hasInputFocus

src/OpenLoco/src/Ui.cpp:1022–1026  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1020 }
1021
1022 bool hasInputFocus()
1023 {
1024 const uint32_t windowFlags = SDL_GetWindowFlags(_window);
1025 return (windowFlags & SDL_WINDOW_INPUT_FOCUS) != 0;
1026 }
1027
1028}

Callers 1

edgeScrollFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected