mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-21 04:32:24 +00:00
Refactoring custom GUI components
This commit is contained in:
1 parent
e83d0e3fa6
commit
2475710a6a
70 files changed
+353
-343
No files matched your search
@@ -38,9 +38,9 @@ public class ControlSlotFluid extends Control implements ITooltip {
|
||||
@Override
|
||||
public void onRenderBackground() {
|
||||
int size = (int) getSize().x();
|
||||
CraftGUI.Render.texture(CraftGUITexture.Slot, getArea());
|
||||
CraftGUI.render.texture(CraftGUITexture.Slot, getArea());
|
||||
if (getSuperParent().getMousedOverWidget() == this) {
|
||||
CraftGUI.Render.gradientRect(new IArea(new IPoint(1.0f, 1.0f), getArea().size().sub(new IPoint(2.0f, 2.0f))), 0x80ffffff, 0x80ffffff);
|
||||
CraftGUI.render.gradientRect(new IArea(new IPoint(1.0f, 1.0f), getArea().size().sub(new IPoint(2.0f, 2.0f))), 0x80ffffff, 0x80ffffff);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user