55 public void render(
float alphaMult) {
56 if (p ==
null)
return;
63 GL11.glDisable(GL11.GL_TEXTURE_2D);
64 GL11.glEnable(GL11.GL_BLEND);
65 GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
67 Color color = Color.cyan;
69 GL11.glColor4ub((
byte)color.getRed(),
70 (
byte)color.getGreen(),
71 (
byte)color.getBlue(),
72 (
byte)(color.getAlpha() * alphaMult * 0.25f));
74 GL11.glBegin(GL11.GL_QUADS);
76 GL11.glVertex2f(x, y);
77 GL11.glVertex2f(x, y + h);
78 GL11.glVertex2f(x + w, y + h);
79 GL11.glVertex2f(x + w, y);