mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-27 23:33:08 +00:00
Loads of GUI/NEI work. Tomorrow I need to get overlays to render on GuiElement slots
This commit is contained in:
1 parent
3a81058cbd
commit
f2b914e216
27 files changed
+320
-65
No files matched your search
@@ -8,6 +8,7 @@ import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.gui.FontRenderer;
|
||||
import net.minecraft.client.gui.inventory.GuiContainer;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import codechicken.lib.vec.Rectangle4i;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
@@ -65,6 +66,8 @@ public abstract class GuiElement
|
||||
{
|
||||
return guiObj.getFont();
|
||||
}
|
||||
|
||||
public abstract Rectangle4i getBounds(int guiWidth, int guiHeight);
|
||||
|
||||
public abstract void renderBackground(int xAxis, int yAxis, int guiWidth, int guiHeight);
|
||||
|
||||
|
||||
Reference in new issue
Block a user