Skip to content

Commit b730d76

Browse files
committed
Add overlay to multiplier button (looks kinda ugly tbh)
1 parent ed2f617 commit b730d76

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

src/main/java/gregtech/api/mui/GTGuiTextures.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,7 @@ public static class IDs {
528528
public static final UITexture SELECT_BOX = fullImage("textures/gui/widget/select_box.png");
529529
public static final UITexture BUTTON_AUTO_PULL = fullImage("textures/gui/widget/button_me_auto_pull.png");
530530
public static final UITexture ARROW_DOUBLE = fullImage("textures/gui/widget/arrow_double.png");
531+
public static final UITexture ARROW_OPPOSITE = fullImage("textures/gui/widget/opposite_arrows.png");
531532
public static final UITexture[] AUTO_PULL = slice("textures/gui/widget/button_me_auto_pull.png",
532533
16, 32, 16, 16, true);
533534

src/main/java/gregtech/common/metatileentities/multi/multiblockpart/appeng/MetaTileEntityMEInputBus.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,8 @@ protected Widget<?> getMultiplierWidget(PanelSyncManager syncManager) {
341341

342342
return true;
343343
})
344-
.addTooltipLine(IKey.lang("gregtech.machine.me.multiplier.button"));
345-
// TODO button overlay
344+
.addTooltipLine(IKey.lang("gregtech.machine.me.multiplier.button"))
345+
.overlay(GTGuiTextures.ARROW_OPPOSITE);
346346
}
347347

348348
protected ModularPanel buildMultiplierPopup(PanelSyncManager syncManager, IPanelHandler syncHandler) {

src/main/java/gregtech/common/metatileentities/multi/multiblockpart/appeng/MetaTileEntityMEInputHatch.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,8 @@ protected Widget<?> getMultiplierWidget(PanelSyncManager syncManager) {
299299

300300
return true;
301301
})
302-
.addTooltipLine(IKey.lang("gregtech.machine.me.multiplier.button"));
303-
// TODO button overlay
302+
.addTooltipLine(IKey.lang("gregtech.machine.me.multiplier.button"))
303+
.overlay(GTGuiTextures.ARROW_OPPOSITE);
304304
}
305305

306306
protected ModularPanel buildMultiplierPopup(PanelSyncManager syncManager, IPanelHandler syncHandler) {
313 Bytes
Loading

0 commit comments

Comments
 (0)