MCPcopy Index your code
hub / github.com/BombusMod/BombusMod / drawRightCommand

Method drawRightCommand

src/main/java/Menu/MenuContainer.java:96–101  ·  view source on GitHub ↗
(Graphics g, String val)

Source from the content-addressed store, hash-verified

94 }
95
96 public static void drawRightCommand(Graphics g, String val){
97 g.setColor(0xffffff);
98 g.setFont(getBoldFont());
99 int tw = getBoldFont().stringWidth(val);
100 FontCache.drawString(g,val, scWidth-tw-2, scHeight, Graphics.LEFT | Graphics.BOTTOM);
101 }
102
103 public static Font getBoldFont() {
104 return boldFont;

Callers 1

paintMethod · 0.95

Calls 5

getBoldFontMethod · 0.95
drawStringMethod · 0.95
stringWidthMethod · 0.65
setColorMethod · 0.45
setFontMethod · 0.45

Tested by

no test coverage detected