| 327 | |
| 328 | template<typename T> |
| 329 | static void add_profile_tab_focus_string( |
| 330 | vector<string> & focusStrings, const string & base, T * bld) |
| 331 | { |
| 332 | string fs = base + '/' + get_building_custom_name(bld); |
| 333 | switch (game->main_interface.view_sheets.active_sub_tab) { |
| 334 | case 0: fs += "Tasks"; break; |
| 335 | case 1: fs += "Workers"; break; |
| 336 | case 2: fs += "WorkOrders"; break; |
| 337 | default: |
| 338 | return; |
| 339 | } |
| 340 | focusStrings.push_back(fs); |
| 341 | } |
| 342 | |
| 343 | static void add_main_interface_focus_strings(const string &baseFocus, vector<string> &focusStrings) { |
| 344 | std::string newFocusString; |
no test coverage detected