Added the default transparent greyed out background to GuiScreen's.
Added the default transparent greyed out background to the GuiPasswordEnter and GuiPasswordModify GuiScreen's.
This commit is contained in:
parent
e86df43477
commit
37b011c327
2 changed files with 4 additions and 0 deletions
|
@ -161,6 +161,8 @@ public class GuiPasswordEnter extends GuiScreen
|
||||||
@Override
|
@Override
|
||||||
public void drawScreen(int mouseX, int mouseY, float partialTick)
|
public void drawScreen(int mouseX, int mouseY, float partialTick)
|
||||||
{
|
{
|
||||||
|
drawDefaultBackground();
|
||||||
|
|
||||||
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
|
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
|
||||||
mc.renderEngine.bindTexture(MekanismUtils.getResource(ResourceType.GUI, "GuiPasswordEnter.png"));
|
mc.renderEngine.bindTexture(MekanismUtils.getResource(ResourceType.GUI, "GuiPasswordEnter.png"));
|
||||||
|
|
||||||
|
|
|
@ -187,6 +187,8 @@ public class GuiPasswordModify extends GuiScreen
|
||||||
@Override
|
@Override
|
||||||
public void drawScreen(int mouseX, int mouseY, float partialTick)
|
public void drawScreen(int mouseX, int mouseY, float partialTick)
|
||||||
{
|
{
|
||||||
|
drawDefaultBackground();
|
||||||
|
|
||||||
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
|
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
|
||||||
mc.renderEngine.bindTexture(MekanismUtils.getResource(ResourceType.GUI, "GuiPasswordModify.png"));
|
mc.renderEngine.bindTexture(MekanismUtils.getResource(ResourceType.GUI, "GuiPasswordModify.png"));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue