MCPcopy Create free account
hub / github.com/demoth/jake2 / Menu_ItemAtCursor

Method Menu_ItemAtCursor

client/src/main/java/jake2/client/Menu.java:4541–4546  ·  view source on GitHub ↗
(menuframework_s m)

Source from the content-addressed store, hash-verified

4539 }
4540
4541 private static menucommon_s Menu_ItemAtCursor(menuframework_s m) {
4542 if (m.cursor < 0 || m.cursor >= m.nitems)
4543 return null;
4544
4545 return (menucommon_s) m.items[m.cursor];
4546 }
4547
4548 static boolean Menu_SelectItem(menuframework_s s) {
4549 menucommon_s item = Menu_ItemAtCursor(s);

Callers 7

Default_MenuKeyMethod · 0.95
Keys_MenuKey_fMethod · 0.95
Field_DrawMethod · 0.95
Menu_AdjustCursorMethod · 0.95
Menu_DrawMethod · 0.95
Menu_SelectItemMethod · 0.95
Menu_SlideItemMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected