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

Method CreateNumberInputWindow

src/scene_debug.cpp:916–922  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

914}
915
916void Scene_Debug::CreateNumberInputWindow() {
917 numberinput_window.reset(new Window_NumberInput(Player::menu_offset_x + 160 - (Main_Data::game_variables->GetMaxDigits() + 1) * 6 - 8, Player::menu_offset_y + 104,
918 (Main_Data::game_variables->GetMaxDigits() + 1) * 12 + 16, 32));
919 numberinput_window->SetVisible(false);
920 numberinput_window->SetOpacity(255);
921 numberinput_window->SetShowOperator(true);
922}
923
924void Scene_Debug::CreateChoicesWindow() {
925 std::vector<std::string> vars;

Callers

nothing calls this directly

Calls 5

SetShowOperatorMethod · 0.80
resetMethod · 0.45
GetMaxDigitsMethod · 0.45
SetVisibleMethod · 0.45
SetOpacityMethod · 0.45

Tested by

no test coverage detected