mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-28 07:56:01 +00:00
Auto-format spaces to tabs (#2)
This commit is contained in:
1 parent
25be7fd254
commit
5bb4b5d9a5
756 files changed
+49198
-48489
No files matched your search
@@ -6,18 +6,18 @@ 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 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