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

Function has_cursor

library/modules/Gui.cpp:1004–1007  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1002}
1003
1004static bool has_cursor()
1005{
1006 return Gui::getCursorPos().isValid();
1007}
1008
1009bool Gui::cursor_hotkey(df::viewscreen *top)
1010{

Callers 3

cursor_hotkeyMethod · 0.85
getAnyPlantMethod · 0.85
getCursorCoordsMethod · 0.85

Calls 1

isValidMethod · 0.45

Tested by

no test coverage detected