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

Function gui_getCurFocus

library/LuaApi.cpp:1489–1494  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1487}
1488
1489static int gui_getCurFocus(lua_State *state) {
1490 bool skip_dismissed = lua_toboolean(state, 1);
1491 vector<string> cur_focus = Gui::getCurFocus(skip_dismissed);
1492 Lua::PushVector(state, cur_focus);
1493 return 1;
1494}
1495
1496static int gui_makeAnnouncement(lua_State *state)
1497{

Callers

nothing calls this directly

Calls 3

lua_tobooleanFunction · 0.85
getCurFocusFunction · 0.85
PushVectorFunction · 0.85

Tested by

no test coverage detected