mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-28 07:56:01 +00:00
start 1.10.2
This commit is contained in:
1 parent
f969f63b66
commit
6a7c4bf67d
826 files changed
+60550
-63758
No files matched your search
@@ -1,29 +1,23 @@
|
||||
//
|
||||
// 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;
|
||||
import binnie.craftgui.core.geometry.IArea;
|
||||
import forestry.api.lepidopterology.IButterfly;
|
||||
|
||||
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);
|
||||
}
|
||||
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";
|
||||
}
|
||||
@Override
|
||||
public String getTitle() {
|
||||
return "Specimen";
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user