Skip to content

Commit

Permalink
add texture for item voiding button
Browse files Browse the repository at this point in the history
rename button_void to button_fluid_void
  • Loading branch information
ghzdude committed Jul 19, 2023
1 parent f95bf25 commit 06875fc
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/main/java/gregtech/api/gui/GuiTextures.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ public class GuiTextures {
public static final TextureArea BUTTON_FLUID_OUTPUT = TextureArea.fullImage("textures/gui/widget/button_fluid_output_overlay.png");
public static final TextureArea BUTTON_ITEM_OUTPUT = TextureArea.fullImage("textures/gui/widget/button_item_output_overlay.png");
public static final TextureArea BUTTON_LOCK = TextureArea.fullImage("textures/gui/widget/button_lock.png");
public static final TextureArea BUTTON_VOID = TextureArea.fullImage("textures/gui/widget/button_void.png");
public static final TextureArea BUTTON_FLUID_VOID = TextureArea.fullImage("textures/gui/widget/button_fluid_void.png");
public static final TextureArea BUTTON_ITEM_VOID = TextureArea.fullImage("textures/gui/widget/button_item_void.png");
public static final TextureArea BUTTON_VOID_NONE = TextureArea.fullImage("textures/gui/widget/button_void_none.png");
public static final TextureArea BUTTON_VOID_MULTIBLOCK = TextureArea.fullImage("textures/gui/widget/button_void_multiblock.png");
public static final TextureArea BUTTON_LEFT = TextureArea.fullImage("textures/gui/widget/left.png");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ protected ModularUI createUI(EntityPlayer entityPlayer) {
GuiTextures.BUTTON_ITEM_OUTPUT, this::isAutoOutputItems, this::setAutoOutputItems).shouldUseBaseBackground()
.setTooltipText("gregtech.gui.item_auto_output.tooltip"))
.widget(new ToggleButtonWidget(25, 64, 18, 18,
GuiTextures.BUTTON_VOID, this::isVoiding, this::setVoiding)
GuiTextures.BUTTON_ITEM_VOID, this::isVoiding, this::setVoiding)
.setTooltipText("gregtech.gui.item_voiding.tooltip")
.shouldUseBaseBackground())
.bindPlayerInventory(entityPlayer.inventory);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ protected ModularUI createUI(EntityPlayer entityPlayer) {
.setTooltipText("gregtech.gui.fluid_lock.tooltip")
.shouldUseBaseBackground())
.widget(new ToggleButtonWidget(43, 64, 18, 18,
GuiTextures.BUTTON_VOID, this::isVoiding, this::setVoiding)
GuiTextures.BUTTON_FLUID_VOID, this::isVoiding, this::setVoiding)
.setTooltipText("gregtech.gui.fluid_voiding.tooltip")
.shouldUseBaseBackground());
if (isConnected()) {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 06875fc

Please sign in to comment.