Some work, need to fix somethings at a later date

This commit is contained in:
modmuss50 2015-06-18 21:10:26 +01:00
parent 45d0f36286
commit a38899184d
6 changed files with 52 additions and 23 deletions

View file

@ -1,12 +1,15 @@
package techreborn.cofhLib.gui;
import com.pahimar.ee3.reference.Textures;
import techreborn.lib.ModInfo;
public class GuiProps
{
public static final String RESOURCE_PREFIX = ModInfo.MOD_ID + ":";
/* GUI */
public static final String PATH_GFX = Textures.RESOURCE_PREFIX + "textures/";
public static final String PATH_GFX = RESOURCE_PREFIX + "textures/";
public static final String PATH_ARMOR = PATH_GFX + "armor/";
public static final String PATH_GUI = PATH_GFX + "gui/";
public static final String PATH_RENDER = PATH_GFX + "blocks/";

View file

@ -16,7 +16,7 @@ import java.util.List;
public abstract class ElementBase
{
protected GuiBase gui;
public GuiBase gui;
protected ResourceLocation texture;
protected int posX;

View file

@ -23,7 +23,7 @@ public class ElementListBox extends ElementBase {
private final int _marginRight = 2;
private final int _marginBottom = 2;
private final List<IListBoxElement> _elements = new LinkedList<IListBoxElement>();
public List<IListBoxElement> _elements = new LinkedList<IListBoxElement>();
private int _firstIndexDisplayed;
private int _selectedIndex;