| 163 | static void getFocusStrings_##screen_type(const std::string &baseFocus, std::vector<std::string> &focusStrings, VIEWSCREEN(screen_type) *screen) |
| 164 | |
| 165 | DEFINE_GET_FOCUS_STRING_HANDLER(title) |
| 166 | { |
| 167 | if (screen->managing_mods) |
| 168 | focusStrings.push_back(baseFocus + "/Mods"); |
| 169 | else if (game->main_interface.settings.open) |
| 170 | focusStrings.push_back(baseFocus + "/Settings"); |
| 171 | |
| 172 | if (focusStrings.empty()) |
| 173 | focusStrings.push_back(baseFocus + "/Default"); |
| 174 | } |
| 175 | |
| 176 | DEFINE_GET_FOCUS_STRING_HANDLER(new_region) |
| 177 | { |
nothing calls this directly
no test coverage detected