Examples of drawStringWithShadow()


Examples of net.minecraft.src.FontRenderer.drawStringWithShadow()

    int w2 = font.getStringWidth(keyString);
    font.drawStringWithShadow(keyString, width - w2, y + 2, 0xffcccccc);
    font.drawStringWithShadow(binding.getAddonName(), x + w + 4, y + 11, 0xffffffff);
    String fitting = r.getFittingText(getName(), width - w - w2 - 4);

    font.drawStringWithShadow(fitting, x + w + 4, y + 2, !isConflicting() ? 0xffffffff:0xffff0000);
  }

  @Override
  public void setModifiers(int m) {
    binding.setRawModifiers((byte) m);
View Full Code Here

Examples of net.minecraft.src.InvTweaksObfuscation.drawStringWithShadow()

                        0xc0000000, 0xc0000000);
               
                // Draw lines
                int lineCount = 0;
                for (String line : tooltipLines) {
                    obf.drawStringWithShadow(fontRenderer,
                            line, x, y + (lineCount++)*LINE_HEIGHT, -1);
                }
            }
        }

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.