Final fixes

This commit is contained in:
Raoul Van den Berge
2016-09-28 02:20:44 +02:00
parent 875682b11e
commit adaacda7bc
9 changed files with 12 additions and 3 deletions

BIN
logo.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

View File

@@ -68,4 +68,11 @@ public class GuiDetector extends GuiBase {
super.keyTyped(character, keyCode);
}
}
@Override
protected void mouseClicked(int mouseX, int mouseY, int mouseButton) throws IOException {
super.mouseClicked(mouseX, mouseY, mouseButton);
AMOUNT.mouseClicked(mouseX, mouseY, mouseButton);
}
}

View File

@@ -17,7 +17,7 @@ public class SideButtonCrafterTriggeredAutocrafting extends SideButton {
@Override
protected void drawButtonIcon(int x, int y) {
gui.drawTexture(x, y, 0, 144, 16, 16);
gui.drawTexture(x, y, TileCrafter.TRIGGERED_AUTOCRAFTING.getValue() ? 0 : 16, 144, 16, 16);
}
@Override

View File

@@ -17,7 +17,7 @@ public class SideButtonDetectorMode extends SideButton {
@Override
protected void drawButtonIcon(int x, int y) {
// @TODO: Detector sidebutton icons
gui.drawTexture(x, y, TileDetector.MODE.getValue() * 16, 176, 16, 16);
}
@Override

View File

@@ -17,7 +17,9 @@ public class SideButtonGridSearchBoxMode extends SideButton {
@Override
protected void drawButtonIcon(int x, int y) {
gui.drawTexture(x, y, 0, 96, 16, 16);
int mode = ((GuiGrid) gui).getGrid().getSearchBoxMode();
gui.drawTexture(x, y, mode == TileGrid.SEARCH_BOX_MODE_NORMAL_AUTOSELECTED || mode == TileGrid.SEARCH_BOX_MODE_JEI_SYNCHRONIZED_AUTOSELECTED ? 16 : 0, 96, 16, 16);
}
@Override

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB