MCPcopy Create free account
hub / github.com/DFHack/dfhack / do_skip_dismissed

Function do_skip_dismissed

library/modules/Gui.cpp:2668–2672  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2666}
2667
2668static df::viewscreen * do_skip_dismissed(df::viewscreen * ws) {
2669 while (ws && Screen::isDismissed(ws) && ws->parent)
2670 ws = ws->parent;
2671 return ws;
2672}
2673
2674df::viewscreen *Gui::getCurViewscreen(bool skip_dismissed)
2675{

Callers 2

getCurViewscreenMethod · 0.85
getDFViewscreenMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected