MCPcopy 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
434bool 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
442bool Screen::invalidate()
443{

Callers 15

onStateChangeMethod · 0.45
manageEquipmentEventFunction · 0.45
clearFocusStringCacheMethod · 0.45
MTB_cleanMethod · 0.45
getContainedItemsMethod · 0.45
createItemMethod · 0.45
cloneJobStructMethod · 0.45
listNewlyCreatedMethod · 0.45
translateNameMethod · 0.45

Calls 1

PenClass · 0.50

Tested by

no test coverage detected