From abcecf8db2e15a8c4205ba14d3bb623206e78966 Mon Sep 17 00:00:00 2001 From: Bella Date: Sat, 7 Mar 2020 12:18:51 -0500 Subject: [PATCH] change chat color for #36 --- src/main/java/me/zeroeightsix/kami/gui/mc/KamiGuiChat.java | 5 ++++- src/main/java/me/zeroeightsix/kami/util/ColourSet.java | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/me/zeroeightsix/kami/gui/mc/KamiGuiChat.java b/src/main/java/me/zeroeightsix/kami/gui/mc/KamiGuiChat.java index f7fb6c95..62782a54 100644 --- a/src/main/java/me/zeroeightsix/kami/gui/mc/KamiGuiChat.java +++ b/src/main/java/me/zeroeightsix/kami/gui/mc/KamiGuiChat.java @@ -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); diff --git a/src/main/java/me/zeroeightsix/kami/util/ColourSet.java b/src/main/java/me/zeroeightsix/kami/util/ColourSet.java index 08f0722e..5aa0a418 100644 --- a/src/main/java/me/zeroeightsix/kami/util/ColourSet.java +++ b/src/main/java/me/zeroeightsix/kami/util/ColourSet.java @@ -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); } \ No newline at end of file