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

Method PushUiVarList

src/scene_debug.cpp:227–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225}
226
227void Scene_Debug::PushUiVarList() {
228 const bool was_range_list = (GetFrame().uimode == eUiRangeList);
229
230 Push(eUiVarList);
231
232 auto& idx = prev[mode];
233
234 if (!was_range_list) {
235 SetupUiRangeList();
236 }
237
238 var_window->SetActive(true);
239 var_window->SetItemIndex(idx.range_page_index);
240
241 UpdateRangeListWindow();
242 var_window->Refresh();
243}
244
245void Scene_Debug::PushUiNumberInput(int init_value, int digits, bool show_operator) {
246 Push(eUiNumberInput);

Callers

nothing calls this directly

Calls 3

SetItemIndexMethod · 0.80
SetActiveMethod · 0.45
RefreshMethod · 0.45

Tested by

no test coverage detected