Skip to content

Commit

Permalink
Brighten ClickGUI colors
Browse files Browse the repository at this point in the history
  • Loading branch information
TangyKiwi committed Jan 18, 2025
1 parent a92dce1 commit 94819be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/main/java/com/tangykiwi/kiwiclient/gui/Base.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,8 @@ public void renderBackground(DrawContext drawContext, int mouseX, int mouseY, fl
RenderSystem.defaultBlendFunc();
RenderSystem.disableBlend();
} else {
// RenderUtils.fillGradient(0, 0, this.width, this.height, -1072689136, -804253680);
RenderUtils.fillGradient(0, 0, this.width, this.height, -1072689136, -804253680);
this.applyBlur();
this.renderDarkening(drawContext);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ public void render(DrawContext context, int mouseX, int mouseY) {
MatrixStack matrixStack = context.getMatrices();

/* background */
RenderUtils.drawRoundedQuadWH(matrixStack, new Color(0xffb08760), x, y, width, height, 5, 90);
RenderUtils.drawRoundedQuadWH(matrixStack, new Color(0xfff7a558), x, y, width, height, 5, 90);

/* expansion background */
if(expanded) {
RenderUtils.drawRoundedQuadXY(matrixStack, new Color(0x90907760), x + 1, y + fontHeight + 2, x + width - 1, y + height - 1, 5, 90);
RenderUtils.drawRoundedQuadXY(matrixStack, new Color(0x90d9904b), x + 1, y + fontHeight + 2, x + width - 1, y + height - 1, 5, 90);
}

/* base title */
RenderUtils.drawRoundedQuadWH(matrixStack, new Color(0xffb09070), x + 1, y + 1, width - 2, fontHeight + 1, 5, 90);
RenderUtils.drawRoundedQuadWH(matrixStack, new Color(0xffec8625), x + 1, y + 1, width - 2, fontHeight + 1, 5, 90);

fontRenderer.drawStringWithShadow(matrixStack, expanded ? "-" : "+", x + width - 10, y + (expanded ? 2 : 4), -1);

Expand Down

0 comments on commit 94819be

Please sign in to comment.