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

Method drawEnvelop

src/main/java/ui/VirtualList.java:613–623  ·  view source on GitHub ↗
(final Graphics g)

Source from the content-addressed store, hash-verified

611
612
613 protected void drawEnvelop(final Graphics g) {
614 g.setColor(getMainBarRGB());
615 int wpos= (width/2);
616 int hpos= height-13;
617
618 g.drawRect(wpos-4, hpos, 8, 6);
619 g.drawLine(wpos-3, hpos+1, wpos, hpos+4);
620 g.drawLine(wpos, hpos+4, wpos+3, hpos+1);
621 g.drawLine(wpos-3, hpos+5, wpos-2, hpos+4);
622 g.drawLine(wpos+2, hpos+4, wpos+3, hpos+5);
623 }
624
625 protected void drawTraffic(final Graphics g, boolean up) {
626 int pos=(up)?(width/2)+3:(width/2)-3;

Callers 1

paintMethod · 0.95

Calls 4

getMainBarRGBMethod · 0.95
setColorMethod · 0.45
drawRectMethod · 0.45
drawLineMethod · 0.45

Tested by

no test coverage detected