mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-19 19:59:49 +00:00
Gui rendering cleanup
This commit is contained in:
1 parent
17f036522e
commit
31a305ffc2
173 files changed
+1317
-1349
No files matched your search
@@ -43,7 +43,7 @@ public class ControlBiomes extends Control implements ITooltip {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRenderForeground() {
|
||||
public void onRenderForeground(int guiWidth, int guiHeight) {
|
||||
for (int i = 0; i < this.tolerated.size(); ++i) {
|
||||
final int x = i % 8 * 16;
|
||||
final int y = i / 8 * 16;
|
||||
@@ -51,7 +51,7 @@ public class ControlBiomes extends Control implements ITooltip {
|
||||
//TODO FIND COLOR
|
||||
//CraftGUI.Render.colour(Biome.getBiome(i).color);
|
||||
}
|
||||
CraftGUI.render.texture(CraftGUITexture.Button, new IArea(x, y, 16.0f, 16.0f));
|
||||
CraftGUI.render.texture(CraftGUITexture.Button, new IArea(x, y, 16, 16));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user