add more focus string details for info panels

develop
Myk Taylor 2023-10-07 12:10:52 -07:00
parent ae16b65c89
commit 37ad0c3e6f
No known key found for this signature in database
1 changed files with 8 additions and 1 deletions

@ -240,6 +240,13 @@ DEFINE_GET_FOCUS_STRING_HANDLER(dwarfmode)
switch(game->main_interface.info.current_mode) { switch(game->main_interface.info.current_mode) {
case df::enums::info_interface_mode_type::CREATURES: case df::enums::info_interface_mode_type::CREATURES:
if (game->main_interface.info.creatures.showing_overall_training)
newFocusString += "/OverallTraining";
else if (game->main_interface.info.creatures.showing_activity_details)
newFocusString += "/ActivityDetails";
else if (game->main_interface.info.creatures.adding_trainer)
newFocusString += "/AddingTrainer";
else
newFocusString += '/' + enum_item_key(game->main_interface.info.creatures.current_mode); newFocusString += '/' + enum_item_key(game->main_interface.info.creatures.current_mode);
break; break;
case df::enums::info_interface_mode_type::BUILDINGS: case df::enums::info_interface_mode_type::BUILDINGS: