fixed guis
This commit is contained in:
parent
3a7b0e7951
commit
a540820821
2 changed files with 3 additions and 1 deletions
Binary file not shown.
Before Width: | Height: | Size: 8.7 KiB |
|
@ -5,6 +5,8 @@ import net.minecraft.client.gui.GuiButton;
|
||||||
|
|
||||||
import org.lwjgl.opengl.GL11;
|
import org.lwjgl.opengl.GL11;
|
||||||
|
|
||||||
|
import dark.library.DarkMain;
|
||||||
|
|
||||||
public class GuiButtonArrow extends GuiButton
|
public class GuiButtonArrow extends GuiButton
|
||||||
{
|
{
|
||||||
boolean isLeft = false;
|
boolean isLeft = false;
|
||||||
|
@ -22,7 +24,7 @@ public class GuiButtonArrow extends GuiButton
|
||||||
{
|
{
|
||||||
if (this.drawButton)
|
if (this.drawButton)
|
||||||
{
|
{
|
||||||
GL11.glBindTexture(GL11.GL_TEXTURE_2D, par1Minecraft.renderEngine.getTexture("/dark/library/resources/textures/gui/gui@.png"));
|
GL11.glBindTexture(GL11.GL_TEXTURE_2D, par1Minecraft.renderEngine.getTexture(DarkMain.GUI_DIRECTORY+"gui@.png"));
|
||||||
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
|
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
|
||||||
boolean var4 = width >= this.xPosition && hight >= this.yPosition && width < this.xPosition + this.width && hight < this.yPosition + this.height;
|
boolean var4 = width >= this.xPosition && hight >= this.yPosition && width < this.xPosition + this.width && hight < this.yPosition + this.height;
|
||||||
int var5 = 106;
|
int var5 = 106;
|
||||||
|
|
Loading…
Add table
Reference in a new issue