forked from RepoMirrors/kami-blue
change chat color for #36
This commit is contained in:
parent
0f7f541b6f
commit
abcecf8db2
|
@ -12,6 +12,9 @@ import java.io.IOException;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.TreeMap;
|
import java.util.TreeMap;
|
||||||
|
|
||||||
|
import static me.zeroeightsix.kami.util.ColourConverter.toF;
|
||||||
|
import static me.zeroeightsix.kami.util.ColourSet.chatOutline;
|
||||||
|
|
||||||
public class KamiGuiChat extends GuiChat {
|
public class KamiGuiChat extends GuiChat {
|
||||||
|
|
||||||
private String startString;
|
private String startString;
|
||||||
|
@ -131,7 +134,7 @@ public class KamiGuiChat extends GuiChat {
|
||||||
|
|
||||||
GL11.glDisable(GL11.GL_BLEND);
|
GL11.glDisable(GL11.GL_BLEND);
|
||||||
GL11.glDisable(GL11.GL_TEXTURE_2D);
|
GL11.glDisable(GL11.GL_TEXTURE_2D);
|
||||||
GL11.glColor3f(0.8f, 0.1f, 0f);
|
GL11.glColor3f(toF(chatOutline.getRed()), toF(chatOutline.getGreen()), toF(chatOutline.getBlue()));
|
||||||
GL11.glBegin(GL11.GL_LINES);
|
GL11.glBegin(GL11.GL_LINES);
|
||||||
{
|
{
|
||||||
GL11.glVertex2f(this.inputField.x - 2, this.inputField.y - 2);
|
GL11.glVertex2f(this.inputField.x - 2, this.inputField.y - 2);
|
||||||
|
|
|
@ -34,4 +34,5 @@ public class ColourSet {
|
||||||
|
|
||||||
public static Color enumColour = new Color(116, 101, 247);
|
public static Color enumColour = new Color(116, 101, 247);
|
||||||
|
|
||||||
|
public static Color chatOutline = new Color(52, 43, 128);
|
||||||
}
|
}
|
Loading…
Reference in New Issue