/**
* Draws either a gradient over the background screen (when it exists) or a flat gradient over background.png
*/
public void drawDefaultBackground()
{
super.drawDefaultBackground();
GlStateManager.color(1.0F, 1.0F, 1.0F, 1.0F);
this.mc.getTextureManager().bindTexture(DEMO_BACKGROUND_LOCATION);
int i = (this.width - 248) / 2;
int j = (this.height - 166) / 2;
this.drawTexturedModalRect(i, j, 0, 0, 248, 166);
}
GuiScreenDemo.java 文件源码
java
阅读 15
收藏 0
点赞 0
评论 0
项目:Backmemed
作者:
评论列表
文章目录