| 257 | } |
| 258 | |
| 259 | void Scene_Debug::PushUiChoices(std::vector<std::string> choices, std::vector<bool> choices_enabled) { |
| 260 | Push(eUiChoices); |
| 261 | |
| 262 | choices_window->ReplaceCommands(choices); |
| 263 | choices_window->SetY(Player::menu_offset_y + (choices.size() + 1) * 8 + 72); |
| 264 | choices_window->SetHeight((choices.size() + 1) * 16); |
| 265 | choices_window->SetVisible(true); |
| 266 | choices_window->SetActive(true); |
| 267 | choices_window->Refresh(); |
| 268 | |
| 269 | for (int i = 0; i < static_cast<int>(choices_enabled.size()); i++) { |
| 270 | choices_window->SetItemEnabled(i, choices_enabled[i]); |
| 271 | } |
| 272 | |
| 273 | RefreshDetailWindow(); |
| 274 | UpdateRangeListWindow(); |
| 275 | } |
| 276 | |
| 277 | void Scene_Debug::PushUiStringView() { |
| 278 | const auto str_id = GetFrame().value; |
nothing calls this directly
no test coverage detected