Search in sources :

Example 1 with IRenderContext

use of gregtech.api.gui.IRenderContext in project GregTech by GregTechCE.

the class RecipeMapCategory method drawExtras.

@Override
public void drawExtras(Minecraft minecraft) {
    for (Widget widget : modularUI.guiWidgets.values()) {
        widget.drawInBackground(0, 0, new IRenderContext() {
        });
        widget.drawInForeground(0, 0);
    }
}
Also used : IRenderContext(gregtech.api.gui.IRenderContext) Widget(gregtech.api.gui.Widget) TankWidget(gregtech.api.gui.widgets.TankWidget) SlotWidget(gregtech.api.gui.widgets.SlotWidget)

Aggregations

IRenderContext (gregtech.api.gui.IRenderContext)1 Widget (gregtech.api.gui.Widget)1 SlotWidget (gregtech.api.gui.widgets.SlotWidget)1 TankWidget (gregtech.api.gui.widgets.TankWidget)1