@@ -0,0 +1,1785 @@
+package info.u_team.u_team_core.gui.elements;%0A%0Aimport com.mojang.blaze3d.matrix.MatrixStack;%0A%0Aimport info.u_team.u_team_core.util.RGBA;%0Aimport net.minecraft.util.text.ITextComponent;%0A%0Apublic class ScalableActiveButton extends ScalableButton %7B%0A%09%0A%09protected boolean active;%0A%09%0A%09protected RGBA activeColor;%0A%09%0A%09public ScalableActiveButton(int x, int y, int width, int height, float scale, ITextComponent display, boolean active, RGBA activeColor) %7B%0A%09%09this(x, y, width, height, scale, display, active, activeColor, EMTPY_PRESSABLE);%0A%09%7D%0A%09%0A%09public ScalableActiveButton(int x, int y, int width, int height, float scale, ITextComponent display, boolean active, RGBA activeColor, IPressable pessable) %7B%0A%09%09this(x, y, width, height, scale, display, active, activeColor, pessable, EMPTY_TOOLTIP);%0A%09%7D%0A%09%0A%09public ScalableActiveButton(int x, int y, int width, int height, float scale, ITextComponent display, boolean active, RGBA activeColor, ITooltip tooltip) %7B%0A%09%09this(x, y, width, height, scale, display, active, activeColor, EMTPY_PRESSABLE, tooltip);%0A%09%7D%0A%09%0A%09public ScalableActiveButton(int x, int y, int width, int height, float scale, ITextComponent display, boolean active, RGBA activeColor, IPressable pessable, ITooltip tooltip) %7B%0A%09%09super(x, y, width, height, scale, display, pessable, tooltip);%0A%09%09this.active = active;%0A%09%09this.activeColor = activeColor;%0A%09%7D%0A%09%0A%09public boolean isActive() %7B%0A%09%09return active;%0A%09%7D%0A%09%0A%09public void setActive(boolean active) %7B%0A%09%09this.active = active;%0A%09%7D%0A%09%0A%09public RGBA getActiveColor() %7B%0A%09%09return activeColor;%0A%09%7D%0A%09%0A%09public void setActiveColor(RGBA activeColor) %7B%0A%09%09this.activeColor = activeColor;%0A%09%7D%0A%09%0A%09@Override%0A%09protected RGBA getCurrentButtonColor(MatrixStack matrixStack, int mouseX, int mouseY, float partialTicks) %7B%0A%09%09return active ? activeColor : buttonColor;%0A%09%7D%0A%7D%0A

Add scalable active button