| 78 | typedef T interpose_base; |
| 79 | |
| 80 | DEFINE_VMETHOD_INTERPOSE(void, logic, ()) { |
| 81 | INTERPOSE_NEXT(logic)(); |
| 82 | overlay_interpose_lua("update_viewscreen_widgets", 2, 0, |
| 83 | [&](lua_State *L) { |
| 84 | Lua::Push(L, T::_identity.getName()); |
| 85 | Lua::Push(L, this); |
| 86 | }); |
| 87 | } |
| 88 | DEFINE_VMETHOD_INTERPOSE(void, feed, (std::set<df::interface_key> *input)) { |
| 89 | bool input_is_handled = false; |
| 90 | // don't send input to the overlays if there is a modal dialog up |
nothing calls this directly
no test coverage detected