diff options
author | syeyoung <cyong06@naver.com> | 2021-07-20 14:46:00 +0900 |
---|---|---|
committer | syeyoung <cyong06@naver.com> | 2021-07-20 15:34:28 +0900 |
commit | 82a849d7aee17d7e59397f0858a24b51b59a69a6 (patch) | |
tree | 4412069896da9abdd99fe77d0d140ac86a384c03 /src/main/java/kr/syeyoung/dungeonsguide/config | |
parent | eb27fcef7ac26c71941c7911ebf6aa20254a2855 (diff) | |
download | Skyblock-Dungeons-Guide-82a849d7aee17d7e59397f0858a24b51b59a69a6.tar.gz Skyblock-Dungeons-Guide-82a849d7aee17d7e59397f0858a24b51b59a69a6.tar.bz2 Skyblock-Dungeons-Guide-82a849d7aee17d7e59397f0858a24b51b59a69a6.zip |
Add scaling to text hud
and fix gui feature not rendering correctly
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/config')
-rw-r--r-- | src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/PanelDelegate.java | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/PanelDelegate.java b/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/PanelDelegate.java index 4e107766..71cafd83 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/PanelDelegate.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/PanelDelegate.java @@ -92,12 +92,6 @@ public class PanelDelegate extends MPanel { @Override public void render0(ScaledResolution resolution, Point parentPoint, Rectangle parentClip, int absMousex, int absMousey, int relMousex0, int relMousey0, float partialTicks) { - if (selectedPart != -2) { - Gui.drawRect(internallyThinking.x, internallyThinking.y, internallyThinking.x + internallyThinking.width, internallyThinking.y + internallyThinking.height, 0xFF000000); - FontRenderer fontRenderer = Minecraft.getMinecraft().fontRendererObj; - fontRenderer.drawString(internallyThinking.width + "x"+internallyThinking.height, internallyThinking.x, internallyThinking.y, 0xFFFFFFFF); - } - GlStateManager.pushMatrix(); super.render0(resolution, parentPoint, parentClip, absMousex, absMousey, relMousex0, relMousey0, partialTicks); GlStateManager.popMatrix(); @@ -109,9 +103,6 @@ public class PanelDelegate extends MPanel { worldRenderer.begin(GL11.GL_LINES, DefaultVertexFormats.POSITION_COLOR); GL11.glLineWidth(1); for (Tuple<Marker[], EnumFacing.Axis> markerAxisTuple : snapped) { -// worldRenderer.pos(markerAxisTuple.getFirst()[0].getX(), markerAxisTuple.getFirst()[0].getY(), 0).color(255,255,255,255).endVertex(); -// worldRenderer.pos(markerAxisTuple.getFirst()[1].getX(), markerAxisTuple.getFirst()[1].getY(), 0).color(255,255,255,255).endVertex(); - if (markerAxisTuple.getSecond() == EnumFacing.Axis.X) { worldRenderer.pos(markerAxisTuple.getFirst()[0].getX(), 0, 0).color(0,255,0,255).endVertex(); worldRenderer.pos(markerAxisTuple.getFirst()[0].getX(), Minecraft.getMinecraft().displayHeight, 0).color(0,255,0,255).endVertex(); |