Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenLoco/OpenLoco
/ triggerResize
Function
triggerResize
src/OpenLoco/src/Ui.cpp:492–498 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
490
}
491
492
void triggerResize()
493
{
494
int width = 0;
495
int height = 0;
496
SDL_GetWindowSize(_window, &width, &height);
497
windowSizeChanged(width, height);
498
}
499
500
void render()
501
{
Callers
4
processMessagesMini
Function · 0.85
processMessages
Function · 0.85
setDisplayMode
Function · 0.85
setWindowScaling
Function · 0.85
Calls
1
windowSizeChanged
Function · 0.85
Tested by
no test coverage detected