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; package buildcraft.core.gui.buttons;
/** /**
@ -21,5 +13,4 @@ public interface IButtonTextureSet {
public int getHeight(); public int getHeight();
public int getWidth(); public int getWidth();
} }

View file

@ -4,7 +4,7 @@ package buildcraft.core.gui.buttons;
* *
* @author CovertJaguar <http://www.railcraft.info/> * @author CovertJaguar <http://www.railcraft.info/>
*/ */
public enum StandardButtonTextureSets implements IButtonTextureSet{ public enum StandardButtonTextureSets implements IButtonTextureSet {
LARGE_BUTTON(0, 0, 20, 200), LARGE_BUTTON(0, 0, 20, 200),
SMALL_BUTTON(0, 80, 15, 200); SMALL_BUTTON(0, 80, 15, 200);
@ -36,5 +36,4 @@ public enum StandardButtonTextureSets implements IButtonTextureSet{
public int getWidth() { public int getWidth() {
return width; return width;
} }
} }

View file

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