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

Method SetItemIndex

src/window_varlist.cpp:68–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68void Window_VarList::SetItemIndex(int index) {
69 SetIndex(index * LINE_COUNT / GetItemCount());
70}
71
72void Window_VarList::DrawItem(int index, Font::SystemColor color) {
73 const int y = menu_item_height * index + 2;

Callers 2

PushUiVarListMethod · 0.80
PopMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected