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

Method MenuList_Draw

client/src/main/java/jake2/client/Menu.java:4620–4640  ·  view source on GitHub ↗
(menulist_s l)

Source from the content-addressed store, hash-verified

4618 }
4619
4620 private static void MenuList_Draw(menulist_s l) {
4621 String n[];
4622 int y = 0;
4623
4624 Menu_DrawStringR2LDark(l.x + l.parent.x + LCOLUMN_OFFSET, l.y
4625 + l.parent.y, l.name);
4626
4627 n = l.itemnames;
4628
4629 ClientGlobals.re.DrawFill(l.x - 112 + l.parent.x, l.parent.y + l.y + l.curvalue * 10
4630 + 10, 128, 10, 16);
4631 int i = 0;
4632
4633 while (n[i] != null) {
4634 Menu_DrawStringR2LDark(l.x + l.parent.x + LCOLUMN_OFFSET, l.y
4635 + l.parent.y + y + 10, n[i]);
4636
4637 i++;
4638 y += 10;
4639 }
4640 }
4641
4642 private static void Separator_Draw(menuseparator_s s) {
4643 if (s.name != null)

Callers 1

Menu_DrawMethod · 0.95

Calls 2

DrawFillMethod · 0.65

Tested by

no test coverage detected