mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-16 10:44:53 +00:00
30 lines
823 B
Java
30 lines
823 B
Java
//
|
|
// Decompiled by Procyon v0.5.30
|
|
//
|
|
|
|
package binnie.genetics.gui;
|
|
|
|
import forestry.api.genetics.IIndividual;
|
|
import binnie.craftgui.controls.ControlTextCentered;
|
|
import forestry.api.lepidopterology.IButterfly;
|
|
import binnie.craftgui.core.geometry.IArea;
|
|
import binnie.craftgui.core.IWidget;
|
|
|
|
public class AnalystPageSpecimen extends ControlAnalystPage
|
|
{
|
|
public AnalystPageSpecimen(final IWidget parent, final IArea area, final IButterfly ind) {
|
|
super(parent, area);
|
|
this.setColour(3355443);
|
|
int y = 4;
|
|
new ControlTextCentered(this, y, "§nSpecimen").setColour(this.getColour());
|
|
y += 12;
|
|
final float w = (this.w() - 16.0f) * ind.getSize();
|
|
new ControlIndividualDisplay(this, (this.w() - w) / 2.0f, y + (this.w() - w) / 2.0f, w, ind);
|
|
}
|
|
|
|
@Override
|
|
public String getTitle() {
|
|
return "Specimen";
|
|
}
|
|
}
|