aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/enums
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/gregtech/api/enums')
-rw-r--r--src/main/java/gregtech/api/enums/GuiColors.java101
1 files changed, 0 insertions, 101 deletions
diff --git a/src/main/java/gregtech/api/enums/GuiColors.java b/src/main/java/gregtech/api/enums/GuiColors.java
deleted file mode 100644
index 8c0a32954a..0000000000
--- a/src/main/java/gregtech/api/enums/GuiColors.java
+++ /dev/null
@@ -1,101 +0,0 @@
-package gregtech.api.enums;
-
-import gregtech.api.util.GT_Log;
-
-import java.util.function.Function;
-
-public enum GuiColors {
- //RGB Colors: Name and default value
- oneByOne(0x404040),
- twoByTwo(0x404040),
- twoByTwoFluid(0x404040),
- twoByTwoFluidInventory(0x404040),
- threeByThree(0x404040),
- fourByFour(0x404040),
- basicMachine(0x404040),
- basicTankTitle(0x404040),
- basicTankInventory(0x404040),
- basicTankLiquidAmount(0xFAFAFF),
- basicTankLiquidValue(0xFAFAFF),
- maintenanceHatch(0x404040),
- maintenanceHatchRepair(0x404040),
-
- multiMachineTitle(0xFAFAFF),
- multiMachineDrillBaseText(0xFAFAFF),
- multiMachineIncompleteStructure(0xFAFAFF),
- multiMachineLargeTurbineText(0xFAFAFF),
- multiMachineMaintenanceText(0xFAFAFF),
- multiMachineMalletRestart(0xFAFAFF),
- multiMachineRunningPerfectly(0xFAFAFF),
-
- outputHatchTitle(0x404040),
- outputHatchInventory(0x404040),
- outputHatchAmount(0xFAFAFF),
- outputHatchValue(0xFAFAFF),
- outputHatchFluidName(0xFAFAFF),
- outputHatchLockedFluid(0xFAFAFF),
-
- boiler(0x404040),
- bronzeBlastFurnace(0x404040),
- fusionReactor(0xFF0000),
- industrialApiary(0x404040),
- microwaveEnergyTransmitter(0xFAFAFF),
- primitiveBlastFurnace(0x404040),
- quantumChestTitle(0x404040),
- quantumChestAmount(0xFAFAFF),
- regulator(0xFAFAFF),
- teleporter(0xFAFAFF),
-
- fluidDisplayStackRenderer(0xFFFFFF),
-
- //ARGB Colors: Name and default value
- dialogSelectItem(0xFF555555),
- pollutionRenderer(0xFFFFFFFF),
- screenText(0xFF222222),
-
- coverArm(0xFF555555),
- coverControlsWork(0xFF555555),
- coverConveyor(0xFF555555),
- coverDoesWork(0xFF555555),
- coverEUMeter(0xFF555555),
- coverFluidFilterName(0xFF222222),
- coverFluidFilter(0xFF555555),
- coverFluidRegulatorWarn(0xFFFF0000),
- coverFluidRegulator(0xFF555555),
- coverItemFilter(0xFF555555),
- coverItemMeter(0xFF555555),
- coverLiquidMeter(0xFF555555),
- coverMaintenance(0xFF555555),
- coverPlayerDetector(0xFF555555),
- coverPump(0xFF555555),
- coverRedstoneWirelessBase(0xFF555555),
- coverShutter(0xFF555555),
-
- NEIText(0xFF000000);
-
- private final int defaultColor;
- private int color;
-
- GuiColors(final int hex) {
- this.defaultColor = hex;
- this.color = hex;
- }
-
- public void reload(Function<String, String> l) {
- color = this.defaultColor;
-
- String hex = l.apply("GT5U.gui.color." + this);
-
- try {
- if (!hex.isEmpty()) {
- color = Integer.parseUnsignedInt(hex, 16);
- }
- } catch (final NumberFormatException e) {
- GT_Log.err.println("Couldn't format color correctly for: GT5U.gui.color." + this + " -> " + hex);
- }
- }
-
- public int getColor() {
- return color;
- }
-}