| 918 | static std::unordered_map<df::viewscreen *, vector<string>> cached_focus_strings; |
| 919 | |
| 920 | void Gui::clearFocusStringCache() { |
| 921 | cached_focus_strings.clear(); |
| 922 | } |
| 923 | |
| 924 | bool Gui::matchFocusString(std::string focus_string, df::viewscreen *top) { |
| 925 | if (!top) |