change chat color for #36

This commit is contained in:
Bella 2020-03-07 12:18:51 -05:00
parent 0f7f541b6f
commit abcecf8db2
No known key found for this signature in database
GPG Key ID: 03B01AC937D1C89C
2 changed files with 5 additions and 1 deletions

View File

@ -12,6 +12,9 @@ import java.io.IOException;
import java.util.HashMap;
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 {
private String startString;
@ -131,7 +134,7 @@ public class KamiGuiChat extends GuiChat {
GL11.glDisable(GL11.GL_BLEND);
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.glVertex2f(this.inputField.x - 2, this.inputField.y - 2);

View File

@ -34,4 +34,5 @@ public class ColourSet {
public static Color enumColour = new Color(116, 101, 247);
public static Color chatOutline = new Color(52, 43, 128);
}