Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ check_resize
Method
check_resize
library/modules/Screen.cpp:757–766 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
755
}
756
757
void dfhack_viewscreen::check_resize()
758
{
759
auto size = Screen::getWindowSize();
760
761
if (size != last_size)
762
{
763
last_size = size;
764
resize(size.x, size.y);
765
}
766
}
767
768
void dfhack_viewscreen::logic()
769
{
Callers
nothing calls this directly
Calls
1
resize
Function · 0.50
Tested by
no test coverage detected