MCPcopy Create free account
hub / github.com/EasyRPG/Player / CreateChoicesWindow

Method CreateChoicesWindow

src/scene_debug.cpp:924–935  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

922}
923
924void Scene_Debug::CreateChoicesWindow() {
925 std::vector<std::string> vars;
926 for (int i = 0; i < 2; i++)
927 vars.push_back("");
928 choices_window.reset(new Window_Command(vars));
929 choices_window->SetX(Player::menu_offset_x + 160 - choice_window_width / 2);
930 choices_window->SetY(Player::menu_offset_y + 104);
931 choices_window->SetWidth(choice_window_width);
932 choices_window->SetHeight(64);
933 choices_window->SetVisible(false);
934 choices_window->SetOpacity(255);
935}
936
937void Scene_Debug::CreateStringViewWindow() {
938 stringview_window.reset(new Window_StringView(Player::menu_offset_x + 15, Player::menu_offset_y + 16, 288, 208));

Callers

nothing calls this directly

Calls 7

resetMethod · 0.45
SetXMethod · 0.45
SetYMethod · 0.45
SetWidthMethod · 0.45
SetHeightMethod · 0.45
SetVisibleMethod · 0.45
SetOpacityMethod · 0.45

Tested by

no test coverage detected