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

Method cursor_hotkey

library/modules/Gui.cpp:1009–1019  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1007}
1008
1009bool Gui::cursor_hotkey(df::viewscreen *top)
1010{
1011 if (!dwarfmode_hotkey(top))
1012 return false;
1013
1014 // Also require the cursor.
1015 if (!has_cursor())
1016 return false;
1017
1018 return true;
1019}
1020
1021bool Gui::workshop_job_hotkey(df::viewscreen *top)
1022{

Callers

nothing calls this directly

Calls 1

has_cursorFunction · 0.85

Tested by

no test coverage detected