| 1084 | } |
| 1085 | |
| 1086 | void dfhack_lua_viewscreen::resize(int w, int h) |
| 1087 | { |
| 1088 | if (Screen::isDismissed(this)) return; |
| 1089 | |
| 1090 | auto L = DFHack::Core::getInstance().getLuaState(); |
| 1091 | lua_pushstring(L, "onResize"); |
| 1092 | lua_pushinteger(L, w); |
| 1093 | lua_pushinteger(L, h); |
| 1094 | safe_call_lua(do_notify, 3, 0); |
| 1095 | } |
| 1096 | |
| 1097 | void dfhack_lua_viewscreen::feed(std::set<df::interface_key> *keys) |
| 1098 | { |