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

Function isValidPos

library/include/modules/Screen.h:257–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255 int cursorY() const { return gcursor.y - view.first.y; }
256
257 bool isValidPos() const { return inClipGlobal(gcursor); }
258
259 Painter viewport(rect2d area) const {
260 return Painter(ViewRect::viewport(area), cur_pen, cur_key_pen);

Callers 1

Screen.hFile · 0.85

Calls 1

inClipGlobalFunction · 0.85

Tested by

no test coverage detected