Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ clear
Method
clear
library/modules/Screen.cpp:434–440 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
432
}
433
434
bool Screen::clear()
435
{
436
if (!gps) return false;
437
438
auto dim = getWindowSize();
439
return fillRect(Pen(
' '
,0,0,false), 0, 0, dim.x-1, dim.y-1);
440
}
441
442
bool Screen::invalidate()
443
{
Callers
15
runRenderThreadCallbacks
Method · 0.45
onStateChange
Method · 0.45
manageEquipmentEvent
Function · 0.45
clearFocusStringCache
Method · 0.45
MTB_clean
Method · 0.45
insert_markup_text_wordst
Function · 0.45
getContainedItems
Method · 0.45
createItem
Method · 0.45
cloneJobStruct
Method · 0.45
listNewlyCreated
Method · 0.45
translateName
Method · 0.45
ReadCustomWorkshopTypes
Method · 0.45
Calls
1
Pen
Class · 0.50
Tested by
no test coverage detected