Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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.h
File · 0.85
Calls
1
inClipGlobal
Function · 0.85
Tested by
no test coverage detected