Some work, need to fix somethings at a later date
This commit is contained in:
parent
45d0f36286
commit
a38899184d
6 changed files with 52 additions and 23 deletions
|
@ -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/";
|
||||
|
|
|
@ -16,7 +16,7 @@ import java.util.List;
|
|||
public abstract class ElementBase
|
||||
{
|
||||
|
||||
protected GuiBase gui;
|
||||
public GuiBase gui;
|
||||
protected ResourceLocation texture;
|
||||
|
||||
protected int posX;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue