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

Method getVHeight

src/main/java/Client/Contact.java:769–776  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

767//#endif
768
769 public int getVHeight() {
770 int itemVHeight = Math.max(maxImgHeight, fontHeight);
771 if (getSecondString() != null) {
772 itemVHeight += FontCache.getFont(false, FontCache.baloon).getHeight() - 3;
773 }
774
775 return Math.max(itemVHeight, cf.minItemHeight);
776 }
777
778 public void drawItem(Graphics g, int ofs, boolean sel) {
779 int w = g.getClipWidth();

Callers 1

drawItemMethod · 0.95

Calls 3

getSecondStringMethod · 0.95
getFontMethod · 0.95
getHeightMethod · 0.65

Tested by

no test coverage detected