use of riskyken.armourersWorkshop.common.data.Rectangle_I_2D in project Armourers-Workshop by RiskyKen.
the class GuiMannequinTabTexture method drawBackgroundLayer.
@Override
public void drawBackgroundLayer(float partialTickTime, int mouseX, int mouseY) {
Rectangle_I_2D rec = new Rectangle_I_2D(0, 0, TAB_WIDTH, TAB_HEIGHT);
rec.x = width / 2 - rec.width / 2;
GuiUtils.drawContinuousTexturedBox(rec.x, rec.y, 0, 200, rec.width, rec.height, 38, 38, 4, zLevel);
}
use of riskyken.armourersWorkshop.common.data.Rectangle_I_2D in project Armourers-Workshop by RiskyKen.
the class GuiHologramProjectorTabAngle method drawBackgroundLayer.
@Override
public void drawBackgroundLayer(float partialTickTime, int mouseX, int mouseY) {
Rectangle_I_2D rec = new Rectangle_I_2D(0, 0, 200, 82);
rec.x = width / 2 - rec.width / 2;
GuiUtils.drawContinuousTexturedBox(rec.x, rec.y, 0, 138, rec.width, rec.height, 38, 38, 4, zLevel);
}
use of riskyken.armourersWorkshop.common.data.Rectangle_I_2D in project Armourers-Workshop by RiskyKen.
the class GuiHologramProjectorTabRotationSpeed method drawBackgroundLayer.
@Override
public void drawBackgroundLayer(float partialTickTime, int mouseX, int mouseY) {
Rectangle_I_2D rec = new Rectangle_I_2D(0, 0, 200, 82);
rec.x = width / 2 - rec.width / 2;
GuiUtils.drawContinuousTexturedBox(rec.x, rec.y, 0, 138, rec.width, rec.height, 38, 38, 4, zLevel);
}
use of riskyken.armourersWorkshop.common.data.Rectangle_I_2D in project Armourers-Workshop by RiskyKen.
the class GuiMannequinTabExtraRenders method drawBackgroundLayer.
@Override
public void drawBackgroundLayer(float partialTickTime, int mouseX, int mouseY) {
Rectangle_I_2D rec = new Rectangle_I_2D(0, 0, 176, 88);
rec.x = width / 2 - rec.width / 2;
GuiUtils.drawContinuousTexturedBox(rec.x, rec.y, 0, 200, rec.width, rec.height, 38, 38, 4, zLevel);
}
use of riskyken.armourersWorkshop.common.data.Rectangle_I_2D in project Armourers-Workshop by RiskyKen.
the class GuiMannequinTabSkinHair method drawBackgroundLayer.
@Override
public void drawBackgroundLayer(float partialTickTime, int mouseX, int mouseY) {
Rectangle_I_2D rec = new Rectangle_I_2D(0, 0, TAB_WIDTH, TAB_HEIGHT);
rec.x = width / 2 - rec.width / 2;
GuiUtils.drawContinuousTexturedBox(rec.x, rec.y, 0, 200, rec.width, rec.height, 38, 38, 4, zLevel);
if (selectingSkinColour) {
if (hoverColour != null) {
drawColourBox(width / 2 - 7, 25, hoverColour.getRGB());
}
} else {
drawColourBox(width / 2 - 7, 25, skinColour);
}
if (selectingHairColour) {
if (hoverColour != null) {
drawColourBox(width / 2 - 7, 40, hoverColour.getRGB());
}
} else {
drawColourBox(width / 2 - 7, 40, hairColour);
}
}
Aggregations