Some cosmetic fixes for the last commit

Damn tabs!
This commit is contained in:
CovertJaguar 2013-05-15 04:30:31 -07:00
parent 0d392a1b6e
commit dd6fc63de8
3 changed files with 52 additions and 66 deletions

View file

@ -1,11 +1,3 @@
/*
* Copyright (c) CovertJaguar, 2011 http://railcraft.info
*
* This code is the property of CovertJaguar
* and may only be used with explicit written
* permission unless otherwise specified on the
* license page at railcraft.wikispaces.com.
*/
package buildcraft.core.gui.buttons;
/**
@ -14,12 +6,11 @@ package buildcraft.core.gui.buttons;
*/
public interface IButtonTextureSet {
public int getX();
public int getX();
public int getY();
public int getY();
public int getHeight();
public int getWidth();
public int getHeight();
public int getWidth();
}

View file

@ -4,37 +4,36 @@ package buildcraft.core.gui.buttons;
*
* @author CovertJaguar <http://www.railcraft.info/>
*/
public enum StandardButtonTextureSets implements IButtonTextureSet{
public enum StandardButtonTextureSets implements IButtonTextureSet {
LARGE_BUTTON(0, 0, 20, 200),
SMALL_BUTTON(0, 80, 15, 200);
private final int x, y, height, width;
LARGE_BUTTON(0, 0, 20, 200),
SMALL_BUTTON(0, 80, 15, 200);
private final int x, y, height, width;
private StandardButtonTextureSets(int x, int y, int height, int width) {
this.x = x;
this.y = y;
this.height = height;
this.width = width;
}
private StandardButtonTextureSets(int x, int y, int height, int width) {
this.x = x;
this.y = y;
this.height = height;
this.width = width;
}
@Override
public int getX() {
return x;
}
@Override
public int getX() {
return x;
}
@Override
public int getY() {
return y;
}
@Override
public int getY() {
return y;
}
@Override
public int getHeight() {
return height;
}
@Override
public int getWidth() {
return width;
}
@Override
public int getHeight() {
return height;
}
@Override
public int getWidth() {
return width;
}
}

View file

@ -4,34 +4,30 @@ package buildcraft.core.gui.tooltips;
*
* @author CovertJaguar <http://www.railcraft.info>
*/
public class ToolTipLine
{
public class ToolTipLine {
public String text;
public final int color;
public int spacing;
public String text;
public final int color;
public int spacing;
public ToolTipLine(String text, int color)
{
this.text = text;
this.color = color;
}
public ToolTipLine(String text, int color) {
this.text = text;
this.color = color;
}
public ToolTipLine(String text)
{
this(text, -1);
}
public ToolTipLine(String text) {
this(text, -1);
}
public ToolTipLine()
{
this("", -1);
}
public ToolTipLine() {
this("", -1);
}
public void setSpacing(int spacing){
this.spacing = spacing;
}
public void setSpacing(int spacing) {
this.spacing = spacing;
}
public int getSpacing(){
return spacing;
}
public int getSpacing() {
return spacing;
}
}