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

Method PushUiNumberInput

src/scene_debug.cpp:245–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245void Scene_Debug::PushUiNumberInput(int init_value, int digits, bool show_operator) {
246 Push(eUiNumberInput);
247
248 numberinput_window->SetNumber(init_value);
249 numberinput_window->SetShowOperator(show_operator);
250 numberinput_window->SetVisible(true);
251 numberinput_window->SetActive(true);
252 numberinput_window->SetMaxDigits(digits);
253 numberinput_window->Refresh();
254
255 RefreshDetailWindow();
256 UpdateRangeListWindow();
257}
258
259void Scene_Debug::PushUiChoices(std::vector<std::string> choices, std::vector<bool> choices_enabled) {
260 Push(eUiChoices);

Callers

nothing calls this directly

Calls 6

SetNumberMethod · 0.80
SetShowOperatorMethod · 0.80
SetMaxDigitsMethod · 0.80
SetVisibleMethod · 0.45
SetActiveMethod · 0.45
RefreshMethod · 0.45

Tested by

no test coverage detected